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

380 lines
1.4 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[6913],{33463:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},28575:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},97309:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},84249:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},81893:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},90674:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},73148:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},56747:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},50881:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},22751:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},34182:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},74664:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},32693:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},91034:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return te}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ce,le){return Ze.createElement(ge.Z,(0,Ae.Z)({},ce,{ref:le,icon:Se}))},te=Ze.forwardRef(oe)},71736:function(jt,Pt){"use strict";Pt.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 jt(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(jt.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(jt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(jt.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(jt.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof jt))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[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var Pt=[];function be(ne,a){var y=Pt.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function Ae(){var ne=Pt.pop();return ne===void 0?new go.Point:ne}function Ze(ne){Pt.push(ne)}function E(ne,a,y,x,b,z,ee,re,se){se||(se=new go.Point);var fe=ne-y,ve=b-ee,me=NaN,pe=NaN;if(fe===0)if(ve===0)ne===y&&(me=ne,pe=a);else{var he=(z-re)/ve,ye=z-he*b;me=ne,pe=he*me+ye}else if(ve===0){var Pe=(a-x)/fe,Oe=a-Pe*ne;me=b,pe=Pe*me+Oe}else{var Pe=(a-x)/fe,he=(z-re)/ve,Oe=a-Pe*ne,ye=z-he*b;me=(ye-Oe)/(Pe-he),pe=Pe*me+Oe}return se.x=me,se.y=pe,se}function Se(ne,a,y,x,b,z,ee,re,se,fe,ve,me,pe,he){var ye=1-se,Pe=se,Oe=ne*ye+y*Pe,we=a*ye+x*Pe,Te=y*ye+b*Pe,Me=x*ye+z*Pe,Fe=b*ye+ee*Pe,$e=z*ye+re*Pe,Ve=Oe*ye+Te*Pe,Re=we*ye+Me*Pe,st=Te*ye+Fe*Pe,rt=Me*ye+$e*Pe,et=Ve*ye+st*Pe,qe=Re*ye+rt*Pe;fe.x=Oe,fe.y=we,ve.x=Ve,ve.y=Re,me.x=et,me.y=qe,pe.x=st,pe.y=rt,he.x=Fe,he.y=$e}var ge=new go.Spot(.156,.156),oe=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new jt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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=ge,b.spot2=oe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,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(ne,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(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,te*a,0,a,(1-te)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,te*y,(1-te)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,te*y,te*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-te)*a,0,0,(1-te)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,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(ne,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(ne,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(ne,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 jt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new jt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new jt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new jt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new jt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}});var ue=[];function ce(){var ne=ue.pop();return ne===void 0?[]:ne}function le(ne){ne.length=0,ue.push(ne)}function de(ne){for(var a=ce(),y=.5,x=.5,b=Math.PI*1.5,z=0,ee=0;ee<ne;ee++)z=2*Math.PI/ne*ee+b,a[ee]=new go.Point(x+y*Math.cos(z),x+y*Math.sin(z));return a.push(a[0]),a}function ae(ne){var a=ie(ne),y=ce();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 le(a),y}function ie(ne){for(var a=de(ne),y=ce(),x=Math.floor(a.length/2),b=a.length-1,z=ne%2===0?2:1,ee=0;ee<b;ee++){var re=a[ee],se=a[ee+1],fe=a[(x+ee-1)%b],ve=a[(x+ee+z)%b];y[ee*2]=re,y[ee*2+1]=E(re.x,re.y,fe.x,fe.y,se.x,se.y,ve.x,ve.y,new go.Point)}return y[y.length]=y[0],le(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ne,a,y){var x=de(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<5;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ne,a,y){var x=de(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<6;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ne,a,y){var x=de(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<7;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ne,a,y){var x=de(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<8;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ne,a,y){var x=de(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<9;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ne,a,y){var x=de(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ne,a,y){var x=de(12),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ne,a,y){var x=ie(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ne,a,y){var x=ie(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ne,a,y){var x=ie(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<14;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ne,a,y){var x=ie(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<16;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ne,a,y){var x=ie(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<18;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ne,a,y){var x=ie(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<20;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ne,a,y){var x=ae(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ne,a,y){var x=ae(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ne,a,y){var x=ae(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ne,a,y){var x=ae(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ne,a,y){var x=ae(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ne,a,y){var x=ae(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new jt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new jt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var z=new go.Geometry,ee=new go.PathFigure(0,0,!0);return z.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()),x<a/2&&b<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,x,b)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),z.setSpots(0,0,1,1,x,b,-x,-b),z}),go.Shape.setFigureParameter("Ring",0,new jt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,z=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-x,0);return re>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=ge,z.spot2=oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ne,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(ne,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 jt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new jt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var ee=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=te/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,ee=y/2,re=Math.atan2(y,a),se=x-Math.min(Math.cos(re)*x/2,z),fe=x-Math.min(Math.sin(re)*x/2,ee),b=new go.Geometry,ve=new go.PathFigure(se,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new jt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new jt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,te*a,0,a,(.5-te/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+te/2)*y,te*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,ee=.3,re=0,se=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-se+re-.02)*y)),z=.2,ee=0,re=-.3,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-se+re-.02)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ee=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((ee+z)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure(ee*a,(re-z)*y);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),z=.4,b=te*.4;var fe=Ae(),ve=Ae(),me=Ae(),pe=Ae();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,fe,ve,me,pe,pe);var he=Ae(),ye=Ae(),Pe=Ae();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,pe,pe,Pe,he,ye);var Oe=Ae(),we=Ae(),Te=Ae();Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,Oe,we,Te,pe,pe);var Me=Ae(),Fe=Ae(),$e=Ae();return Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,pe,pe,$e,Me,Fe),se.add(new go.PathSegment(go.PathSegment.Move,$e.x*a,$e.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,Me.x*a,Me.y*y,Fe.x*a,Fe.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,$e.x*a,$e.y*y).close()),se.add(new go.PathSegment(go.PathSegment.Move,Te.x*a,Te.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,he.x*a,he.y*y,ye.x*a,ye.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*a,Te.y*y,Oe.x*a,Oe.y*y,we.x*a,we.y*y).close()),Ze(fe),Ze(ve),Ze(me),Ze(pe),Ze(he),Ze(ye),Ze(Pe),Ze(Oe),Ze(we),Ze(Te),Ze(Me),Ze(Fe),Ze($e),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,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 jt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Ae(),fe=Ae(),ve=Ae(),me=Ae(),pe=new go.PathFigure((ee-z)*a,re*y,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,ve,me,fe,se,se),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y));var he=be(fe.x,fe.y);Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,se,se,fe,ve,me);var ye=be(fe.x,fe.y);pe.add(new go.PathSegment(go.PathSegment.Line,(he.x*.1+.95*.9)*a,he.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,he.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,(ye.y*.1+.05*.9)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),z=.35,b=te*.35;var Pe=new go.PathFigure(ee*a,(re-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var Oe=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(Oe),Ze(se),Ze(fe),Ze(ve),Ze(me),Ze(he),Ze(ye),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(ne,a,y){var x=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y,(.5+re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var se=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y,(.5+re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y,(.5-re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y));var se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(se),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(ne,a,y){var x=ne?ne.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(ne,a,y){var x=ne?ne.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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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 jt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new jt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Ae());return se.spot2=new go.Spot(ve.x,ve.y),Ze(ve),se}),go.Shape.setFigureParameter("Arrow2",0,new jt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new jt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,ee=(y-b)/2,re=ee+b,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Ae());return se.spot2=new go.Spot(ve.x,ve.y),Ze(ve),se}),go.Shape.defineFigureGenerator("Chevron",function(ne,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(ne,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 jt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var se=E(0,.5,.3,0,0,b/y,.1,b/y,Ae());return ee.spot1=new go.Spot(se.x,se.y),se=E(.7,1,1,.5,0,z/y,1,z/y,se),ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new jt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new jt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var me=E(0,.5,.3,re/y,0,z/y,1,z/y,Ae());return fe.spot1=new go.Spot(me.x,me.y),me=E(.7,se/y,1,.5,0,ee/y,1,ee/y,me),fe.spot2=new go.Spot(me.x,me.y),Ze(me),fe}),go.Shape.setFigureParameter("IBeamArrow",0,new jt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ae());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new jt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new jt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),fe.spot1=new go.Spot(0,z/y);var me=E(.7,se/y,1,.5,0,ee/y,1,ee/y,Ae());return fe.spot2=new go.Spot(me.x,me.y),Ze(me),fe}),go.Shape.setFigureParameter("Pointer",0,new jt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,Ae());return b.spot2=new go.Spot(ee.x,ee.y),Ze(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new jt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,Ae());return b.spot2=new go.Spot(ee.x,ee.y),Ze(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new jt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ae());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new jt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ae());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("SquareArrow",0,new jt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-te*x,(.5+z)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-te*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-te*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-te*x,(.5-z)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-te*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+te*x,0,2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+te*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(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-te*x,0,a-2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-te*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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var x=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,se=.5,fe=.1,ve=new go.PathFigure(se*a,(fe+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-b)*a,fe*y,(se-ee)*a,(fe+z)*y,(se-b)*a,(fe+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-z)*y,(se-b)*a,(fe-re)*y,(se-ee)*a,(fe-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+b)*a,fe*y,(se+ee)*a,(fe-z)*y,(se+b)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+z)*y,(se+b)*a,(fe+re)*y,(se+ee)*a,(fe+z)*y));var me=.05,pe=te*me;se=.05,fe=.25;var he=new go.PathFigure(.5*a,.2*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),se=.95,fe=.25,he.add(new go.PathSegment(go.PathSegment.Bezier,(se+me)*a,fe*y,(se+pe)*a,(fe-me)*y,(se+me)*a,(fe-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,pe=te*me,se=.825,fe=.35,he.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-me)*y,(se+me)*a,(fe-pe)*y,(se+pe)*a,(fe-me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-me)*a,fe*y,(se-pe)*a,(fe-me)*y,(se-me)*a,(fe-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,pe=te*me,se=.5,fe=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-me)*y,(se+me)*a,(fe-pe)*y,(se+pe)*a,(fe-me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-me)*a,fe*y,(se-pe)*a,(fe-me)*y,(se-me)*a,(fe-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,pe=te*me,se=.175,fe=.35,he.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-me)*y,(se+me)*a,(fe-pe)*y,(se+pe)*a,(fe-me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-me)*a,fe*y,(se-pe)*a,(fe-me)*y,(se-me)*a,(fe-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),he.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),he.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,pe=te*me,se=.05,fe=.25,he.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-me)*y,(se-me)*a,(fe-pe)*y,(se-pe)*a,(fe-me)*y)),he.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 jt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=te*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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 re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,se=new go.PathFigure(a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var fe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),fe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.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(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,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(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,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,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);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,(1-z)*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}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.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(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,z*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var se=new go.PathFigure(.8*a,.75*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var fe=new go.PathFigure((ee+z)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,se=.9,fe=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var me=new go.PathFigure((se+re)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+re)*y,(se+re)*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,fe*y,(se-ee)*a,(fe+re)*y,(se-re)*a,(fe+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-re)*y,(se-re)*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,fe*y,(se+ee)*a,(fe-re)*y,(se+re)*a,(fe-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var fe=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),se.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(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.2*a,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,se=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,se=0,fe=.5,ve=(b-a)/2,me=(z-y)/2,pe=new go.PathFigure(se*a+ve,(fe+re)*y+me,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+me,(se-ee)*a+ve,(fe+re)*y+me,(se-re)*a+ve,(fe+ee)*y+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+me,(se-re)*a+ve,(fe-ee)*y+me,(se-ee)*a+ve,(fe-re)*y+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+me,se*a+ve,(fe-re)*y+me,(se-re+ee*.5)*a+ve,(fe-ee)*y+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+me,(se-re+ee*.5)*a+ve,(fe+ee)*y+me,se*a+ve,(fe+re)*y+me).close()),ee=te*.4,re=.4,se=.2,fe=.5;var he=new go.PathFigure(se*a+ve,(fe+re)*y+me,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+me,(se-ee)*a+ve,(fe+re)*y+me,(se-re)*a+ve,(fe+ee)*y+me)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+me,(se-re)*a+ve,(fe-ee)*y+me,(se-ee)*a+ve,(fe-re)*y+me)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+me,se*a+ve,(fe-re)*y+me,(se-re+ee*.5)*a+ve,(fe-ee)*y+me)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+me,(se-re+ee*.5)*a+ve,(fe+ee)*y+me,se*a+ve,(fe+re)*y+me).close()),ee=te*.2,re=.2,se=.5,fe=.5;var ye=new go.PathFigure((se-re)*a+ve,fe*y+me,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+me,(se-re)*a+ve,(fe-ee)*y+me,(se-ee)*a+ve,(fe-re)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+me,(se+ee)*a+ve,(fe-re)*y+me,(se+re)*a+ve,(fe-ee)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+me,(se+re)*a+ve,(fe+ee)*y+me,(se+ee)*a+ve,(fe+re)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+me,(se-ee)*a+ve,(fe+re)*y+me,(se-re)*a+ve,(fe+ee)*y+me)),ee=te*.4,re=.4,se=.8,fe=.5;var Pe=new go.PathFigure(se*a+ve,(fe-re)*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+me,(se+ee)*a+ve,(fe-re)*y+me,(se+re)*a+ve,(fe-ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+me,(se+re)*a+ve,(fe+ee)*y+me,(se+ee)*a+ve,(fe+re)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+me,se*a+ve,(fe+re)*y+me,(se+re-ee*.5)*a+ve,(fe+ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+me,(se+re-ee*.5)*a+ve,(fe-ee)*y+me,se*a+ve,(fe-re)*y+me).close()),ee=te*.8,re=.8,se=1,fe=.5;var Oe=new go.PathFigure(se*a+ve,(fe-re)*y+me,!0);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+me,(se+ee)*a+ve,(fe-re)*y+me,(se+re)*a+ve,(fe-ee)*y+me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+me,(se+re)*a+ve,(fe+ee)*y+me,(se+ee)*a+ve,(fe+re)*y+me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+me,se*a+ve,(fe+re)*y+me,(se+re-ee*.5)*a+ve,(fe+ee)*y+me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+me,(se+re-ee*.5)*a+ve,(fe-ee)*y+me,se*a+ve,(fe-re)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Ae(),fe=Ae(),ve=Ae(),me=Ae();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,me);var pe=be(fe.x,fe.y),he=new go.PathFigure(fe.x*a,fe.y*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,me,fe,se,se),he.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),b=te*.3,z=.3,Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,me,fe,se,se),he.add(new go.PathSegment(go.PathSegment.Line,fe.x*a,fe.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,me.x*a,me.y*y,ve.x*a,ve.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,me),he.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y).close());var he=new go.PathFigure(.45*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ze(se),Ze(fe),Ze(ve),Ze(me),Ze(pe),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(ee,re,se){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+se)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=.5,z=0,ee=0,re=b*te,se=.4*Math.SQRT2/2+.5,fe=.5-.5*Math.SQRT2/2,ve=1,me=.5,pe=.5,he=0,ye=new go.PathFigure(se*a,(1-fe)*y,!1);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,me*y,ve*a,.7*y,ve*a,me*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+z)*a,(he+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,.9*y)),ye.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,re=.5,se=ee,fe=Math.PI/4,ve=4*(1-Math.cos(fe))/(3*Math.sin(fe)),me=ve*.5,pe=ee,he=ee,ye=ve*pe,Pe=ve*he;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-pe)*a,se*y,(re-(ye+pe)/2)*a,(se+(he+Pe)/2)*y,(re-pe)*a,(se+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(se-he)*y,(re-pe)*a,(se-Pe)*y,(re-ye)*a,(se-he)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+pe)*a,se*y,(re+ye)*a,(se-he)*y,(re+pe)*a,(se-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+pe)*a,(se+Pe)*y,(re+(ye+pe)/2)*a,(se+(he+Pe)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Oe=new go.PathFigure(.2*a,y,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,re=te*.1,se=.2,fe=.9,ve=new go.PathFigure((se-ee)*a,fe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),ee=.1,re=te*.1,se=.8,fe=.9;var me=new go.PathFigure((se-ee)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var se=.1,fe=te*.1,ve=.1,me=.9,pe=new go.PathFigure((ve-se)*a,me*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-se)*y,(ve-se)*a,(me-fe)*y,(ve-fe)*a,(me-se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,me*y,(ve+fe)*a,(me-se)*y,(ve+se)*a,(me-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+se)*y,(ve+se)*a,(me+fe)*y,(ve+fe)*a,(me+se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,me*y,(ve-fe)*a,(me+se)*y,(ve-se)*a,(me+fe)*y)),se=.1,fe=te*.1,ve=.4,me=.9;var he=new go.PathFigure((ve-se)*a,me*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-se)*y,(ve-se)*a,(me-fe)*y,(ve-fe)*a,(me-se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,me*y,(ve+fe)*a,(me-se)*y,(ve+se)*a,(me-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+se)*y,(ve+se)*a,(me+fe)*y,(ve+fe)*a,(me+se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,me*y,(ve-fe)*a,(me+se)*y,(ve-se)*a,(me+fe)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,me=te*.05,pe=.175,he=.95,re=new go.PathFigure((pe-ve)*a,he*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-ve)*y,(pe-ve)*a,(he-me)*y,(pe-me)*a,(he-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,he*y,(pe+me)*a,(he-ve)*y,(pe+ve)*a,(he-me)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+ve)*y,(pe+ve)*a,(he+me)*y,(pe+me)*a,(he+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,he*y,(pe-me)*a,(he+ve)*y,(pe-ve)*a,(he+me)*y));var ve=.05,me=te*.05,pe=.375,he=.95,se=new go.PathFigure((pe-ve)*a,he*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-ve)*y,(pe-ve)*a,(he-me)*y,(pe-me)*a,(he-ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,he*y,(pe+me)*a,(he-ve)*y,(pe+ve)*a,(he-me)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+ve)*y,(pe+ve)*a,(he+me)*y,(pe+me)*a,(he+ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,he*y,(pe-me)*a,(he+ve)*y,(pe-ve)*a,(he+me)*y));var ve=.05,me=te*.05,pe=.625,he=.95,fe=new go.PathFigure((pe-ve)*a,he*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-ve)*y,(pe-ve)*a,(he-me)*y,(pe-me)*a,(he-ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,he*y,(pe+me)*a,(he-ve)*y,(pe+ve)*a,(he-me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+ve)*y,(pe+ve)*a,(he+me)*y,(pe+me)*a,(he+ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,he*y,(pe-me)*a,(he+ve)*y,(pe-ve)*a,(he+me)*y));var ve=.05,me=te*.05,pe=.825,he=.95,ye=new go.PathFigure((pe-ve)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-ve)*y,(pe-ve)*a,(he-me)*y,(pe-me)*a,(he-ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,he*y,(pe+me)*a,(he-ve)*y,(pe+ve)*a,(he-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+ve)*y,(pe+ve)*a,(he+me)*y,(pe+me)*a,(he+ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,he*y,(pe-me)*a,(he+ve)*y,(pe-ve)*a,(he+me)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,se=te*.05,fe=.35,ve=.775,me=new go.PathFigure((fe-re)*a,ve*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve-re)*y,(fe-re)*a,(ve-se)*y,(fe-se)*a,(ve-re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*a,ve*y,(fe+se)*a,(ve-re)*y,(fe+re)*a,(ve-se)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve+re)*y,(fe+re)*a,(ve+se)*y,(fe+se)*a,(ve+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-re)*a,ve*y,(fe-se)*a,(ve+re)*y,(fe-re)*a,(ve+se)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(0,.7*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(.15*a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,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(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),b=.05,z=te*.05,ee=.5,re=.8;var fe=new go.PathFigure((ee-b)*a,re*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),fe.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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var se=new go.PathFigure(.5*a,.1*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var se=new go.PathFigure(a*.816,y,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var se=new go.PathFigure(a*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var se=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var se=new go.PathFigure(a*.83,y*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var fe=new go.PathFigure(a*.78,y*.05,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(x,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,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 jt={},Pt="5.0",be={},Ae=null,Ze=!1,E=!1,Se=null,ge=!1,oe=null,te=null,ue=0;ue<arguments.length;ue++){var ce=arguments[ue];if(ce!==null)switch(typeof ce){case"number":Pt=ce.toFixed(1);break;case"string":ce.match(new RegExp("^[0-9]\\.[0-9]+$"))?Pt=ce:Se=ce;break;case"object":typeof ce.is3D!="undefined"?Ae=ce:be=ce;break;case"boolean":Ze=ce,E=!0;break}}Ae===null&&(Ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},be.material_id!==void 0&&!E&&(Ze=!0)),Se!==null&&be.id===void 0&&(be.id=Se);var le="",de="",ae=!1,ie=null,ne=null,a=null,y=!1,x=null,b=null,z=null,ee=null,re=null;be.height!==void 0&&(be.height=Math.round(be.height)),be.width!==void 0&&(be.width=Math.round(be.width));var se=function(ze){return parseFloat(ze)>4?parseFloat(ze):5};jt.setHTML5Codebase=function(ze,ke){te=ze,rt(ze,ke)},jt.setJavaCodebase=jt.setJavaCodebaseVersion=jt.isCompiledInstalled=jt.setPreCompiledScriptPath=jt.setPreCompiledResourcePath=function(){},jt.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}oe=ze,st(ze,ke)},jt.getHTML5CodebaseVersion=function(){return ne},jt.getParameters=function(){return be},jt.setFontsCSSURL=function(ze){ee=ze},jt.setGiacJSURL=function(ze){},jt.setJNLPFile=function(ze){le=ze},jt.setJNLPBaseDir=function(ze){},jt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Be=be.id,Je,Ye=!1,dt=0;dt<arguments.length;dt++){var He=arguments[dt];typeof He=="string"?(He=He.toLowerCase(),He.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=He:Be=arguments[dt]):typeof He=="boolean"?Ye=He:He instanceof HTMLElement&&(Je=He)}Ue();function Ue(){if(!ge){setTimeout(Ue,200);return}ke=Ve(ke);var Le=Je||document.getElementById(Be);if(!Le){console.log("possibly bug on ajax loading? ");return}if(jt.removeExistingApplet(Le,!1),be.width===void 0&&Le.clientWidth&&(be.width=Le.clientWidth),be.height===void 0&&Le.clientHeight&&(be.height=Le.clientHeight),!(be.width&&be.height)&&ke==="html5"&&(delete be.width,delete be.height),ie=ke,ke==="screenshot")we(Le,be);else{var Ke=!1;be.hasOwnProperty("playButton")&&be.playButton||be.hasOwnProperty("clickToLoad")&&be.clickToLoad?Ke=!0:be.hasOwnProperty("playButtonAutoDecide")&&be.playButtonAutoDecide&&(Ke=(!fe()||ze())&&ve()),Ke?(ie="screenshot",Me(Le,be,Ye,ke)):Oe(Le,be,Ye)}}};function fe(){try{return window.self!==window.top}catch(ze){return!0}}function ve(){return be.hasOwnProperty("screenshotGenerator")&&be.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}jt.getViews=function(){return Ae},jt.isJavaInstalled=function(){return!1};var me=function(ze){var ke=function(dt){var He=JSON.parse(dt),Ue=function(Ee){return Ee.type=="G"||Ee.type=="E"},Le=He.elements?He.elements.filter(Ue)[0]:He;if(!Le||!Le.url){Be();return}be.fileName=Le.url,pe(Le.settings||{}),Ae.is3D=!0;var Ke="https://www.geogebra.org/images/";jt.setPreviewImage(x||Le.previewUrl,Ke+"GeoGebra_loading.png",Ke+"applet_play.png"),ze()},Be=function(){be.onError&&be.onError(),et("Error: Fetching material (id "+be.material_id+") failed.",be)},Je=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ye="/materials/"+be.material_id+"?scope=basic";he("https://"+Je+"/api/proxy.php?path="+encodeURIComponent(Ye),ke,Be)};function pe(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){be[Be]===void 0&&ze[Be]!==void 0&&(be[Be]=ze[Be])}),be.showToolBarHelp===void 0&&(be.showToolBarHelp=be.showToolBar)}function he(ze,ke,Be){var Je=new XMLHttpRequest;Je.open("GET",ze),Je.onload=function(){ke(Je.responseText)},Je.onerror=Be,Je.send()}jt.isHTML5Installed=function(){return!0},jt.getLoadedAppletType=function(){return ie},jt.setPreviewImage=function(ze,ke,Be){x=ze,b=ke,z=Be},jt.removeExistingApplet=function(ze,ke){var Be;typeof ze=="string"&&(ze=document.getElementById(ze)),ie=null;var Je=null;for(Be=0;Be<ze.childNodes.length;Be++){var Ye=ze.childNodes[Be],dt=Ye.className;dt==="applet_screenshot"?ke?(Ye.style.display="block",ie="screenshot"):Ye.style.display="none":dt!=="applet_scaler prerender"&&(ze.removeChild(Ye),Je=dt&&dt.indexOf("appletParameters")!=-1?Ye.id:null,Be--)}var He=be.id!==void 0?be.id:Je,Ue=window[He];Ue&&typeof Ue.getBase64=="function"&&(Ue.remove(),window[He]=null)},jt.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ze=jt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},jt.startAnimation=function(){var ze=jt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},jt.stopAnimation=function(){var ze=jt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},jt.getAppletObject=function(){var ze=be.id!==void 0?be.id:"ggbApplet";return window[ze]},jt.resize=function(){};var ye=function(ze,ke,Be){var Je=document.createElement("param");Je.setAttribute("name",ke),Je.setAttribute("value",Be),ze.appendChild(Je)},Pe=function(ze){return ze&&ze!=="false"},Oe=function(ze,ke,Be){se(ne)<=4.2&&(Be=!0);var Je=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Je=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ye=document.createElement("div");Ye.classList.add("appletParameters","notranslate");var dt=ke.width,He=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(se(ne)<=4.4)Pe(ke.showToolBar)&&(ke.height-=7),Pe(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Pe(ke.showToolBar)&&(ke.width=605,dt=605);else{var Ue=100;(Pe(ke.showToolBar)||Pe(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Pe(ke.showMenuBar)?245:155),dt<Ue&&(ke.width=Ue,dt=Ue)}Ye.style.border="none",Ye.style.display="inline-block";for(var Le in ke)ke.hasOwnProperty(Le)&&Le!=="appletOnLoad"&&Ye.setAttribute("data-param-"+Le,ke[Le]);ee&&Ye.setAttribute("data-param-fontscssurl",ee),jt.resize=function(){GGBAppletUtils.responsiveResize(ze,ke)},window.addEventListener("resize",function(mt){jt.resize()});var Ke=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Be&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Ye.setAttribute("data-param-showSplash","false");var Ee=ze.querySelector(".applet_scaler.prerender"),Ie=Ee!==null;if(Ie)var Qe=Ee.querySelector(".ggb_preview");else{var Qe=$e(dt,He,ke.borderColor,!1);Ee=document.createElement("div"),Ee.className="applet_scaler",Ee.style.position="relative",Ee.style.display="block",Ee.style.width=dt+"px",Ee.style.height=He+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ee,"66%"),se(ne)>=5?(ke.appletOnLoad=function(mt){var tt=ze.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ee),window.GGBT_wsf_view&&$(window).trigger("resize"),Ke(mt)},Ie||Ee.appendChild(Qe)):Ye.appendChild(Qe),Ee.appendChild(Ye),Ie||ze.appendChild(Ee),setTimeout(function(){jt.resize()},1)}else{var Xe=document.createElement("div");Xe.className="applet_scaler",Xe.style.position="relative",Xe.style.display="block",Xe.appendChild(Ye),ze.appendChild(Xe),ke.appletOnLoad=function(mt){jt.resize(),Ke(mt)}}function Ge(mt,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(mt,tt.appletOnLoad):renderGGBElement(mt),et("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Ce(mt,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:mt,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ut){Ge(ut.article,ut.params)}),html5AppletsToProcess=null)},se(ne)<5&&(mt.className+=" geogebraweb")):Ge(mt,tt)}if(Je){scriptLoadStarted=!0;for(var xe=0;xe<Ye.childNodes.length;xe++){var je=Ye.childNodes[xe].tagName;je==="TABLE"&&(Ye.removeChild(Ye.childNodes[xe]),xe--)}if(ggbHTML5LoadedScript!==null){var _e=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');_e!=null&&_e.parentNode.removeChild(_e)}var ot=document.createElement("script"),pt=function(){Ce(Ye,ke)};ot.src=de+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ne,ggbHTML5LoadedScript=ot.src,et("GeoGebra HTML5 codebase loaded: '"+de+"'.",ke),!te&&(!oe||oe=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),pt()):de.requirejs?__webpack_require__.e(12).then(function(){var mt=[__webpack_require__(12)];pt.apply(null,mt)}.bind(this)).catch(__webpack_require__.oe):(ot.onload=pt,ze.appendChild(ot))}else Ce(Ye,ke);ke.height=He,ke.width=dt},we=function(ze,ke,Be){var Je=$e(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(Je);var dt=GGBAppletUtils.getScale(ke,ze,Be);Be?(ze.appendChild(Fe()),window.GGBT_wsf_view||(ze.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ye,"66%"),ze.appendChild(Ye),dt!==1&&!isNaN(dt)&&(GGBAppletUtils.scaleElement(Ye,dt),Ye.style.width=ke.width+"px",Ye.style.height=ke.height+"px",Ye.parentNode.style.width=ke.width*dt+"px",Ye.parentNode.style.height=ke.height*dt+"px"),jt.resize=function(){Te(ze,Je,Ye,Be)},window.addEventListener("resize",function(He){jt.resize()}),jt.resize()};function Te(ze,ke,Be,Je){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(be,ze,Je);Be.parentNode!==null&&(!isNaN(Ye)&&Ye!==1?(GGBAppletUtils.scaleElement(Be,Ye),Be.parentNode.style.width=be.width*Ye+"px",Be.parentNode.style.height=be.height*Ye+"px"):(GGBAppletUtils.scaleElement(Be,1),Be.parentNode.style.width=be.width+"px",Be.parentNode.style.height=be.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()}}jt.onExitFullscreen=function(ze,ke){ke.appendChild(ze)};var Me=function(ze,ke,Be,Je){we(ze,ke,!0);for(var Ye=function(){var Ue=[];for(He=0;He<ze.childNodes.length;He++)Ue.push(ze.childNodes[He]);if(window.GGBT_wsf_view){var Le=window.GGBT_wsf_view.renderFullScreen(ze,ke.id),Ke=document.getElementById("fullscreencontainer"),Ee=jQuery(ze).find(".fullscreencontent");Ee.length>0?(Le.remove(),Ee.attr("id","fullscreencontent").show(),jQuery(Ke).append(Ee),window.dispatchEvent(new Event("resize"))):Oe(Le,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ke)}else ie=Je,Oe(ze,ke,!1);if(!window.GGBT_wsf_view)for(He=0;He<Ue.length;He++)ze.removeChild(Ue[He])},dt=ze.getElementsByClassName("ggb_preview_play"),He=0;He<dt.length;He++)dt[He].addEventListener("click",Ye,!1),dt[He].addEventListener("ontouchstart",Ye,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ze),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Fe=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},$e=function(ze,ke,Be,Je){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 dt="lightgrey";Be!==void 0&&(Be==="none"?dt="transparent":dt=Be),Ye.style.border="1px solid "+dt;var He=document.createElement("img");if(He.style.position="relative",He.style.zIndex="1000",He.style.top="-1px",He.style.left="-1px",x!==null&&He.setAttribute("src",x),He.style.opacity=.7,b!==null){var Ue,Le,Ke;if(!Je){Ue=document.createElement("img"),Ue.style.position="absolute",Ue.style.zIndex="1001",Ue.style.opacity=1,He.style.opacity=.3,Le=360,Le>ze/4*3&&(Le=ze/4*3),Ke=Le/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Le),Ue.setAttribute("height",Ke);var Ee=(ze-Le)/2,Ie=(ke-Ke)/2;Ue.style.left=Ee+"px",Ue.style.top=Ie+"px",Ye.appendChild(Ue)}}return Ye.appendChild(He),Ye},Ve=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Re=["web","webSimple","web3d","tablet","tablet3d","phone"],st=function(ze,ke){if(ne=ze,ke){rt(ne,!0);return}var Be=!Ze;if(Be){var Je=se(ne);!isNaN(Je)&&Je<4.4&&(Be=!1)}var Ye,dt;window.location.protocol.substr(0,4)==="http"?Ye=window.location.protocol:Ye="http:";var He=ne.indexOf("//");He>0?dt=ne:He===0?dt=Ye+ne:dt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Re)if(ne.slice(Re[Ue].length*-1)===Re[Ue]||ne.slice((Re[Ue].length+1)*-1)===Re[Ue]+"/"){rt(dt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Be&&!Ae.is3D&&!Ae.AV&&!Ae.SV&&!Ae.CV&&!Ae.EV2&&!Ae.CP&&!Ae.PC&&!Ae.DA&&!Ae.FI&&!Ae.PV&&!Pe(be.showToolBar)&&!Pe(be.showMenuBar)&&!Pe(be.showAlgebraInput)&&!Pe(be.enableRightClick)&&(!be.appName||be.appName=="classic")?dt+="webSimple/":dt+="web3d/",rt(dt,!1)},rt=function(ze,ke){if(ze.requirejs){de=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),de=ze,ke===null&&(ke=ze.indexOf("http")===-1),ae=ke,a="web.nocache.js",y=!1;var Be=de.split("/");Be.length>1&&(!ke&&Be[Be.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Re.indexOf(Be[Be.length-2])>=0&&(a=Be[Be.length-2]+".nocache.js")),Be=ze.split("/"),ne=Be[Be.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var Je=parseFloat(ne);Je!==NaN&&Je<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Je+" is deprecated. Using version latest instead."),st("5.0",ke))},et=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};be.material_id!==void 0?me(qe):qe();function qe(){var ze=Pt;oe!==null?ze=oe:parseFloat(ze)<5&&(ze="5.0"),st(ze,!1),te!==null&&rt(te,ae),ge=!0}return jt},GGBAppletUtils=function(){"use strict";function jt(){return window.GGBT_wsf_edit!==void 0}function Pt(ge,oe){oe!=1?(ge.style.transformOrigin="0% 0% 0px",ge.style.webkitTransformOrigin="0% 0% 0px",ge.style.transform="scale("+oe+","+oe+")",ge.style.webkitTransform="scale("+oe+","+oe+")",ge.style.maxWidth="initial",ge.querySelector(".ggb_preview")!==null&&(ge.querySelector(".ggb_preview").style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ge.style.transform="none",ge.style.webkitTransform="none")}function be(ge,oe,te,ue,ce,le){var de=null;if(le!=null&&le!="")for(var ae=ge.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+le+" ")>-1){de=ae;break}else ae=ae.parentNode;var ie=0,ne=0,a=0,y=0,x=0,b=0,z=0;if(de)ie=de.offsetWidth,ne=Math.max(ue?de.offsetWidth:0,de.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ie):(ie=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),ge){var ee=ge.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(ce===void 0||!ce)&&(document.dir==="rtl"?(x=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return ge&&((te===void 0||!te)&&oe>0&&oe+y<ie?ie=oe:ie-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(te===void 0||!te)&&(ne-=z)),{width:ie,height:ne}}function Ae(ge,oe,te,ue,ce){if(ge.isScreenshoGenerator)return 1;var le=ue!==void 0&&ue,de=ge.noScaleMargin!=null&&ge.noScaleMargin,ae=function(re){return re&&re!=="false"},ie=ae(ge.autoHeight),ne=be(oe,ge.width,te,ie,le&&window.GGBT_wsf_view||de,ce),a=parseInt(ne.width),y=ge.width,x=ge.height;if(y===void 0){var b=oe.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var z=a/y,ee=le?1:ne.height/x;return te!==void 0&&!te&&(z=Math.min(1,z),ee=Math.min(1,ee)),Math.min(z,ee)}function Ze(ge,oe,te){var ue=1,ce,le=!1;if(ge.hasOwnProperty("allowUpscale")&&(le=ge.allowUpscale),ge.hasOwnProperty("scale")&&(ue=parseFloat(ge.scale),(isNaN(ue)||ue===null||ue===0)&&(ue=1),ue>1&&(le=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(ge.hasOwnProperty("disableAutoScale")&&ge.disableAutoScale))ce=Ae(ge,oe,le,te,ge.scaleContainerClass);else return ue;return le&&(!ge.hasOwnProperty("scale")||ue===1)?ce:Math.min(ue,ce)}function E(ge){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),ue=ge.getBoundingClientRect(),ce=(oe-ue.width)/2,le=(te-ue.height)/2;le<0&&(le=0),ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ce<40?ge.style.left="40px":ge.style.left=ce+"px",ge.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?ge.style.top="40px":ge.style.top=le+"px",ge.style.left=ce+"px")}function Se(ge,oe){var te=ge.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ge)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var ue=Ze(oe,ge);jt()&&te.setAttribute("data-param-scale",ue);for(var ce=null,le=0;le<ge.childNodes.length;le++)if(ge.childNodes[le].className!==void 0&&ge.childNodes[le].className.match(/^applet_scaler/)){ce=ge.childNodes[le];break}if(ce!==null&&ce.querySelector(".noscale")!==null)return;var de=oe.id!==void 0?oe.id:"ggbApplet",ae=window[de];(ae==null||!ae.recalculateEnvironments)&&ce!==null&&!ce.className.match(/fullscreen/)&&(ce.parentNode.style.transform="",!isNaN(ue)&&ue!==1?(ce.parentNode.style.width=oe.width*ue+"px",ce.parentNode.style.height=oe.height*ue+"px",Pt(ce,ue)):(Pt(ce,1),ce.parentNode.style.width=oe.width+"px",ce.parentNode.style.height=oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(ge),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(te).parents(".content-added-content"))}}return{responsiveResize:Se,isFlexibleWorksheetEditor:jt,positionCenter:E,getScale:Ze,scaleElement:Pt}}();__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 jt=n.location.search;return jt.indexOf(J)!=-1||jt.indexOf(K)!=-1}function q(jt,Pt){}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(jt){var Pt=s[L].bindings;s[L].bindings=function(){for(var be=Pt?Pt():{},Ae=jt[webModule.__softPermutationId],Ze=O;Ze<Ae.length;Ze++){var E=Ae[Ze];be[E[O]]=E[P]}return be}};var t;function u(){return v(),t}function v(){if(!t){var jt=o.createElement(Q);if(jt.id=L,jt.style.cssText=R+S,jt.tabIndex=-1,o.body.appendChild(jt),t=jt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Pt=document.compatMode==U?V:W;t.write(Pt+X),t.close()}}}function w(jt){function Pt(Ae){function Ze(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=Ze();if(E){Ae();return}function Se(){if(!E){if(!Ze())return;E=!0,Ae(),o.removeEventListener&&o.removeEventListener(Z,Se,!1),ge&&clearInterval(ge)}}o.addEventListener&&o.addEventListener(Z,Se,!1);var ge=setInterval(function(){Se()},$)}function be(Ae){var Ze=u(),E=Ze.body,Se=Ze.createElement(_);Se.language=ab,Se.crossOrigin=W,Se.src=Ae,webModule.__errFn&&(Se.onerror=function(){webModule.__errFn(L,new Error(bb+Ae))}),E.appendChild(Se)}Pt(function(){be(jt)})}webModule.__startLoadingFragment=function(jt){return C(jt)},webModule.__installRunAsyncCode=function(jt){var Pt=u(),be=Pt.body,Ae=Pt.createElement(_);Ae.language=ab,Ae.text=jt,be.appendChild(Ae),be.removeChild(Ae)};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(jt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(jt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(jt){var Pt=c[jt];return Pt==null?null:Pt},r=d,webModule.__errFn=e}function B(){function jt(ge){var oe=ge.lastIndexOf(rb);oe==-1&&(oe=ge.length);var te=ge.indexOf(sb);te==-1&&(te=ge.length);var ue=ge.lastIndexOf(tb,Math.min(te,oe));return ue>=O?ge.substring(O,ue+P):W}function Pt(ge){if(!ge.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=ge+vb,ge=jt(oe.src)}return ge}function be(){var ge=__gwt_getMetaProperty(wb);return ge!=null?ge:W}function Ae(){for(var ge=o.getElementsByTagName(_),oe=O;oe<ge.length;++oe)if(ge[oe].src.indexOf(xb)!=-1)return jt(ge[oe].src);return W}function Ze(){var ge=o.getElementsByTagName(yb);return ge.length>O?ge[ge.length-P].href:W}function E(){var ge=o.location;return ge.href==ge.protocol+zb+ge.host+ge.pathname+ge.search+ge.hash}var Se=be();return Se==W&&(Se=Ae()),Se==W&&(Se=Ze()),Se==W&&E()&&(Se=jt(o.location.href)),Se=Pt(Se),Se}function C(jt){return jt.match(/^\//)||jt.match(/^[a-zA-Z]+:\/\//)?jt:webModule.__moduleBase+jt}function D(){var jt=[],Pt=O,be=[],Ae=[];function Ze(ge){var oe=Ae[ge](),te=be[ge];if(oe in te)return oe;var ue=[];for(var ce in te)ue[te[ce]]=ce;throw r&&r(ge,ue,oe),null}if(__gwt_isKnownPropertyValue=function(ge,oe){return oe in be[ge]},webModule.__getPropMap=function(){var ge={};for(var oe in be)be.hasOwnProperty(oe)&&(ge[oe]=Ze(oe));return ge},webModule.__computePropValue=Ze,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var Se=E.indexOf(Db);Se!=-1&&(Pt=parseInt(E.substring(Se+P),$),E=E.substring(O,Se))}catch(ge){}return webModule.__softPermutationId=Pt,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(jt,Pt,be){"use strict";be.d(Pt,{Ax:function(){return Se},Ds:function(){return ge},KI:function(){return te},SI:function(){return E},f1:function(){return Ze}});var Ae=be(11320);function Ze(ue){let ce=!0;if(ue.length>0){for(let le=0;le<ue.length;le++)if(ue[le].compile_success==0||!ue[le].compile_success){ce=!1;break}}else ce=!1;return ce}function E(ue,ce=""){let le=[];for(let de=0;de<ue.length;de++){let ae=ue[de],ie=ce?`${ce}/${ae.name}`:`${ae.name}`;le.push({title:ae.name,type:ae.type,isLeaf:ae.type!=="tree",key:ie})}return le}function Se(ue,ce,le){for(let de=0;de<ue.length;de++){let ae=ue[de];if(ae.key===ce){ae.children=le;break}ae.children&&Se(ae.children,ce,le)}return ue}function ge(ue,ce,le){let de;return function(){let ae=this,ie=arguments,ne=function(){de=null,le||ue.apply(ae,ie)},a=le&&!de;clearTimeout(de),de=setTimeout(ne,ce),a&&ue.apply(ae,ie)}}const oe=!0,te=Ae.Z.API_SERVER},63205:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return ae}});var Ae=be(67294),Ze={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=be(94184),Se=be.n(E),ge=be(57953),oe=be(15979),te=be(33170),ue=be(28706),ce=be(35973),le=(ie,ne,a)=>new Promise((y,x)=>{var b=re=>{try{ee(a.next(re))}catch(se){x(se)}},z=re=>{try{ee(a.throw(re))}catch(se){x(se)}},ee=re=>re.done?y(re.value):Promise.resolve(re.value).then(b,z);ee((a=a.apply(ie,ne)).next())}),ae=({data:ie,className:ne,fullWidth:a,style:y={},onClose:x,onOk:b,showFullTools:z,noAssociationId:ee})=>{const re=(0,ce.useIntl)(),se=(0,Ae.useRef)(null),fe=(0,Ae.useRef)(null),ve=(0,Ae.useRef)(null),me=(0,Ae.useRef)(null),[pe,he]=(0,Ae.useState)(!1),[ye,Pe]=(0,Ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Ae.useEffect)(()=>{ve.current||(ve.current=document.createElement("style"),document.head.appendChild(ve.current)),ie!=null&&ie.visible?(document.body.setAttribute("data-custom","y-hidden"),ve.current.innerHTML=" html { overflow-y: hidden; }",ie!=null&&ie.src&&Oe()):(document.body.removeAttribute("data-custom"),ve.current&&(document.head.removeChild(ve.current),ve.current=null))},[ie==null?void 0:ie.visible]);const Oe=()=>le(void 0,null,function*(){he(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const $e=yield(0,ue.ZJ)(ie==null?void 0:ie.src);se.current.src="",se.current.src=$e,se.current.onload=function(){Fe()},he(!1),Pe("")}),we=()=>{document.body.removeAttribute("data-custom"),ve.current.innerHTML=" ",x()},Te=$e=>le(void 0,null,function*(){he(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ve=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ie.title,file:$e.dataUrl}});Ve!=null&&Ve.id&&!ee?(yield(0,te.ZP)(`/api/attachments/${ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ve==null?void 0:Ve.id,settings:JSON.stringify($e.state)}})).status===0&&b():Ve!=null&&Ve.id&&b(Ve),document.body.removeAttribute("data-custom"),ve.current.innerHTML=" ",he(!1),Pe("")}),Me=()=>{const $e=document.querySelector('a[href="https://markerjs.com/"]');$e&&$e.parentNode&&($e.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:re.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:re.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Re=>{const st=document.querySelector(Re.name);st&&st.setAttribute("title",Re.title)})},Fe=()=>{fe.current=new oe.hP(se.current),fe.current.targetRoot=me.current,fe.current.addEventListener("render",Te),fe.current.addEventListener("beforeclose",we),z&&(fe.current.availableMarkerTypes=fe.current.ALL_MARKER_TYPES,fe.current.uiStyleSettings.redoButtonVisible=!0,fe.current.uiStyleSettings.notesButtonVisible=!0,fe.current.uiStyleSettings.zoomButtonVisible=!0,fe.current.uiStyleSettings.zoomOutButtonVisible=!0,fe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=fe.current.uiStyleSettings,fe.current.show(),ie!=null&&ie.snapshotData&&fe.current.restoreState(ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Me()},300)};return Ae.createElement(Ae.Fragment,null,(ie==null?void 0:ie.visible)&&Ae.createElement(ge.Z,{spinning:pe,tip:ye,style:{position:"absolute"}},Ae.createElement("div",{ref:me,className:Se()(Ze.imageDimensions,ne,a?Ze.fullWidth:""),style:y},Ae.createElement("img",{className:Ze.img,ref:se}))))}},36527:function(jt,Pt,be){"use strict";var Ae=be(67294),Ze=be(71230),E=be(15746),Se=be(66368),ge=be(71577),oe=be(85725),te=be(71736),ue=be(84279),ce=be(35973),le=be(67294);const de=(0,Ae.forwardRef)(({callback:ae,showSaveButton:ie,value:ne=""},a)=>{const y=(0,Ae.useRef)(),x=(0,ce.useIntl)(),b=[{name:x.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\u5206\u6570\u5F97\u5206"}),value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:x.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\u6839\u5F0F\u89D2\u6807"}),value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:x.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\u6781\u9650\u5BF9\u6570"}),value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:x.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\u4E09\u89D2\u51FD\u6570"}),value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:x.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\u79EF\u5206\u8FD0\u7B97"}),value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:x.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\u5927\u578B\u8FD0\u7B97"}),value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:x.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\u62EC\u53F7\u53D6\u6574"}),value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],z=[{name:x.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\u4EE3\u6570"}),value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:x.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\u51E0\u4F55"}),value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:x.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\u4E0D\u7B49\u5F0F"}),value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:x.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\u79EF\u5206"}),value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:x.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\u4E09\u89D2"}),value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:x.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\u7EDF\u8BA1"}),value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],ee=fe=>{y.current.setValue(y.current.getValue()+" "+fe.value+" ")},re=[{key:"1",label:x.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:le.createElement(Ze.Z,{className:te.Z.lists,gutter:[10,10]},b.map((fe,ve)=>le.createElement(E.Z,{flex:"110px",className:te.Z.item},le.createElement("div",null,le.createElement(oe.Z,{value:`$$${fe.value}$$`}),fe.name),le.createElement("div",{className:te.Z.children},fe.children.map((me,pe)=>le.createElement("div",{key:pe},le.createElement("h1",null,me.name),le.createElement(Ze.Z,{gutter:[10,10]},me.data.map((he,ye)=>le.createElement(E.Z,{key:ye,onClick:()=>ee(he),className:te.Z.diamond},le.createElement(oe.Z,{value:"`$$"+he.value+"$$`"}))))))))))},{key:"2",label:x.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:le.createElement(Ze.Z,{className:te.Z.lists,gutter:[10,10]},z.map((fe,ve)=>le.createElement(E.Z,{flex:"110px",className:te.Z.item},le.createElement("div",null,le.createElement(oe.Z,{value:"`$$"+fe.value+"$$`"}),fe.name),le.createElement("div",{className:te.Z.children},fe.children.map((me,pe)=>le.createElement("div",{key:pe},me.name&&le.createElement("h1",null,me.name),le.createElement(Ze.Z,{gutter:[10,10]},me.data.map((he,ye)=>le.createElement(E.Z,{key:ye,onClick:()=>ee(he),className:te.Z.diamond},le.createElement(oe.Z,{value:"`$$"+he.value+"$$`"}))))))))))}],se=()=>{var fe=document.createElement("div");fe.innerHTML=y.current.getValue();var ve=fe.innerText;return ae&&ae(ve),ve};return(0,Ae.useImperativeHandle)(a,()=>({getData:se})),le.createElement("div",{className:te.Z.mathWrap},le.createElement(Se.default,{defaultActiveKey:"1",items:re}),le.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:x.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:y,style:{width:800,marginTop:30,fontSize:18}},ne||""),ie&&le.createElement("div",{className:te.Z.button},le.createElement(ge.ZP,{size:"large",onClick:se,style:{zIndex:8,marginTop:10},type:"primary"},x.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});Pt.Z=de},60076:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Se}});var Ae=be(67294),Ze=be(33054),E=be(67294),Se=({defaultX:ge="40%",leftChild:oe,rightChild:te,className:ue,hideResize:ce=!1})=>{const[le,de]=(0,Ae.useState)(ge),ae=(0,Ae.useRef)();function ie(){ae.current=!0}(0,Ae.useEffect)(()=>{function y(b){ae.current&&(Ze.Z.publish("resize-move-bar",b),de(b.pageX))}function x(){ae.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const ne=typeof le=="number"&&le!==.01?`${le}px`:ge,a=`calc(100% - ${ce?"0px":"4px"} - ${ne})`;return E.createElement("div",{className:`split-panel-container ${ue}`},E.createElement("section",{style:{width:ne,display:le===.01?"none":""}},oe),E.createElement("section",{className:"resize-x-bar",onMouseDown:ie},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},te))}},57444:function(jt,Pt,be){"use strict";be.d(Pt,{h:function(){return se}});var Ae=be(67294),Ze=be(11713),E=be(22150),Se=be(71577),ge=be(4631),oe=be.n(ge),te=be(71749),ue=be(30483),ce=be(35973),le=Object.defineProperty,de=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(fe,ve,me)=>ve in fe?le(fe,ve,{enumerable:!0,configurable:!0,writable:!0,value:me}):fe[ve]=me,x=(fe,ve)=>{for(var me in ve||(ve={}))ne.call(ve,me)&&y(fe,me,ve[me]);if(ie)for(var me of ie(ve))a.call(ve,me)&&y(fe,me,ve[me]);return fe},b=(fe,ve)=>de(fe,ae(ve));const z=Ze.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},re={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"]};Pt.Z=({callback:fe,onCancel:ve})=>{const[me,pe]=(0,Ae.useState)("python");function he(Oe){pe(re[Oe][1])}function ye(Oe){fe(Oe)}const Pe=(0,ce.useIntl)();return Ae.createElement(E.default,b(x({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),Ae.createElement(E.default.Item,{label:Pe.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},Ae.createElement(Ze.default,{getPopupContainer:Oe=>Oe.parentNode,onChange:he},Object.keys(re).map(Oe=>Ae.createElement(z,{key:Oe,value:Oe},re[Oe][0])))),Ae.createElement(E.default.Item,{label:Pe.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ae.createElement(se,{mode:me})),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Pe.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(Se.ZP,{type:"ghost",onClick:ve},Pe.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function se({value:fe,onChange:ve,mode:me,options:pe={}}){const he=(0,Ae.useRef)(),[ye,Pe]=(0,Ae.useState)();return(0,Ae.useEffect)(()=>{if(ye){let Oe=function(we){const Te=we.getValue();ve&&ve(Te)};return ye.on("change",Oe),()=>{ye.off("change",Oe)}}},[ye,ve]),(0,Ae.useEffect)(()=>{ye&&ye.setOption("mode",me)},[ye,me]),(0,Ae.useEffect)(()=>{ye&&(fe!==ye.getValue()||fe==="")&&setTimeout(()=>{ye.setValue(fe||"")},300)},[ye,fe]),(0,Ae.useEffect)(()=>{if(he.current&&!ye){const Oe=oe().fromTextArea(he.current,x({mode:me,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Pe(Oe)}},[he.current,ye]),Ae.createElement("div",{className:"my-codemirror-container"},Ae.createElement("textarea",{ref:he}))}},35567:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return jr}});var Ae=be(67294),Ze=be(4631),E=be.n(Ze),Se=be(91033),ge=be(71749),oe=be(57341),te=be(82801),ue=be(88386),ce=be(49047),le=be(80785),de=be(85725),ae=({value:bt="",className:Mt,showTextOnly:At,showLines:on,style:Pn={}})=>{const In=(0,Ae.useMemo)(()=>"",[bt]);return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{dangerouslySetInnerHTML:{__html:In}}))},ie=be(35973),ne=be(67294),a=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,re=(bt,Mt,At)=>Mt in bt?a(bt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:At}):bt[Mt]=At,se=(bt,Mt)=>{for(var At in Mt||(Mt={}))z.call(Mt,At)&&re(bt,At,Mt[At]);if(b)for(var At of b(Mt))ee.call(Mt,At)&&re(bt,At,Mt[At]);return bt},fe=(bt,Mt)=>y(bt,x(Mt));function ve({onActionCallback:bt,title:Mt,icon:At,actionName:on,className:Pn="",children:In}){function Cr(){bt(on)}return ne.createElement("a",{title:Mt,className:Pn,onClick:Cr},ne.createElement("i",{className:`${At}`}),In)}var me=({watch:bt,showNullButton:Mt,showNullProgramButton:At,onActionCallback:on,fullScreen:Pn,insertTemp:In,hidetoolBar:Cr,extraUse:Er})=>{const Qn=(0,ie.useIntl)(),Xr=[...[{title:Qn.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:Qn.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:Qn.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:Qn.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:Qn.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:Qn.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:Qn.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:Qn.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:Qn.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:Qn.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:Qn.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:Qn.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:Qn.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:Qn.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:Qn.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:Qn.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${bt?Qn.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):Qn.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${bt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Cr&&Xr.map((qr,Sn)=>ne.createElement("li",{key:Sn},qr.actionName?ne.createElement(ve,fe(se({},qr),{onActionCallback:on})):ne.createElement("span",{className:"v-line"}))),Mt?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:on},ne.createElement("span",{className:"fill-tip"},Qn.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",Qn.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,At?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:on},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:on},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,In&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:Qn.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${In}`,onActionCallback:on},ne.createElement("span",{className:"fill-tip"},Qn.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),Er&&ne.createElement("li",null,Er),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${Pn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Pn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:on})))},pe=be(76621),he=be(22150),ye=be(69677),Pe=be(71577),Oe=Object.defineProperty,we=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Ve=(bt,Mt,At)=>Mt in bt?Oe(bt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:At}):bt[Mt]=At,Re=(bt,Mt)=>{for(var At in Mt||(Mt={}))Fe.call(Mt,At)&&Ve(bt,At,Mt[At]);if(Me)for(var At of Me(Mt))$e.call(Mt,At)&&Ve(bt,At,Mt[At]);return bt},st=(bt,Mt)=>we(bt,Te(Mt));const rt={labelCol:{span:4},wrapperCol:{span:20}};var et=({callback:bt,onCancel:Mt})=>{function At(Pn){bt(Pn)}const on=(0,ie.useIntl)();return Ae.createElement(he.default,st(Re({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:At,style:{width:500}}),Ae.createElement(he.default.Item,{label:on.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ae.createElement(ye.default,null)),Ae.createElement(he.default.Item,{label:on.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ae.createElement(ye.default,null)),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},on.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(Pe.ZP,{type:"ghost",onClick:Mt},on.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},qe=be(57444),ze=be(70859),ke=be(14446),Be=be(71230),Je=be(63205),Ye=be(67294),dt=({callback:bt,onCancel:Mt})=>{const At=document.createElement("canvas"),on=At.getContext("2d");At.width=1e3,At.height=800,on.fillStyle="#ffffff",on.fillRect(0,0,At.width,At.height);const Pn=At.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(Je.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Pn,visible:!0,title:String(Date.now())},onOk:In=>{bt({src:In.url})},onClose:Mt})))},He=be(23495);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var bt=this.diagram;return!(bt===null||bt.isReadOnly||bt.isModelReadOnly||bt.selection.count<2)},Ue.prototype.alignLeft=function(){var bt=this.diagram;bt.startTransaction("aligning left");var Mt=1/0;bt.selection.each(function(At){At instanceof go.Link||(Mt=Math.min(At.position.x,Mt))}),bt.selection.each(function(At){At instanceof go.Link||At.move(new go.Point(Mt,At.position.y))}),bt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var bt=this.diagram;bt.startTransaction("aligning right");var Mt=-1/0;bt.selection.each(function(At){if(!(At instanceof go.Link)){var on=At.actualBounds.x+At.actualBounds.width;Mt=Math.max(on,Mt)}}),bt.selection.each(function(At){At instanceof go.Link||At.move(new go.Point(Mt-At.actualBounds.width,At.position.y))}),bt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var bt=this.diagram;bt.startTransaction("alignTop");var Mt=1/0;bt.selection.each(function(At){At instanceof go.Link||(Mt=Math.min(At.position.y,Mt))}),bt.selection.each(function(At){At instanceof go.Link||At.move(new go.Point(At.position.x,Mt))}),bt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var bt=this.diagram;bt.startTransaction("aligning bottom");var Mt=-1/0;bt.selection.each(function(At){if(!(At instanceof go.Link)){var on=At.actualBounds.y+At.actualBounds.height;Mt=Math.max(on,Mt)}}),bt.selection.each(function(At){At instanceof go.Link||At.move(new go.Point(At.actualBounds.x,Mt-At.actualBounds.height))}),bt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var bt=this.diagram,Mt=bt.selection.first();if(Mt){bt.startTransaction("aligning Center X");var At=Mt.actualBounds.x+Mt.actualBounds.width/2;bt.selection.each(function(on){on instanceof go.Link||on.move(new go.Point(At-on.actualBounds.width/2,on.actualBounds.y))}),bt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var bt=this.diagram,Mt=bt.selection.first();if(Mt){bt.startTransaction("aligning Center Y");var At=Mt.actualBounds.y+Mt.actualBounds.height/2;bt.selection.each(function(on){on instanceof go.Link||on.move(new go.Point(on.actualBounds.x,At-on.actualBounds.height/2))}),bt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(bt){var Mt=this.diagram;Mt.startTransaction("align Column"),bt===void 0&&(bt=0),bt=parseFloat(bt);var At=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||At.push(Er)});for(var on=0;on<At.length-1;on++){var Pn=At[on],In=Pn.actualBounds.y+Pn.actualBounds.height+bt,Cr=At[on+1];Cr.move(new go.Point(Pn.actualBounds.x,In))}Mt.commitTransaction("align Column")},Ue.prototype.alignRow=function(bt){bt===void 0&&(bt=0),bt=parseFloat(bt);var Mt=this.diagram;Mt.startTransaction("align Row");var At=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||At.push(Er)});for(var on=0;on<At.length-1;on++){var Pn=At[on],In=Pn.actualBounds.x+Pn.actualBounds.width+bt,Cr=At[on+1];Cr.move(new go.Point(In,Pn.actualBounds.y))}Mt.commitTransaction("align Row")},Ue.prototype.canRotate=function(bt){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},Ue.prototype.rotate=function(bt){bt===void 0&&(bt=90);var Mt=this.diagram;Mt.startTransaction("rotate "+bt.toString());var Mt=this.diagram;Mt.selection.each(function(At){At instanceof go.Link||At instanceof go.Group||(At.angle+=bt)}),Mt.commitTransaction("rotate "+bt.toString())},Ue.prototype.pullToFront=function(){var bt=this.diagram;bt.startTransaction("pullToFront");var Mt=new go.Map;bt.selection.each(function(At){Mt.set(At.layer,0)}),Mt.iteratorKeys.each(function(At){var on=0;At.parts.each(function(Pn){if(!Pn.isSelected){var In=Pn.zOrder;isNaN(In)?Pn.zOrder=0:on=Math.max(on,In)}}),Mt.set(At,on)}),bt.selection.each(function(At){Ue._assignZOrder(At,Mt.get(At.layer)+1)}),bt.commitTransaction("pullToFront")},Ue.prototype.pushToBack=function(){var bt=this.diagram;bt.startTransaction("pushToBack");var Mt=new go.Map;bt.selection.each(function(At){Mt.set(At.layer,0)}),Mt.iteratorKeys.each(function(At){var on=0;At.parts.each(function(Pn){if(!Pn.isSelected){var In=Pn.zOrder;isNaN(In)?Pn.zOrder=0:on=Math.min(on,In)}}),Mt.set(At,on)}),bt.selection.each(function(At){Ue._assignZOrder(At,Mt.get(At.layer)-1-Ue._findGroupDepth(At))}),bt.commitTransaction("pushToBack")},Ue._assignZOrder=function(bt,Mt,At){At===void 0&&(At=bt),bt.layer===At.layer&&(bt.zOrder=Mt),bt instanceof go.Group&&bt.memberParts.each(function(on){Ue._assignZOrder(on,Mt+1,At)})},Ue._findGroupDepth=function(bt){if(bt instanceof go.Group){var Mt=0;return bt.memberParts.each(function(At){Mt=Math.max(Mt,Ue._findGroupDepth(At))}),Mt+1}else return 0},Ue.prototype.doKeyDown=function(){var bt=this.diagram;if(bt!==null){var Mt=bt.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var At=this.arrowKeyBehavior;if(At==="none")return;if(At==="select"){this._arrowKeySelect();return}else if(At==="move"){this._arrowKeyMove();return}else if(At==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ue.prototype._getAllParts=function(){var bt=new Array;return this.diagram.nodes.each(function(Mt){bt.push(Mt)}),this.diagram.parts.each(function(Mt){bt.push(Mt)}),bt},Ue.prototype._arrowKeyMove=function(){var bt=this.diagram,Mt=bt.lastInput,At=0,on=0;if(Mt.control||Mt.meta)At=1,on=1;else if(bt.grid!==null){var Pn=bt.grid.gridCellSize;on=Pn.width,At=Pn.height}bt.startTransaction("arrowKeyMove"),bt.selection.each(function(In){Mt.key==="Up"?In.move(new go.Point(In.actualBounds.x,In.actualBounds.y-At)):Mt.key==="Down"?In.move(new go.Point(In.actualBounds.x,In.actualBounds.y+At)):Mt.key==="Left"?In.move(new go.Point(In.actualBounds.x-on,In.actualBounds.y)):Mt.key==="Right"&&In.move(new go.Point(In.actualBounds.x+on,In.actualBounds.y))}),bt.commitTransaction("arrowKeyMove")},Ue.prototype._arrowKeySelect=function(){var bt=this.diagram,Mt=bt.lastInput,At=null;Mt.key==="Up"?At=this._findNearestPartTowards(270):Mt.key==="Down"?At=this._findNearestPartTowards(90):Mt.key==="Left"?At=this._findNearestPartTowards(180):Mt.key==="Right"&&(At=this._findNearestPartTowards(0)),At!==null&&(Mt.shift?At.isSelected=!0:Mt.control||Mt.meta?At.isSelected=!At.isSelected:bt.select(At))},Ue.prototype._findNearestPartTowards=function(bt){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var At=Mt.actualBounds.center,on=this._getAllParts(),Pn=1/0,In=Mt,Cr=0;Cr<on.length;Cr++){var Er=on[Cr];if(Er!==Mt&&Er.canSelect()){var Qn=Er.actualBounds.center,ar=At.directionPoint(Qn),Xr=this._angleCloseness(ar,bt);if(Xr<=45){var qr=At.distanceSquaredPoint(Qn);qr*=1+Math.sin(Xr*Math.PI/180),qr<Pn&&(Pn=qr,In=Er)}}}return In},Ue.prototype._angleCloseness=function(bt,Mt){return Math.min(Math.abs(Mt-bt),Math.min(Math.abs(Mt+360-bt),Math.abs(Mt-360-bt)))},Ue.prototype._arrowKeyTree=function(){var bt=this.diagram,Mt=bt.selection.first();if(Mt instanceof go.Node){var At=bt.lastInput;if(At.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)bt.commandHandler.canExpandTree(Mt)&&bt.commandHandler.expandTree(Mt);else{var on=this._sortTreeChildrenByY(Mt).first();on!==null&&bt.select(on)}}else if(At.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)bt.commandHandler.canCollapseTree(Mt)&&bt.commandHandler.collapseTree(Mt);else{var Pn=Mt.findTreeParentNode();Pn!==null&&bt.select(Pn)}else if(At.key==="Up"){var Pn=Mt.findTreeParentNode();if(Pn!==null){var In=this._sortTreeChildrenByY(Pn),Cr=In.indexOf(Mt);if(Cr>0){for(var Er=In.elt(Cr-1);Er!==null&&Er.isTreeExpanded&&!Er.isTreeLeaf;){var Qn=this._sortTreeChildrenByY(Er);Er=Qn.last()}Er!==null&&bt.select(Er)}else bt.select(Pn)}}else if(At.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var on=this._sortTreeChildrenByY(Mt).first();on!==null&&bt.select(on)}else for(;Mt!==null;){var Pn=Mt.findTreeParentNode();if(Pn===null)break;var In=this._sortTreeChildrenByY(Pn),Cr=In.indexOf(Mt);if(Cr<In.length-1){bt.select(In.elt(Cr+1));break}else Mt=Pn}var ar=bt.selection.first();ar!==null&&bt.scrollToRect(ar.actualBounds)}},Ue.prototype._sortTreeChildrenByY=function(bt){var Mt=new go.List().addAll(bt.findTreeChildrenNodes());return Mt.sort(function(At,on){var Pn=At.location,In=on.location;return Pn.y<In.y?-1:Pn.y>In.y?1:Pn.x<In.x?-1:Pn.x>In.x?1:0}),Mt},Ue.prototype.copyToClipboard=function(bt){go.CommandHandler.prototype.copyToClipboard.call(this,bt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var bt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(bt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),bt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(bt){if(bt!=="move"&&bt!=="select"&&bt!=="scroll"&&bt!=="tree"&&bt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+bt);this._arrowKeyBehavior=bt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(bt){if(!(bt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+bt);this._pasteOffset.set(bt)}});var Le=Ue,Ke=be(18023),Ee=be(15746),Ie=be(33170),Qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Xe=be(67294),Ge=(bt,Mt,At)=>new Promise((on,Pn)=>{var In=Qn=>{try{Er(At.next(Qn))}catch(ar){Pn(ar)}},Cr=Qn=>{try{Er(At.throw(Qn))}catch(ar){Pn(ar)}},Er=Qn=>Qn.done?on(Qn.value):Promise.resolve(Qn.value).then(In,Cr);Er((At=At.apply(bt,Mt)).next())});function Ce({onCancel:bt,callback:Mt}){let At=(0,Ae.useRef)(),on=(0,Ae.useRef)(),Pn=(0,Ae.useRef)(),In=(0,Ae.useRef)(!1);const Cr=(0,Ae.useRef)(!1),[Er,Qn]=(0,Ae.useState)(0);function ar(){const Sn=He.bx.make,ur={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};At.current=new He.S0(on.current,{padding:20,grid:Sn(He.s_,"Grid",Sn(He.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(He.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:hn=>{var Fn=hn.diagram.commandHandler.addTopLevelParts(hn.diagram.selection,!0);Fn||hn.diagram.currentTool.doCancel()},commandHandler:Sn(Le),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:hn=>{var Fn=hn.subject;Fn.location=Fn.location.copy().snapToGridPoint(hn.diagram.grid.gridOrigin,hn.diagram.grid.gridCellSize),setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:hn=>{var Fn=hn.subject;setTimeout(()=>{hn.diagram.commandHandler.editTextBlock()})},LinkRelinked:hn=>{var Fn=hn.parameter.part;Fn.invalidateConnectedLinks();var Hn=hn.subject;hn.diagram.toolManager.linkingTool.isForwards?Hn.toNode.invalidateConnectedLinks():Hn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),At.current.nodeTemplate=Sn(He.NB,"Auto",{locationSpot:He.z6.Center,locationObjectName:"SHAPE",desiredSize:new He.$u(120,60),minSize:new He.$u(40,40),resizable:!0,resizeCellSize:new He.$u(10,10),rotatable:!0},new He.KX("location","loc",He.E9.parse).makeTwoWay(He.E9.stringify),new He.KX("desiredSize","size",He.$u.parse).makeTwoWay(He.$u.stringify),Sn(He.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:He.z6.AllSides,toSpot:He.z6.AllSides},new He.KX("figure"),new He.KX("fill"),new He.KX("stroke","borderColor"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Sn(He.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Sn(He.al,{margin:1,textAlign:"center",overflow:He.al.OverflowEllipsis,editable:!0},new He.KX("text").makeTwoWay(),new He.KX("stroke","color"))),At.current.nodeTemplate.toolTip=Sn("ToolTip",Sn(He.s_,"Vertical",{maxSize:new He.$u(200,NaN)},Sn(He.al,{font:"bold 10pt sans-serif",textAlign:"center"},new He.KX("text")),Sn(He.al,{font:"10pt sans-serif",textAlign:"center"},new He.KX("text","details"))));function Ct(hn,Fn){var Hn=(An,Qr)=>{An.handled=!0,An.diagram.model.commit(Wr=>{var ha=Qr.part.adornedPart,da=new He.E9().setRectSpot(ha.actualBounds,hn);da.subtract(ha.location),da.scale(2,2),da.x+=Math.sign(da.x)*130,da.y+=Math.sign(da.y)*130,da.add(ha.location),da.snapToGridPoint(An.diagram.grid.gridOrigin,An.diagram.grid.gridCellSize);var ma=Wr.copyNodeData(ha.data);Wr.setGroupKeyForNodeData(ma,Wr.getGroupKeyForNodeData(ha.data)),Wr.addNodeData(ma);var Et={from:ha.key,to:Wr.getKeyForNodeData(ma)};Wr.addLinkData(Et);var wt=An.diagram.findNodeForData(ma);wt.location=da,An.diagram.select(wt),setTimeout(()=>{An.diagram.commandHandler.editTextBlock()},20)})};return Sn(He.bn,{figure:Fn,alignment:hn,alignmentFocus:hn.opposite(),width:hn.equals(He.z6.Top)||hn.equals(He.z6.Bottom)?25:18,height:hn.equals(He.z6.Top)||hn.equals(He.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(An,Qr)=>Qr.fill="dodgerblue",mouseLeave:(An,Qr)=>Qr.fill="orange",isActionable:!0,click:Hn,contextClick:Hn})}function zt(hn){return Sn(He.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:(Fn,Hn)=>Hn.fill="dodgerblue",mouseLeave:(Fn,Hn)=>Hn.fill="orange",click:(Fn,Hn)=>{Fn.diagram.commandHandler.showContextMenu(Hn.part.adornedPart)}},hn||{})}At.current.nodeTemplate.selectionAdornmentTemplate=Sn(He.uz,"Spot",Sn(He.Vm,{padding:10}),Ct(He.z6.Top,"TriangleUp"),Ct(He.z6.Left,"TriangleLeft"),Ct(He.z6.Right,"TriangleRight"),Ct(He.z6.Bottom,"TriangleDown"),zt({alignment:new He.z6(.75,0)}));function Kt(hn,Fn){return(Hn,An)=>{Hn.handled=!0,Hn.diagram.model.commit(Qr=>{Qr.set(An.part.adornedPart.data,hn,Fn)})}}function Qt(hn,Fn){return Fn||(Fn="color"),Sn(He.bn,{width:16,height:16,stroke:"lightgray",fill:hn,margin:1,background:"transparent",mouseEnter:(Hn,An)=>An.stroke="dodgerblue",mouseLeave:(Hn,An)=>An.stroke="lightgray",click:Kt(Fn,hn),contextClick:Kt(Fn,hn)})}function vn(){return[Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Qt(ur.white,"fill"),Qt(ur.beige,"fill"),Qt(ur.extralightblue,"fill"),Qt(ur.extralightred,"fill"))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Qt(ur.lightgray,"fill"),Qt(ur.lightgreen,"fill"),Qt(ur.lightblue,"fill"),Qt(ur.lightred,"fill")))]}function Xt(){return[Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Qt(ur.black),Qt(ur.green),Qt(ur.blue),Qt(ur.red))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Qt(ur.white),Qt(ur.magenta),Qt(ur.purple),Qt(ur.orange)))]}function sn(hn,Fn){return Fn||(Fn="thickness"),Sn(He.bn,"LineH",{width:16,height:16,strokeWidth:hn,margin:1,background:"transparent",mouseEnter:(Hn,An)=>An.background="dodgerblue",mouseLeave:(Hn,An)=>An.background="transparent",click:Kt(Fn,hn),contextClick:Kt(Fn,hn)})}function tn(hn,Fn){return Fn||(Fn="dash"),Sn(He.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:hn,margin:1,background:"transparent",mouseEnter:(Hn,An)=>An.background="dodgerblue",mouseLeave:(Hn,An)=>An.background="transparent",click:Kt(Fn,hn),contextClick:Kt(Fn,hn)})}function Rn(){return[Sn("ContextMenuButton",Sn(He.s_,"Horizontal",sn(1),sn(2),sn(3),sn(4))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",tn(null),tn([2,4]),tn([4,4])))]}function bn(hn,Fn){return Fn||(Fn="figure"),Sn(He.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:hn,margin:1,background:"transparent",mouseEnter:(Hn,An)=>An.fill="dodgerblue",mouseLeave:(Hn,An)=>An.fill="lightgray",click:Kt(Fn,hn),contextClick:Kt(Fn,hn)})}At.current.nodeTemplate.contextMenu=Sn("ContextMenu",Sn("ContextMenuButton",Sn(He.s_,"Horizontal",bn("Rectangle"),bn("RoundedRectangle"),bn("Ellipse"),bn("Diamond"))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",bn("Parallelogram2"),bn("ManualOperation"),bn("Procedure"),bn("Cylinder1"))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",bn("Terminator"),bn("CreateRequest"),bn("Document"),bn("TriangleDown"))),vn(),Xt(),Rn()),At.current.groupTemplate=Sn(He.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:He.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(hn,Fn)=>{var Hn=Fn.addMembers(Fn.diagram.selection,!0);Hn||Fn.diagram.currentTool.doCancel()},avoidable:!1},new He.KX("location","loc",He.E9.parse).makeTwoWay(He.E9.stringify),Sn(He.s_,"Auto",{name:"BODY"},Sn(He.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:He.z6.AllSides,toSpot:He.z6.AllSides},new He.KX("fill"),new He.KX("stroke","color"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Sn(He.Vm,{background:"transparent",margin:20})),Sn(He.al,{alignment:He.z6.Top,alignmentFocus:He.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new He.KX("text"),new He.KX("stroke","color"))),At.current.groupTemplate.selectionAdornmentTemplate=Sn(He.uz,"Spot",Sn(He.s_,"Auto",Sn(He.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Sn(He.Vm,{margin:1.5})),zt({alignment:He.z6.TopRight,alignmentFocus:He.z6.BottomRight})),At.current.groupTemplate.contextMenu=Sn("ContextMenu",vn(),Xt(),Rn()),At.current.linkTemplate=Sn(He.rU,{layerName:"Foreground",routing:He.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new He.KX("fromSpot","fromSpot",He.z6.parse),new He.KX("toSpot","toSpot",He.z6.parse),new He.KX("fromShortLength","dir",hn=>hn>=1?10:0),new He.KX("toShortLength","dir",hn=>hn>=1?10:0),new He.KX("points").makeTwoWay(),Sn(He.bn,{strokeWidth:2},new He.KX("stroke","color"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Sn(He.bn,{segmentIndex:0,segmentOffset:new He.E9(15,0),segmentOrientation:He.rU.OrientAlong,alignmentFocus:He.z6.Right,figure:"circle",width:10,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",hn=>hn===1)),Sn(He.bn,{segmentIndex:-1,segmentOffset:new He.E9(-10,6),segmentOrientation:He.rU.OrientPlus90,alignmentFocus:He.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",hn=>hn>=1),new He.KX("width","thickness",hn=>7+3*hn),new He.KX("height","thickness",hn=>7+3*hn),new He.KX("segmentOffset","thickness",hn=>new He.E9(-15,4+1.5*hn))),Sn(He.bn,{segmentIndex:0,segmentOffset:new He.E9(15,-6),segmentOrientation:He.rU.OrientMinus90,alignmentFocus:He.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",hn=>hn===2),new He.KX("width","thickness",hn=>7+3*hn),new He.KX("height","thickness",hn=>7+3*hn),new He.KX("segmentOffset","thickness",hn=>new He.E9(-15,4+1.5*hn))),Sn(He.al,{alignmentFocus:new He.z6(0,1,-4,0),editable:!0},new He.KX("text").makeTwoWay(),new He.KX("stroke","color"))),At.current.linkTemplate.selectionAdornmentTemplate=Sn(He.uz,Sn(He.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Xn(2)},new He.KX("pathPattern","thickness",Xn)),zt({alignmentFocus:new He.z6(0,0,-6,-4)}));function Xn(hn){return Sn(He.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(hn+4).toString()+" H3"})}function Br(hn){var Fn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return hn===0?Fn="M0 0 M16 16 M0 8 L16 8":hn===2&&(Fn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Sn(He.bn,{geometryString:Fn,margin:2,background:"transparent",mouseEnter:(Hn,An)=>An.background="dodgerblue",mouseLeave:(Hn,An)=>An.background="transparent",click:Kt("dir",hn),contextClick:Kt("dir",hn)})}function an(hn){var Fn=(Hn,An)=>{Hn.handled=!0,Hn.diagram.model.commit(Qr=>{var Wr=An.part.adornedPart;Qr.set(Wr.data,hn?"toSpot":"fromSpot",He.z6.stringify(He.z6.AllSides)),(hn?Wr.toNode:Wr.fromNode).invalidateConnectedLinks()})};return Sn(He.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Hn,An)=>An.background="dodgerblue",mouseLeave:(Hn,An)=>An.background="transparent",click:Fn,contextClick:Fn})}function Jr(hn,Fn){var Hn=0,An=He.z6.RightSide;hn.equals(He.z6.Top)?(Hn=270,An=He.z6.TopSide):hn.equals(He.z6.Left)?(Hn=180,An=He.z6.LeftSide):hn.equals(He.z6.Bottom)&&(Hn=90,An=He.z6.BottomSide),Fn||(Hn-=180);var Qr=(Wr,ha)=>{Wr.handled=!0,Wr.diagram.model.commit(da=>{var ma=ha.part.adornedPart;da.set(ma.data,Fn?"toSpot":"fromSpot",He.z6.stringify(An)),(Fn?ma.toNode:ma.fromNode).invalidateConnectedLinks()})};return Sn(He.bn,{alignment:hn,alignmentFocus:hn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Hn,background:"transparent",mouseEnter:(Wr,ha)=>ha.background="dodgerblue",mouseLeave:(Wr,ha)=>ha.background="transparent",click:Qr,contextClick:Qr})}At.current.linkTemplate.contextMenu=Sn("ContextMenu",Xt(),Rn(),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Br(0),Br(1),Br(2))),Sn("ContextMenuButton",Sn(He.s_,"Horizontal",Sn(He.s_,"Spot",an(!1),Jr(He.z6.Top,!1),Jr(He.z6.Left,!1),Jr(He.z6.Right,!1),Jr(He.z6.Bottom,!1)),Sn(He.s_,"Spot",{margin:new He.Zt(0,0,0,2)},an(!0),Jr(He.z6.Top,!0),Jr(He.z6.Left,!0),Jr(He.z6.Right,!0),Jr(He.z6.Bottom,!0)))));const ya=`{ "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 ba=["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 Fr(hn){return console.log("shapeName:",hn),ba.indexOf(hn)>=0}var pa=new He.YI(Pn.current,{maxSelectionCount:1,linkTemplate:Sn(He.rU,{locationSpot:He.z6.Center,selectionAdornmentTemplate:Sn(He.uz,"Link",{locationSpot:He.z6.Center},Sn(He.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Sn(He.bn,{toArrow:"Standard",stroke:null}))},{routing:He.rU.AvoidsNodes,curve:He.rU.JumpOver,corner:5,toShortLength:4},new He.KX("points"),Sn(He.bn,{isPanelMain:!0,strokeWidth:2}),Sn(He.bn,{toArrow:"Standard",stroke:null})),model:new He.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...He.bn.getFigureGenerators().toArray().map(hn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:hn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return At.current.addDiagramListener("TextEdited",function(hn){var Fn;const Hn=hn.subject.part;var An=(Fn=document.activeElement)==null?void 0:Fn.value;typeof An=="string"&&An.trim()===""&&At.current.model.commit(function(Qr){Qr.set(Hn.data,"text","\u672A\u547D\u540D"),At.current.commandHandler.stopCommand()},"increment")}),pa.nodeTemplate=Sn(He.NB,"Auto",{locationSpot:He.z6.Center},new He.KX("location","location",He.E9.parse).makeTwoWay(He.E9.stringify),Sn(He.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 He.KX("stroke").makeTwoWay(),new He.KX("fill").makeTwoWay(),new He.KX("figure")),Sn(He.al,{margin:new He.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new He.$u(16,16),maxSize:new He.$u(10,NaN),textAlign:"center",editable:!0},new He.KX("key").makeTwoWay())),setTimeout(()=>{At.current.grid=Sn(He.s_,"Grid",Sn(He.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(He.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),At.current.grid.visible=!0,At.current.grid.gridCellStroke="darkgray",At.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=At.current,At.current}const Xr=()=>Ge(this,null,function*(){var Sn=At.current.makeImage();const ur=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Sn.src}});Mt({src:ur.url})});(0,Ae.useEffect)(()=>(setTimeout(()=>{ar()},500),Qn(Er+1),()=>{At.current=null}),[]);const qr=(0,ie.useIntl)();return Xe.createElement("div",{ref:Cr,className:In.current?`${Qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Xe.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Er,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Xe.createElement(Be.Z,null,Xe.createElement(Ee.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Xe.createElement(Ee.Z,{onClick:()=>{var Sn,ur,Ct=At.current.selection.first();if(In.current=!In.current,document.activeElement&&Ct){let zt=(ur=(Sn=document.activeElement)==null?void 0:Sn.value)==null?void 0:ur.trim();typeof zt=="string"&&At.current.model.commit(function(Kt){Kt.set(Ct.data,"text",zt||"\u672A\u547D\u540D"),At.current.commandHandler.stopCommand()},"increment")}Qn(Er+1)}},Xe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},qr.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"})," /",qr.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:bt},Xe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Qe.flowChartWrp},Xe.createElement("div",{style:{display:"flex",height:"100%"}},Xe.createElement("div",{style:{width:"300px",height:"100%"}},Xe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Xe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Qe.myPaletteDiv,ref:Pn})),Xe.createElement("div",{style:{flex:1,position:"relative"}},Xe.createElement("div",{ref:on,style:{height:"80vh"}}))),Xe.createElement("div",{className:"tr"},Xe.createElement(Pe.ZP,{size:"large",onClick:Xr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},qr.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var xe=Ce,je=be(78045),_e=be(31795);const ot=je.ZP.Group,pt={margin:"0 8px"};var mt=({callback:bt,onCancel:Mt})=>{function At(Pn){bt(Pn)}const on=(0,ie.useIntl)();return Ae.createElement(he.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:At},Ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Ae.createElement("span",{style:pt},on.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),Ae.createElement("span",{style:pt},on.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),Ae.createElement(he.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Ae.createElement(_e.Z,null)),Ae.createElement("span",{style:pt},on.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),Ae.createElement(he.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Ae.createElement(_e.Z,null))),Ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Ae.createElement("span",{style:pt},on.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),Ae.createElement(he.default.Item,{name:"align"},Ae.createElement(ot,null,Ae.createElement(je.ZP,{value:"default"},Ae.createElement("i",{className:"fa fa-align-justify"})),Ae.createElement(je.ZP,{value:"left"},Ae.createElement("i",{className:"fa fa-align-left"})),Ae.createElement(je.ZP,{value:"center"},Ae.createElement("i",{className:"fa fa-align-center"})),Ae.createElement(je.ZP,{value:"right"},Ae.createElement("i",{className:"fa fa-align-right"}))))),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},on.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(Pe.ZP,{type:"ghost",onClick:Mt},on.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},tt=be(47897),ut=be(61016),St=be.n(ut),at=(0,Ae.forwardRef)(({use3d:bt,width:Mt,height:At,callback:on,showSaveButton:Pn},In)=>{const Cr=(0,Ae.useRef)(),Er=(0,Ae.useRef)(),Qn=(0,ie.useIntl)(),[ar,Xr]=(0,Ae.useState)(!1),qr=(0,Ae.useRef)({id:Cr,appName:"graphing",width:Mt||1e3,height:At||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Ae.useEffect)(()=>{Er.current=new(St())(qr.current,!0),window.onload=function(){Er.current.inject("applet_container")}},[]);const Sn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return on&&on(ur),ur};return(0,Ae.useEffect)(()=>{qr.current.appName=ar?"3D":"graphing",Er.current.inject("applet_container")},[ar]),(0,Ae.useEffect)(()=>{Xr(bt)},[bt]),(0,Ae.useImperativeHandle)(In,()=>({getImgData:Sn})),Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Cr}),Ae.createElement(Be.Z,{align:"middle"},Ae.createElement(Ee.Z,{flex:1},Ae.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:Qn.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:ar,onChange:ur=>Xr(ur)})),Ae.createElement(Ee.Z,null,Ae.createElement(Pe.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},Qn.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),Tt=be(36527),We=be(25934),ct=be(2453);const ht="link",vt="upload-image",Ot="add-flowchart",Bt="draw-image",Zt="add-flowchart",Yt="code-block",nn="add-table",En="------------",jn={default:En,left:`:${En}`,center:`:${En}:`,right:`${En}:`};var zn=be(99914),Vn=(bt,Mt,At)=>new Promise((on,Pn)=>{var In=Qn=>{try{Er(At.next(Qn))}catch(ar){Pn(ar)}},Cr=Qn=>{try{Er(At.throw(Qn))}catch(ar){Pn(ar)}},Er=Qn=>Qn.done?on(Qn.value):Promise.resolve(Qn.value).then(In,Cr);Er((At=At.apply(bt,Mt)).next())});function xr(){}let Nr=0;const Lr=1e4,hr="\u2581",Dr="@\u2581\u2581@",kr="@\u2581@",mr=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,rn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function yn(bt){return/^\d+$/.test(bt)?`${bt}px`:bt}const _n=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Pr={[_n+"-B"]:"bold",[_n+"-I"]:"italic"};var jr=({defaultValue:bt="",onChange:Mt,width:At="100%",height:on=400,miniToolbar:Pn=!1,isFocus:In=!1,watch:Cr,insertTemp:Er,mode:Qn="markdown",id:ar="markdown-editor-id",showResizeBar:Xr=!1,noStorage:qr=!1,showNullButton:Sn=!1,showNullProgramButton:ur=!1,hidetoolBar:Ct=!1,fullScreen:zt=!1,onBlur:Kt,onCMBeforeChange:Qt,onFullScreen:vn,className:Xt="",disablePaste:sn=!1,disabled:tn=!1,disabledFill:Rn=!1,placeholder:bn="",values:Xn="",extraUse:Br})=>{const[an,Jr]=(0,Ae.useState)(null),[ya,ba]=(0,Ae.useState)(bt),[Fr,pa]=(0,Ae.useState)(Cr),[hn,Fn]=(0,Ae.useState)(zt),[Hn,An]=(0,Ae.useState)(""),[Qr,Wr]=(0,Ae.useState)(0),[ha,da]=(0,Ae.useState)(on),[ma,Et]=(0,Ae.useState)(!1),wt=(0,Ae.useRef)((0,We.Z)()),Wt=(0,Ae.useRef)(!1),qt=(0,Ae.useRef)(),[mn,Bn]=(0,Ae.useState)(0),[nr,fr]=(0,Ae.useState)(0),vr=(0,Ae.useRef)(),_r=(0,Ae.useRef)(),Rr=(0,Ae.useRef)(),ea=(0,Ae.useRef)(),ir=()=>Vn(void 0,null,function*(){var Ht;const en=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:wt.current}});(Ht=en==null?void 0:en.attachments)!=null&&Ht.length&&(console.log("cm:",an,vr),en.attachments.map(ln=>{ln.content_type.indexOf("image")>-1?an.replaceSelection(`![,](/api/attachments/${ln.id}?type=${ln.content_type})`):ln.content_type.indexOf("video")>-1?an.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):ln.content_type.indexOf("pdf")>-1?an.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type}&disposition=inline" target="_blank">${ln.name}</a>`):an.replaceSelection(`[${ln.name}](${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type})`)}))});(0,Ae.useEffect)(()=>{const Ht=window.scrollY||window.pageYOffset;ba(Xn),an==null||an.setValue(Xn),window.scrollTo(0,Ht)},[Xn]),(0,Ae.useEffect)(()=>{vn==null||vn(hn)},[hn]),(0,Ae.useEffect)(()=>{if(vr.current){let Ht=function(ln,dn){var Gn;if(sn){dn.preventDefault();return}const er=dn.clipboardData;if(er){const Tr=er.types.toString(),rr=er.items;if(Tr==="Files"||er.types.indexOf("Files")>-1){if(dn.preventDefault(),Qn=="stex")return;try{let xn=rr[1];((Gn=rr[0])==null?void 0:Gn.kind)==="file"&&(xn=rr[0]);const Mn=xn.getAsFile(),Zn=Mn.name.split(".").pop();(0,ze.I)(Mn,Wn=>{var gr,Ur,Hr;Wn.id?((gr=Mn==null?void 0:Mn.type)==null?void 0:gr.indexOf("image"))>-1?en.replaceSelection(`<img width="100%" src="/api/attachments/${Wn.id}?type=${Wn.content_type})" alt="" />`):((Ur=Mn==null?void 0:Mn.type)==null?void 0:Ur.indexOf("video"))>-1?en.replaceSelection(`<video width="100%" controls src="/api/attachments/${Wn.id}"></video>`):((Hr=Mn==null?void 0:Mn.type)==null?void 0:Hr.indexOf("pdf"))>-1?en.replaceSelection(`<a href="/api/attachments/${Wn.id}?type=${Mn.type}&disposition=inline" target="_blank">${Mn.name}</a>`):rn.includes(Zn)?en.replaceSelection(`<a href="/api/attachments/${Wn.id}?type=office&disposition=inline" target="_blank">${Mn.name}</a>`):en.replaceSelection(`[${Mn.name}](/api/attachments/${Wn.id}?type=${Wn.content_type})`):(Wn==null?void 0:Wn.status)===401&&(ct.ZP.warning((Wn==null?void 0:Wn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(xn){ct.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const en=E().fromTextArea(vr.current,{mode:Qn,lineNumbers:!Pn,lineWrapping:!0,value:bt,autoCloseTags:!ur,autoCloseBrackets:!0});return en.on("keyup",function(ln,dn){dn.keyCode===8&&(ln.getValue()==""?en.setOption("placeholder",bn):en.setOption("placeholder",null))}),en.on("keydown",function(ln,dn){if(dn.keyCode===8){var Gn=yt(ln);Gn&&dn.preventDefault()}}),In&&en.focus(),en.on("paste",Ht),en.on("dragleave",function(ln,dn){_r.current.classList.remove("mouse-hover-md")}),tn&&en.on("beforeChange",function(ln,dn){(dn.origin==="paste"||dn.origin==="+input")&&dn.cancel()}),Jr(en),()=>{en.off("paste",Ht)}}},[]);const Nt=(0,Ae.useCallback)(()=>{if(_r.current)try{}catch(Ht){console.log(Ht,"---- to set md editor body height")}},[ha,_r,hn]);(0,Ae.useEffect)(()=>{function Ht(){let en=new Se.Z(ln=>{for(let dn of ln)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&(Nt(),an.setSize("100%","100%"),an.refresh())});return en.observe(vr.current.parentElement),en}if(an){const en=Ht();return()=>{var ln,dn;(ln=vr.current)!=null&&ln.parentElement&&en.unobserve((dn=vr.current)==null?void 0:dn.parentElement)}}},[an,Nt]),(0,Ae.useEffect)(()=>{if(an){let Ht=[];for(const[en,ln]of Object.entries(Pr)){let dn={[en]:()=>{Rt(ln)}};Ht.push(dn),an.addKeyMap(dn)}return qt.current=setInterval(()=>{Wt.current&&ir()},4e3),()=>{clearInterval(qt.current);for(let en of Ht)an.removeKeyMap(en)}}},[an]),(0,Ae.useEffect)(()=>{zt!==hn&&Fn(zt)},[zt]),(0,zn.Z)(()=>{if(!qr&&Qr>0){let Ht=new Date().getTime(),en=window.sessionStorage.getItem(ar);Ht>=Qr+Lr&&(!en||en!==ya)&&(window.sessionStorage.setItem(ar,ya),Et(!0))}},Lr),(0,Ae.useEffect)(()=>{pa(Cr)},[an,Cr]),(0,Ae.useEffect)(()=>{an&&In&&an.focus()},[an,In]),(0,Ae.useEffect)(()=>{if(Fr&&an){let Ht=function(ln){let dn=ln.target;if(ea.current){let Gn=dn.scrollTop/dn.scrollHeight;ea.current.scrollTop=ea.current.scrollHeight*Gn}};const en=an.getScrollerElement();return en.addEventListener("scroll",Ht),()=>{en.removeEventListener("scroll",Ht)}}},[an,Fr]),(0,Ae.useEffect)(()=>{if(an&&Qt){let Ht=function(en,ln){Qt(en,ln)};return an.on("beforeChange",Ht),()=>{an.off("beforeChange",Ht)}}},[an,Qt]),(0,Ae.useEffect)(()=>{if(an&&Kt){let Ht=function(){Kt(an.getValue())};return an.on("blur",Ht),()=>{an.off("blur",Ht)}}},[an,Kt]);function yt(Ht,en){var ln=Ht.getDoc(),dn=ln.getCursor(),Gn=ln.getLine(dn.line),er=Gn.charAt(dn.ch-1),Tr=Gn.lastIndexOf("@\u2581@",dn.ch),rr=Gn.lastIndexOf("@\u2581\u2581@",dn.ch),xn=Tr>rr?Tr:rr,Mn=Tr>rr?3:4;if(Dr.indexOf(er)===-1)return null;if(console.log("change1:",en,Ht,Gn,dn,xn,Tr,rr,er),xn>=0&&dn.ch-xn<5){var Zn=xn+Mn;return ln.replaceRange("",{line:dn.line,ch:xn},{line:dn.line,ch:Zn}),{line:dn.line,ch:Zn}}return null}(0,Ae.useEffect)(()=>{if(an){let Ht=function(en,ln){const dn=en.getValue();ba(dn),Wr(new Date().getTime()),en.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(ur?Mt(dn,cn(dn)):Mt(dn))};return an.on("change",Ht),()=>{an.off("change",Ht)}}},[an,Mt]),(0,Ae.useEffect)(()=>{if(an)if(bt==null)an.setValue(""),ba("");else{const Ht=window.scrollY||window.pageYOffset;bt!==an.getValue()&&(an.setValue(bt),ba(bt),an.setCursor(tn?1:an.lineCount(),0),window.scrollTo(0,Ht))}},[an,bt]);const Rt=(0,Ae.useCallback)(Ht=>{const en=an.getCursor(),ln=an.getSelection();let dn=ln.split(`
`);switch(Ht){case"bold":return an.replaceSelection("**"+ln+"**"),ln===""&&an.setCursor(en.line,en.ch+2),an.focus();case"italic":return an.replaceSelection("*"+ln+"*"),ln===""&&an.setCursor(en.line,en.ch+1),an.focus();case"code":return an.replaceSelection("`"+ln+"`"),ln===""&&an.setCursor(en.line,en.ch+1),an.focus();case"inline-latex":return An("inline-latex"),an.focus();case"latex":return an.replaceSelection("```latex\n"+ln+"\n```"),an.setCursor(en.line+1,ln.length+1),an.focus();case"line-break":return an.replaceSelection(`<br/>
`),an.focus();case"list-ul":return ln===""?an.replaceSelection("- "+ln):an.replaceSelection(dn.map(Gn=>Gn===""?"":`- ${Gn}`).join(`
`)),an.focus();case"list-ol":return ln===""?an.replaceSelection("1. "+ln):an.replaceSelection(dn.map((Gn,er)=>Gn===""?"":`${er+1}. ${Gn}`).join(`
`)),an.focus();case"add-null-ch":return ln===""&&an.setCursor(en.line,en.ch),an.replaceSelection(hr),an.focus();case"add-signal":return ln===""&&an.setCursor(en.line,en.ch),an.replaceSelection(kr),an.focus();case"add-multiple":return ln===""&&an.setCursor(en.line,en.ch),an.replaceSelection(Dr),an.focus();case"inster-template-1":return ln===""&&an.setCursor(en.line,en.ch),an.replaceSelection(mr),an.focus();case"eraser":return an.setValue(""),an.focus();case"trigger-watch":return pa(!Fr),an.focus();case"trigger-full-screen":return Fn(!hn),an.focus();case ht:An(ht);return;case Yt:An(Yt);return;case vt:An(vt);return;case Bt:An(Bt);return;case"maths-latex":An("maths-latex");return;case Ot:An(Ot);return;case nn:An(nn);return;default:throw new Error}},[an,Fr,hn]),lt=(0,Ae.useCallback)((Ht,en)=>{var ln,dn,Gn,er,Tr,rr;switch(An(""),Hn){case ht:const{title:gr,link:Ur}=Ht;return an.replaceSelection(`[${gr}](${Ur})`),an.focus();case Yt:const{language:Hr,content:sa}=Ht;return an.replaceSelection(["```"+Hr,sa,"```"].join(`
`)),an.focus();case"maths-latex":for(var xn=atob(Ht),Mn=new Uint8Array(xn.length),Zn=0;Zn<xn.length;Zn++)Mn[Zn]=xn.charCodeAt(Zn);var Wn=new Blob([Mn],{type:"image/png"});(0,ze.I)(Wn,_a=>{_a.id?an.replaceSelection(`![,](/api/attachments/${_a.id}?type=${_a.content_type})`):(_a==null?void 0:_a.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":an.replaceSelection("`$$"+Ht+"$$`");break;case vt:case Bt:case Zt:const{src:Ir,alt:Ea}=Ht,Zr=en,Va=(Gn=(dn=(ln=Zr==null?void 0:Zr.name)==null?void 0:ln.split("."))==null?void 0:dn.pop)==null?void 0:Gn.call(dn);return((er=Zr==null?void 0:Zr.type)==null?void 0:er.indexOf("image"))>-1||!(Zr!=null&&Zr.type)?Zr.align||Zr.width?an.replaceSelection(`<p style="text-align:${Zr.align||"initial"}"><img width="${Zr.width?Zr.width+"%":"initial"}" src="${Ir}" alt="${Ea||""}" /></p>`):an.replaceSelection(`<img width="100%" src="${Ir}" alt="${Ea||""}" />`):((Tr=Zr==null?void 0:Zr.type)==null?void 0:Tr.indexOf("video"))>-1?an.replaceSelection(`<video width="100%" controls src="${Ir}"></video>`):((rr=Zr==null?void 0:Zr.type)==null?void 0:rr.indexOf("pdf"))>-1?an.replaceSelection(`<a href="${Ir}?type=${Zr.type}&disposition=inline" target="_blank">${Zr.name}</a>`):rn.includes(Va)?an.replaceSelection(`<a href="${Ir}?type=office&disposition=inline" target="_blank">${Zr.name}</a>`):an.replaceSelection(`[${Zr.name}](${Ir})`),an.focus();case nn:const{row:uo,col:io,align:ka}=Ht;let Ka=`
`;for(let _a=0;_a<uo;_a++){let co=[],va=[];for(let Ma=0;Ma<io;Ma++)_a===1&&va.push(jn[ka]),co.push(" ");_a===1&&(Ka+=`| ${va.join(" | ")} |
`),Ka+=`| ${co.join(io===1?"":" | ")} |
`}return an.replaceSelection(Ka+`
`),an.focus();default:throw new Error}},[an,Hn]),_t=(0,Ae.useMemo)(()=>{switch(Hn){case ht:return Ae.createElement(et,{callback:lt,onCancel:Jt});case Yt:return Ae.createElement(qe.Z,{callback:lt,onCancel:Jt});case vt:return Ae.createElement(ze.Z,{callback:lt,onCancel:Jt});case Ot:return Ae.createElement(xe,{callback:lt,onCancel:Jt});case nn:return Ae.createElement(mt,{callback:lt,onCancel:Jt});case"maths-latex":return Ae.createElement(at,{showSaveButton:!0,callback:lt});case"inline-latex":return Ae.createElement(Tt.Z,{showSaveButton:!0,callback:lt});default:return null}},[Hn]);function Jt(){An("")}(0,Ae.useEffect)(()=>{if(Rr.current){let Ht=function(Tr){Gn=!0,er=Tr.pageY},en=function(){Gn=!1},ln=function(Tr){if(Gn){let rr=Tr.pageY-er;rr<0&&(rr=0),rr>300&&(rr=300);let xn=on+rr+"px";da(xn)}},dn=Rr.current,Gn=!1,er=0;return dn.addEventListener("mousedown",Ht),document.addEventListener("mousemove",ln),document.addEventListener("mouseup",en),()=>{dn.removeEventListener("mousedown",Ht),document.removeEventListener("mousemove",ln),document.removeEventListener("mouseup",en)}}},[an,Rr]),(0,Ae.useEffect)(()=>{da(on)},[on]);const un=yn(At),Dt=yn(ha),$t={width:un,height:Dt},kt=(0,Ae.useMemo)(()=>{if(Qr){let Ht=new Date(Qr),en=Ht.getHours(),ln=Ht.getMinutes(),dn=Ht.getSeconds();return en=en<10?"0"+en:en,ln=ln<10?"0"+ln:ln,dn=dn<10?"0"+dn:dn,`${en}:${ln}:${dn}`}return 0},[Qr]),cn=Ht=>{const en=[];if(ur){let ln=-1;Ht=Ht.replace(/(@▁▁@|@▁@)/g,function(dn,Gn,er){en.push({multiLine:dn!==kr})})}return en};function On(){window.sessionStorage.removeItem(ar),Et(!1),Wr(0)}function wn(){Et(!1),Wr(0),an.setValue(window.sessionStorage.getItem(ar))}const Nn=(0,ie.useIntl)(),Kn={[ht]:"\u6DFB\u52A0\u94FE\u63A5",[Yt]:Nn.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[vt]:Nn.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[Bt]:"\u6DFB\u52A0\u753B\u56FE",[Ot]:Nn.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[nn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Nn.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Nn.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,Ae.useEffect)(()=>{Kn[Hn]&&Hn!==Bt&&Hn!==Ot&&setTimeout(()=>{const Ht=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth/2-Ht.offsetWidth/2,ln=window.innerHeight/2-Ht.offsetHeight/2;Bn(en),fr(ln)},0)},[Hn]);const qn=Ht=>{Ht.preventDefault();const en=Ht.clientX-mn,ln=Ht.clientY-nr;document.body.onmousemove=dn=>{let Gn=dn.clientX-en,er=dn.clientY-ln;const Tr=document.getElementsByClassName("markdown-popup-form")[0],rr=window.innerWidth-Tr.offsetWidth,xn=window.innerHeight-Tr.offsetHeight;Gn=Math.max(0,Math.min(Gn,rr)),er=Math.max(0,Math.min(er,xn)),yr(dn.clientX,dn.clientY,en,ln)&&(Bn(Gn),fr(er))},document.body.onmouseup=function(){document.body.onmousemove=null}},yr=(Ht,en,ln,dn)=>{const Gn=document.body.clientHeight,er=document.body.clientWidth;return Ht<20&&ln>Ht||Ht>er-20&&ln<Ht||en<20&&dn>en||en>Gn-20&&dn<en?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:"markdown-editor-wrapper",ref:_r},Ae.createElement("div",{className:`markdown-editor-container ${Xt} ${Fr?"on-preview":""} ${Pn?"mini":""} ${hn?"full-screen":""}`,style:$t},Ae.createElement(me,{insertTemp:Er,watch:Fr,fullScreen:hn,showNullButton:Sn,showNullProgramButton:ur,onActionCallback:Rt,hidetoolBar:Ct,extraUse:Br}),Ae.createElement("div",{className:"markdown-editor-body"},Ae.createElement("div",{className:"codemirror-container"},Ae.createElement("textarea",{ref:vr,placeholder:bn})),Fr?Ae.createElement("div",{ref:ea,className:"preview-container"},Qn==="stex"&&Ae.createElement(ae,{value:ya}),Qn!=="stex"&&Ae.createElement(de.Z,{disabledFill:Rn,showProgramFill:ur,value:ya})):null))),Xr?Ae.createElement("a",{ref:Rr,className:"editor-resize"}):null,Hn===Bt&&Ae.createElement(dt,{callback:lt,onCancel:Jt}),Hn===Ot&&Ae.createElement(xe,{callback:lt,onCancel:Jt}),Ae.createElement(pe.Z,null,Kn[Hn]&&Hn!==Bt&&Hn!==Ot?Ae.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:mn,top:nr},title:Ae.createElement("div",{style:{cursor:"move"},onMouseDown:qn},Kn[Hn]),open:!0,onCancel:Jt,footer:null,destroyOnClose:!0,width:Hn===Ot?"1200px":null,height:Hn===Ot?"80vh":null,className:"markdown-popup-form"},_t):null))}},70859:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return me},I:function(){return he}});var Ae=be(22150),Ze=be(2453),E=be(69677),Se=be(93421),ge=be(31795),oe=be(78045),te=be(71577),ue=be(15476),ce=be(67294),le=be(52262),de=be(35973),ae=be(67294),ie=Object.defineProperty,ne=Object.defineProperties,a=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,z=(ye,Pe,Oe)=>Pe in ye?ie(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ye[Pe]=Oe,ee=(ye,Pe)=>{for(var Oe in Pe||(Pe={}))x.call(Pe,Oe)&&z(ye,Oe,Pe[Oe]);if(y)for(var Oe of y(Pe))b.call(Pe,Oe)&&z(ye,Oe,Pe[Oe]);return ye},re=(ye,Pe)=>ne(ye,a(Pe));const{useForm:se}=Ae.default,fe={width:280,marginRight:10},ve={labelCol:{span:5},wrapperCol:{span:19}};var me=({callback:ye,onCancel:Pe})=>{const[Oe]=se();let we=(0,ce.useRef)();const Te=(0,de.useIntl)();function Me(Ve){we.current.width=Oe.getFieldValue("width"),we.current.align=Oe.getFieldValue("align"),ye(Ve,we.current)}function Fe(Ve,Re){if(Ve.status===-1){Ze.ZP.error(Ve.message);return}Oe.setFieldsValue({src:`/api/attachments/${Ve.id}`,type:Re.type})}function $e(Ve){let Re=Ve.target.files[0];we.current=Re,he(Re,Fe)}return ae.createElement(Ae.default,re(ee({form:Oe},ve),{className:"upload-image-panel",onFinish:Me,style:{width:470,overflow:"hidden"}}),ae.createElement(Ae.default.Item,{label:Te.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(Ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:fe})),ae.createElement(pe,{onFileChange:$e}))),ae.createElement(Ae.default.Item,{label:Te.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(Ae.default.Item,{label:Te.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},ae.createElement(Se.Z,null,ae.createElement(Ae.default.Item,{name:"width",style:{margin:0}},ae.createElement(ge.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(Ae.default.Item,{label:Te.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},ae.createElement(oe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:Te.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:Te.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:Te.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),ae.createElement("aside",null,ae.createElement(Ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Te.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),ae.createElement(te.ZP,{type:"default",onClick:Pe},Te.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function pe({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function he(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw Ze.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Oe=new FormData;Oe.append("editormd-image-file",ye),Oe.append("file_param_name","editormd-image-file"),Oe.append("byxhr","true");var we=new window.XMLHttpRequest;we.withCredentials=!0,we.addEventListener("load",function(Te){Pe(JSON.parse(Te.target.responseText),ye)},!1),we.addEventListener("error",function(Te){console.error(Te)},!1),we.open("POST",`${ue.KI}/api/attachments.json`),we.send(Oe)}},76621:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return E}});var Ae=be(67294),Ze=be(73935);class E extends Ae.Component{constructor(ge){super(ge);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:ge}=this.props;return(0,Ze.createPortal)(ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(jt,Pt,be){"use strict";var Ae=be(12867),Ze=be(11713),E=be(47897),Se=be(35973),ge=be(67294);const oe=Ze.default.Option;Pt.Z=({isTheoretical:te,onFontSizeChange:ue,cmFontSize:ce,cmCodeMode:le,autoFormat:de,onCodeModeChange:ae,onTabToSpace:ie,onAutoFormat:ne,formatDocument:a,className:y="",tabToSpace:x,children:b,code_editor:z,challenge:ee,shixun_environment_id:re,shixun_environments:se})=>{var fe;const ve=(0,Se.useIntl)(),me={1:ve.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:ve.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:ve.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})},pe=(fe=se==null?void 0:se.find(he=>he.shixun_environment_id===re))==null?void 0:fe.program_language;return ge.createElement("div",{className:`tpi-code-setting ${y}`},ge.createElement("h3",null,ve.formatMessage({id:"shixuns.codeFormat",defaultMessage:"\u4EE3\u7801\u683C\u5F0F"})),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.displayMode",defaultMessage:"\u663E\u793A\u6A21\u5F0F"})),ge.createElement(Ze.default,{bordered:!1,size:"small",value:le,onChange:ae},ge.createElement(oe,{value:"vs"},ve.formatMessage({id:"shixuns.whiteBackground",defaultMessage:"\u767D\u8272\u80CC\u666F"})),ge.createElement(oe,{value:"vs-dark"},ve.formatMessage({id:"shixuns.blackBackground",defaultMessage:"\u9ED1\u8272\u80CC\u666F"})))),!te&&ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.fontSize",defaultMessage:"\u5B57\u4F53\u5927\u5C0F"})),ge.createElement(Ze.default,{bordered:!1,size:"small",value:ce,onChange:ue},ge.createElement(oe,{value:12},"12px"),ge.createElement(oe,{value:14},"14px"),ge.createElement(oe,{value:16},"16px"),ge.createElement(oe,{value:18},"18px"),ge.createElement(oe,{value:20},"20px"),ge.createElement(oe,{value:22},"22px"))),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.tabConversion",defaultMessage:"Tab\u8F6C\u6362"})),ge.createElement(E.Z,{checked:x,onChange:ie})),ge.createElement("div",{className:"file-item",onClick:a},ge.createElement("b",{style:{cursor:"pointer"}},ve.formatMessage({id:"shixuns.formatCode",defaultMessage:"\u683C\u5F0F\u5316\u4EE3\u7801"}))))),!te&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,ve.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.saveCode",defaultMessage:"\u4FDD\u5B58\u4EE3\u7801"})),ge.createElement("span",null,"Ctrl + S")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.showShortcutsList",defaultMessage:"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"})),ge.createElement("span",null,"F1 / Alt + F1")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.indentLeftRight",defaultMessage:"\u5DE6\u53F3\u7F29\u8FDB"})),ge.createElement("span",null,"Ctrl + ]/[")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.jumpToMatchingBracket",defaultMessage:"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"})),ge.createElement("span",null,"Ctrl + Shift + \\")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.goToLineStart",defaultMessage:"\u8F6C\u5230\u884C\u9996"})),ge.createElement("span",null,"Home")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.goToLineEnd",defaultMessage:"\u8F6C\u5230\u884C\u5C3E"})),ge.createElement("span",null,"End"))),b),!te&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,ve.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),ge.createElement("section",null,pe&&ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"questionBankAddQuestion.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})),ge.createElement("span",null,pe)),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.practicalDifficulty",defaultMessage:"\u5B9E\u8BAD\u96BE\u6613\u5EA6"})),ge.createElement("span",null,me[ee==null?void 0:ee.difficulty])),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.labEnvironment",defaultMessage:"\u5B9E\u9A8C\u73AF\u5883"})),ge.createElement("span",null,z==null?void 0:z.name)),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,ve.formatMessage({id:"shixuns.labContainerNetwork",defaultMessage:"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"})),ge.createElement("span",null,z!=null&&z.close_internet?ve.formatMessage({id:"shixuns.closeInternet",defaultMessage:"\u5173\u95ED\u5916\u7F51"}):ve.formatMessage({id:"shixuns.enableExternalNetwork",defaultMessage:"\u5F00\u542F\u5916\u7F51"}))))))}},99914:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Ze}});var Ae=be(67294);function Ze(E,Se){const ge=(0,Ae.useRef)();(0,Ae.useEffect)(()=>{ge.current=E}),(0,Ae.useEffect)(()=>{function oe(){ge.current()}if(Se!==null){let te=setInterval(oe,Se);return()=>clearInterval(te)}},[Se])}},7644:function(jt,Pt,be){"use strict";be.r(Pt),be.d(Pt,{Types:function(){return Lr},default:function(){return kr}});var Ae=be(67294),Ze={header:"header___N_IdR",field:"field___XG_dh","oj-form-container":"oj-form-container___syYzK","oj-left-panel":"oj-left-panel___L082x","oj-form-info":"oj-form-info___q0IU5",footer:"footer___pGCM2",result:"result___LM9Ms",passText:"passText___nUoL4",noPassText:"noPassText___ECHHG",pass:"pass___tDubp",noPass:"noPass___ilYvg","test-case-name":"test-case-name___MI_KD","btn-remove-case":"btn-remove-case___OiaTQ","icon-tag":"icon-tag___D86WO",btn_back:"btn_back___FyaSY",testJi:"testJi___NDviK",upBtn:"upBtn___FiZX4","oj-problems":"oj-problems___xb70g",row:"row___v036E",a:"a___yRaYH",b:"b___gWQyu",inputTwo:"inputTwo___IZ9og",inputOne:"inputOne____NmcT",cusModal:"cusModal___fJ5gm","oj-custom-large-spin":"oj-custom-large-spin___Aar0g",MdEditor:"MdEditor___hgoes"},E=be(69677),Se=be(14446),ge=be(47221),oe=be(22150),te=be(2453),ue=be(71230),ce=be(15746),le=be(57953),de=be(71577),ae=be(9430),ie=be(11713),ne=be(31795),a=be(78045),y=be(84567),x=be(93421),b=be(86738),z=be(35973),ee=be(67294);const{Option:re}=ie.default;var se=(rn=>(rn[rn.language=0]="language",rn[rn.difficulty=1]="difficulty",rn[rn.category=2]="category",rn[rn.openOrNot=3]="openOrNot",rn))(se||{});function fe(rn){const yn=(0,z.useIntl)();return{0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:yn.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),key:1},{title:yn.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),key:2},{title:yn.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}),key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:yn.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}),key:1},{title:yn.formatMessage({id:"classrooms.private",defaultMessage:"\u79C1\u6709"}),key:0}]}[rn].map(_n=>ee.createElement(re,{key:_n.title,value:_n.key}," ",_n.title," "))}function ve(rn,yn){rn.map(Cn=>{const{id:_n,name:Pr,sub_disciplines:jr}=Cn;let bt={value:_n,label:Pr};yn.push(bt),jr&&jr.length>0&&(bt.children=[],ve(jr,bt.children))})}function me(rn,yn){var Cn;let _n=[];for(let Pr=0;Pr<rn.length;Pr++){const jr=rn[Pr];if(((Cn=jr.sub_disciplines)==null?void 0:Cn.length)>0){_n[0]=jr.id;for(let bt=0;bt<jr.sub_disciplines.length;bt++){const Mt=jr.sub_disciplines[bt];if(Mt.id===yn)return _n[1]=Mt.id,[_n,Mt.tag_disciplines||Mt.sub_disciplines||[]]}}}return[_n,[]]}var pe=be(19575),he=be(32693),ye=be(97309),Pe=be(35567),Oe=be(33170);function we(rn){return(0,Oe.v_)("practices.json",rn)}function Te(){return(0,Oe.U2)("problems/new.json")}function Me(rn){return(0,Oe.U2)(`practices/${rn}/edit.json`)}function Fe(rn,yn){return(0,Oe.gz)(`practices/${rn}`,yn)}function $e(rn,yn){return post(`exercises/${rn}/exercise_questions.json`,yn)}function Ve(rn,yn){return put(`exercise_questions/${rn}.json`,yn)}var Re=be(60076),st=be(72565),rt=be(36295),et=be(21434),qe=be(76621),ze=be(40471),ke={"code-panel-container":"code-panel-container___BZjjl","action-oj-bar":"action-oj-bar___xbXpK",active:"active___EMVKI"},Be=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(rn,yn,Cn)=>yn in rn?Be(rn,yn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):rn[yn]=Cn,Ke=(rn,yn)=>{for(var Cn in yn||(yn={}))He.call(yn,Cn)&&Le(rn,Cn,yn[Cn]);if(dt)for(var Cn of dt(yn))Ue.call(yn,Cn)&&Le(rn,Cn,yn[Cn]);return rn},Ee=(rn,yn)=>Je(rn,Ye(yn));const Ie={theme:(0,ze.G)("cmCodeMode","vs-dark"),fontSize:(0,ze.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,ze.G)("cmTabToSpace",!0)};var Qe=(rn=>(rn[rn.set_font_size=0]="set_font_size",rn[rn.set_theme=1]="set_theme",rn[rn.on_tab_to_space=2]="on_tab_to_space",rn[rn.set_show_editor_setting=3]="set_show_editor_setting",rn))(Qe||{});function Xe(rn,yn){switch(yn.type){case 3:return Ee(Ke({},rn),{showEditorSetting:yn.payload});case 1:return Ee(Ke({},rn),{theme:yn.payload});case 0:return Ee(Ke({},rn),{fontSize:yn.payload});case 2:return Ee(Ke({},rn),{tabToSpace:yn.payload});default:throw new Error}}var Ge=({value:rn,onChange:yn,language:Cn,onLanguage:_n,languageItems:Pr,ActionBarRender:jr=bt=>Ae.createElement(Ce,{languageItems:Pr,onLanguage:_n,language:Cn,onShowCodeSetting:bt})})=>{const[bt,Mt]=(0,Ae.useReducer)(Xe,Ie),{theme:At,fontSize:on,showEditorSetting:Pn,tabToSpace:In}=bt;console.log(rn,Cn,"value");const Cr={onFontSizeChange:Xr=>{Mt({type:0,payload:Xr}),(0,ze.t)("cmFontSize",Xr)},tabToSpace:In,cmFontSize:on,className:"oj",cmCodeMode:At,onTabToSpace:Xr=>{Mt({type:2,payload:Xr}),(0,ze.t)("cmTabToSpace",Xr)},onCodeModeChange:Xr=>{Mt({type:1,payload:Xr}),(0,ze.t)("cmCodeMode",Xr)}};function Er(){Mt({type:3,payload:!1})}function Qn(){Mt({type:3,payload:!0})}const ar={value:rn,language:Cn,onChange:yn,theme:At,height:"calc(100% - 56px)",options:{fontSize:on,insertSpaces:In}};return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:ke["code-panel-container"]},jr(Qn),Ae.createElement(rt.ZP,Ke({key:Cn},ar))),Ae.createElement(qe.Z,null,Ae.createElement(st.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Pn,onClose:Er},Ae.createElement(et.Z,Ke({},Cr)))))};function Ce({languageItems:rn,language:yn,onShowCodeSetting:Cn,onLanguage:_n}){return Ae.createElement("div",{className:ke["action-oj-bar"]},rn==null?void 0:rn.map(Pr=>Ae.createElement("div",{className:yn===(Pr==null?void 0:Pr.language)?ke.active:"",onClick:()=>_n(Pr==null?void 0:Pr.language),key:Pr==null?void 0:Pr.language},Pr==null?void 0:Pr.language)),Ae.createElement("a",{onClick:Cn},Ae.createElement("i",{className:"iconfont icon-shezhi"})))}var xe=be(66368),je={flex_box_center:"flex_box_center___4yAaY",flex_space_between:"flex_space_between___YaUgM",flex_box_vertical_center:"flex_box_vertical_center___zR3dp",flex_box_center_end:"flex_box_center_end___rwgS5",flex_box_column:"flex_box_column___LhFeP",wrap:"wrap___xTL91",in:"in___eSY86",btns:"btns___UdEGI",customModal:"customModal___CL0OL"},_e=(rn,yn,Cn)=>new Promise((_n,Pr)=>{var jr=At=>{try{Mt(Cn.next(At))}catch(on){Pr(on)}},bt=At=>{try{Mt(Cn.throw(At))}catch(on){Pr(on)}},Mt=At=>At.done?_n(At.value):Promise.resolve(At.value).then(jr,bt);Mt((Cn=Cn.apply(rn,yn)).next())}),pt=({visible:rn,onOK:yn,onCancel:Cn})=>{const _n=(0,z.useIntl)(),[Pr,jr]=(0,Ae.useState)(!1),[bt,Mt]=(0,Ae.useState)(!1),[At,on]=(0,Ae.useState)("1"),[Pn,In]=(0,Ae.useState)(""),[Cr,Er]=(0,Ae.useState)([]),Qn=()=>_e(void 0,null,function*(){if(!Pn){te.ZP.warning(`\u9898\u76EE${ur}\u4E0D\u80FD\u4E3A\u7A7A`);return}Mt(!0);const Ct=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:rn,name:Pn}});if((Ct==null?void 0:Ct.status)===0){yn();return}Mt(!1)}),ar=(Ct="")=>_e(void 0,null,function*(){jr(!0);let zt=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:rn,search:Ct}});Er(zt.tag_disciplines||[]),jr(!1)}),Xr=Ct=>{let zt=Ct.name;Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u91CD\u547D\u540D",content:Ae.createElement("div",null,Ae.createElement(E.default,{defaultValue:zt,placeholder:`${_n.formatMessage({id:"user.pleaseEnter",defaultMessage:"\u8BF7\u8F93\u5165"})}${ur}\u540D\u79F0`,onChange:Kt=>{zt=Kt.target.value}})),okText:_n.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:_n.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>_e(void 0,null,function*(){if(!zt)return te.ZP.warning(`\u9898\u76EE${ur}\u4E0D\u80FD\u4E3A\u7A7A`),Promise.reject();const Kt=yield(0,Oe.ZP)(`/api/tag_disciplines/${Ct.id}/rename.json`,{method:"post",body:{id:Ct.id,name:zt}});(Kt==null?void 0:Kt.status)===0&&ar()})})},qr=Ct=>{Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:570,title:"\u5220\u9664",content:rn==="practice"?Ae.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u6765\u6E90\u201C",Ae.createElement("span",{className:"c-light-primary"},Ct.name),"\u201D\u5220\u9664\u5417\uFF1F",Ae.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u6765\u6E90\u8FDB\u884C\u6E05\u9664\u3002"):Ae.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u77E5\u8BC6\u70B9\u201C",Ae.createElement("span",{className:"c-light-primary"},Ct.name),"\u201D\u5220\u9664\u5417\uFF1F",Ae.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u77E5\u8BC6\u70B9\u8FDB\u884C\u6E05\u9664\u3002"),okText:_n.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:_n.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>_e(void 0,null,function*(){const zt=yield(0,Oe.ZP)(`/api/tag_disciplines/${Ct.id}.json`,{method:"delete",body:{id:Ct.id}});(zt==null?void 0:zt.status)===0&&ar()})})},Sn=Ct=>{ar(Ct)},ur=rn==="practice"?"\u77E5\u8BC6\u70B9":"\u6765\u6E90";return Ae.createElement(Se.default,{afterClose:()=>{Mt(!1),jr(!1),In(""),on("1"),Er([])},centered:!0,keyboard:!1,width:600,title:`${ur}\u7BA1\u7406`,open:!!rn,className:je.customModal,footer:null,onCancel:Cn},Ae.createElement("section",{className:je.wrap},Ae.createElement(xe.default,{activeKey:At,onChange:Ct=>{In(""),on(Ct),ar()}},Ae.createElement(xe.default.TabPane,{tab:`\u65B0\u589E${ur}`,key:"1"},Ae.createElement(E.default,{value:Pn,onChange:Ct=>In(Ct.target.value),className:je.in,placeholder:`\u8F93\u5165${ur}\u540D\u79F0`}),Ae.createElement("div",{className:je.btns},Ae.createElement(de.ZP,{onClick:Cn,className:"mr20"},_n.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"})),Ae.createElement(de.ZP,{loading:bt,onClick:Qn,type:"primary"},"\u786E\u8BA4\u65B0\u5EFA"))),Ae.createElement(xe.default.TabPane,{tab:`\u5DF2\u6709${ur}`,key:"2"},Ae.createElement(E.default.Search,{allowClear:!0,onSearch:Sn,value:Pn,onChange:Ct=>In(Ct.target.value),className:je.in,placeholder:`\u8F93\u5165${ur}\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2`}),Ae.createElement(ae.default,{dataSource:Cr,bordered:!1,loading:Pr,scroll:Cr.length>7?{y:300}:{},style:{padding:"0 0px 20px 0px"},columns:[{title:`${ur}\u540D\u79F0`,dataIndex:"name",ellipsis:!0},{title:_n.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),dataIndex:"action",width:120,render:(Ct,zt)=>Ae.createElement("span",null,Ae.createElement("span",{onClick:()=>Xr(zt),className:"current mr10 c-light-primary"},"\u91CD\u547D\u540D"),Ae.createElement("span",{onClick:()=>qr(zt),className:"current c-grey-666"},_n.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})))}],pagination:!1})))))},mt=be(11320),tt=be(32259),ut=be(27484),St=be.n(ut),xt=be(28706),at=be(85725),Tt=be(52262),We=be(67294),ct=Object.defineProperty,ht=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Yt=(rn,yn,Cn)=>yn in rn?ct(rn,yn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):rn[yn]=Cn,nn=(rn,yn)=>{for(var Cn in yn||(yn={}))Bt.call(yn,Cn)&&Yt(rn,Cn,yn[Cn]);if(Ot)for(var Cn of Ot(yn))Zt.call(yn,Cn)&&Yt(rn,Cn,yn[Cn]);return rn},En=(rn,yn)=>ht(rn,vt(yn)),jn=(rn,yn,Cn)=>new Promise((_n,Pr)=>{var jr=At=>{try{Mt(Cn.next(At))}catch(on){Pr(on)}},bt=At=>{try{Mt(Cn.throw(At))}catch(on){Pr(on)}},Mt=At=>At.done?_n(At.value):Promise.resolve(At.value).then(jr,bt);Mt((Cn=Cn.apply(rn,yn)).next())});const{TextArea:zn}=E.default,{confirm:Vn}=Se.default,{Panel:xr}=ge.default,Nr={loading:!0,user:null,status:0,data:void 0,lastedUpdateTime:0};var Lr=(rn=>(rn[rn.SET_INITAL_DATA=0]="SET_INITAL_DATA",rn[rn.SET_LOADING=1]="SET_LOADING",rn[rn.SET_STATUS=2]="SET_STATUS",rn))(Lr||{});const hr="#### \u9898\u76EE\u63CF\u8FF0\n\u73B0\u6709\u4E00\u4E2A\u6574\u578B\u6570\u7EC4 `nums`\uFF0C\u8BF7\u7F16\u5199\u7A0B\u5E8F\u5C06\u6570\u7EC4 `nums` \u4E2D\u7684\u6240\u6709 `$$0$$` \u79FB\u52A8\u5230\u6570\u7EC4\u7684\u672B\u5C3E\uFF0C\u4F46\u4E0D\u6539\u53D8\u975E\u96F6\u5143\u7D20\u5728\u6570\u7EC4\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002\u8BF7\u5728\u539F\u6570\u7EC4 `nums` \u4E0A\u8FDB\u884C\u64CD\u4F5C\u3002\n#### \u8F93\u5165\u8F93\u51FA\u683C\u5F0F\n**\u8F93\u5165\u683C\u5F0F**\n\u7B2C\u4E00\u884C\u6709\u4E00\u4E2A\u6574\u6570 `numsSize`\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u5927\u5C0F\uFF1B\n\u7B2C\u4E8C\u884C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n**\u8F93\u51FA\u683C\u5F0F**\n\u4E00\u884C\u8F93\u51FA\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B1\n**\u8F93\u5165**\n`4`\n`0 1 2 3`\n**\u8F93\u51FA**\n`1 2 3 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B2\n**\u8F93\u5165**\n`5`\n`1 1 0 1 0`\n**\u8F93\u51FA**\n`1 1 1 0 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8BF4\u660E\u63D0\u793A\n-`1\u2264n\u2264100`";function Dr(rn,yn){switch(yn.type){case 0:return nn(nn({},rn),yn.payload);case 1:return En(nn({},rn),{loading:yn.payload});case 2:return En(nn({},rn),{status:yn.payload});default:throw new Error}}var kr=()=>{var rn,yn,Cn;const _n=(0,z.useIntl)(),Pr=(0,z.useLocation)(),{id:jr}=(0,z.useParams)(),[bt]=oe.default.useForm(),[Mt,At]=(0,Ae.useState)(),[on,Pn]=(0,Ae.useState)(!1),[In,Cr]=(0,Ae.useState)([]),[Er,Qn]=(0,Ae.useState)([]),[ar,Xr]=(0,Ae.useState)([]),[qr,Sn]=(0,Ae.useState)([]),[ur,Ct]=(0,Ae.useState)([]),[zt,Kt]=(0,Ae.useState)("C"),[Qt,vn]=(0,Ae.useReducer)(Dr,Nr),{loading:Xt,data:sn,user:tn,status:Rn}=Qt,bn=sn==null?void 0:sn.hack_sets,Xn=(rn=sn==null?void 0:sn.hack)==null?void 0:rn.test_set_average,[Br,an]=(0,Ae.useState)(!1),Jr=(0,Ae.useRef)([]),[ya,ba]=(0,Ae.useState)(!1),[Fr,pa]=(0,Ae.useState)(!1),hn=(0,Ae.useRef)(!0),[Fn,Hn]=(0,Ae.useState)({});(0,Ae.useEffect)(()=>((0,z.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!1}),(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),()=>{(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!0}),(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!1})}),[]),(0,Ae.useEffect)(()=>{setTimeout(()=>{document.title="\u5728\u7EBF\u5237\u9898"},400)});const An=()=>jn(void 0,null,function*(){const yt=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice"}}),Rt=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source"}});Qn(yt.tag_disciplines||[]),Xr(Rt.tag_disciplines||[])});var Qr=[{language:"C",code:""},{language:"C++",code:""},{language:"Java",code:""},{language:"Python",code:""}];const Wr=(0,Ae.useCallback)(()=>jn(void 0,null,function*(){if(vn({type:1,payload:!0}),jr){const yt=yield Me(jr),{user:Rt,language:lt,practice_sets:_t,practice_codes:Jt,description:un,difficulty:Dt,name:$t,open_or_not:kt,time_limit:cn,test_set_average:On,test_set_score:wn,status:Nn,tag_discipline_ids:Kn,source_discipline_ids:qn,item_banks_group_id:yr,is_file:Ht=!1,hide_actual_output:en,review_privilege:ln,review_description:dn,submit_rule:Gn}=yt;Hn({review_privilege:ln,status:Nn,review_description:dn,name:$t}),an(en);const Tr=Ht?[{input:"",output:"",score:100,position:1}]:_t;Ht?(Cr(_t),bt.setFieldsValue({hack_sets:Tr})):Cr([]),vn({type:0,payload:{loading:!0,user:Rt,status:Nn,data:{hack:{difficulty:Dt,name:$t,description:un,open_or_not:kt,time_limit:cn,test_set_average:On,test_set_score:wn,tag_discipline_ids:Kn,source_discipline_ids:qn,is_file:Ht,submit_rule:Gn},hack_sets:Tr}}}),At({hack:{difficulty:Dt,name:$t,description:un,open_or_not:kt,time_limit:cn,test_set_average:On,test_set_score:wn,tag_discipline_ids:Kn,source_discipline_ids:qn,is_file:Ht}});const xn=Jt==null?void 0:Jt.map(Mn=>En(nn({},Mn),{code:pe.Base64.decode(Mn==null?void 0:Mn.code)}));Ct(xn),Jr.current=xn}else{const{user:yt}=yield Te();vn({type:0,payload:{loading:!0,status:0,user:yt,data:{hack:{difficulty:"",time_limit:3,description:hr,test_set_score:!0,test_set_average:!0,open_or_not:!0,name:"",is_file:!1,submit_rule:1},hack_sets:[{input:"",output:"",score:100,position:1}]}}}),At({hack:{difficulty:"",time_limit:3,description:"",test_set_average:!0,open_or_not:!0,name:"",is_file:!1}}),Ct(Qr),Jr.current=Qr}vn({type:1,payload:!1})}),[jr]);(0,Ae.useEffect)(()=>{try{Wr(),An()}catch(yt){console.log(yt,"----")}},[]);function ha(yt,Rt){return jn(this,null,function*(){var lt;const{hack_sets:_t,hack:Jt}=nn({},yt);Jt.hide_actual_output=Br;let un=[],Dt=[],$t=0;const kt=Jt!=null&&Jt.is_file?In.map((wn,Nn)=>En(nn({},wn),{position:Nn+1})):_t.map(wn=>En(nn({},wn),{is_file:!1}));for(let wn of kt)$t+=wn.score,wn.id&&wn.id>=0?un.push(wn):Dt.push(wn);if(!(kt!=null&&kt.length)){te.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}if($t!==100&&!Jt.test_set_score){te.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(kt!=null&&kt.some(wn=>!wn.output)){te.ZP.error("\u6D4B\u8BD5\u96C6\u8F93\u51FA\u4E0D\u80FD\u4E3A\u7A7A");return}hn.current?ba(!0):pa(!0);let cn;const On=ur==null?void 0:ur.map(wn=>En(nn({},wn),{code:pe.Base64.encode(wn==null?void 0:wn.code)}));if(jr?cn=yield Fe(jr,{practice:Jt,practice_codes:On,practice_sets:Dt,update_practice_sets:un}):cn=yield we({practice:Jt,practice_codes:On,practice_sets:kt,publish:!hn.current}),ba(!1),pa(!1),(cn==null?void 0:cn.status)===0){if((lt=cn==null?void 0:cn.similar_practice)!=null&&lt.length){Pn(!0),Sn(cn==null?void 0:cn.similar_practice);return}if(jr){if(te.ZP.success(_n.formatMessage({id:"user.saveSuccess",defaultMessage:"\u4FDD\u5B58\u6210\u529F"})),!hn.current){const wn=yield(0,Oe.ZP)(`/api/practices/${jr}/start`,{method:"get"});(wn==null?void 0:wn.status)===0&&z.history.push(`/problems/${wn==null?void 0:wn.identifier}/oj/${jr}`)}}else te.ZP.success("\u65B0\u5EFA\u6210\u529F"),z.history.replace(`/problems/${cn==null?void 0:cn.identifier}/ojedit`)}})}function da(){z.history.replace("/problems")}const ma=yt=>{const Rt=Math.floor(100/yt.length),lt=Rt+100%yt.length;yt=yt.map((_t,Jt)=>Jt===yt.length-1?En(nn({},_t),{score:lt}):En(nn({},_t),{score:Rt})),Cr(yt)};function Et(yt){yt.target.value||ma(In),vn({type:0,payload:{data:En(nn({},sn),{hack:En(nn({},sn.hack),{test_set_score:yt.target.value})})}})}function wt(yt){vn({type:0,payload:{data:En(nn({},sn),{hack:En(nn({},sn.hack),{is_file:yt.target.value})})}})}function Wt(yt){an(yt.target.checked)}function qt(yt){const Rt=yt.target.value;Rt&&ma(In),vn({type:0,payload:{data:En(nn({},sn),{hack:En(nn({},sn.hack),{test_set_average:Rt})})}})}function mn(){let yt=bt.getFieldValue("hack_sets");const Rt=yt.length+1,lt=Math.floor(100/Rt),_t=100%Rt;yt.map((Jt,un)=>(Xn&&(Jt.score=lt),Jt.position=un+1,Jt)),yt.push({input:"",output:"",position:Rt,score:Xn?lt+_t:0}),bt.setFieldsValue({hack_sets:yt}),vn({type:0,payload:{data:En(nn({},sn),{hack_sets:yt})}})}(0,Ae.useEffect)(()=>{if(Xn){const yt=bn==null?void 0:bn.length,Rt=Math.floor(100/yt),lt=100%yt;bn==null||bn.map((_t,Jt)=>(_t.score=Rt,_t.position=Jt+1,Jt===yt-1&&(_t.score=Rt+lt),_t)),vn({type:0,payload:{data:En(nn({},sn),{hack_sets:bn})}}),bt.setFieldsValue({hack_sets:bn})}},[Xn]);function Bn(yt){let Rt=bt.getFieldValue("hack_sets");const lt=(Rt==null?void 0:Rt.length)-1,_t=Math.ceil(100/lt),Jt=100%lt;Rt.splice(yt,1),Rt==null||Rt.map((un,Dt)=>(Xn&&(un.score=_t,Dt===lt-1&&(un.score=_t+Jt)),un.position=Dt+1,un)),vn({type:0,payload:{data:En(nn({},sn),{hack_sets:Rt})}}),bt.setFieldsValue({hack_sets:Rt})}function nr(yt){Kt(yt)}const fr=yt=>{var Rt;const lt=(Rt=Jr.current)==null?void 0:Rt.findIndex(_t=>_t.language===zt);Jr.current[lt].code=yt,Ct(Jr.current)},vr=yt=>{At(nn({},bt.getFieldsValue()))},_r=yt=>jn(void 0,null,function*(){const Rt=yield(0,Oe.ZP)(`/api/practices/${yt}/start`,{method:"get"});(Rt==null?void 0:Rt.status)===0&&(0,xt.xg)(`/problems/${Rt==null?void 0:Rt.identifier}/oj/${yt}`)}),Rr=()=>jn(void 0,null,function*(){const yt=yield Me(jr),{name:Rt,status:lt,review_privilege:_t,review_description:Jt}=yt;Hn({review_privilege:_t,status:lt,review_description:Jt,name:Rt})}),ea=()=>{let yt="";Se.default.confirm({icon:null,width:700,className:"custom-modal-divider",centered:!0,title:"\u4E0D\u901A\u8FC7\u539F\u56E0",content:We.createElement("div",{className:"mt20"},We.createElement(Pe.Z,{className:Ze.MdEditor,defaultValue:yt,onChange:Rt=>{yt=Rt}})),okText:_n.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:_n.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>jn(void 0,null,function*(){if(!yt)return te.ZP.warning("\u4E0D\u901A\u8FC7\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const Rt=yield(0,Oe.ZP)(`/api/practices/${jr}/review.json`,{method:"post",body:{op:"fail",description:yt}});(Rt==null?void 0:Rt.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Rr())})})},ir=()=>jn(void 0,null,function*(){Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:_n.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:`\u786E\u8BA4\u5C06\u9898\u76EE\u300A${Fn==null?void 0:Fn.name}\u300B\u7684\u5BA1\u6838\u901A\u8FC7\u5417\uFF1F`,okText:_n.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:_n.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>jn(void 0,null,function*(){const yt=yield(0,Oe.ZP)(`/api/practices/${jr}/review.json`,{method:"post",body:{op:"pass"}});(yt==null?void 0:yt.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Rr())})})}),Nt=()=>{const yt=Se.default.confirm({icon:null,width:700,className:`${Ze.cusModal} custom-modal-divider`,centered:!0,title:We.createElement(ue.Z,null,We.createElement(ce.Z,{flex:"1"},"\u4E0D\u901A\u8FC7\u539F\u56E0"),We.createElement(ce.Z,null,We.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>yt.destroy()}))),content:We.createElement("div",null,We.createElement(at.Z,{className:"mt20",value:(Fn==null?void 0:Fn.review_description)||""}))})};return We.createElement(le.Z,{spinning:Xt,size:"large",className:Ze["oj-custom-large-spin"]},sn?We.createElement(Ae.Fragment,null,We.createElement("header",{className:Ze.header},We.createElement("div",null,We.createElement("img",{src:`${mt.Z.IMG_SERVER}/images/${tn==null?void 0:tn.image_url}`,alt:"user",width:30}),We.createElement("span",null,tn==null?void 0:tn.name)),We.createElement("h2",null," ",(yn=sn==null?void 0:sn.hack)==null?void 0:yn.name," "),jr?We.createElement("a",{className:Ze.btn_back,onClick:da}," ",We.createElement(he.Z,null),_n.formatMessage({id:"topRightUserAvatar.logout",defaultMessage:"\u9000\u51FA"})):null),We.createElement(oe.default,{form:bt,initialValues:sn,layout:"vertical",className:Ze["oj-form-container"],onValuesChange:vr,onFinish:ha},We.createElement(Re.Z,{hideResize:!0,className:Ze["oj-problems"],leftChild:We.createElement(mr,{formValue:Mt,onRemoveTestCase:Bn,onAddTestCase:mn,hack:sn.hack,onChangeScore:Et,onChangehide:Wt,onChangeAverage:qt,onChangeFile:wt,uploadData:In,setUploadData:Cr,handleUploadRatio:ma,ischecked:Br,pointData:Er,sourceData:ar,getPointData:An}),rightChild:We.createElement(Ge,{value:(Cn=ur==null?void 0:ur.find(yt=>yt.language===zt))==null?void 0:Cn.code,onChange:fr,onLanguage:nr,languageItems:ur,language:zt})}),We.createElement("div",{className:Ze.footer},!!jr&&We.createElement("div",{className:Ze.result},We.createElement("span",null,"\u5BA1\u6838\u7ED3\u679C:"),Fn!=null&&Fn.review_privilege?We.createElement(We.Fragment,null,We.createElement("div",{onClick:ir,className:Ze.pass},_n.formatMessage({id:"shixuns.passed",defaultMessage:"\u901A\u8FC7"})),We.createElement("div",{onClick:ea,className:Ze.noPass},"\u4E0D\u901A\u8FC7")):We.createElement(We.Fragment,null,(Fn==null?void 0:Fn.status)===0&&We.createElement("div",{className:Ze.passText},We.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u53D1\u5E03"),(Fn==null?void 0:Fn.status)===1&&We.createElement("div",{className:Ze.passText},We.createElement("i",{className:"iconfont icon-tongguo"}),"\u5DF2\u516C\u5F00"),(Fn==null?void 0:Fn.status)===2&&We.createElement("div",{className:Ze.passText},We.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u5BA1\u6279"),(Fn==null?void 0:Fn.status)===3&&We.createElement("div",{className:Ze.passText},We.createElement("i",{className:"iconfont icon-tongguo"}),_n.formatMessage({id:"competitions.underReview",defaultMessage:"\u5BA1\u6838\u4E2D"})),(Fn==null?void 0:Fn.status)===4&&We.createElement("div",{className:Ze.passText},We.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u5B8C\u6210\u5F85\u516C\u5F00"),(Fn==null?void 0:Fn.status)===5&&We.createElement("div",{className:Ze.noPassText},We.createElement("i",{className:"iconfont icon-weitongguo1"}),"\u5BA1\u6838\u4E0D\u901A\u8FC7",We.createElement("span",{onClick:Nt},"\u67E5\u770B\u539F\u56E0")))),We.createElement(de.ZP,{type:"primary",ghost:!0,onClick:da},"\u9000\u51FA\u7F16\u8F91"),We.createElement(de.ZP,{disabled:Fr,loading:ya,type:"primary",onClick:()=>{hn.current=!0,bt.submit()}},_n.formatMessage({id:"questionBankAddQuestion.save",defaultMessage:"\u4FDD\u5B58"})),jr?We.createElement(de.ZP,{disabled:ya,loading:Fr,style:{background:"#2FC25B",border:0},type:"primary",onClick:()=>{hn.current=!1,bt.submit()}},"\u7ACB\u5373\u4F53\u9A8C"):We.createElement(de.ZP,{disabled:ya,loading:Fr,type:"primary",onClick:()=>{hn.current=!1,bt.submit()}},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u5BA1\u6838")))):null,We.createElement(Se.default,{centered:!0,destroyOnClose:!0,footer:null,open:on,onCancel:()=>Pn(!1),title:"\u76F8\u4F3C\u6027\u68C0\u6D4B",width:"600px"},We.createElement("div",null,We.createElement("p",{className:"font14"},"\u7ECF\u7CFB\u7EDF\u68C0\u6D4B\u53D1\u73B0\uFF0C\u672C\u9898\u76EE\u4E0E\u7CFB\u7EDF\u4E2D\u5DF2\u521B\u5EFA\u7684\u9898\u76EE\u9AD8\u5EA6\u96F7\u540C\uFF0C\u8BF7\u8C03\u6574\u9898\u76EE\u540E\u518D\u8FDB\u884C\u4FDD\u5B58"),We.createElement(ae.default,{dataSource:qr,bordered:!1,scroll:qr.length>7?{y:300}:{},columns:[{title:"\u76F8\u4F3C\u9898\u9898\u76EE",dataIndex:"name",ellipsis:!0,render:(yt,Rt)=>We.createElement("span",{onClick:()=>_r(Rt==null?void 0:Rt.identifier),style:{textDecorationLine:"underline"},className:"current c-light-primary"},yt)},{title:_n.formatMessage({id:"shixuns.creationTime",defaultMessage:"\u521B\u5EFA\u65F6\u95F4"}),dataIndex:"create_time",width:170,render:yt=>{var Rt;return(Rt=St()(yt))==null?void 0:Rt.format("YYYY-MM-DD HH:mm")}}],pagination:!1}))))};function mr({ischecked:rn,formValue:yn,hack:Cn,onChangeAverage:_n,onChangeScore:Pr,onChangehide:jr,onChangeFile:bt,onAddTestCase:Mt,onRemoveTestCase:At,uploadData:on,setUploadData:Pn,handleUploadRatio:In,pointData:Cr,sourceData:Er,getPointData:Qn}){const ar=(0,z.useIntl)(),{test_set_average:Xr,test_set_score:qr}=Cn,[Sn,ur]=(0,Ae.useState)(!1),[Ct,zt]=(0,Ae.useState)(!1),Kt=(Rn,bn)=>{const Xn=[...on];Xn.splice(bn,1),Xr?In(Xn):Pn(Xn)},Qt=(Rn,bn)=>{console.log(Rn,bn);const Xn=on.map((Br,an)=>an===bn?En(nn({},Br),{score:Rn.target.value?Number(Rn.target.value):0}):Br);Pn(Xn)},vn=Rn=>{const bn=on.concat(Rn);Cn.test_set_average?In(bn):Pn(bn)};function Xt(Rn){Rn.stopPropagation()}function sn(){if((0,Tt.Ny)()){zt("practice");return}let Rn="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:ar.formatMessage({id:"questionBankAddQuestion.createNewKnowledgePoints",defaultMessage:"\u65B0\u5EFA\u77E5\u8BC6\u70B9"}),content:We.createElement("div",null,We.createElement(E.default,{placeholder:ar.formatMessage({id:"problemset.pleaseEnterKnowledgePointName",defaultMessage:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}),onChange:bn=>{Rn=bn.target.value}})),okText:ar.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:ar.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>jn(this,null,function*(){const bn=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice",name:Rn}});(bn==null?void 0:bn.status)===0&&Qn()})})}function tn(){if((0,Tt.Ny)()){zt("practice_source");return}let Rn="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u6765\u6E90",content:We.createElement("div",null,We.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u6765\u6E90\u540D\u79F0",onChange:bn=>{Rn=bn.target.value}})),okText:ar.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:ar.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>jn(this,null,function*(){const bn=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice_source",name:Rn}});(bn==null?void 0:bn.status)===0&&Qn()})})}return We.createElement("div",{className:Ze["oj-left-panel"]},We.createElement("div",{className:Ze["oj-form-info"]},We.createElement(oe.default.Item,{label:ar.formatMessage({id:"classroomProgrammingHomework.questionName",defaultMessage:"\u9898\u76EE\u540D\u79F0"}),name:["hack","name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"}],className:Ze.inputOne},We.createElement(E.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"})),We.createElement(oe.default.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63CF\u8FF0\u5185\u5BB9"}]},We.createElement(Pe.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u63CF\u8FF0\u2026",miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})),We.createElement("div",{className:Ze.row},We.createElement("div",{className:Ze.a},We.createElement(oe.default.Item,{label:ar.formatMessage({id:"competitions.difficultyLevel",defaultMessage:"\u96BE\u6613\u5EA6"}),name:["hack","difficulty"],rules:[{required:!0,message:ar.formatMessage({id:"shixuns.selectDifficulty",defaultMessage:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"})}]},We.createElement(ie.default,null,fe(se.difficulty)))),We.createElement("div",{className:Ze.b},We.createElement(oe.default.Item,{label:"\u9898\u76EE\u6765\u6E90",name:["hack","source_discipline_ids"]},We.createElement(ie.default,{placeholder:"\u9009\u62E9\u9898\u76EE\u6765\u6E90",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Rn=>Rn.parentNode},Er.map(Rn=>We.createElement(ie.default.Option,{key:Rn.id,value:Rn.id},Rn.name)))),We.createElement(de.ZP,{style:{padding:"0 18px"},type:"primary",ghost:!0,onClick:()=>tn()},(0,Tt.Ny)()?"\u6765\u6E90\u7BA1\u7406":"\u65B0\u5EFA\u6765\u6E90"))),We.createElement("div",{className:Ze.row},We.createElement("div",{className:Ze.b,style:{width:"100%",marginLeft:0}},We.createElement(oe.default.Item,{label:ar.formatMessage({id:"questionBankList.knowledgePoints",defaultMessage:"\u77E5\u8BC6\u70B9"}),rules:[{required:!0,message:ar.formatMessage({id:"questionBankAddQuestion.pleaseSelectKnowledgePoints",defaultMessage:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"})}],name:["hack","tag_discipline_ids"]},We.createElement(ie.default,{placeholder:"\u9009\u62E9\u77E5\u8BC6\u70B9",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Rn=>Rn.parentNode},Cr.map(Rn=>We.createElement(ie.default.Option,{key:Rn.id,value:Rn.id},Rn.name)))),We.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>sn()},(0,Tt.Ny)()?"\u77E5\u8BC6\u70B9\u7BA1\u7406":"\u65B0\u5EFA\u77E5\u8BC6\u70B9"))),We.createElement("div",{className:Ze.field},We.createElement(oe.default.Item,{label:"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236",name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:1,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F1\u79D2"}],className:Ze.inputTwo,extra:We.createElement("span",{style:{position:"absolute",left:200,top:11,color:"#333"}},"\u79D2",We.createElement("span",{className:"ml5 c-grey-999"},"(\u4EE3\u7801\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F)"))},We.createElement(ne.Z,{style:{width:185},min:1}))),We.createElement("div",{className:"tst-case-info"},We.createElement("h3",{className:"flex-container",style:{justifyContent:"space-between"}}," ","\u6D4B\u8BD5\u7528\u4F8B\u4E0E\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219",!Cn.is_file&&We.createElement(de.ZP,{style:{height:40},type:"primary",ghost:!0,onClick:Mt},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B")),We.createElement(oe.default.Item,{name:["hack","test_set_score"]},We.createElement(a.ZP.Group,{onChange:Pr},We.createElement(a.ZP,{value:!0},ar.formatMessage({id:"questionBankAddQuestion.passAllTestSets",defaultMessage:"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6"}),We.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),We.createElement(a.ZP,{value:!1},ar.formatMessage({id:"questionBankAddQuestion.passPartialTestSets",defaultMessage:"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6"}),We.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))),We.createElement(y.default,{style:{marginBottom:"5px"},checked:rn,onChange:jr},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA \uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u5B66\u751F\u505A\u9898\u8FC7\u7A0B\u4E2D\u65E0\u6CD5\u770B\u5230\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\uFF0C\u4EC5\u5C55\u793A\u662F\u5426\u8BC4\u6D4B\u662F\u5426\u901A\u8FC7\uFF09"),We.createElement(oe.default.Item,{className:Ze.testJi,name:["hack","is_file"],label:`${ar.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})}:`},We.createElement(a.ZP.Group,{onChange:bt},We.createElement(x.Z,{direction:"horizontal"},We.createElement(a.ZP,{value:!1},ar.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),We.createElement(a.ZP,{value:!0},ar.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"}))))),We.createElement(oe.default.Item,{label:ar.formatMessage({id:"questionBankAddQuestion.spaceHandlingInEvaluation",defaultMessage:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}),name:["hack","submit_rule"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},We.createElement(a.ZP.Group,null,We.createElement(a.ZP,{value:0},ar.formatMessage({id:"questionBankAddQuestion.doNotIgnoreSpaces",defaultMessage:"\u4E0D\u5FFD\u7565\u7A7A\u683C"})),We.createElement(a.ZP,{value:1},ar.formatMessage({id:"questionBankAddQuestion.ignoreLeadingTrailingSpaces",defaultMessage:"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"})),We.createElement(a.ZP,{value:2},ar.formatMessage({id:"questionBankAddQuestion.ignoreAllSpaces",defaultMessage:"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"})))),!Cn.test_set_score&&We.createElement(oe.default.Item,{name:["hack","test_set_average"],label:ar.formatMessage({id:"questionBankAddQuestion.systemRating",defaultMessage:"\u7CFB\u7EDF\u8BC4\u5206\u5360\u6BD4"})},We.createElement(a.ZP.Group,{onChange:_n},We.createElement(a.ZP,{value:!0},ar.formatMessage({id:"questionBankAddQuestion.equalRatio",defaultMessage:"\u5747\u5206\u6BD4\u4F8B"})),We.createElement(a.ZP,{value:!1},ar.formatMessage({id:"questionBankAddQuestion.customRatio",defaultMessage:"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"})))),Cn.is_file&&We.createElement("div",{className:Ze.upBtn},We.createElement(de.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:()=>ur(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),We.createElement(tt.Y2,{disabled:Cn==null?void 0:Cn.test_set_average,inputChange:Qt,showScore:!Cn.test_set_score,data:on,onRemove:Kt})),!Cn.is_file&&We.createElement(oe.default.List,{name:"hack_sets"},(Rn,{})=>We.createElement(ge.default,{accordion:!0},Rn.map((bn,Xn)=>We.createElement(xr,{key:`${bn.key}--${Xn}`,header:We.createElement("a",{className:Ze["test-case-name"]},We.createElement("span",null,ar.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),Xn+1),qr?null:We.createElement(We.Fragment,null,We.createElement(oe.default.Item,{name:[bn.name,"score"],fieldKey:[bn.fieldKey,"score"],rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u6D4B\u8BD5\u96C6${Xn+1}${ar.formatMessage({id:"searchPage.rating",defaultMessage:"\u8BC4\u5206"})}`}]},We.createElement(ne.Z,{onClick:Xt,min:0,max:100,disabled:Xr})),We.createElement("span",null,"%"))),extra:Xn>0?We.createElement("div",{onClick:Xt},We.createElement(b.Z,{okText:ar.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ar.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:"\u786E\u5B9A\u5220\u9664\u6D4B\u8BD5\u96C6\b"+(Xn+1),onConfirm:()=>{At(Xn)}},We.createElement(ye.Z,{className:Ze["btn-remove-case"]}))):null},We.createElement(oe.default.Item,{label:ar.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"}),name:[bn.name,"input"],fieldKey:[bn.fieldKey,"input"]},We.createElement(zn,null)),We.createElement(oe.default.Item,{label:ar.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),name:[bn.name,"output"],fieldKey:[bn.fieldKey,"output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},We.createElement(zn,null)))))))),We.createElement(tt.ZP,{rootIdentifier:null,visible:Sn,onClose:()=>ur(!1),onOK:vn}),We.createElement(pt,{visible:Ct,onCancel:()=>{zt(!1),Qn()},onOK:()=>{zt(!1),Qn()}}))}},32259:function(jt,Pt,be){"use strict";be.d(Pt,{Y2:function(){return Fe},ZP:function(){return $e}});var Ae=be(67294),Ze=be(59810),E=be(2453),Se=be(14446),ge=be(71230),oe=be(78045),te=be(71577),ue=be(84567),ce=be(83062),le=be(69677),de={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1aXUO7BxkQExn2lWN6uVtP1adgMHVKeB5WwnE1KVb3YDYRtbVV+3ojqsxIKY268oHxmF+eU0tjei1GgNilrIwM1a2kZkCWu/utBoDYtYTMzJ+tpGRQnlv5hBkQMx70h7XRxXWidHPl7nb//fy9XkzOy2AmB2vkiPlSkWydD47OqvGgJjPNL1YFVVYByZLlgjEJGrRtrUCPJFs7YDS+R2BjEpMSY7NsDl+9j9fd6XC4kC/lJLOxgFizgzdYDnzudTpMw6fj//3DK4HIRyANoy/w9+wkwCOKmwDYy1P4QRkVGIVk/AMrnH4XniaXQzUqMIKq+5tOCDmzdH89cyVz6fwJRwqrZgqK3/SEFaBRhVWQlr/Y3i4xU8lVihPlVxj2IVxfJ+2nFRhhYz1PoyDagyIZSapEnhdr2I6R9uqEsxUkO5NFQBiTeVvOrlSeDXVhMltKmB9S0klJsw74CUUjOb6FTBejQExQYoBMIFYNLWkgOnvUwKxyFTjoDxSKJqZVMDylhKIPUk5riqY/JkkaKkChreUQOyB2WwfpT8JtDerABAza93dwAGYP09Z0WMFrG4pqcRWfGULyY97jwoAMSeuAzAnRrIMuQJGt5RUYldW8xRSnvv0cKIAELNvJACz7yEryFLA5H0xKrGj5xzkZyU/nZ0oYPFcDIiFEDgHc/ITyDKyFQBi2RK2GYBtZBvdmVWhAuP4VfL2YA0r6L4SYxupIQ2JQY0CBg/3gdjbflSTQASCAq0VAGKtHZDNTxUm04vWHSgAxOyYzGG+Ha+IdFMFzF2z6HY7yWH+pj8YTGZHASBmwSuqMAsuEWMjBYBYI+FF0wIxkVw07kwBa3fFutxOspXs7KeS5YoUAGIiudo0fuFaRRvhmdWEAkBMuU1sJZUbRHjNFQBizS14HABbSeUGEV5zBYBYcwueQowb+so9Iry2CgCxtvo/nJ2tpGJzCE2NAkBMjRW3gQAxxeYQmhoFgJgaK1Yg9u3PjzAO3xWHSGgo0FoBLru2duDR/HzhW7M7xKZEASCmxIjVMHgyqdkdYlOiABBTYgQQ02wEsWlWAIhpdodKTLM7xKZCAd4npsKGu0HwdSPd/hCdAgV4x35bE+YrFNPnUzj87/IzDp9DWPnvbUNmdhTQpQAQ286P+Unj9DnAafrcgmu7cJgJBVwoYO2O2CS6mVfxXEELYLn4kWERShXYhXF8t/Kn21RDbAEuLqgqzXbCcq+AeqCpgxjgcv9DwQLtKqASaGogxm16u5lN5B0qoOgqRnOIAa8OfwBYshcFVFRmzSAGvLzkMetAgdAUZptD7Agv7myR+SjgT4EmMNsUYlRf/rKWFaHAigKbwmwTiAEvEh0FOlRgo8P/6hADYB0mL0tGgZMCG4CsGsSOr4KeLqlyu56URoG+Fai6vawCMaqvvjOW1aPAqgKVqrLiEANgJDAKoMBdBSqArCjEABjJiwIoEKFA0bfHFoMYAIuwjiYogAInBYqBrAjEeO0zmYkCKJCgQBGQZUMMgCVYRxcUQIFiFVkWxNhCkokogALZCmQe9idDDIBlW8cAKIACJwUyQJYEMQBG7qEAChRXIBFkYogdb+L/Kr4ABkQBFECBBJDJIfa2H1EaBVAABaopIASZCGI8iaxmGwOjAAosFJD86bhoiHEORo6hAApspoCgGouCGOdgm1nHRCiAAsInlnEQe9tPB/m8Uof0kiswjO/hb9jNHYeBVzPJFey6R8y28inE2EZ2nUM5i1/9Sgn5lCNph30jtpUPIcY2ssOkKbTkR79BAVkhkXsZ5gnIHkOMbWQvaVJ2neP4df/z9bCFvPMBZGUl9z7ao1+KdyFGFeY9LSqtLwJgp5m5slPJA4/DPqjG7kOMKsxjKtRdU8T5xXUAL1yeruuJo9HvVWOrEKMKc+T8VktJANgUGrm2lUEO5rmTY+sQowpz4PiGS0gE2Hlb+c+fL2EY+D7uhpaZnCoWYvxmNGlvu6AzAXYG2bc/P8I43yPjgwL3FVjJt5tKjMNWMkigQJHXCwMygeK9N42EGG+p6D1R4tZfFGCALE50WoVwfcB/UYmxlSRFohUQXKWIHvPYkDtkUsU6a39VjV1CjAP9zrIhcbkVAXauyMjFRHP66Lasxq4hxlayjxxIX+UGAANk6fZ003ORh2eIsZXsxv70hRZ6EikJgMuwErU6arvIxQ+IUb53lAEJS20AsClKfrkmeNVHl/ODpSXE2Er2Yb58lY0AxhNLuVU99Tidi80Q47ddT9aL11rlKoU0Cp5YShXroP3xlysQ68DrjCWqABgVWYaDnrteQIzzMM9Wp65NFcAAWaqNrvvNOXqoxICYa6eTFrfhVQppfGwtpYr5bT+di50gxqG+X5/lK1MMsHNFxi9eua8eewzj+8ChvkdnM9bU+EmkJHJ2EBK1nLYFYk6NTV2WIYDNxyC8hyzVaT/9ZojxHic/huasxBjAzttKQJbjuv2+M8Q4W7BvZO4KjAKMJ5a5xrvovwNiLnzMWoTKqxTSFbGjkCrmpj0Qc2Nl2kJcAIyKLM18L72oxLw4mbIOA1cppMuiIpMqZr/9BDHuiNn3Ub4ChwCjIpOngYceQMyDi9I1OAbYGWQ8sJJmhdn2QMysdYmBG38SKVk1uwyJWnbbAjG73skj7whgkzhchpWniMUeQMyiaykxdwaw87aSy7Ap2WKqD08nTdmVHKyrqxRSFXhiKVXMVnsgZsuvlGi7BhhPLFNSxlYfIGbLL2m0AGyhGBWZNH1stAdiNnxKi7KDqxRSYQCZVDH97XmLhX6P0iIEYHd146UHaSmltNcOiCl1JissAPZUPkD2VCIrDXa82dWKVbFxdnqVIlaeZTsuw6aopqzP9D6xKSTMVGZMajgATKQcl2FFculsPI7nv3bEl8B1WiSJiieRErWObTnoTxBNU5cFxH6FEL5oio1YhApwDiYU7KM5IEuWrnnHjz/Zxnv2m5uRGQBVWIaAQCxDvLZdF388l++XtbWiwOzTb6QCw3Q5BBAzavvxDPic+BzuGzXyFDbbyWQDuW6RLF3bjsecX0KMc7G2luTPDsjEGlKFiSVT0+G0+/iAGOdiaszJDGSX1X8c3/c/X/PGyAogrvMMn+kzDp/jeqy24mFWhniNu57PgT8gxrlYY09UTa/6QQHVk6pcaRPMYtdxcRjM2UAbP1TOqvTiLBdUVWbL5kEtH2RdQowt5eZmqJ0QiKm1hsDCxU7h5rE8TylJkaMCKreUVGLkZ7h6gHULMaoxsuSgABAjE1QqcH0nEoiptElFUEBMhQ0EcaXATV6u3vJmS0niUImRAyoVWLkLuQ4xtpQq/ds4KCqxjQVnuqcKrObk3e/bUY09FdR7AyDm3WFr67vzjZT7EKMas2Zx6XiBWGlFGS9Hgbv5+PDNB1RjOZqb7wvEzFvoaAEPvhf8GGJUY46yQLwUICaWjA5VFHhy8frpO6j4nloVWywMCsQsuOQ/xqd5+BRik0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ie=be(56448),ne=be.n(ie),a=be(33170),y=be(25934),x=be(28706),b=be(91613),z=be(35973),ee=be(67294),re=Object.defineProperty,se=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,he=(Ve,Re,st)=>Re in Ve?re(Ve,Re,{enumerable:!0,configurable:!0,writable:!0,value:st}):Ve[Re]=st,ye=(Ve,Re)=>{for(var st in Re||(Re={}))me.call(Re,st)&&he(Ve,st,Re[st]);if(ve)for(var st of ve(Re))pe.call(Re,st)&&he(Ve,st,Re[st]);return Ve},Pe=(Ve,Re)=>se(Ve,fe(Re)),Oe=(Ve,Re,st)=>new Promise((rt,et)=>{var qe=Be=>{try{ke(st.next(Be))}catch(Je){et(Je)}},ze=Be=>{try{ke(st.throw(Be))}catch(Je){et(Je)}},ke=Be=>Be.done?rt(Be.value):Promise.resolve(Be.value).then(qe,ze);ke((st=st.apply(Ve,Re)).next())});const{Dragger:we}=Ze.default,Te=Ve=>{const Re=Je=>Je&&Je.substring(0,Je.lastIndexOf("."));for(var st=[...Ve],rt=0,et=[],qe=0;qe<st.length;qe++){for(var ze="",ke=0;ke<et.length;ke++)if(Re(et[ke][0].name)==Re(st[qe].name)){rt=1,ze=ke;break}if(rt==1)et[ze].push(st[qe]),rt=0;else if(rt==0){let Je=new Array;Je.push(st[qe]),et.push(Je)}}return et.map(Je=>{if(Je.forEach(Ye=>{let dt=Ye.name.split(/\.(?=[^\.]+$)/);Ye.name=`${dt[0]}.${dt[1].toLowerCase()}`}),Je[0].name.includes(".in"))return Je.length===2?Je:[Je[0],{}];if(Je[0].name.includes(".out"))return Je.length===2?Je.reverse():[{},Je[0]]})},Me=({onClose:Ve,onOK:Re,visible:st,wrapClassName:rt,rootIdentifier:et,multiple:qe=!1,defaultMultipleValue:ze=!0})=>{const ke=(0,z.useIntl)(),[Be,Je]=(0,Ae.useState)([]),[Ye,dt]=(0,Ae.useState)({}),[He,Ue]=(0,Ae.useState)(!1),[Le,Ke]=(0,Ae.useState)(!0),[Ee,Ie]=(0,Ae.useState)(null),Qe=(0,Ae.useRef)([]),Xe=(0,Ae.useRef)(0),Ge=()=>{Ve()};(0,Ae.useEffect)(()=>{Ce()},[]),(0,Ae.useEffect)(()=>{st&&(Qe.current=[],Xe.current=0,Je([]),Ke(ze))},[st]);const Ce=()=>Oe(void 0,null,function*(){try{Ie(!0)}catch(ut){}}),xe=ut=>ut&&ut.substring(0,ut.lastIndexOf(".")),je=ut=>{var St,xt;const at=xe((St=ut[0])==null?void 0:St.name)||xe((xt=ut[1])==null?void 0:xt.name),Tt=Be.filter(We=>xe(We.name)!==at);Qe.current=[...Tt],Je([...Tt])},_e=ut=>{if(!Le){const ct=new FormData;ct.append("file",ut.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ct},!0).then(vt=>{if(vt.status===0){Xe.current=Xe.current+1;const Ot=Qe.current.map(Bt=>{var Zt;if(Bt.name===ut.name){const Yt=ye({},Bt);return(Zt=ut==null?void 0:ut.name)!=null&&Zt.includes(".in")?Yt.input=vt==null?void 0:vt.content:Yt.output=vt==null?void 0:vt.content,Yt}return Bt});if(Qe.current=[...Ot],Je([...Ot]),Xe.current>0&&Xe.current===Be.length){Ue(!1);let Bt=Te(Ot);Bt=Bt.filter(Zt=>{var Yt,nn;return!!((Yt=Zt[0])!=null&&Yt.name&&((nn=Zt[1])!=null&&nn.name))}),Bt=Bt.map(Zt=>Pe(ye(ye({},Zt[0]),Zt[1]),{is_file:!1})),Re(Bt),Ve()}}else Ue(!1),Ve()});return}if(Ee){const ct=new FormData;ct.append("file",ut.file),et===null?ct.append("identifier","testsets"):ct.append("identifier",et),(0,a.ZP)("/api/attachments.json",{method:"post",body:ct},!0).then(vt=>{if(vt.filename){Xe.current=Xe.current+1;const Ot=Qe.current.map(Bt=>{var Zt;if(Bt.name===(vt==null?void 0:vt.filename)){const Yt=Pe(ye({},Bt),{is_oss:!Ee});return(Zt=vt==null?void 0:vt.filename)!=null&&Zt.includes(".in")?(Yt.in_object_key=vt==null?void 0:vt.object,Yt.in_object_size=vt==null?void 0:vt.size,Yt.input=vt==null?void 0:vt.filename,Yt.in_file=ut):(Yt.out_object_key=vt==null?void 0:vt.object,Yt.out_object_size=vt==null?void 0:vt.size,Yt.output=vt==null?void 0:vt.filename,Yt.out_file=ut),Yt}return Bt});if(Qe.current=[...Ot],Je([...Ot]),Xe.current>0&&Xe.current===Be.length){Ue(!1);let Bt=Te(Ot);Bt=Bt.filter(Zt=>{var Yt,nn;return!!((Yt=Zt[0])!=null&&Yt.name&&((nn=Zt[1])!=null&&nn.name))}),Bt=Bt.map(Zt=>Pe(ye(ye({},Zt[0]),Zt[1]),{is_file:!0})),Re(Bt),Ve()}}else Ue(!1),Ve()});return}const St=new(ne())({endpoint:Ye.end_point,region:Ye.region,accessKeyId:Ye.access_key_id,accessKeySecret:Ye.access_key_secret,bucket:Ye.bucket,stsToken:Ye.security_token}),xt=ut.name,at={container_type:"TestSet",file_name:xt},Tt=(0,y.Z)();let We=`testsets/${et}/${Tt}${xt.indexOf(".")>-1?"."+xt.split(".").pop():""}`;et===null&&(We=`testsets/${Tt}${xt.indexOf(".")>-1?"."+xt.split(".").pop():""}`),St.multipartUpload(We,new Blob([ut.file],{type:ut.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:xt+""},url:Ye==null?void 0:Ye.callback_url,host:Ye==null?void 0:Ye.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(at)}}).then(function(ct){if(ct.data.status===0){Xe.current=Xe.current+1;const ht=Qe.current.map(vt=>{var Ot,Bt,Zt,Yt,nn,En,jn,zn,Vn,xr,Nr,Lr,hr,Dr,kr,mr,rn;if(vt.name===((Bt=(Ot=ct.data)==null?void 0:Ot.data)==null?void 0:Bt.file_name)){const yn=Pe(ye({},vt),{is_oss:!Ee});return(nn=(Yt=(Zt=ct.data)==null?void 0:Zt.data)==null?void 0:Yt.file_name)!=null&&nn.includes(".in")?(yn.in_object_key=(jn=(En=ct.data)==null?void 0:En.data)==null?void 0:jn.object,yn.in_object_size=(Vn=(zn=ct.data)==null?void 0:zn.data)==null?void 0:Vn.size,yn.input=(Nr=(xr=ct.data)==null?void 0:xr.data)==null?void 0:Nr.file_name,yn.in_file=ut):(yn.out_object_key=(hr=(Lr=ct.data)==null?void 0:Lr.data)==null?void 0:hr.object,yn.out_object_size=(kr=(Dr=ct.data)==null?void 0:Dr.data)==null?void 0:kr.size,yn.output=(rn=(mr=ct.data)==null?void 0:mr.data)==null?void 0:rn.file_name,yn.out_file=ut),yn}return vt});if(Qe.current=[...ht],Je([...ht]),Xe.current>0&&Xe.current===Be.length){Ue(!1);let vt=Te(ht);vt=vt.filter(Ot=>{var Bt,Zt;return!!((Bt=Ot[0])!=null&&Bt.name&&((Zt=Ot[1])!=null&&Zt.name))}),vt=vt.map(Ot=>Pe(ye(ye({},Ot[0]),Ot[1]),{is_file:!0})),Re(vt),Ve()}}})},ot=ut=>new Promise((St,xt)=>{let at=0,Tt=[];for(let We=0;We<ut.length;We++)ut[We].file.slice(0,1).arrayBuffer().then(()=>{at++,at===ut.length&&(Tt.length?(E.ZP.warning(`${Tt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),xt()):St(ut))}).catch(ct=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ct),at++,Tt.push(ut[We].name),at===ut.length&&(Tt.length?(E.ZP.warning(`${Tt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),xt()):St(ut))})}),pt=()=>Oe(void 0,null,function*(){if(Be.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield ot(Be),Ue(!0),Te(Be).some(St=>{var xt,at;return!((xt=St[0])!=null&&xt.name&&((at=St[1])!=null&&at.name))})){Se.default.confirm({centered:!0,okText:ke.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:ke.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:ke.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Oe(void 0,null,function*(){Be.map(St=>Oe(void 0,null,function*(){_e(St)}))}),onCancel:()=>{Ue(!1)}});return}Be.map(St=>Oe(void 0,null,function*(){_e(St)}))}),mt={name:"file",fileList:Be,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ut=>{if(Be!=null&&Be.some(xt=>xt.name===ut.name))return E.ZP.info(`${ut.name}${ke.formatMessage({id:"shixuns.fileAlreadyExists",defaultMessage:"\u6587\u4EF6\u5DF2\u5B58\u5728"})}`),!1;if(ut.size/1024/1024>100)return E.ZP.info(ke.formatMessage({id:"shixuns.fileExceedsLimit",defaultMessage:"\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"})),!1;if(!/\.(in|out|IN|OUT)$/.test(ut.name))return E.ZP.warning(ke.formatMessage({id:"shixuns.inputFileTypes",defaultMessage:"\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"})),!1;const St={name:ut.name,uid:ut.uid,file:ut,percent:0};return Be.push(St),Qe.current=[...Be],Je([...Be]),!1}},tt=Te(Be);return console.log(Be,tt,"fileList"),ee.createElement(Se.default,{open:st,wrapClassName:rt,onOk:pt,centered:!0,okText:ke.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:ke.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),okButtonProps:{loading:He},onCancel:Ge,width:730,title:ke.formatMessage({id:"shixuns.batchUploadTestCases",defaultMessage:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"})},ee.createElement("div",{className:de.wrap},Be.length?ee.createElement("div",null,ee.createElement(ge.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},ee.createElement("div",{style:{visibility:qe?"visible":"hidden"}},ee.createElement("span",{className:de.greyText},ke.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})),ee.createElement(oe.ZP.Group,{className:`ml20 ${de.testCaseRadio}`,optionType:"button",value:Le,onChange:ut=>Ke(ut.target.value)},ee.createElement(oe.ZP,{value:!1},ke.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),ee.createElement(oe.ZP,{value:!0},ke.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"})))),ee.createElement(Ze.default,ye({},mt),ee.createElement(te.ZP,{type:"primary",className:de.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),ke.formatMessage({id:"shixuns.uploadFile",defaultMessage:"\u4E0A\u4F20\u6587\u4EF6"})))),ee.createElement(Fe,{data:tt,onRemove:je})):ee.createElement("div",{className:`${de.noData} mb30`},ee.createElement(Ze.default.Dragger,Pe(ye({},mt),{className:de.dragger}),ee.createElement("img",{src:ae,alt:"",className:"mb20"}),ee.createElement("div",null,ee.createElement("span",null,ke.formatMessage({id:"shixuns.dragUpload",defaultMessage:"\u62D6\u62FD\u6587\u4EF6\u6216"})),ee.createElement("span",{className:de.uploadText},ke.formatMessage({id:"shixuns.clickToUpload",defaultMessage:"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"}))))),ee.createElement("div",{className:de.text},ee.createElement("span",{style:{color:"#FA6400"}},ke.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"})),ee.createElement("br",null),ke.formatMessage({id:"shixuns.filesMustBeInAndOutTextFiles",defaultMessage:"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.uploadedFilesEncodingSupportsOnlyUTF8",defaultMessage:"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.inputOutputFilesMustCorrespondByName",defaultMessage:"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.singleUploadedFileCannotExceed100MB",defaultMessage:"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002"}),ee.createElement("br",null))))},Fe=({data:Ve=[],onRemove:Re,width:st="auto",showScore:rt=!1,disabled:et=!1,inputChange:qe,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Be,checkAll2:Je,checkAll3:Ye,checkAll4:dt,checkAll5:He,showEvaluatingSetting:Ue=!1,className:Le="",isProgramHomework:Ke=!1})=>{const Ee=(0,z.useIntl)(),Ie={value:"",filename:"",dataUrl:""},[Qe,Xe]=(0,Ae.useState)(ye({},Ie)),Ge=je=>{let _e=document.createElement("a");document.body.appendChild(_e);let ot=URL.createObjectURL(je.file);_e.href=ot,_e.download=je.name,_e.click(),URL.revokeObjectURL(ot),document.body.removeChild(_e)},Ce=(je,_e)=>{(0,x.LR)(je,_e)},xe=(je,_e)=>{Se.default.confirm({centered:!0,okText:Ee.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:Ee.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:Ee.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:ee.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Re(je,_e)},onCancel:()=>{}})};return Ve.length?ee.createElement("div",{className:Le,style:{width:st}},ee.createElement("div",{className:`${Ke?de.headProgram:de.head}`},Ue&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(ue.default,{checked:Be,onChange:je=>{ke(je.target.checked,"hidden")}}),ee.createElement(ce.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{style:{width:Ke?"25%":"15%"}},"\u7528\u4F8B"),ee.createElement("div",{style:{width:rt?Ke?"20%":"15%":"25%",padding:"0 12px"}},Ee.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"})),ee.createElement("div",{style:{width:rt?Ke?"20%":"15%":"25%",padding:"0 12px"}},Ee.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"})),rt&&ee.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ue.default,{checked:dt,onChange:je=>{ke(je.target.checked,"input_visible")}}),ee.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},Ee.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ue.default,{checked:Je,onChange:je=>{ke(je.target.checked,"is_invisible")}}),ee.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},Ee.formatMessage({id:"shixuns.expectedOutput",defaultMessage:"\u9884\u671F\u8F93\u51FA"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ue.default,{checked:He,onChange:je=>{ke(je.target.checked,"actual_output_visible")}}),ee.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},Ee.formatMessage({id:"shixuns.actualOutput",defaultMessage:"\u5B9E\u9645\u8F93\u51FA"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ue.default,{checked:Ye,onChange:je=>{ke(je.target.checked,"last_match_rule")}}),ee.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},ee.createElement("span",{style:{marginLeft:"8px"}},Ee.formatMessage({id:"shixuns.specialCriteria",defaultMessage:"\u7279\u6B8A\u5224\u5B9A"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{className:de.operation,style:Ke?{flex:1,textAlign:"right"}:{width:"10%"}},Ee.formatMessage({id:"shixuns.operation",defaultMessage:"\u64CD\u4F5C"}))),ee.createElement("div",{className:de.listWrapper,style:{boxShadow:Ke?"0px 2px 4px 0px #EAEEF4":"unset"}},Ve.map((je,_e)=>{var ot,pt,mt,tt;return ee.createElement("div",{key:_e,className:de.list,style:Ke?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(ue.default,{checked:!!je.hidden,onChange:ut=>{ze(ut.target.checked,_e,"hidden")}})),ee.createElement("div",{style:{width:Ke?"25%":"15%",paddingLeft:Ke?"5px":"0px",paddingRight:Ke?"5px":"0px"}},Ee.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),_e+1),ee.createElement("div",{className:de.info,style:{width:rt?Ke?"20%":"15%":"25%"}},ee.createElement("span",{title:je.input||((ot=je[0])==null?void 0:ot.name),onClick:()=>Oe(void 0,null,function*(){let ut;je.input?je.input_file_url?ut=je.input_file_url:ut=je.in_file:ut=je[0];let St;typeof ut=="string"?(St=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Xe({value:yield St.text(),filename:"",dataUrl:ut})):(St=yield(0,x.db)(ut.file),Xe({value:St.text,filename:ut.name,dataUrl:St.link}))})},je.input||((pt=je[0])==null?void 0:pt.name))),ee.createElement("div",{className:de.info,style:{width:rt?Ke?"20%":"15%":"25%"}},ee.createElement("span",{title:je.output||((mt=je[1])==null?void 0:mt.name),onClick:()=>Oe(void 0,null,function*(){let ut;je.input?je.output_file_url?ut=je.output_file_url:ut=je.out_file:ut=je[1];let St;typeof ut=="string"?(St=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Xe({value:yield St.text(),filename:"",dataUrl:ut})):(St=yield(0,x.db)(ut.file),Xe({value:St.text,filename:ut.name,dataUrl:St.link}))})},je.output||((tt=je[1])==null?void 0:tt.name))),rt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(le.default,{size:"large",addonAfter:Ke?"%":null,disabled:et,style:{width:"80%"},onChange:ut=>qe(ut,_e),value:je.score}),!Ke&&ee.createElement("span",null,"\xA0%")),Ue&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ue.default,{checked:je.input_visible||!1,onChange:ut=>{ze(ut.target.checked,_e,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ue.default,{checked:je.is_invisible||!1,onChange:ut=>{ze(ut.target.checked,_e,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ue.default,{checked:je.actual_output_visible||!1,onChange:ut=>{ze(ut.target.checked,_e,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ue.default,{checked:je.last_match_rule||!1,onChange:ut=>{ze(ut.target.checked,_e,"last_match_rule")},className:"font14"},Ee.formatMessage({id:"shixuns.tailMatching",defaultMessage:"\u672B\u5C3E\u5339\u914D"}))),ee.createElement("div",{onClick:()=>xe(je,_e),style:Ke?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},ee.createElement("span",{className:de.del},Ee.formatMessage({id:"shixuns.delete",defaultMessage:"\u5220\u9664"}))))})),ee.createElement(b.Z,{close:!0,data:Qe.dataUrl,filename:Qe.filename,type:Qe.dataUrl.length?"txt":"",onClose:()=>Xe(ye({},Ie)),monacoEditor:{value:Qe.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var $e=Me},40471:function(jt,Pt,be){"use strict";be.d(Pt,{G:function(){return ge},t:function(){return Se}});var Ae=be(58971),Ze=be.n(Ae);const E=null;function Se(oe,te){let ue=Ze().get("__ec");ue||(ue={}),ue[oe]=te,Ze().set("__ec",ue)}function ge(oe,te){let ue=Ze().get("__ec");return ue?ue[oe]===void 0?te:ue[oe]:te}},56448:function(jt){(function(Pt){(function(be){if(1)jt.exports=be();else var Ae})(function(){var be,Ae,Ze;return function(){function E(Se,ge,oe){function te(le,de){if(!ge[le]){if(!Se[le]){var ae=void 0;if(!de&&ae)return require(le,!0);if(ue)return ue(le,!0);var ie=new Error("Cannot find module '"+le+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=ge[le]={exports:{}};Se[le][0].call(ne.exports,function(a){var y=Se[le][1][a];return te(y||a)},ne,ne.exports,E,Se,ge,oe)}return ge[le].exports}for(var ue=void 0,ce=0;ce<oe.length;ce++)te(oe[ce]);return te}return E}()({1:[function(E,Se,ge){"use strict";var oe=E("./browser/client");oe.Buffer=E("buffer").Buffer,oe.urllib=E("../shims/xhr"),oe.version=E("./browser/version").version,Se.exports=oe},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(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 ce=E("assert"),le=E("../common/utils/checkBucketName"),de=le.checkBucketName,ae=ge;function ie(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function ne(a){return a?ie(a)?a:[a]:[]}ae.useBucket=function(y){return de(y),this.options.bucket=y,this},ae.setBucket=function(y){return de(y),this.options.bucket=y,this},ae.getBucket=function(){return this.options.bucket},ae.deleteBucket=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"",z),fe.next=3,this.request(ee);case 3:if(re=fe.sent,!(re.status===200||re.status===204)){fe.next=6;break}return fe.abrupt("return",{res:re.res});case 6:return fe.next=8,this.requestError(re);case 8:throw fe.sent;case 9:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketACL=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return re=this._bucketRequestParams("PUT",b,"acl",ee),re.headers={"x-oss-acl":z},re.successStatuses=[200],ve.next=5,this.request(re);case 5:return se=ve.sent,ve.abrupt("return",{bucket:se.headers.location&&se.headers.location.substring(1)||null,res:se.res});case 7:case"end":return ve.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketACL=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("GET",b,"acl",z),ee.successStatuses=[200],ee.xmlResponse=!0,fe.next=5,this.request(ee);case 5:return re=fe.sent,fe.abrupt("return",{acl:re.data.AccessControlList.Grant,owner:{id:re.data.Owner.ID,displayName:re.data.Owner.DisplayName},res:re.res});case 7:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se,fe;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return re=this._bucketRequestParams("PUT",b,"logging",ee),se=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(b,`</TargetBucket>
`),z&&(se+="<TargetPrefix>".concat(z,`</TargetPrefix>
`)),se+=`</LoggingEnabled>
</BucketLoggingStatus>`,re.content=se,re.mime="xml",re.successStatuses=[200],me.next=9,this.request(re);case 9:return fe=me.sent,me.abrupt("return",{res:fe.res});case 11:case"end":return me.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!se,prefix:se&&se.TargetPrefix||null,res:re.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se,fe,ve,me,pe,he,ye,Pe,Oe;return te.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:for(z=z||[],ce(z.length,"rules is required"),z.forEach(function(Me){ce(Me.allowedOrigin,"allowedOrigin is required"),ce(Me.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),se=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,fe=function(Fe){se+="<AllowedOrigin>".concat(Fe,"</AllowedOrigin>")},ve=function(Fe){se+="<AllowedMethod>".concat(Fe,"</AllowedMethod>")},me=function(Fe){se+="<AllowedHeader>".concat(Fe,"</AllowedHeader>")},pe=function(Fe){se+="<ExposeHeader>".concat(Fe,"</ExposeHeader>")},he=0,ye=z.length;he<ye;he++)Pe=z[he],se+="<CORSRule>",ne(Pe.allowedOrigin).forEach(fe),ne(Pe.allowedMethod).forEach(ve),ne(Pe.allowedHeader).forEach(me),ne(Pe.exposeHeader).forEach(pe),Pe.maxAgeSeconds&&(se+="<MaxAgeSeconds>".concat(Pe.maxAgeSeconds,"</MaxAgeSeconds>")),se+="</CORSRule>";return se+="</CORSConfiguration>",re.content=se,re.mime="xml",re.successStatuses=[200],Te.next=16,this.request(re);case 16:return Oe=Te.sent,Te.abrupt("return",{res:Oe.res});case 18:case"end":return Te.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se,fe;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,me.next=5,this.request(ee);case 5:return re=me.sent,se=[],re.data&&re.data.CORSRule&&(fe=re.data.CORSRule,ie(fe)||(fe=[fe]),fe.forEach(function(pe){var he={};Object.keys(pe).forEach(function(ye){he[ye.slice(0,1).toLowerCase()+ye.slice(1,ye.length)]=pe[ye]}),se.push(he)})),me.abrupt("return",{rules:se,res:re.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee,re){var se,fe,ve,me;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(se=this._bucketRequestParams("PUT",b,"referer",re),fe=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,fe+=" <AllowEmptyReferer>".concat(z?"true":"false",`</AllowEmptyReferer>
`),ee&&ee.length>0){for(fe+=` <RefererList>
`,ve=0;ve<ee.length;ve++)fe+=" <Referer>".concat(ee[ve],`</Referer>
`);fe+=` </RefererList>
`}else fe+=` <RefererList />
`;return fe+="</RefererConfiguration>",se.content=fe,se.mime="xml",se.successStatuses=[200],he.next=10,this.request(se);case 10:return me=he.sent,he.abrupt("return",{res:me.res});case 12:case"end":return he.stop()}},x,this)}));function y(x,b,z,ee){return a.apply(this,arguments)}return y}(),ae.getBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.RefererList.Referer||null,se&&(ie(se)||(se=[se])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:se,res:re.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,this.putBucketReferer(b,!0,null,z);case 2:return re.abrupt("return",re.sent);case 3:case"end":return re.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,Se,ge){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),ce=ue(E("@babel/runtime/regenerator")),le=ue(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 de=E("debug")("ali-oss"),ae=E("xml2js"),ie=E("agentkeepalive"),ne=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),ee=E("../common/signUtils"),re=E("../common/client/initOptions"),se=E("../common/utils/createRequest"),fe=se.createRequest,ve=E("../common/utils/encoder"),me=ve.encoder,pe=E("../common/client/getReqUrl"),he=pe.getReqUrl,ye=E("../common/utils/setSTSToken"),Pe=ye.setSTSToken,Oe=E("../common/utils/retry"),we=Oe.retry,Te=E("../common/utils/isFunction"),Me=Te.isFunction,Fe=new ie;function $e(){var qe=a.name,ze=a.version;qe&&qe.toLowerCase&&qe.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ve(){return location&&location.protocol==="https:"}function Re(qe,ze){if($e(),!(this instanceof Re))return new Re(qe,ze);qe&&qe.inited?this.options=qe:this.options=Re.initOptions(qe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Fe),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Se.exports=Re,Re.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:Ve(),useFetch:!1},ze);return re(ke)};var st=Re.prototype;st.debug=de,ne(st,E("./object")),ne(st,E("./bucket")),ne(st,E("../common/bucket/getBucketWebsite")),ne(st,E("../common/bucket/putBucketWebsite")),ne(st,E("../common/bucket/deleteBucketWebsite")),ne(st,E("../common/bucket/getBucketLifecycle")),ne(st,E("../common/bucket/putBucketLifecycle")),ne(st,E("../common/bucket/deleteBucketLifecycle")),ne(st,E("../common/bucket/putBucketVersioning")),ne(st,E("../common/bucket/getBucketVersioning")),ne(st,E("../common/bucket/getBucketInventory")),ne(st,E("../common/bucket/deleteBucketInventory")),ne(st,E("../common/bucket/listBucketInventory")),ne(st,E("../common/bucket/putBucketInventory")),ne(st,E("../common/bucket/abortBucketWorm")),ne(st,E("../common/bucket/completeBucketWorm")),ne(st,E("../common/bucket/extendBucketWorm")),ne(st,E("../common/bucket/getBucketWorm")),ne(st,E("../common/bucket/initiateBucketWorm")),ne(st,E("./managed-upload")),ne(st,E("../common/multipart-copy")),ne(st,E("../common/multipart")),ne(st,E("../common/parallel")),st.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),ee.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},st._getReqUrl=he,st.authorization=function(ze,ke,Be,Je){var Ye=ee.buildCanonicalString(ze.toUpperCase(),ke,{headers:Je,parameters:Be});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ye,this.options.headerEncoding)},st.request=function(){var qe=(0,le.default)(ce.default.mark(function ze(ke){var Be=this;return ce.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(!this.options.retryMax){Ye.next=6;break}return Ye.next=3,we(rt.bind(this),this.options.retryMax,{errorHandler:function(He){var Ue=function(Ke){if(ke.stream)return!1;var Ee=[-1,-2].includes(Ke.status),Ie=Be.options.requestErrorRetryHandle||function(){return!0};return Ee&&Ie(Ke)};return!!Ue(He)}})(ke);case 3:return Ye.abrupt("return",Ye.sent);case 6:return Ye.abrupt("return",rt.call(this,ke));case 7:case"end":return Ye.stop()}},ze,this)}));return function(ze){return qe.apply(this,arguments)}}();function rt(qe){return et.apply(this,arguments)}function et(){return et=(0,le.default)(ce.default.mark(function qe(ze){var ke,Be,Je,Ye,dt,He;return ce.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(this.options.stsToken&&Me(this.options.refreshSTSToken))){Le.next=3;break}return Le.next=3,Pe.call(this);case 3:return ke=fe.call(this,ze),this.options.useFetch||(ke.params.mode="disable-fetch"),Ye=!!ze.stream,Le.prev=6,Le.next=9,this.urllib.request(ke.url,ke.params);case 9:Be=Le.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,ke.url,Be.status,Be.headers,"info"),Le.next=16;break;case 13:Le.prev=13,Le.t0=Le.catch(6),Je=Le.t0;case 16:if(!(Be&&ze.successStatuses&&ze.successStatuses.indexOf(Be.status)===-1)){Le.next=28;break}return Le.next=19,this.requestError(Be);case 19:if(dt=Le.sent,!(dt.code==="RequestTimeTooSkewed"&&!Ye)){Le.next=25;break}return this.options.amendTimeSkewed=+new Date(dt.serverTime)-new Date,Le.next=24,this.request(ze);case 24:return Le.abrupt("return",Le.sent);case 25:dt.params=ze,Le.next=32;break;case 28:if(!Je){Le.next=32;break}return Le.next=31,this.requestError(Je);case 31:dt=Le.sent;case 32:if(!dt){Le.next=34;break}throw dt;case 34:if(!ze.xmlResponse){Le.next=39;break}return Le.next=37,this.parseXML(Be.data);case 37:He=Le.sent,Be.data=He;case 39:return Le.abrupt("return",Be);case 40:case"end":return Le.stop()}},qe,this,[[6,13]])})),et.apply(this,arguments)}st._getResource=function(ze){var ke="/";return ze.bucket&&(ke+="".concat(ze.bucket,"/")),ze.object&&(ke+=me(ze.object,this.options.headerEncoding)),ke},st._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},st._getUserAgent=function(){var ze=te&&te.browser?"js":"nodejs",ke="aliyun-sdk-".concat(ze,"/").concat(b.version),Be=a.description;return!Be&&te&&(Be="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(ke," ").concat(Be))},st._checkUserAgent=function(ze){var ke=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},st.checkBrowserAndVersion=function(ze,ke){return z.name===ze&&z.version.split(".")[0]===ke},st.parseXML=function(ze){return new Promise(function(ke,Be){oe.isBuffer(ze)&&(ze=ze.toString()),ae.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(Je,Ye){Je?Be(Je):ke(Ye)})})},st.requestError=function(){var qe=(0,le.default)(ce.default.mark(function ke(Be){var Je,Ye,dt,He;return ce.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(Je=null,!(!Be.data||!Be.data.length)){Le.next=5;break}Be.status===-1||Be.status===-2?(Je=new Error(Be.message),Je.name=Be.name,Je.status=Be.status,Je.code=Be.name):(Be.status===404?(Je=new Error("Object not exists"),Je.name="NoSuchKeyError",Je.status=404,Je.code="NoSuchKey"):Be.status===412?(Je=new Error("Pre condition failed"),Je.name="PreconditionFailedError",Je.status=412,Je.code="PreconditionFailed"):(Je=new Error("Unknow error, status: ".concat(Be.status)),Je.name="UnknownError",Je.status=Be.status),Je.requestId=Be.headers["x-oss-request-id"],Je.host=""),Le.next=32;break;case 5:return Ye=String(Be.data),this.debug("request response error data: %s",Ye,"error"),Le.prev=7,Le.next=10,this.parseXML(Ye);case 10:if(Le.t0=Le.sent,Le.t0){Le.next=13;break}Le.t0={};case 13:dt=Le.t0,Le.next=23;break;case 16:return Le.prev=16,Le.t1=Le.catch(7),this.debug(Ye,"error"),Le.t1.message+=`
raw xml: `.concat(Ye),Le.t1.status=Be.status,Le.t1.requestId=Be.headers["x-oss-request-id"],Le.abrupt("return",Le.t1);case 23:He=dt.Message||"unknow request error, status: ".concat(Be.status),dt.Condition&&(He+=" (condition: ".concat(dt.Condition,")")),Je=new Error(He),Je.name=dt.Code?"".concat(dt.Code,"Error"):"UnknownError",Je.status=Be.status,Je.code=dt.Code,Je.requestId=dt.RequestId,Je.hostId=dt.HostId,Je.serverTime=dt.ServerTime;case 32:return this.debug("generate error %j",Je,"error"),Le.abrupt("return",Je);case 34:case"end":return Le.stop()}},ke,this,[[7,16]])}));function ze(ke){return qe.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,Se,ge){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(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 ce=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),de=E("path"),ae=E("mime"),ie=E("copy-to"),ne=E("../common/utils/isBlob"),a=ne.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,ee=ge;ee.multipartUpload=function(){var me=(0,ce.default)(ue.default.mark(function he(ye,Pe){var Oe,we,Te,Me,Fe,$e,Ve,Re,st,rt=arguments;return ue.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(Oe=rt.length>2&&rt[2]!==void 0?rt[2]:{},this.resetCancelFlag(),Oe.disabledMD5=Oe.disabledMD5===void 0?!0:!!Oe.disabledMD5,!(Oe.checkpoint&&Oe.checkpoint.uploadId)){qe.next=8;break}return Pe&&x(Pe)&&(Oe.checkpoint.file=Pe),qe.next=7,this._resumeMultipart(Oe.checkpoint,Oe);case 7:return qe.abrupt("return",qe.sent);case 8:return we=102400,Oe.mime||(x(Pe)?Oe.mime=ae.getType(de.extname(Pe.name)):a(Pe)?Oe.mime=Pe.type:z(Pe)?Oe.mime="":Oe.mime=ae.getType(de.extname(Pe))),Oe.headers=Oe.headers||{},this._convertMetaToHeaders(Oe.meta,Oe.headers),qe.next=14,this._getFileSize(Pe);case 14:if(Te=qe.sent,!(Te<we)){qe.next=26;break}return Oe.contentLength=Te,qe.next=19,this.put(ye,Pe,Oe);case 19:if(Me=qe.sent,!(Oe&&Oe.progress)){qe.next=23;break}return qe.next=23,Oe.progress(1);case 23:return Fe={res:Me.res,bucket:this.options.bucket,name:ye,etag:Me.res.headers.etag},(Oe.headers&&Oe.headers["x-oss-callback"]||Oe.callback)&&(Fe.data=Me.data),qe.abrupt("return",Fe);case 26:if(!(Oe.partSize&&parseInt(Oe.partSize,10)!==Oe.partSize)){qe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Oe.partSize&&Oe.partSize<we)){qe.next=30;break}throw new Error("partSize must not be smaller than ".concat(we));case 30:return qe.next=32,this.initMultipartUpload(ye,Oe);case 32:if($e=qe.sent,Ve=$e.uploadId,Re=this._getPartSize(Te,Oe.partSize),st={file:Pe,name:ye,fileSize:Te,partSize:Re,uploadId:Ve,doneParts:[]},!(Oe&&Oe.progress)){qe.next=39;break}return qe.next=39,Oe.progress(0,st,$e.res);case 39:return qe.next=41,this._resumeMultipart(st,Oe);case 41:return qe.abrupt("return",qe.sent);case 42:case"end":return qe.stop()}},he,this)}));function pe(he,ye){return me.apply(this,arguments)}return pe}(),ee._resumeMultipart=function(){var me=(0,ce.default)(ue.default.mark(function he(ye,Pe){var Oe,we,Te,Me,Fe,$e,Ve,Re,st,rt,et,qe,ze,ke,Be,Je,Ye,dt,He;return ue.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(Oe=this,!this.isCancel()){Le.next=3;break}throw this._makeCancelEvent();case 3:return we=ye.file,Te=ye.fileSize,Me=ye.partSize,Fe=ye.uploadId,$e=ye.doneParts,Ve=ye.name,Re=[],$e.length>0&&ie($e).to(Re),st=this._divideParts(Te,Me),rt=st.length,et=!1,qe=function(Ee,Ie){return new Promise(function(){var Qe=(0,ce.default)(ue.default.mark(function Xe(Ge,Ce){var xe,je,_e,ot,pt;return ue.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(tt.prev=0,Ee.isCancel()){tt.next=29;break}return xe=st[Ie-1],tt.next=5,Ee._createBuffer(we,xe.start,xe.end);case 5:return je=tt.sent,_e={content:je,size:xe.end-xe.start},tt.prev=7,tt.next=10,Ee._uploadPart(Ve,Fe,Ie,_e,Pe);case 10:ot=tt.sent,tt.next=18;break;case 13:if(tt.prev=13,tt.t0=tt.catch(7),tt.t0.status!==404){tt.next=17;break}throw Ee._makeAbortEvent();case 17:throw tt.t0;case 18:if(!(!Ee.isCancel()&&!et)){tt.next=26;break}if(ye.doneParts.push({number:Ie,etag:ot.res.headers.etag}),!Pe.progress){tt.next=23;break}return tt.next=23,Pe.progress($e.length/(rt+1),ye,ot.res);case 23:Ge({number:Ie,etag:ot.res.headers.etag}),tt.next=27;break;case 26:Ge();case 27:tt.next=30;break;case 29:Ge();case 30:tt.next=41;break;case 32:tt.prev=32,tt.t1=tt.catch(0),pt=new Error,pt.name=tt.t1.name,pt.message=tt.t1.message,pt.stack=tt.t1.stack,pt.partNum=Ie,ie(tt.t1).to(pt),Ce(pt);case 41:case"end":return tt.stop()}},Xe,null,[[0,32],[7,13]])}));return function(Xe,Ge){return Qe.apply(this,arguments)}}())},ze=Array.from(new Array(rt),function(Ke,Ee){return Ee+1}),ke=Re.map(function(Ke){return Ke.number}),Be=ze.filter(function(Ke){return ke.indexOf(Ke)<0}),Je=5,Ye=Pe.parallel||Je,Le.next=17,this._parallel(Be,Ye,function(Ke){return new Promise(function(Ee,Ie){qe(Oe,Ke).then(function(Qe){Qe&&Re.push(Qe),Ee()}).catch(function(Qe){Ie(Qe)})})});case 17:if(dt=Le.sent,et=!0,He=dt.find(function(Ke){return Ke.name==="abort"}),!He){Le.next=22;break}throw He;case 22:if(!this.isCancel()){Le.next=25;break}throw qe=null,this._makeCancelEvent();case 25:if(!(dt&&dt.length>0)){Le.next=28;break}throw dt[0].message="Failed to upload some parts with error: ".concat(dt[0].toString()," part_num: ").concat(dt[0].partNum),dt[0];case 28:return Le.next=30,this.completeMultipartUpload(Ve,Fe,Re,Pe);case 30:return Le.abrupt("return",Le.sent);case 31:case"end":return Le.stop()}},he,this)}));function pe(he,ye){return me.apply(this,arguments)}return pe}(),ee._getFileSize=function(){var me=(0,ce.default)(ue.default.mark(function he(ye){return ue.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!z(ye)){Oe.next=4;break}return Oe.abrupt("return",ye.length);case 4:if(!(a(ye)||x(ye))){Oe.next=6;break}return Oe.abrupt("return",ye.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Oe.stop()}},he)}));function pe(he){return me.apply(this,arguments)}return pe}();var re=E("stream"),se=re.Readable;function fe(me,pe){if(!(this instanceof fe))return new fe(me,pe);se.call(this,pe),this.file=me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(fe,se),fe.prototype.readFileAndPush=function(pe){if(this.fileBuffer)for(var he=!0;he&&this.fileBuffer&&this.start<this.fileBuffer.length;){var ye=this.start,Pe=ye+pe;Pe=Pe>this.fileBuffer.length?this.fileBuffer.length:Pe,this.start=Pe,he=this.push(this.fileBuffer.slice(ye,Pe))}},fe.prototype._read=function(pe){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 he=16*1024;pe=pe||he;var ye=this;this.reader.onload=function(Oe){ye.fileBuffer=oe.from(new Uint8Array(Oe.target.result)),ye.file=null,ye.readFileAndPush(pe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(pe)};function ve(me){return me.arrayBuffer?me.arrayBuffer():new Promise(function(pe,he){var ye=new FileReader;ye.onload=function(Pe){pe(Pe.target.result)},ye.onerror=function(Pe){he(Pe)},ye.readAsArrayBuffer(me)})}ee._createBuffer=function(){var me=(0,ce.default)(ue.default.mark(function he(ye,Pe,Oe){var we,Te;return ue.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(!(a(ye)||x(ye))){Fe.next=8;break}return we=ye.slice(Pe,Oe),Fe.next=4,ve(we);case 4:return Te=Fe.sent,Fe.abrupt("return",oe.from(Te));case 8:if(!z(ye)){Fe.next=12;break}return Fe.abrupt("return",ye.subarray(Pe,Oe));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Fe.stop()}},he)}));function pe(he,ye,Pe){return me.apply(this,arguments)}return pe}(),ee._getPartSize=function(pe,he){var ye=1e4,Pe=1*1024*1024;he||(he=Pe);var Oe=Math.ceil(pe/ye);return he<Oe&&(he=Oe,console.warn("partSize has been set to ".concat(he,", because the partSize you provided causes partNumber to be greater than 10,000"))),he},ee._divideParts=function(pe,he){for(var ye=Math.ceil(pe/he),Pe=[],Oe=0;Oe<ye;Oe++){var we=he*Oe,Te=Math.min(we+he,pe);Pe.push({start:we,end:Te})}return Pe}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,Se,ge){"use strict";var oe=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 te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),le=E("copy-to"),de=E("path"),ae=E("mime"),ie=E("../common/callback"),ne=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,z=E("../common/utils/isBuffer"),ee=z.isBuffer,re=E("../common/utils/obj2xml"),se=re.obj2xml,fe=ge;fe.append=function(){var ve=(0,ue.default)(te.default.mark(function pe(he,ye,Pe){var Oe;return te.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Pe=Pe||{},Pe.position===void 0&&(Pe.position="0"),Pe.subres={append:"",position:Pe.position},Pe.method="POST",Te.next=6,this.put(he,ye,Pe);case 6:return Oe=Te.sent,Oe.nextAppendPosition=Oe.res.headers["x-oss-next-append-position"],Te.abrupt("return",Oe);case 9:case"end":return Te.stop()}},pe,this)}));function me(pe,he,ye){return ve.apply(this,arguments)}return me}(),fe.put=function(){var ve=(0,ue.default)(te.default.mark(function pe(he,ye,Pe){var Oe,we,Te,Me,Fe;return te.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(Pe=Pe||{},Pe.disabledMD5=Pe.disabledMD5===void 0?!0:!!Pe.disabledMD5,Pe.headers=Pe.headers||{},he=this._objectName(he),!ee(ye)){Ve.next=8;break}Oe=ye,Ve.next=19;break;case 8:if(!(y(ye)||b(ye))){Ve.next=18;break}return Pe.mime||(b(ye)?Pe.mime=ae.getType(de.extname(ye.name)):Pe.mime=ye.type),Ve.next=12,this._createBuffer(ye,0,ye.size);case 12:return Oe=Ve.sent,Ve.next=15,this._getFileSize(ye);case 15:Pe.contentLength=Ve.sent,Ve.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Pe.meta,Pe.headers),we=Pe.method||"PUT",Te=this._objectRequestParams(we,he,Pe),ie.encodeCallback(Te,Pe),Te.mime=Pe.mime,Te.disabledMD5=Pe.disabledMD5,Te.content=Oe,Te.successStatuses=[200],Ve.next=29,this.request(Te);case 29:return Me=Ve.sent,Fe={name:he,url:this._objectUrl(he),res:Me.res},Te.headers&&Te.headers["x-oss-callback"]&&(Fe.data=JSON.parse(Me.data.toString())),Ve.abrupt("return",Fe);case 33:case"end":return Ve.stop()}},pe,this)}));function me(pe,he,ye){return ve.apply(this,arguments)}return me}(),fe.putStream=function(){var ve=(0,ue.default)(te.default.mark(function pe(he,ye,Pe){var Oe,we,Te,Me;return te.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:return Pe=Pe||{},Pe.headers=Pe.headers||{},he=this._objectName(he),Pe.contentLength?Pe.headers["Content-Length"]=Pe.contentLength:Pe.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Pe.meta,Pe.headers),Oe=Pe.method||"PUT",we=this._objectRequestParams(Oe,he,Pe),ie.encodeCallback(we,Pe),we.mime=Pe.mime,we.stream=ye,we.successStatuses=[200],$e.next=13,this.request(we);case 13:return Te=$e.sent,Me={name:he,url:this._objectUrl(he),res:Te.res},we.headers&&we.headers["x-oss-callback"]&&(Me.data=JSON.parse(Te.data.toString())),$e.abrupt("return",Me);case 17:case"end":return $e.stop()}},pe,this)}));function me(pe,he,ye){return ve.apply(this,arguments)}return me}(),ne(fe,E("../common/object/copyObject")),ne(fe,E("../common/object/getObjectTagging")),ne(fe,E("../common/object/putObjectTagging")),ne(fe,E("../common/object/deleteObjectTagging")),ne(fe,E("../common/image")),ne(fe,E("../common/object/getBucketVersions")),ne(fe,E("../common/object/getACL")),ne(fe,E("../common/object/putACL")),ne(fe,E("../common/object/head")),ne(fe,E("../common/object/delete")),ne(fe,E("../common/object/get")),ne(fe,E("../common/object/putSymlink")),ne(fe,E("../common/object/getSymlink")),ne(fe,E("../common/object/deleteMulti")),ne(fe,E("../common/object/getObjectMeta")),ne(fe,E("../common/object/getObjectUrl")),ne(fe,E("../common/object/generateObjectUrl")),ne(fe,E("../common/object/signatureUrl")),ne(fe,E("../common/object/asyncSignatureUrl")),fe.putMeta=function(){var ve=(0,ue.default)(te.default.mark(function pe(he,ye,Pe){var Oe;return te.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Te.next=2,this.copy(he,he,{meta:ye||{},timeout:Pe&&Pe.timeout,ctx:Pe&&Pe.ctx});case 2:return Oe=Te.sent,Te.abrupt("return",Oe);case 4:case"end":return Te.stop()}},pe,this)}));function me(pe,he,ye){return ve.apply(this,arguments)}return me}(),fe.list=function(){var ve=(0,ue.default)(te.default.mark(function pe(he,ye){var Pe,Oe,we,Te,Me;return te.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:return Pe=this._objectRequestParams("GET","",ye),Pe.query=he,Pe.xmlResponse=!0,Pe.successStatuses=[200],$e.next=6,this.request(Pe);case 6:return Oe=$e.sent,we=Oe.data.Contents||[],Te=this,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(Ve){return{name:Ve.Key,url:Te._objectUrl(Ve.Key),lastModified:Ve.LastModified,etag:Ve.ETag,type:Ve.Type,size:Number(Ve.Size),storageClass:Ve.StorageClass,owner:{id:Ve.Owner.ID,displayName:Ve.Owner.DisplayName}}})),Me=Oe.data.CommonPrefixes||null,Me&&(Array.isArray(Me)||(Me=[Me]),Me=Me.map(function(Ve){return Ve.Prefix})),$e.abrupt("return",{res:Oe.res,objects:we,prefixes:Me,nextMarker:Oe.data.NextMarker||null,isTruncated:Oe.data.IsTruncated==="true"});case 13:case"end":return $e.stop()}},pe,this)}));function me(pe,he){return ve.apply(this,arguments)}return me}(),fe.listV2=function(){var ve=(0,ue.default)(te.default.mark(function pe(he){var ye,Pe,Oe,we,Te,Me,Fe,$e=arguments;return te.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return ye=$e.length>1&&$e[1]!==void 0?$e[1]:{},Pe=he["continuation-token"]||he.continuationToken,Pe&&(ye.subres=Object.assign({"continuation-token":Pe},ye.subres)),Oe=this._objectRequestParams("GET","",ye),Oe.query=Object.assign({"list-type":2},he),delete Oe.query["continuation-token"],delete Oe.query.continuationToken,Oe.xmlResponse=!0,Oe.successStatuses=[200],Re.next=11,this.request(Oe);case 11:return we=Re.sent,Te=we.data.Contents||[],Me=this,Te&&(Array.isArray(Te)||(Te=[Te]),Te=Te.map(function(st){var rt=null;return st.Owner&&(rt={id:st.Owner.ID,displayName:st.Owner.DisplayName}),{name:st.Key,url:Me._objectUrl(st.Key),lastModified:st.LastModified,etag:st.ETag,type:st.Type,size:Number(st.Size),storageClass:st.StorageClass,owner:rt}})),Fe=we.data.CommonPrefixes||null,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(st){return st.Prefix})),Re.abrupt("return",{res:we.res,objects:Te,prefixes:Fe,isTruncated:we.data.IsTruncated==="true",keyCount:+we.data.KeyCount,continuationToken:we.data.ContinuationToken||null,nextContinuationToken:we.data.NextContinuationToken||null});case 18:case"end":return Re.stop()}},pe,this)}));function me(pe){return ve.apply(this,arguments)}return me}(),fe.restore=function(){var ve=(0,ue.default)(te.default.mark(function pe(he){var ye,Pe,Oe,we,Te=arguments;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return ye=Te.length>1&&Te[1]!==void 0?Te[1]:{type:"Archive"},ye=ye||{},ye.subres=Object.assign({restore:""},ye.subres),ye.versionId&&(ye.subres.versionId=ye.versionId),Pe=this._objectRequestParams("POST",he,ye),ye.type==="ColdArchive"&&(Oe={RestoreRequest:{Days:ye.Days?ye.Days:2,JobParameters:{Tier:ye.JobParameters?ye.JobParameters:"Standard"}}},Pe.content=se(Oe,{headers:!0}),Pe.mime="xml"),Pe.successStatuses=[202],Fe.next=9,this.request(Pe);case 9:return we=Fe.sent,Fe.abrupt("return",{res:we.res});case 11:case"end":return Fe.stop()}},pe,this)}));function me(pe){return ve.apply(this,arguments)}return me}(),fe._objectUrl=function(me){return this._getReqUrl({bucket:this.options.bucket,object:me})},fe._objectRequestParams=function(me,pe,he){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");he=he||{},pe=this._objectName(pe);var ye={object:pe,bucket:this.options.bucket,method:me,subres:he&&he.subres,timeout:he&&he.timeout,ctx:he&&he.ctx};return he.headers&&(ye.headers={},le(he.headers).to(ye.headers)),ye},fe._objectName=function(me){return me.replace(/^\/+/,"")},fe._convertMetaToHeaders=function(me,pe){me&&Object.keys(me).forEach(function(he){pe["x-oss-meta-".concat(he)]=me[he]})},fe._deleteFileSafe=function(me){var pe=this;return new Promise(function(he){ce.exists(me,function(ye){ye?ce.unlink(me,function(Pe){Pe&&pe.debug("unlink %j error: %s",me,Pe,"error"),he()}):he()})})}},{"../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,Se,ge){"use strict";ge.version="6.18.1"},{}],7:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.abortBucketWorm=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ce.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),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()}},ae,this)})),de.apply(this,arguments)}ge.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.completeBucketWorm=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie,ne){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},ae,this)})),de.apply(this,arguments)}ge.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.deleteBucketInventory=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y,x,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),ce.checkBucketName(ie),x=this._bucketRequestParams("DELETE",ie,y,a),x.successStatuses=[204],re.next=7,this.request(x);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},ae,this)})),de.apply(this,arguments)}ge.deleteBucketInventory=le},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=ge;de.deleteBucketLifecycle=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=ge;de.deleteBucketWebsite=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.extendBucketWorm=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function de(ie,ne,a,y){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y,x){var b,z,ee;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return ce.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=le.obj2xml(z,{headers:!0}),b.successStatuses=[200],se.next=8,this.request(b);case 8:return ee=se.sent,se.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}ge.extendBucketWorm=de},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.getBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ce.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,y),b.successStatuses=[200],b.xmlResponse=!0,se.next=8,this.request(b);case 8:return z=se.sent,se.abrupt("return",{status:z.status,res:z.res,inventory:le.formatInventoryConfig(z.data)});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}ge.getBucketInventory=de},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isArray"),ae=de.isArray,ie=E("../utils/formatObjKey"),ne=ie.formatObjKey,a=ge;a.getBucketLifecycle=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee){var re,se,fe;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return le(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,me.next=6,this.request(re);case 6:return se=me.sent,fe=se.data.Rule||null,fe&&(ae(fe)||(fe=[fe]),fe=fe.map(function(pe){return pe.ID&&(pe.id=pe.ID,delete pe.ID),pe.Tag&&!ae(pe.Tag)&&(pe.Tag=[pe.Tag]),ne(pe,"firstLowerCase")})),me.abrupt("return",{rules:fe,res:se.res});case 10:case"end":return me.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=ge;de.getBucketVersioning=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],re.next=6,this.request(x);case 6:return b=re.sent,z=b.data.Status,re.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return re.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isObject"),ae=de.isObject,ie=ge;ie.getBucketWebsite=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return le(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,fe.next=6,this.request(z);case 6:return ee=fe.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(ae(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),fe.abrupt("return",{index:ee.data.IndexDocument&&ee.data.IndexDocument.Suffix||"",supportSubDir:ee.data.IndexDocument&&ee.data.IndexDocument.SupportSubDir||"false",type:ee.data.IndexDocument&&ee.data.IndexDocument.Type,routingRules:re,error:ee.data.ErrorDocument&&ee.data.ErrorDocument.Key||null,res:ee.res});case 10:case"end":return fe.stop()}},y,this)}));function a(y,x){return ne.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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.getBucketWorm=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/dataFix");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,le.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ie,this)})),ae.apply(this,arguments)}ge.getBucketWorm=de},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.initiateBucketWorm=void 0;var ce=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function de(ie,ne,a){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le.checkBucketName(ne),x=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ce.obj2xml(b,{headers:!0}),x.successStatuses=[200],re.next=8,this.request(x);case 8:return z=re.sent,re.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return re.stop()}},ie,this)})),ae.apply(this,arguments)}ge.initiateBucketWorm=de},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.listBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function de(ie){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne){var a,y,x,b,z,ee,re,se,fe=arguments;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return a=fe.length>1&&fe[1]!==void 0?fe[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ce.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,a),b.successStatuses=[200],b.xmlResponse=!0,me.next=9,this.request(b);case 9:return z=me.sent,ee=z.data,re=z.res,se=z.status,me.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:le.formatInventoryConfig(ee.InventoryConfiguration,!0),status:se,res:re});case 12:case"end":return me.stop()}},ie,this)})),ae.apply(this,arguments)}ge.listBucketInventory=de},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.putBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee,re,se,fe,ve,me,pe,he=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return y=he.length>2&&he[2]!==void 0?he[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ce.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",se="acs:ram::".concat(b.accountId,":role/"),fe={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(se).concat(b.rolename),Bucket:"".concat(re).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:ee,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=le.obj2xml(fe,{headers:!0,firstUpperCase:!0}),me=this._bucketRequestParams("PUT",ne,x,y),me.successStatuses=[200],me.mime="xml",me.content=ve,Pe.next=14,this.request(me);case 14:return pe=Pe.sent,Pe.abrupt("return",{status:pe.status,res:pe.res});case 16:case"end":return Pe.stop()}},ie,this)})),ae.apply(this,arguments)}ge.putBucketInventory=de},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isArray"),ae=de.isArray,ie=E("../utils/deepCopy"),ne=ie.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),ee=z.checkObjectTag,re=E("../utils/getStrBytesCount"),se=re.getStrBytesCount,fe=ge;fe.putBucketLifecycle=function(){var ye=(0,ue.default)(te.default.mark(function Oe(we,Te,Me){var Fe,$e,Ve,Re,st;return te.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(le(we),ae(Te)){et.next=3;break}throw new Error("rules must be Array");case 3:return Fe=this._bucketRequestParams("PUT",we,"lifecycle",Me),$e=[],Ve={LifecycleConfiguration:{Rule:$e}},Te.forEach(function(qe){ve(qe),he(qe),qe.id&&(qe.ID=qe.id,delete qe.id),$e.push(qe)}),Re=b(Ve,{headers:!0,firstUpperCase:!0}),Fe.content=Re,Fe.mime="xml",Fe.successStatuses=[200],et.next=13,this.request(Fe);case 13:return st=et.sent,et.abrupt("return",{res:st.res});case 15:case"end":return et.stop()}},Oe,this)}));function Pe(Oe,we,Te){return ye.apply(this,arguments)}return Pe}();function ve(ye){ye.days&&(ye.expiration={days:ye.days}),ye.date&&(ye.expiration={createdBeforeDate:ye.date})}function me(ye,Pe){var Oe=ye.days,we=ye.createdBeforeDate;if(!Oe&&!we)throw new Error("".concat(Pe," must includes days or createdBeforeDate"));if(Oe&&!/^[1-9][0-9]*$/.test(Oe))throw new Error("days must be a positive integer");if(we&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(we))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function pe(ye){if(!ae(ye)&&!y(ye))throw new Error("tag must be Object or Array");ye=y(ye)?[ye]:ye;var Pe={},Oe=ne(ye);Oe.forEach(function(we){Pe[we.key]=we.value}),ee(Pe)}function he(ye){if(ye.id&&se(ye.id)>255)throw new Error("ID is composed of 255 bytes at most");if(ye.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(ye.status))throw new Error("Status must be Enabled or Disabled");if(ye.transition){if(!["IA","Archive"].includes(ye.transition.storageClass))throw new Error("StorageClass must be IA or Archive");me(ye.transition,"Transition")}if(ye.expiration){if(!ye.expiration.expiredObjectDeleteMarker)me(ye.expiration,"Expiration");else if(ye.expiration.days||ye.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(ye.abortMultipartUpload&&me(ye.abortMultipartUpload,"AbortMultipartUpload"),!ye.expiration&&!ye.abortMultipartUpload&&!ye.transition&&!ye.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(ye.tag){if(ye.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");pe(ye.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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/obj2xml"),ae=de.obj2xml,ie=ge;ie.putBucketVersioning=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(z=fe.length>2&&fe[2]!==void 0?fe[2]:{},le(x),["Enabled","Suspended"].includes(b)){me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",x,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=ae(re,{headers:!0}),me.next=10,this.request(ee);case 10:return se=me.sent,me.abrupt("return",{res:se.res,status:se.status});case 12:case"end":return me.stop()}},y,this)}));function a(y,x){return ne.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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/obj2xml"),ae=de.obj2xml,ie=E("../utils/isArray"),ne=ie.isArray,a=ge;a.putBucketWebsite=function(){var y=(0,ue.default)(te.default.mark(function b(z){var ee,re,se,fe,ve,me,pe,he=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(ee=he.length>1&&he[1]!==void 0?he[1]:{},re=he.length>2?he[2]:void 0,le(z),se=this._bucketRequestParams("PUT",z,"website",re),fe={Suffix:ee.index||"index.html"},ve={IndexDocument:fe},me={WebsiteConfiguration:ve},ee.supportSubDir&&(fe.SupportSubDir=ee.supportSubDir),ee.type&&(fe.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){Pe.next=14;break}if(ne(ee.routingRules)){Pe.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return me=ae(me),se.content=me,se.mime="xml",se.successStatuses=[200],Pe.next=20,this.request(se);case 20:return pe=Pe.sent,Pe.abrupt("return",{res:pe.res});case 22:case"end":return Pe.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,Se,ge){(function(oe){(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"),ge.encodeCallback=function(ue,ce){if(ue.headers=ue.headers||{},!Object.prototype.hasOwnProperty.call(ue.headers,"x-oss-callback")&&ce.callback){var le={callbackUrl:encodeURI(ce.callback.url),callbackBody:ce.callback.body};ce.callback.host&&(le.callbackHost=ce.callback.host),ce.callback.contentType&&(le.callbackBodyType=ce.callback.contentType);var de=oe.from(JSON.stringify(le)).toString("base64");if(ue.headers["x-oss-callback"]=de,ce.callback.customValue){var ae={};Object.keys(ce.callback.customValue).forEach(function(ie){ae["x:".concat(ie)]=ce.callback.customValue[ie].toString()}),ue.headers["x-oss-callback-var"]=oe.from(JSON.stringify(ae)).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,Se,ge){"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 oe=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(ge,"__esModule",{value:!0}),ge.getReqUrl=void 0;var te=oe(E("copy-to")),ue=oe(E("url")),ce=oe(E("merge-descriptors")),le=oe(E("is-type-of")),de=E("../utils/isIP"),ae=E("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;ae.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!de.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var x="/";ne.bucket&&this.options.sldEnable&&(x+="".concat(ne.bucket,"/")),ne.object&&(x+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ne.query&&ce.default(b,ne.query),ne.subres){var z={};le.default.string(ne.subres)?z[ne.subres]="":le.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,ce.default(b,z)}return a.query=b,ue.default.format(a)}ge.getReqUrl=ie},{"../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,Se,ge){"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 oe=E("humanize-ms"),te=E("url"),ue=E("../utils/checkBucketName"),ce=ue.checkBucketName,le=E("../utils/setRegion"),de=le.setRegion,ae=E("../utils/checkConfigValid"),ie=ae.checkConfigValid;function ne(a,y){ie(a,"endpoint");var x=te.parse(a);if(x.protocol||(x=te.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}Se.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&&ce(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=oe(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=de(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,Se,ge){"use strict";var oe=E("merge-descriptors"),te=ge;oe(te,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("querystring"),ae=E("js-base64"),ie=ae.Base64.encode,ne=ge;ne.processObjectSave=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee,re,se){var fe,ve,me,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),se&&le(se),fe=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=se?",b_".concat(ie(se)):"",ee=ie(ee),me={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},fe.content=de.stringify(me),ye.next=12,this.request(fe);case 12:return pe=ye.sent,ye.abrupt("return",{res:pe.res,status:pe.res.status});case 14:case"end":return ye.stop()}},b,this)}));function x(b,z,ee,re){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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),de=ge;de.uploadPartCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b,z){var ee,re,se,fe,ve,me=arguments;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=me.length>5&&me[5]!==void 0?me[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=se,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:x,uploadId:y},fe=this._objectRequestParams("PUT",a,ee),fe.mime=ee.mime,fe.successStatuses=[200],he.next=12,this.request(fe);case 12:return ve=he.sent,he.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return he.stop()}},ne,this)}));function ie(ne,a,y,x,b){return ae.apply(this,arguments)}return ie}(),de.multipartUploadCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z,ee,re,se,fe,ve,me,pe,he,ye,Pe=arguments;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return x=Pe.length>2&&Pe[2]!==void 0?Pe[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,ee={versionId:z},we.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=we.sent,se=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||se,!(x.checkpoint&&x.checkpoint.uploadId)){we.next=14;break}return we.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return we.abrupt("return",we.sent);case 14:if(fe=102400,ve=y.endOffset-y.startOffset,!(ve<fe)){we.next=18;break}throw new Error("copySize must not be smaller than ".concat(fe));case 18:if(!(x.partSize&&x.partSize<fe)){we.next=20;break}throw new Error("partSize must not be smaller than ".concat(fe));case 20:return we.next=22,this.initMultipartUpload(a,x);case 22:if(me=we.sent,pe=me.uploadId,he=this._getPartSize(ve,x.partSize),ye={name:a,copySize:ve,partSize:he,uploadId:pe,doneParts:[]},!(x&&x.progress)){we.next=29;break}return we.next=29,x.progress(0,ye,me.res);case 29:return we.next=31,this._resumeMultipartCopy(ye,y,x);case 31:return we.abrupt("return",we.sent);case 32:case"end":return we.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}(),de._resumeMultipartCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x){var b,z,ee,re,se,fe,ve,me,pe,he,ye,Pe,Oe,we,Te,Me,Fe,$e,Ve,Re,st;return te.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!this.isCancel()){et.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,z=b===void 0?null:b,ee={versionId:z},re=a.copySize,se=a.partSize,fe=a.uploadId,ve=a.doneParts,me=a.name,pe=this._divideMultipartCopyParts(re,se,y.startOffset),he=pe.length,ye={headers:{}},x.copyheaders&&le(x.copyheaders).to(ye.headers),z&&le(ee).to(ye),Pe=function(ze,ke,Be){return new Promise(function(){var Je=(0,ue.default)(te.default.mark(function Ye(dt,He){var Ue,Le,Ke;return te.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(Ie.prev=0,ze.isCancel()){Ie.next=22;break}return Ue=pe[ke-1],Le="".concat(Ue.start,"-").concat(Ue.end-1),Ie.prev=4,Ie.next=7,ze.uploadPartCopy(me,fe,ke,Le,Be,ye);case 7:Ke=Ie.sent,Ie.next=15;break;case 10:if(Ie.prev=10,Ie.t0=Ie.catch(4),Ie.t0.status!==404){Ie.next=14;break}throw ze._makeAbortEvent();case 14:throw Ie.t0;case 15:if(ze.isCancel()){Ie.next=22;break}if(ce("content-range ".concat(Ke.res.headers["content-range"])),ve.push({number:ke,etag:Ke.res.headers.etag}),a.doneParts=ve,!(x&&x.progress)){Ie.next=22;break}return Ie.next=22,x.progress(ve.length/he,a,Ke.res);case 22:dt(),Ie.next=29;break;case 25:Ie.prev=25,Ie.t1=Ie.catch(0),Ie.t1.partNum=ke,He(Ie.t1);case 29:case"end":return Ie.stop()}},Ye,null,[[0,25],[4,10]])}));return function(Ye,dt){return Je.apply(this,arguments)}}())},Oe=Array.from(new Array(he),function(qe,ze){return ze+1}),we=ve.map(function(qe){return qe.number}),Te=Oe.filter(function(qe){return we.indexOf(qe)<0}),Me=5,Fe=x.parallel||Me,!(this.checkBrowserAndVersion("Internet Explorer","10")||Fe===1)){et.next=28;break}$e=0;case 18:if(!($e<Te.length)){et.next=26;break}if(!this.isCancel()){et.next=21;break}throw this._makeCancelEvent();case 21:return et.next=23,Pe(this,Te[$e],y);case 23:$e++,et.next=18;break;case 26:et.next=40;break;case 28:return et.next=30,this._parallelNode(Te,Fe,Pe,y);case 30:if(Ve=et.sent,Re=Ve.find(function(qe){return qe.name==="abort"}),!Re){et.next=34;break}throw Re;case 34:if(!this.isCancel()){et.next=36;break}throw this._makeCancelEvent();case 36:if(!(Ve&&Ve.length>0)){et.next=40;break}throw st=Ve[0],st.message="Failed to copy some parts with error: ".concat(st.toString()," part_num: ").concat(st.partNum),st;case 40:return et.next=42,this.completeMultipartUpload(me,fe,ve,x);case 42:return et.abrupt("return",et.sent);case 43:case"end":return et.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}(),de._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),x=[],b=0;b<y;b++){var z=ne*b+a,ee=Math.min(z+ne,ie+a);x.push({start:z,end:ee})}return x},de._getObjectMeta=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x){var b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return b=this.getBucket(),this.setBucket(a),re.next=4,this.head(y,x);case 4:return z=re.sent,this.setBucket(b),re.abrupt("return",z);case 7:case"end":return re.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}()},{"@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,Se,ge){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(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 ce=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("copy-to"),de=E("./callback"),ae=E("./utils/deepCopy"),ie=ae.deepCopyWith,ne=E("./utils/isBuffer"),a=ne.isBuffer,y=E("./utils/omit"),x=y.omit,b=ge;b.listUploads=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe){var ve,me,pe,he;return ue.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return fe=fe||{},ve={},le(fe).to(ve),ve.subres="uploads",me=this._objectRequestParams("GET","",ve),me.query=se,me.xmlResponse=!0,me.successStatuses=[200],Pe.next=10,this.request(me);case 10:return pe=Pe.sent,he=pe.data.Upload||[],Array.isArray(he)||(he=[he]),he=he.map(function(Oe){return{name:Oe.Key,uploadId:Oe.UploadId,initiated:Oe.Initiated}}),Pe.abrupt("return",{res:pe.res,uploads:he,bucket:pe.data.Bucket,nextKeyMarker:pe.data.NextKeyMarker,nextUploadIdMarker:pe.data.NextUploadIdMarker,isTruncated:pe.data.IsTruncated==="true"});case 15:case"end":return Pe.stop()}},re,this)}));function ee(re,se){return z.apply(this,arguments)}return ee}(),b.listParts=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve,me){var pe,he,ye;return ue.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return me=me||{},pe={},le(me).to(pe),pe.subres={uploadId:fe},he=this._objectRequestParams("GET",se,pe),he.query=ve,he.xmlResponse=!0,he.successStatuses=[200],Oe.next=10,this.request(he);case 10:return ye=Oe.sent,Oe.abrupt("return",{res:ye.res,uploadId:ye.data.UploadId,bucket:ye.data.Bucket,name:ye.data.Key,partNumberMarker:ye.data.PartNumberMarker,nextPartNumberMarker:ye.data.NextPartNumberMarker,maxParts:ye.data.MaxParts,isTruncated:ye.data.IsTruncated,parts:ye.data.Part||[]});case 12:case"end":return Oe.stop()}},re,this)}));function ee(re,se,fe,ve){return z.apply(this,arguments)}return ee}(),b.abortMultipartUpload=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve){var me,pe,he;return ue.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return this._stop(),ve=ve||{},me={},le(ve).to(me),me.subres={uploadId:fe},pe=this._objectRequestParams("DELETE",se,me),pe.successStatuses=[204],Pe.next=9,this.request(pe);case 9:return he=Pe.sent,Pe.abrupt("return",{res:he.res});case 11:case"end":return Pe.stop()}},re,this)}));function ee(re,se,fe){return z.apply(this,arguments)}return ee}(),b.initMultipartUpload=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe){var ve,me,pe;return ue.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return fe=fe||{},ve={},le(fe).to(ve),ve.headers=ve.headers||{},this._convertMetaToHeaders(fe.meta,ve.headers),ve.subres="uploads",me=this._objectRequestParams("POST",se,ve),me.mime=fe.mime,me.xmlResponse=!0,me.successStatuses=[200],ye.next=12,this.request(me);case 12:return pe=ye.sent,ye.abrupt("return",{res:pe.res,bucket:pe.data.Bucket,name:pe.data.Key,uploadId:pe.data.UploadId});case 14:case"end":return ye.stop()}},re,this)}));function ee(re,se){return z.apply(this,arguments)}return ee}(),b.uploadPart=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve,me,pe,he,ye){var Pe,Oe;return ue.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(Pe={size:he-pe},Oe=oe&&oe.browser,!Oe){Te.next=8;break}return Te.next=5,this._createBuffer(me,pe,he);case 5:Pe.content=Te.sent,Te.next=11;break;case 8:return Te.next=10,this._createStream(me,pe,he);case 10:Pe.stream=Te.sent;case 11:return Te.next=13,this._uploadPart(se,fe,ve,Pe,ye);case 13:return Te.abrupt("return",Te.sent);case 14:case"end":return Te.stop()}},re,this)}));function ee(re,se,fe,ve,me,pe,he){return z.apply(this,arguments)}return ee}(),b.completeMultipartUpload=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve,me){var pe,he,ye,Pe,Oe,we,Te,Me;return ue.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:for(pe=ve.concat().sort(function(Ve,Re){return Ve.number-Re.number}).filter(function(Ve,Re,st){return!Re||Ve.number!==st[Re-1].number}),he=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,ye=0;ye<pe.length;ye++)Pe=pe[ye],he+=`<Part>
`,he+="<PartNumber>".concat(Pe.number,`</PartNumber>
`),he+="<ETag>".concat(Pe.etag,`</ETag>
`),he+=`</Part>
`;return he+="</CompleteMultipartUpload>",me=me||{},Oe={},Oe=ie(me,function(Ve){if(a(Ve))return null}),Oe.subres={uploadId:fe},Oe.headers=x(Oe.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),we=this._objectRequestParams("POST",se,Oe),de.encodeCallback(we,Oe),we.mime="xml",we.content=he,we.headers&&we.headers["x-oss-callback"]||(we.xmlResponse=!0),we.successStatuses=[200],$e.next=17,this.request(we);case 17:if(Te=$e.sent,!me.progress){$e.next=21;break}return $e.next=21,me.progress(1,null,Te.res);case 21:return Me={res:Te.res,bucket:we.bucket,name:se,etag:Te.res.headers.etag},we.headers&&we.headers["x-oss-callback"]&&(Me.data=JSON.parse(Te.data.toString())),$e.abrupt("return",Me);case 24:case"end":return $e.stop()}},re,this)}));function ee(re,se,fe,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve,me,pe){var he,ye,Pe,Oe;return ue.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return pe=pe||{},he={},le(pe).to(he),he.headers=he.headers||{},he.headers["Content-Length"]=me.size,he.headers=x(he.headers,["x-oss-server-side-encryption"]),he.subres={partNumber:ve,uploadId:fe},ye=this._objectRequestParams("PUT",se,he),ye.mime=he.mime,Pe=oe&&oe.browser,Pe?ye.content=me.content:ye.stream=me.stream,ye.successStatuses=[200],ye.disabledMD5=pe.disabledMD5,Te.next=15,this.request(ye);case 15:if(Oe=Te.sent,Oe.res.headers.etag){Te.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return me.stream&&(me.stream=null,ye.stream=null),Te.abrupt("return",{name:se,etag:Oe.res.headers.etag,res:Oe.res});case 20:case"end":return Te.stop()}},re,this)}));function ee(re,se,fe,ve,me){return z.apply(this,arguments)}return ee}()}).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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("url"),le=E("utility"),de=E("copy-to"),ae=E("../../common/signUtils"),ie=E("../utils/isIP"),ne=ie.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=ge;z.asyncSignatureUrl=function(){var ee=(0,ue.default)(te.default.mark(function se(fe,ve){var me,pe,he,ye,Pe;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!ne(this.options.endpoint.hostname)){we.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},fe=this._objectName(fe),ve.method=ve.method||"GET",me=le.timestamp()+(ve.expires||1800),pe={bucket:this.options.bucket,object:fe},he=this._getResource(pe),!(this.options.stsToken&&b(this.options.refreshSTSToken))){we.next=11;break}return we.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),ye=ae._signatureForURL(this.options.accessKeySecret,ve,he,me),Pe=ce.parse(this._getReqUrl(pe)),Pe.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,Signature:ye.Signature},de(ye.subResource).to(Pe.query),we.abrupt("return",Pe.format());case 17:case"end":return we.stop()}},se,this)}));function re(se,fe){return ee.apply(this,arguments)}return re}()},{"../../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/typeof")),ce=oe(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),de=le.checkBucketName,ae=ge,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ne=(0,ce.default)(te.default.mark(function y(x,b,z,ee){var re,se,fe;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return(0,ue.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(pe){ee.headers["x-oss-copy-source-".concat(pe.toLowerCase())]=ee.headers[pe]}),(ee.meta||Object.keys(ee.headers).find(function(pe){return ie.includes(pe.toLowerCase())}))&&(ee.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ee.meta,ee.headers),b=this._getSourceName(b,z),ee.versionId&&(b="".concat(b,"?versionId=").concat(ee.versionId)),ee.headers["x-oss-copy-source"]=b,re=this._objectRequestParams("PUT",x,ee),re.xmlResponse=!0,re.successStatuses=[200,304],me.next=14,this.request(re);case 14:return se=me.sent,fe=se.data,fe&&(fe={etag:fe.ETag,lastModified:fe.LastModified}),me.abrupt("return",{data:fe,res:se.res});case 18:case"end":return me.stop()}},y,this)}));function a(y,x,b,z){return ne.apply(this,arguments)}return a}(),ae._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")),de(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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.delete=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("utility"),le=E("../utils/obj2xml"),de=le.obj2xml,ae=ge;ae.deleteMulti=function(){var ie=(0,ue.default)(te.default.mark(function a(y){var x,b,z,ee,re,se,fe,ve,me,pe,he,ye,Pe,Oe=arguments;return te.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(x=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{},b=[],!(!y||!y.length)){Te.next=4;break}throw new Error("names is required");case 4:for(z=0;z<y.length;z++)ee={},typeof y[z]=="string"?ee.Key=ce.escape(this._objectName(y[z])):(re=y[z],se=re.key,fe=re.versionId,ee.Key=ce.escape(this._objectName(se)),ee.VersionId=fe),b.push(ee);return ve={Delete:{Quiet:!!x.quiet,Object:b}},me=de(ve,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),pe=this._objectRequestParams("POST","",x),pe.mime="xml",pe.content=me,pe.xmlResponse=!0,pe.successStatuses=[200],Te.next=16,this.request(pe);case 16:return he=Te.sent,ye=he.data,Pe=ye&&ye.Deleted||null,Pe&&(Array.isArray(Pe)||(Pe=[Pe])),Te.abrupt("return",{res:he.res,deleted:Pe||[]});case 21:case"end":return Te.stop()}},a,this)}));function ne(a){return ie.apply(this,arguments)}return ne}()},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.deleteObjectTagging=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({tagging:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";E("core-js/modules/es.array.concat.js");var oe=E("url"),te=E("../utils/isIP"),ue=te.isIP,ce=ge;ce.generateObjectUrl=function(de,ae){if(ue(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ae)ae[ae.length-1]!=="/"&&(ae+="/");else{ae=this.options.endpoint.format();var ie=oe.parse(ae),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),ae=ie.format()}return ae+this._escape(this._objectName(de))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ce=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),de=E("is-type-of"),ae=ge;ae.get=function(){var ie=(0,ce.default)(ue.default.mark(function a(y,x){var b,z,ee,re,se,fe,ve,me,pe=arguments;return ue.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return b=pe.length>2&&pe[2]!==void 0?pe[2]:{},z=null,ee=!1,de.writableStream(x)?z=x:de.string(x)?(z=le.createWriteStream(x),ee=!0):b=x,b=b||{},re=oe&&oe.browser,se=b.responseCacheControl===null?"":"no-cache",fe=re&&se?{"response-cache-control":se}:{},b.subres=Object.assign(fe,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),ye.prev=11,me=this._objectRequestParams("GET",y,b),me.writeStream=z,me.successStatuses=[200,206,304],ye.next=17,this.request(me);case 17:ve=ye.sent,ee&&z.destroy(),ye.next=28;break;case 21:if(ye.prev=21,ye.t0=ye.catch(11),!ee){ye.next=27;break}return z.destroy(),ye.next=27,this._deleteFileSafe(x);case 27:throw ye.t0;case 28:return ye.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return ye.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.getACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({acl:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge,le=E("../utils/isObject"),de=le.isObject,ae=E("../utils/isArray"),ie=ae.isArray;ce.getBucketVersions=ne,ce.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,ue.default)(te.default.mark(function b(){var z,ee,re,se,fe,ve,me,pe,he=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(z=he.length>0&&he[0]!==void 0?he[0]:{},ee=he.length>1&&he[1]!==void 0?he[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){Pe.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=x(z),Pe.next=12,this.request(re);case 12:return se=Pe.sent,fe=se.data.Version||[],ve=se.data.DeleteMarker||[],me=this,fe&&(Array.isArray(fe)||(fe=[fe]),fe=fe.map(function(Oe){return{name:Oe.Key,url:me._objectUrl(Oe.Key),lastModified:Oe.LastModified,isLatest:Oe.IsLatest==="true",versionId:Oe.VersionId,etag:Oe.ETag,type:Oe.Type,size:Number(Oe.Size),storageClass:Oe.StorageClass,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(Oe){return{name:Oe.Key,lastModified:Oe.LastModified,versionId:Oe.VersionId,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),pe=se.data.CommonPrefixes||null,pe&&(ie(pe)||(pe=[pe]),pe=pe.map(function(Oe){return Oe.Prefix})),Pe.abrupt("return",{res:se.res,objects:fe,deleteMarker:ve,prefixes:pe,nextMarker:se.data.NextKeyMarker||null,NextVersionIdMarker:se.data.NextVersionIdMarker||null,nextKeyMarker:se.data.NextKeyMarker||null,nextVersionIdMarker:se.data.NextVersionIdMarker||null,isTruncated:se.data.IsTruncated==="true"});case 21:case"end":return Pe.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return de(b)&&Object.keys(b).forEach(function(ee){z[y(ee)]=b[ee]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.getObjectMeta=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ne=ne||{},ie=this._objectName(ie),ne.subres=Object.assign({objectMeta:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("HEAD",ie,ne),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()}},ae,this)}));function de(ae,ie){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge,le=E("../utils/isObject"),de=le.isObject;ce.getObjectTagging=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee,re,se=arguments;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=se.length>1&&se[1]!==void 0?se[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&de(ee)?[ee]:ee||[],re={},ee.forEach(function(me){re[me.Key]=me.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../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,Se,ge){"use strict";var oe=E("../utils/isIP"),te=oe.isIP,ue=ge;ue.getObjectUrl=function(le,de){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return de?de[de.length-1]!=="/"&&(de+="/"):de=this.options.endpoint.format(),de+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.getSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x,b=arguments;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ne=b.length>1&&b[1]!==void 0?b[1]:{},ne.subres=Object.assign({symlink:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],ee.next=8,this.request(a);case 8:return y=ee.sent,x=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return ee.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkEnv"),le=ce.checkEnv,de=ge;de.head=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},le("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],se.next=8,this.request(x);case 8:return b=se.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(fe){fe.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[fe.substring(11)]=b.headers[fe])}),se.abrupt("return",z);case 12:case"end":return se.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.putACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ne,ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},ae,this)}));function de(ae,ie,ne){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/obj2xml"),le=ce.obj2xml,de=E("../utils/checkObjectTag"),ae=de.checkObjectTag,ie=ge;ie.putObjectTagging=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=fe.length>2&&fe[2]!==void 0?fe[2]:{},ae(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),ee=this._objectRequestParams("PUT",x,z),ee.successStatuses=[200],b=Object.keys(b).map(function(pe){return{Key:pe,Value:b[pe]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=le(re),me.next=13,this.request(ee);case 13:return se=me.sent,me.abrupt("return",{res:se.res,status:se.status});case 15:case"end":return me.stop()}},y,this)}));function a(y,x){return ne.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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=ge;ce.putSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ne=this._escape(this._objectName(ne)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ne,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},ae,this)}));function de(ae,ie,ne){return le.apply(this,arguments)}return de}()},{"@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,Se,ge){"use strict";var oe=E("url"),te=E("utility"),ue=E("copy-to"),ce=E("../../common/signUtils"),le=E("../utils/isIP"),de=le.isIP,ae=ge;ae.signatureUrl=function(ne,a){if(de(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ne=this._objectName(ne),a.method=a.method||"GET";var y=te.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ne},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=ce._signatureForURL(this.options.accessKeySecret,a,b,y),ee=oe.parse(this._getReqUrl(x));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},ue(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("./utils/isArray"),le=ce.isArray,de=ge;de._parallelNode=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b){var z,ee,re,se,fe,ve,me,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=this,ee=[],re=[],se=a.length/y,fe=a.length%y,ve=fe===0?se:(a.length-fe)/y+1,me=1,pe=0;case 8:if(!(pe<a.length)){ye.next=26;break}if(!z.isCancel()){ye.next=11;break}return ye.abrupt("break",26);case 11:if(b?re.push(x(z,a[pe],b)):re.push(x(z,a[pe])),!(re.length===y||me===ve&&pe===a.length-1)){ye.next=23;break}return ye.prev=13,me+=1,ye.next=17,Promise.all(re);case 17:ye.next=22;break;case 19:ye.prev=19,ye.t0=ye.catch(13),ee.push(ye.t0);case 22:re=[];case 23:pe++,ye.next=8;break;case 26:return ye.abrupt("return",ee);case 27:case"end":return ye.stop()}},ne,this,[[13,19]])}));function ie(ne,a,y,x){return ae.apply(this,arguments)}return ie}(),de._parallel=function(ie,ne,a){var y=this;return new Promise(function(x){var b=[];if(ne<=0||!ie){x(b);return}function z(ye){return function(){if(ye===null)throw new Error("Callback was already called.");var Pe=ye;ye=null;for(var Oe=arguments.length,we=new Array(Oe),Te=0;Te<Oe;Te++)we[Te]=arguments[Te];Pe.apply(this,we)}}function ee(ye){var Pe=-1,Oe=ye.length;return function(){return++Pe<Oe&&!y.isCancel()?{value:ye[Pe],key:Pe}:null}}var re=ee(ie),se=!1,fe=0,ve=!1;function me(ye){fe-=1,ye?(se=!0,b.push(ye),x(b)):se&&fe<=0?(se=!0,x(b)):ve||(y.isCancel()?x(b):he())}function pe(ye,Pe){a(ye).then(function(Oe){Pe(null,Oe)}).catch(function(Oe){Pe(Oe)})}function he(){for(ve=!0;fe<ne&&!se&&!y.isCancel();){var ye=re();if(ye===null||b.length>0){se=!0,fe<=0&&x(b);return}fe+=1,pe(ye.value,z(me))}ve=!1}he()})},de.cancel=function(ie){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ne){if(ne.destroyed===!1){var a={name:"cancel",message:"cancel"};ne.destroy(a)}}),this.multipartUploadStreams=[],ie&&this.abortMultipartUpload(ie.name,ie.uploadId,ie.options)},de.isCancel=function(){return this.options.cancelFlag},de.resetCancelFlag=function(){this.options.cancelFlag=!1},de._stop=function(){this.options.cancelFlag=!0},de._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},de._makeAbortEvent=function(){var ie={status:0,name:"abort",message:"upload task has been abort"};return ie}},{"./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,Se,ge){(function(oe){(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 te=E("./../../shims/crypto/crypto.js"),ue=E("is-type-of"),ce=E("./utils/lowercaseKeyHeader"),le=ce.lowercaseKeyHeader;ge.buildCanonicalizedResource=function(ae,ie){var ne="".concat(ae),a="?";if(ue.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(ue.array(ie))ie.sort(),ne+=a+ie.join("&");else if(ie){var y=function(z,ee){return z[0]>ee[0]?1:z[0]<ee[0]?-1:0},x=function(z){ne+=a+z,(ie[z]||ie[z]===0)&&(ne+="=".concat(ie[z])),a="&"};Object.keys(ie).sort(y).forEach(x)}return ne},ge.buildCanonicalString=function(ae,ie,ne,a){ne=ne||{};var y=le(ne.headers),x="x-oss-",b=[],z={},ee=[ae.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(re){var se=re.toLowerCase();se.indexOf(x)===0&&(z[se]=String(y[re]).trim())}),Object.keys(z).sort().forEach(function(re){b.push("".concat(re,":").concat(z[re]))}),ee=ee.concat(b),ee.push(this.buildCanonicalizedResource(ie,ne.parameters)),ee.join(`
`)},ge.computeSignature=function(ae,ie){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",ae);return a.update(oe.from(ie,ne)).digest("base64")},ge.authorization=function(ae,ie,ne,a){return"OSS ".concat(ae,":").concat(this.computeSignature(ie,ne,a))},ge._signatureForURL=function(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=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=ie.subResource,z=b===void 0?{}:b;if(ie.process){var ee="x-oss-process";z[ee]=ie.process}if(ie.trafficLimit){var re="x-oss-traffic-limit";z[re]=ie.trafficLimit}if(ie.response&&Object.keys(ie.response).forEach(function(me){var pe="response-".concat(me.toLowerCase());z[pe]=ie.response[me]}),Object.keys(ie).forEach(function(me){var pe=me.toLowerCase(),he=ie[me];pe.indexOf("x-oss-")===0?x[pe]=he:(pe.indexOf("content-md5")===0||pe.indexOf("content-type")===0)&&(x[me]=he)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var se={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(se.callbackHost=ie.callback.host),ie.callback.contentType&&(se.callbackBodyType=ie.callback.contentType),z.callback=oe.from(JSON.stringify(se)).toString("base64"),ie.callback.customValue){var fe={};Object.keys(ie.callback.customValue).forEach(function(me){fe["x:".concat(me)]=ie.callback.customValue[me]}),z["callback-var"]=oe.from(JSON.stringify(fe)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(ae,ve,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,Se,ge){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.checkBucketName=void 0,ge.checkBucketName=function(oe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ue.test(oe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,Se,ge){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.checkConfigValid=void 0;var oe={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(ue){return typeof ue=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ue):ue.host?/^[a-zA-Z0-9._:/-]+$/.test(ue.host):!1}ge.checkConfigValid=function(ue,ce){if(oe[ce]){var le=!0;if(oe[ce]instanceof Function?le=oe[ce](ue):le=oe[ce].test(ue),!le)throw new Error("The ".concat(ce," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,Se,ge){(function(oe){(function(){"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.checkEnv=void 0;function te(ue){oe.browser&&console.warn(ue)}ge.checkEnv=te}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,Se,ge){"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(ge,"__esModule",{value:!0}),ge.checkObjectTag=void 0;var oe=E("./checkValid"),te=oe.checkValid,ue=E("./isObject"),ce=ue.isObject,le=[{validator:function(ne){if(typeof ne!="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 (/)"}],de={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ae(ie){if(!ce(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(x,b){te(x,de[a[b]])})})}ge.checkObjectTag=ae},{"./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,Se,ge){"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(ge,"__esModule",{value:!0}),ge.checkValid=void 0;function oe(te,ue){ue.forEach(function(ce){if(ce.validator)ce.validator(te);else if(ce.pattern&&!ce.pattern.test(te))throw new Error(ce.msg)})}ge.checkValid=oe},{"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,Se,ge){(function(oe){(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(ge,"__esModule",{value:!0}),ge.createRequest=void 0;var te=E("./../../../shims/crypto/crypto.js"),ue=E("debug")("ali-oss"),ce=E("mime"),le=E("dateformat"),de=E("copy-to"),ae=E("path"),ie=E("./encoder"),ne=ie.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),ee=z.getReqUrl,re=E("./isDingTalk"),se=re.isDingTalk;function fe(pe,he){return pe[he]||pe[he.toLowerCase()]}function ve(pe,he){delete pe[he],delete pe[he.toLowerCase()]}function me(pe){var he=new Date;this.options.amendTimeSkewed&&(he=+new Date+this.options.amendTimeSkewed);var ye={"x-oss-date":le(he,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(ye["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(ye["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(ye,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(ye["x-oss-security-token"]=this.options.stsToken),de(pe.headers).to(ye),fe(ye,"Content-Type")||(pe.mime&&pe.mime.indexOf("/")>0?ye["Content-Type"]=pe.mime:se()?ye["Content-Type"]="application/octet-stream":ye["Content-Type"]=ce.getType(pe.mime||ae.extname(pe.object||""))),fe(ye,"Content-Type")||ve(ye,"Content-Type"),pe.content&&(pe.disabledMD5||(!pe.headers||!pe.headers["Content-MD5"]?ye["Content-MD5"]=te.createHash("md5").update(oe.from(pe.content,"utf8")).digest("base64"):ye["Content-MD5"]=pe.headers["Content-MD5"]),ye["Content-Length"]||(ye["Content-Length"]=pe.content.length));var Pe=Object.prototype.hasOwnProperty;for(var Oe in ye)ye[Oe]&&Pe.call(ye,Oe)&&(ye[Oe]=ne(String(ye[Oe]),this.options.headerEncoding));var we=this._getResource(pe);if(ye.authorization=this.authorization(pe.method,we,pe.subres,ye,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Te=this.options,Me=Te.region,Fe=Te.internal,$e=Te.secure,Ve=b(Me,Fe,$e);ye.host="".concat(pe.bucket,".").concat(Ve.host)}var Re=ee.bind(this)(pe);ue("request %s %s, with headers %j, !!stream: %s",pe.method,Re,ye,!!pe.stream);var st=pe.timeout||this.options.timeout,rt={method:pe.method,content:pe.content,stream:pe.stream,headers:ye,timeout:st,writeStream:pe.writeStream,customResponse:pe.customResponse,ctx:pe.ctx||this.ctx};return this.agent&&(rt.agent=this.agent),this.httpsAgent&&(rt.httpsAgent=this.httpsAgent),rt.enableProxy=!!this.options.enableProxy,rt.proxy=this.options.proxy?this.options.proxy:null,{url:Re,params:rt}}ge.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,Se,ge){"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(ge,"__esModule",{value:!0}),ge.dataFix=void 0;var oe=E("./isObject"),te=["true","TRUE","1",1],ue=["false","FALSE","0",0];function ce(ae,ie,ne){if(oe.isObject(ae)){var a=ie.remove,y=a===void 0?[]:a,x=ie.rename,b=x===void 0?{}:x,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,se=re===void 0?[]:re,fe=ie.lowerFirst,ve=fe===void 0?!1:fe;return y.forEach(function(me){return delete ae[me]}),Object.entries(b).forEach(function(me){ae[me[0]]&&(ae[me[1]]||(ae[me[1]]=ae[me[0]],delete ae[me[0]]))}),ee.forEach(function(me){if(ae[me]){var pe=me.replace(/^(.)/,function(he){return he.toLowerCase()}).replace(/-(\w)/g,function(he,ye){return ye.toUpperCase()});ae[pe]||(ae[pe]=ae[me])}}),se.forEach(function(me){ae[me]=le(ae[me])}),typeof ne=="function"&&ne(ae),de(ae,ve),ce}}ge.dataFix=ce;function le(ae){return ae?te.includes(ae)?!0:ue.includes(ae)?!1:ae:!1}function de(ae,ie){ie&&Object.keys(ae).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof ae[a]=="undefined"&&(ae[a]=ae[ne],delete ae[ne])})}},{"./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,Se,ge){"use strict";var oe=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 te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.deepCopyWith=ge.deepCopy=void 0;var ue=E("./isBuffer");ge.deepCopy=function(ce){if(ce===null||(0,te.default)(ce)!=="object")return ce;if(ue.isBuffer(ce))return ce.slice();var le=Array.isArray(ce)?[]:{};return Object.keys(ce).forEach(function(de){le[de]=ge.deepCopy(ce[de])}),le},ge.deepCopyWith=function(ce,le){function de(ae,ie,ne){var a=le(ae,ie,ne);if(a!==void 0)return a;if(ae===null||(0,te.default)(ae)!=="object")return ae;if(ue.isBuffer(ae))return ae.slice();var y=Array.isArray(ae)?[]:{};return Object.keys(ae).forEach(function(x){y[x]=de(ae[x],x,ae)}),y}return le?de(ce,"",null):ge.deepCopy(ce)}},{"./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,Se,ge){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.encoder=void 0;function te(ue){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ce==="utf-8"?ue:oe.from(ue).toString("latin1")}ge.encoder=te}).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,Se,ge){"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(ge,"__esModule",{value:!0}),ge.formatInventoryConfig=void 0;var oe=E("../utils/dataFix"),te=E("../utils/isObject"),ue=E("../utils/isArray"),ce=E("../utils/formatObjKey");function le(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(ae)&&(ae=[ae]),ue.isArray(ae)?ae=ae.map(de):ae=de(ae),ae}ge.formatInventoryConfig=le;function de(ae){return oe.dataFix(ae,{bool:["IsEnabled"]},function(ie){var ne,a;ie.prefix=ie.Filter.Prefix,delete ie.Filter,ie.OSSBucketDestination=ie.Destination.OSSBucketDestination,ie.OSSBucketDestination.rolename=ie.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ie.OSSBucketDestination.RoleArn,ie.OSSBucketDestination.bucket=ie.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ie.OSSBucketDestination.Bucket,delete ie.Destination,ie.frequency=ie.Schedule.Frequency,delete ie.Schedule.Frequency,!((ne=ie==null?void 0:ie.OptionalFields)===null||ne===void 0)&&ne.Field&&!ue.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),ae=ce.formatObjKey(ae,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ae}},{"../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,Se,ge){"use strict";var oe=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 te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.formatObjKey=void 0;function ue(le,de,ae){if(le===null||(0,te.default)(le)!=="object")return le;var ie;if(Array.isArray(le)){ie=[];for(var ne=0;ne<le.length;ne++)ie.push(ue(le[ne],de,ae))}else ie={},Object.keys(le).forEach(function(a){ie[ce(a,de,ae)]=ue(le[a],de,ae)});return ie}ge.formatObjKey=ue;function ce(le,de,ae){return ae&&ae.exclude&&ae.exclude.includes(le)||(de==="firstUpperCase"?le=le.replace(/^./,function(ie){return ie.toUpperCase()}):de==="firstLowerCase"&&(le=le.replace(/^./,function(ie){return ie.toLowerCase()}))),le}},{"@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,Se,ge){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.getStrBytesCount=void 0;function oe(te){for(var ue=0,ce=0;ce<te.length;ce++){var le=te.charAt(ce);/^[\u00-\uff]$/.test(le)?ue+=1:ue+=2}return ue}ge.getStrBytesCount=oe},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,Se,ge){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.isArray=void 0,ge.isArray=function(oe){return Object.prototype.toString.call(oe)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,Se,ge){"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.isBlob=void 0;function oe(te){return typeof Blob!="undefined"&&te instanceof Blob}ge.isBlob=oe},{}],65:[function(E,Se,ge){(function(oe){(function(){"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.isBuffer=void 0;function te(ue){return oe.isBuffer(ue)}ge.isBuffer=te}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,Se,ge){(function(oe){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.isDingTalk=void 0;function te(){return!!(oe.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}ge.isDingTalk=te}).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,Se,ge){"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.isFile=void 0,ge.isFile=function(oe){return typeof File!="undefined"&&oe instanceof File}},{}],68:[function(E,Se,ge){"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.isFunction=void 0,ge.isFunction=function(oe){return typeof oe=="function"}},{}],69:[function(E,Se,ge){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.isIP=void 0,ge.isIP=function(oe){var te=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ue=/^\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 te.test(oe)||ue.test(oe)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,Se,ge){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.isObject=void 0,ge.isObject=function(oe){return Object.prototype.toString.call(oe)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,Se,ge){"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(ge,"__esModule",{value:!0}),ge.lowercaseKeyHeader=void 0;var oe=E("./isObject");function te(ue){var ce={};return oe.isObject(ue)&&Object.keys(ue).forEach(function(le){ce[le.toLowerCase()]=ue[le]}),ce}ge.lowercaseKeyHeader=te},{"./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,Se,ge){"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(ge,"__esModule",{value:!0}),ge.obj2xml=void 0;var oe=E("./formatObjKey");function te(ce){return Object.prototype.toString.call(ce).replace(/(.*? |])/g,"").toLowerCase()}function ue(ce,le){var de="";return le&&le.headers&&(de=`<?xml version="1.0" encoding="UTF-8"?>
`),le&&le.firstUpperCase&&(ce=oe.formatObjKey(ce,"firstUpperCase")),te(ce)==="object"?Object.keys(ce).forEach(function(ae){te(ce[ae])!=="undefined"&&te(ce[ae])!=="null"&&(te(ce[ae])==="string"||te(ce[ae])==="number"?de+="<".concat(ae,">").concat(ce[ae],"</").concat(ae,">"):te(ce[ae])==="object"?de+="<".concat(ae,">").concat(ue(ce[ae]),"</").concat(ae,">"):te(ce[ae])==="array"?de+=ce[ae].map(function(ie){return"<".concat(ae,">").concat(ue(ie),"</").concat(ae,">")}).join(""):de+="<".concat(ae,">").concat(ce[ae].toString(),"</").concat(ae,">"))}):de+=ce.toString(),de}ge.obj2xml=ue},{"./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,Se,ge){"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 oe(le,de){var ae=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!ae){if(Array.isArray(le)||(ae=te(le))||de&&le&&typeof le.length=="number"){ae&&(le=ae);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=le.length?{done:!0}:{done:!1,value:le[ie++]}},e:function(z){throw z},f:ne}}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(){ae=ae.call(le)},n:function(){var z=ae.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&ae.return!=null&&ae.return()}finally{if(y)throw x}}}}function te(le,de){if(le){if(typeof le=="string")return ue(le,de);var ae=Object.prototype.toString.call(le).slice(8,-1);if(ae==="Object"&&le.constructor&&(ae=le.constructor.name),ae==="Map"||ae==="Set")return Array.from(le);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return ue(le,de)}}function ue(le,de){(de==null||de>le.length)&&(de=le.length);for(var ae=0,ie=new Array(de);ae<de;ae++)ie[ae]=le[ae];return ie}Object.defineProperty(ge,"__esModule",{value:!0}),ge.omit=void 0;function ce(le,de){var ae=Object.assign({},le),ie=oe(de),ne;try{for(ie.s();!(ne=ie.n()).done;){var a=ne.value;delete ae[a]}}catch(y){ie.e(y)}finally{ie.f()}return ae}ge.omit=ce},{"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,Se,ge){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(ge,"__esModule",{value:!0}),ge.retry=void 0;function oe(te,ue){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},le=0,de=ce.retryDelay,ae=de===void 0?500:de,ie=ce.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z<x;z++)b[z]=arguments[z];return new Promise(function(ee,re){te.apply(void 0,b).then(function(se){le=0,ee(se)}).catch(function(se){le<ue&&ne(se)?(le++,setTimeout(function(){ee(y.apply(void 0,b))},ae)):(le=0,re(se))})})};return a}ge.retry=oe},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,Se,ge){"use strict";var oe=function(le){return le&&le.__esModule?le:{default:le}};Object.defineProperty(ge,"__esModule",{value:!0}),ge.setRegion=void 0;var te=oe(E("url")),ue=E("./checkConfigValid");function ce(le){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ue.checkConfigValid(le,"region");var ie=ae?"https://":"http://",ne=de?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return le.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+le+ne)}ge.setRegion=ce},{"./checkConfigValid":52,url:472}],76:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ge,"__esModule",{value:!0}),ge.checkCredentials=ge.setSTSToken=void 0;var ce=E("./formatObjKey");function le(){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ne,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=ce.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),ae(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ie,this)})),de.apply(this,arguments)}ge.setSTSToken=le;function ae(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}ge.checkCredentials=ae},{"./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,Se,ge){function oe(ue,ce,le,de,ae,ie,ne){try{var a=ue[ie](ne),y=a.value}catch(x){le(x);return}a.done?ce(y):Promise.resolve(y).then(de,ae)}function te(ue){return function(){var ce=this,le=arguments;return new Promise(function(de,ae){var ie=ue.apply(ce,le);function ne(y){oe(ie,de,ae,ne,a,"next",y)}function a(y){oe(ie,de,ae,ne,a,"throw",y)}ne(void 0)})}}Se.exports=te,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],78:[function(E,Se,ge){function oe(te){return te&&te.__esModule?te:{default:te}}Se.exports=oe,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],79:[function(E,Se,ge){function oe(te){"@babel/helpers - typeof";return Se.exports=oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},Se.exports.__esModule=!0,Se.exports.default=Se.exports,oe(te)}Se.exports=oe,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],80:[function(E,Se,ge){Se.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,Se,ge){Se.exports=oe,Se.exports.HttpsAgent=oe;function oe(){}},{}],82:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=E("object-assign");function ue(Me,Fe){if(Me===Fe)return 0;for(var $e=Me.length,Ve=Fe.length,Re=0,st=Math.min($e,Ve);Re<st;++Re)if(Me[Re]!==Fe[Re]){$e=Me[Re],Ve=Fe[Re];break}return $e<Ve?-1:Ve<$e?1:0}function ce(Me){return oe.Buffer&&typeof oe.Buffer.isBuffer=="function"?oe.Buffer.isBuffer(Me):!!(Me!=null&&Me._isBuffer)}var le=E("util/"),de=Object.prototype.hasOwnProperty,ae=Array.prototype.slice,ie=function(){return function(){}.name==="foo"}();function ne(Me){return Object.prototype.toString.call(Me)}function a(Me){return ce(Me)||typeof oe.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Me):Me?!!(Me instanceof DataView||Me.buffer&&Me.buffer instanceof ArrayBuffer):!1}var y=Se.exports=fe,x=/\s*function\s+([^\(\s]*)\s*/;function b(Me){if(le.isFunction(Me)){if(ie)return Me.name;var Fe=Me.toString(),$e=Fe.match(x);return $e&&$e[1]}}y.AssertionError=function(Fe){this.name="AssertionError",this.actual=Fe.actual,this.expected=Fe.expected,this.operator=Fe.operator,Fe.message?(this.message=Fe.message,this.generatedMessage=!1):(this.message=re(this),this.generatedMessage=!0);var $e=Fe.stackStartFunction||se;if(Error.captureStackTrace)Error.captureStackTrace(this,$e);else{var Ve=new Error;if(Ve.stack){var Re=Ve.stack,st=b($e),rt=Re.indexOf(`
`+st);if(rt>=0){var et=Re.indexOf(`
`,rt+1);Re=Re.substring(et+1)}this.stack=Re}}},le.inherits(y.AssertionError,Error);function z(Me,Fe){return typeof Me=="string"?Me.length<Fe?Me:Me.slice(0,Fe):Me}function ee(Me){if(ie||!le.isFunction(Me))return le.inspect(Me);var Fe=b(Me),$e=Fe?": "+Fe:"";return"[Function"+$e+"]"}function re(Me){return z(ee(Me.actual),128)+" "+Me.operator+" "+z(ee(Me.expected),128)}function se(Me,Fe,$e,Ve,Re){throw new y.AssertionError({message:$e,actual:Me,expected:Fe,operator:Ve,stackStartFunction:Re})}y.fail=se;function fe(Me,Fe){Me||se(Me,!0,Fe,"==",y.ok)}y.ok=fe,y.equal=function(Fe,$e,Ve){Fe!=$e&&se(Fe,$e,Ve,"==",y.equal)},y.notEqual=function(Fe,$e,Ve){Fe==$e&&se(Fe,$e,Ve,"!=",y.notEqual)},y.deepEqual=function(Fe,$e,Ve){ve(Fe,$e,!1)||se(Fe,$e,Ve,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Fe,$e,Ve){ve(Fe,$e,!0)||se(Fe,$e,Ve,"deepStrictEqual",y.deepStrictEqual)};function ve(Me,Fe,$e,Ve){if(Me===Fe)return!0;if(ce(Me)&&ce(Fe))return ue(Me,Fe)===0;if(le.isDate(Me)&&le.isDate(Fe))return Me.getTime()===Fe.getTime();if(le.isRegExp(Me)&&le.isRegExp(Fe))return Me.source===Fe.source&&Me.global===Fe.global&&Me.multiline===Fe.multiline&&Me.lastIndex===Fe.lastIndex&&Me.ignoreCase===Fe.ignoreCase;if((Me===null||typeof Me!="object")&&(Fe===null||typeof Fe!="object"))return $e?Me===Fe:Me==Fe;if(a(Me)&&a(Fe)&&ne(Me)===ne(Fe)&&!(Me instanceof Float32Array||Me instanceof Float64Array))return ue(new Uint8Array(Me.buffer),new Uint8Array(Fe.buffer))===0;if(ce(Me)!==ce(Fe))return!1;Ve=Ve||{actual:[],expected:[]};var Re=Ve.actual.indexOf(Me);return Re!==-1&&Re===Ve.expected.indexOf(Fe)?!0:(Ve.actual.push(Me),Ve.expected.push(Fe),pe(Me,Fe,$e,Ve))}function me(Me){return Object.prototype.toString.call(Me)=="[object Arguments]"}function pe(Me,Fe,$e,Ve){if(Me==null||Fe===null||Fe===void 0)return!1;if(le.isPrimitive(Me)||le.isPrimitive(Fe))return Me===Fe;if($e&&Object.getPrototypeOf(Me)!==Object.getPrototypeOf(Fe))return!1;var Re=me(Me),st=me(Fe);if(Re&&!st||!Re&&st)return!1;if(Re)return Me=ae.call(Me),Fe=ae.call(Fe),ve(Me,Fe,$e);var rt=Te(Me),et=Te(Fe),qe,ze;if(rt.length!==et.length)return!1;for(rt.sort(),et.sort(),ze=rt.length-1;ze>=0;ze--)if(rt[ze]!==et[ze])return!1;for(ze=rt.length-1;ze>=0;ze--)if(qe=rt[ze],!ve(Me[qe],Fe[qe],$e,Ve))return!1;return!0}y.notDeepEqual=function(Fe,$e,Ve){ve(Fe,$e,!1)&&se(Fe,$e,Ve,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=he;function he(Me,Fe,$e){ve(Me,Fe,!0)&&se(Me,Fe,$e,"notDeepStrictEqual",he)}y.strictEqual=function(Fe,$e,Ve){Fe!==$e&&se(Fe,$e,Ve,"===",y.strictEqual)},y.notStrictEqual=function(Fe,$e,Ve){Fe===$e&&se(Fe,$e,Ve,"!==",y.notStrictEqual)};function ye(Me,Fe){if(!Me||!Fe)return!1;if(Object.prototype.toString.call(Fe)=="[object RegExp]")return Fe.test(Me);try{if(Me instanceof Fe)return!0}catch($e){}return Error.isPrototypeOf(Fe)?!1:Fe.call({},Me)===!0}function Pe(Me){var Fe;try{Me()}catch($e){Fe=$e}return Fe}function Oe(Me,Fe,$e,Ve){var Re;if(typeof Fe!="function")throw new TypeError('"block" argument must be a function');typeof $e=="string"&&(Ve=$e,$e=null),Re=Pe(Fe),Ve=($e&&$e.name?" ("+$e.name+").":".")+(Ve?" "+Ve:"."),Me&&!Re&&se(Re,$e,"Missing expected exception"+Ve);var st=typeof Ve=="string",rt=!Me&&le.isError(Re),et=!Me&&Re&&!$e;if((rt&&st&&ye(Re,$e)||et)&&se(Re,$e,"Got unwanted exception"+Ve),Me&&Re&&$e&&!ye(Re,$e)||!Me&&Re)throw Re}y.throws=function(Me,Fe,$e){Oe(!0,Me,Fe,$e)},y.doesNotThrow=function(Me,Fe,$e){Oe(!1,Me,Fe,$e)},y.ifError=function(Me){if(Me)throw Me};function we(Me,Fe){Me||se(Me,!0,Fe,"==",we)}y.strict=te(we,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Te=Object.keys||function(Me){var Fe=[];for(var $e in Me)de.call(Me,$e)&&Fe.push($e);return Fe}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,Se,ge){typeof Object.create=="function"?Se.exports=function(te,ue){te.super_=ue,te.prototype=Object.create(ue.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:Se.exports=function(te,ue){te.super_=ue;var ce=function(){};ce.prototype=ue.prototype,te.prototype=new ce,te.prototype.constructor=te}},{}],84:[function(E,Se,ge){Se.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(E,Se,ge){(function(oe,te){(function(){var ue=/%[sdj%]/g;ge.format=function(et){if(!pe(et)){for(var qe=[],ze=0;ze<arguments.length;ze++)qe.push(de(arguments[ze]));return qe.join(" ")}for(var ze=1,ke=arguments,Be=ke.length,Je=String(et).replace(ue,function(dt){if(dt==="%%")return"%";if(ze>=Be)return dt;switch(dt){case"%s":return String(ke[ze++]);case"%d":return Number(ke[ze++]);case"%j":try{return JSON.stringify(ke[ze++])}catch(He){return"[Circular]"}default:return dt}}),Ye=ke[ze];ze<Be;Ye=ke[++ze])fe(Ye)||!Oe(Ye)?Je+=" "+Ye:Je+=" "+de(Ye);return Je},ge.deprecate=function(et,qe){if(ye(te.process))return function(){return ge.deprecate(et,qe).apply(this,arguments)};if(oe.noDeprecation===!0)return et;var ze=!1;function ke(){if(!ze){if(oe.throwDeprecation)throw new Error(qe);oe.traceDeprecation?console.trace(qe):console.error(qe),ze=!0}return et.apply(this,arguments)}return ke};var ce={},le;ge.debuglog=function(et){if(ye(le)&&(le=oe.env.NODE_DEBUG||""),et=et.toUpperCase(),!ce[et])if(new RegExp("\\b"+et+"\\b","i").test(le)){var qe=oe.pid;ce[et]=function(){var ze=ge.format.apply(ge,arguments);console.error("%s %d: %s",et,qe,ze)}}else ce[et]=function(){};return ce[et]};function de(et,qe){var ze={seen:[],stylize:ie};return arguments.length>=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),se(qe)?ze.showHidden=qe:qe&&ge._extend(ze,qe),ye(ze.showHidden)&&(ze.showHidden=!1),ye(ze.depth)&&(ze.depth=2),ye(ze.colors)&&(ze.colors=!1),ye(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=ae),a(ze,et,ze.depth)}ge.inspect=de,de.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]},de.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(et,qe){var ze=de.styles[qe];return ze?"\x1B["+de.colors[ze][0]+"m"+et+"\x1B["+de.colors[ze][1]+"m":et}function ie(et,qe){return et}function ne(et){var qe={};return et.forEach(function(ze,ke){qe[ze]=!0}),qe}function a(et,qe,ze){if(et.customInspect&&qe&&Me(qe.inspect)&&qe.inspect!==ge.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var ke=qe.inspect(ze,et);return pe(ke)||(ke=a(et,ke,ze)),ke}var Be=y(et,qe);if(Be)return Be;var Je=Object.keys(qe),Ye=ne(Je);if(et.showHidden&&(Je=Object.getOwnPropertyNames(qe)),Te(qe)&&(Je.indexOf("message")>=0||Je.indexOf("description")>=0))return x(qe);if(Je.length===0){if(Me(qe)){var dt=qe.name?": "+qe.name:"";return et.stylize("[Function"+dt+"]","special")}if(Pe(qe))return et.stylize(RegExp.prototype.toString.call(qe),"regexp");if(we(qe))return et.stylize(Date.prototype.toString.call(qe),"date");if(Te(qe))return x(qe)}var He="",Ue=!1,Le=["{","}"];if(re(qe)&&(Ue=!0,Le=["[","]"]),Me(qe)){var Ke=qe.name?": "+qe.name:"";He=" [Function"+Ke+"]"}if(Pe(qe)&&(He=" "+RegExp.prototype.toString.call(qe)),we(qe)&&(He=" "+Date.prototype.toUTCString.call(qe)),Te(qe)&&(He=" "+x(qe)),Je.length===0&&(!Ue||qe.length==0))return Le[0]+He+Le[1];if(ze<0)return Pe(qe)?et.stylize(RegExp.prototype.toString.call(qe),"regexp"):et.stylize("[Object]","special");et.seen.push(qe);var Ee;return Ue?Ee=b(et,qe,ze,Ye,Je):Ee=Je.map(function(Ie){return z(et,qe,ze,Ye,Ie,Ue)}),et.seen.pop(),ee(Ee,He,Le)}function y(et,qe){if(ye(qe))return et.stylize("undefined","undefined");if(pe(qe)){var ze="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return et.stylize(ze,"string")}if(me(qe))return et.stylize(""+qe,"number");if(se(qe))return et.stylize(""+qe,"boolean");if(fe(qe))return et.stylize("null","null")}function x(et){return"["+Error.prototype.toString.call(et)+"]"}function b(et,qe,ze,ke,Be){for(var Je=[],Ye=0,dt=qe.length;Ye<dt;++Ye)rt(qe,String(Ye))?Je.push(z(et,qe,ze,ke,String(Ye),!0)):Je.push("");return Be.forEach(function(He){He.match(/^\d+$/)||Je.push(z(et,qe,ze,ke,He,!0))}),Je}function z(et,qe,ze,ke,Be,Je){var Ye,dt,He;if(He=Object.getOwnPropertyDescriptor(qe,Be)||{value:qe[Be]},He.get?He.set?dt=et.stylize("[Getter/Setter]","special"):dt=et.stylize("[Getter]","special"):He.set&&(dt=et.stylize("[Setter]","special")),rt(ke,Be)||(Ye="["+Be+"]"),dt||(et.seen.indexOf(He.value)<0?(fe(ze)?dt=a(et,He.value,null):dt=a(et,He.value,ze-1),dt.indexOf(`
`)>-1&&(Je?dt=dt.split(`
`).map(function(Ue){return" "+Ue}).join(`
`).substr(2):dt=`
`+dt.split(`
`).map(function(Ue){return" "+Ue}).join(`
`))):dt=et.stylize("[Circular]","special")),ye(Ye)){if(Je&&Be.match(/^\d+$/))return dt;Ye=JSON.stringify(""+Be),Ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ye=Ye.substr(1,Ye.length-2),Ye=et.stylize(Ye,"name")):(Ye=Ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ye=et.stylize(Ye,"string"))}return Ye+": "+dt}function ee(et,qe,ze){var ke=0,Be=et.reduce(function(Je,Ye){return ke++,Ye.indexOf(`
`)>=0&&ke++,Je+Ye.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Be>60?ze[0]+(qe===""?"":qe+`
`)+" "+et.join(`,
`)+" "+ze[1]:ze[0]+qe+" "+et.join(", ")+" "+ze[1]}function re(et){return Array.isArray(et)}ge.isArray=re;function se(et){return typeof et=="boolean"}ge.isBoolean=se;function fe(et){return et===null}ge.isNull=fe;function ve(et){return et==null}ge.isNullOrUndefined=ve;function me(et){return typeof et=="number"}ge.isNumber=me;function pe(et){return typeof et=="string"}ge.isString=pe;function he(et){return typeof et=="symbol"}ge.isSymbol=he;function ye(et){return et===void 0}ge.isUndefined=ye;function Pe(et){return Oe(et)&&$e(et)==="[object RegExp]"}ge.isRegExp=Pe;function Oe(et){return typeof et=="object"&&et!==null}ge.isObject=Oe;function we(et){return Oe(et)&&$e(et)==="[object Date]"}ge.isDate=we;function Te(et){return Oe(et)&&($e(et)==="[object Error]"||et instanceof Error)}ge.isError=Te;function Me(et){return typeof et=="function"}ge.isFunction=Me;function Fe(et){return et===null||typeof et=="boolean"||typeof et=="number"||typeof et=="string"||typeof et=="symbol"||typeof et=="undefined"}ge.isPrimitive=Fe,ge.isBuffer=E("./support/isBuffer");function $e(et){return Object.prototype.toString.call(et)}function Ve(et){return et<10?"0"+et.toString(10):et.toString(10)}var Re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function st(){var et=new Date,qe=[Ve(et.getHours()),Ve(et.getMinutes()),Ve(et.getSeconds())].join(":");return[et.getDate(),Re[et.getMonth()],qe].join(" ")}ge.log=function(){console.log("%s - %s",st(),ge.format.apply(ge,arguments))},ge.inherits=E("inherits"),ge._extend=function(et,qe){if(!qe||!Oe(qe))return et;for(var ze=Object.keys(qe),ke=ze.length;ke--;)et[ze[ke]]=qe[ze[ke]];return et};function rt(et,qe){return Object.prototype.hasOwnProperty.call(et,qe)}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ue=typeof globalThis=="undefined"?oe:globalThis;Se.exports=function(){for(var le=[],de=0;de<te.length;de++)typeof ue[te[de]]=="function"&&(le[le.length]=te[de]);return le}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,Se,ge){"use strict";ge.byteLength=ie,ge.toByteArray=a,ge.fromByteArray=b;for(var oe=[],te=[],ue=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=0,de=ce.length;le<de;++le)oe[le]=ce[le],te[ce.charCodeAt(le)]=le;te[45]=62,te[95]=63;function ae(z){var ee=z.length;if(ee%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var se=re===ee?0:4-re%4;return[re,se]}function ie(z){var ee=ae(z),re=ee[0],se=ee[1];return(re+se)*3/4-se}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=ae(z),se=re[0],fe=re[1],ve=new ue(ne(z,se,fe)),me=0,pe=fe>0?se-4:se,he;for(he=0;he<pe;he+=4)ee=te[z.charCodeAt(he)]<<18|te[z.charCodeAt(he+1)]<<12|te[z.charCodeAt(he+2)]<<6|te[z.charCodeAt(he+3)],ve[me++]=ee>>16&255,ve[me++]=ee>>8&255,ve[me++]=ee&255;return fe===2&&(ee=te[z.charCodeAt(he)]<<2|te[z.charCodeAt(he+1)]>>4,ve[me++]=ee&255),fe===1&&(ee=te[z.charCodeAt(he)]<<10|te[z.charCodeAt(he+1)]<<4|te[z.charCodeAt(he+2)]>>2,ve[me++]=ee>>8&255,ve[me++]=ee&255),ve}function y(z){return oe[z>>18&63]+oe[z>>12&63]+oe[z>>6&63]+oe[z&63]}function x(z,ee,re){for(var se,fe=[],ve=ee;ve<re;ve+=3)se=(z[ve]<<16&16711680)+(z[ve+1]<<8&65280)+(z[ve+2]&255),fe.push(y(se));return fe.join("")}function b(z){for(var ee,re=z.length,se=re%3,fe=[],ve=16383,me=0,pe=re-se;me<pe;me+=ve)fe.push(x(z,me,me+ve>pe?pe:me+ve));return se===1?(ee=z[re-1],fe.push(oe[ee>>2]+oe[ee<<4&63]+"==")):se===2&&(ee=(z[re-2]<<8)+z[re-1],fe.push(oe[ee>>10]+oe[ee>>4&63]+oe[ee<<2&63]+"=")),fe.join("")}},{}],88:[function(E,Se,ge){(function(oe,te,ue){typeof Se!="undefined"&&Se.exports?Se.exports=ue():typeof be=="function"&&be.amd?be(te,ue):oe[te]=ue()})(this,"bowser",function(){var oe=!0;function te(ne){function a(qe){var ze=ne.match(qe);return ze&&ze.length>1&&ze[1]||""}function y(qe){var ze=ne.match(qe);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ne),z=!b&&/android/i.test(ne),ee=/nexus\s*[0-6]\s*/i.test(ne),re=!ee&&/nexus\s*[0-9]+/i.test(ne),se=/CrOS/.test(ne),fe=/silk/i.test(ne),ve=/sailfish/i.test(ne),me=/tizen/i.test(ne),pe=/(web|hpw)(o|0)s/i.test(ne),he=/windows phone/i.test(ne),ye=/SamsungBrowser/i.test(ne),Pe=!he&&/windows/i.test(ne),Oe=!x&&!fe&&/macintosh/i.test(ne),we=!z&&!ve&&!me&&!pe&&/linux/i.test(ne),Te=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Me=a(/version\/(\d+(\.\d+)?)/i),Fe=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),$e=!Fe&&/[^-]mobi/i.test(ne),Ve=/xbox/i.test(ne),Re;/opera/i.test(ne)?Re={name:"Opera",opera:oe,version:Me||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Re={name:"Opera",opera:oe,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Me}:/SamsungBrowser/i.test(ne)?Re={name:"Samsung Internet for Android",samsungBrowser:oe,version:Me||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Re={name:"NAVER Whale browser",whale:oe,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Re={name:"MZ Browser",mzbrowser:oe,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Re={name:"Opera Coast",coast:oe,version:Me||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Re={name:"Focus",focus:oe,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Re={name:"Yandex Browser",yandexbrowser:oe,version:Me||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Re={name:"UC Browser",ucbrowser:oe,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Re={name:"Maxthon",maxthon:oe,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Re={name:"Epiphany",epiphany:oe,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Re={name:"Puffin",puffin:oe,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Re={name:"Sleipnir",sleipnir:oe,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Re={name:"K-Meleon",kMeleon:oe,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:he?(Re={name:"Windows Phone",osname:"Windows Phone",windowsphone:oe},Te?(Re.msedge=oe,Re.version=Te):(Re.msie=oe,Re.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Re={name:"Internet Explorer",msie:oe,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:se?Re={name:"Chrome",osname:"Chrome OS",chromeos:oe,chromeBook:oe,chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?Re={name:"Microsoft Edge",msedge:oe,version:Te}:/vivaldi/i.test(ne)?Re={name:"Vivaldi",vivaldi:oe,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Me}:ve?Re={name:"Sailfish",osname:"Sailfish OS",sailfish:oe,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Re={name:"SeaMonkey",seamonkey:oe,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Re={name:"Firefox",firefox:oe,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Re.firefoxos=oe,Re.osname="Firefox OS")):fe?Re={name:"Amazon Silk",silk:oe,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Re={name:"PhantomJS",phantom:oe,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Re={name:"SlimerJS",slimer:oe,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Re={name:"BlackBerry",osname:"BlackBerry OS",blackberry:oe,version:Me||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:pe?(Re={name:"WebOS",osname:"WebOS",webos:oe,version:Me||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Re.touchpad=oe)):/bada/i.test(ne)?Re={name:"Bada",osname:"Bada",bada:oe,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:me?Re={name:"Tizen",osname:"Tizen",tizen:oe,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Me}:/qupzilla/i.test(ne)?Re={name:"QupZilla",qupzilla:oe,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Me}:/chromium/i.test(ne)?Re={name:"Chromium",chromium:oe,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Me}:/chrome|crios|crmo/i.test(ne)?Re={name:"Chrome",chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Re={name:"Android",version:Me}:/safari|applewebkit/i.test(ne)?(Re={name:"Safari",safari:oe},Me&&(Re.version=Me)):x?(Re={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Me&&(Re.version=Me)):/googlebot/i.test(ne)?Re={name:"Googlebot",googlebot:oe,version:a(/googlebot\/(\d+(\.\d+))/i)||Me}:Re={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Re.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(Re.name=Re.name||"Blink",Re.blink=oe):(Re.name=Re.name||"Webkit",Re.webkit=oe),!Re.version&&Me&&(Re.version=Me)):!Re.opera&&/gecko\//i.test(ne)&&(Re.name=Re.name||"Gecko",Re.gecko=oe,Re.version=Re.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Re.windowsphone&&(z||Re.silk)?(Re.android=oe,Re.osname="Android"):!Re.windowsphone&&x?(Re[x]=oe,Re.ios=oe,Re.osname="iOS"):Oe?(Re.mac=oe,Re.osname="macOS"):Ve?(Re.xbox=oe,Re.osname="Xbox"):Pe?(Re.windows=oe,Re.osname="Windows"):we&&(Re.linux=oe,Re.osname="Linux");function st(qe){switch(qe){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var rt="";Re.windows?rt=st(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Re.windowsphone?rt=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Re.mac?(rt=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),rt=rt.replace(/[_\s]/g,".")):x?(rt=a(/os (\d+([_\s]\d+)*) like mac os x/i),rt=rt.replace(/[_\s]/g,".")):z?rt=a(/android[ \/-](\d+(\.\d+)*)/i):Re.webos?rt=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Re.blackberry?rt=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Re.bada?rt=a(/bada\/(\d+(\.\d+)*)/i):Re.tizen&&(rt=a(/tizen[\/\s](\d+(\.\d+)*)/i)),rt&&(Re.osversion=rt);var et=!Re.windows&&rt.split(".")[0];return Fe||re||x=="ipad"||z&&(et==3||et>=4&&!$e)||Re.silk?Re.tablet=oe:($e||x=="iphone"||x=="ipod"||z||ee||Re.blackberry||Re.webos||Re.bada)&&(Re.mobile=oe),Re.msedge||Re.msie&&Re.version>=10||Re.yandexbrowser&&Re.version>=15||Re.vivaldi&&Re.version>=1||Re.chrome&&Re.version>=20||Re.samsungBrowser&&Re.version>=4||Re.whale&&de([Re.version,"1.0"])===1||Re.mzbrowser&&de([Re.version,"6.0"])===1||Re.focus&&de([Re.version,"1.0"])===1||Re.firefox&&Re.version>=20||Re.safari&&Re.version>=6||Re.opera&&Re.version>=10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]>=6||Re.blackberry&&Re.version>=10.1||Re.chromium&&Re.version>=20?Re.a=oe:Re.msie&&Re.version<10||Re.chrome&&Re.version<20||Re.firefox&&Re.version<20||Re.safari&&Re.version<6||Re.opera&&Re.version<10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]<6||Re.chromium&&Re.version<20?Re.c=oe:Re.x=oe,Re}var ue=te(typeof navigator!="undefined"&&navigator.userAgent||"");ue.test=function(ne){for(var a=0;a<ne.length;++a){var y=ne[a];if(typeof y=="string"&&y in ue)return!0}return!1};function ce(ne){return ne.split(".").length}function le(ne,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(ne,a);for(x=0;x<ne.length;x++)y.push(a(ne[x]));return y}function de(ne){for(var a=Math.max(ce(ne[0]),ce(ne[1])),y=le(ne,function(x){var b=a-ce(x);return x=x+new Array(b+1).join(".0"),le(x.split("."),function(z){return new Array(20-z.length).join("0")+z}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function ae(ne,a,y){var x=ue;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=te(y));var b=""+x.version;for(var z in ne)if(ne.hasOwnProperty(z)&&x[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return de([b,ne[z]])<0}return a}function ie(ne,a,y){return!ae(ne,a,y)}return ue.isUnsupportedBrowser=ae,ue.compareVersions=de,ue.check=ie,ue._detect=te,ue.detect=te,ue})},{}],89:[function(E,Se,ge){},{}],90:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=E("base64-js"),ue=E("ieee754");ge.Buffer=ae,ge.SlowBuffer=se,ge.INSPECT_MAX_BYTES=50;var ce=2147483647;ge.kMaxLength=ce,ae.TYPED_ARRAY_SUPPORT=le(),!ae.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 le(){try{var Ce=new Uint8Array(1);return Ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ce.foo()===42}catch(xe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function de(Ce){if(Ce>ce)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');var xe=new Uint8Array(Ce);return xe.__proto__=ae.prototype,xe}function ae(Ce,xe,je){if(typeof Ce=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ce)}return ie(Ce,xe,je)}typeof Symbol!="undefined"&&Symbol.species!=null&&ae[Symbol.species]===ae&&Object.defineProperty(ae,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ae.poolSize=8192;function ie(Ce,xe,je){if(typeof Ce=="string")return x(Ce,xe);if(ArrayBuffer.isView(Ce))return b(Ce);if(Ce==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce);if(Xe(Ce,ArrayBuffer)||Ce&&Xe(Ce.buffer,ArrayBuffer))return z(Ce,xe,je);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var _e=Ce.valueOf&&Ce.valueOf();if(_e!=null&&_e!==Ce)return ae.from(_e,xe,je);var ot=ee(Ce);if(ot)return ot;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return ae.from(Ce[Symbol.toPrimitive]("string"),xe,je);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce)}ae.from=function(Ce,xe,je){return ie(Ce,xe,je)},ae.prototype.__proto__=Uint8Array.prototype,ae.__proto__=Uint8Array;function ne(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function a(Ce,xe,je){return ne(Ce),Ce<=0?de(Ce):xe!==void 0?typeof je=="string"?de(Ce).fill(xe,je):de(Ce).fill(xe):de(Ce)}ae.alloc=function(Ce,xe,je){return a(Ce,xe,je)};function y(Ce){return ne(Ce),de(Ce<0?0:re(Ce)|0)}ae.allocUnsafe=function(Ce){return y(Ce)},ae.allocUnsafeSlow=function(Ce){return y(Ce)};function x(Ce,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!ae.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var je=fe(Ce,xe)|0,_e=de(je),ot=_e.write(Ce,xe);return ot!==je&&(_e=_e.slice(0,ot)),_e}function b(Ce){for(var xe=Ce.length<0?0:re(Ce.length)|0,je=de(xe),_e=0;_e<xe;_e+=1)je[_e]=Ce[_e]&255;return je}function z(Ce,xe,je){if(xe<0||Ce.byteLength<xe)throw new RangeError('"offset" is outside of buffer bounds');if(Ce.byteLength<xe+(je||0))throw new RangeError('"length" is outside of buffer bounds');var _e;return xe===void 0&&je===void 0?_e=new Uint8Array(Ce):je===void 0?_e=new Uint8Array(Ce,xe):_e=new Uint8Array(Ce,xe,je),_e.__proto__=ae.prototype,_e}function ee(Ce){if(ae.isBuffer(Ce)){var xe=re(Ce.length)|0,je=de(xe);return je.length===0||Ce.copy(je,0,0,xe),je}if(Ce.length!==void 0)return typeof Ce.length!="number"||Ge(Ce.length)?de(0):b(Ce);if(Ce.type==="Buffer"&&Array.isArray(Ce.data))return b(Ce.data)}function re(Ce){if(Ce>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return Ce|0}function se(Ce){return+Ce!=Ce&&(Ce=0),ae.alloc(+Ce)}ae.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==ae.prototype},ae.compare=function(xe,je){if(Xe(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),Xe(je,Uint8Array)&&(je=ae.from(je,je.offset,je.byteLength)),!ae.isBuffer(xe)||!ae.isBuffer(je))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===je)return 0;for(var _e=xe.length,ot=je.length,pt=0,mt=Math.min(_e,ot);pt<mt;++pt)if(xe[pt]!==je[pt]){_e=xe[pt],ot=je[pt];break}return _e<ot?-1:ot<_e?1:0},ae.isEncoding=function(xe){switch(String(xe).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}},ae.concat=function(xe,je){if(!Array.isArray(xe))throw new TypeError('"list" argument must be an Array of Buffers');if(xe.length===0)return ae.alloc(0);var _e;if(je===void 0)for(je=0,_e=0;_e<xe.length;++_e)je+=xe[_e].length;var ot=ae.allocUnsafe(je),pt=0;for(_e=0;_e<xe.length;++_e){var mt=xe[_e];if(Xe(mt,Uint8Array)&&(mt=ae.from(mt)),!ae.isBuffer(mt))throw new TypeError('"list" argument must be an Array of Buffers');mt.copy(ot,pt),pt+=mt.length}return ot};function fe(Ce,xe){if(ae.isBuffer(Ce))return Ce.length;if(ArrayBuffer.isView(Ce)||Xe(Ce,ArrayBuffer))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ce);var je=Ce.length,_e=arguments.length>2&&arguments[2]===!0;if(!_e&&je===0)return 0;for(var ot=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return je;case"utf8":case"utf-8":return Le(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return je*2;case"hex":return je>>>1;case"base64":return Ie(Ce).length;default:if(ot)return _e?-1:Le(Ce).length;xe=(""+xe).toLowerCase(),ot=!0}}ae.byteLength=fe;function ve(Ce,xe,je){var _e=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((je===void 0||je>this.length)&&(je=this.length),je<=0)||(je>>>=0,xe>>>=0,je<=xe))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return et(this,xe,je);case"utf8":case"utf-8":return $e(this,xe,je);case"ascii":return st(this,xe,je);case"latin1":case"binary":return rt(this,xe,je);case"base64":return Fe(this,xe,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qe(this,xe,je);default:if(_e)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),_e=!0}}ae.prototype._isBuffer=!0;function me(Ce,xe,je){var _e=Ce[xe];Ce[xe]=Ce[je],Ce[je]=_e}ae.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var je=0;je<xe;je+=2)me(this,je,je+1);return this},ae.prototype.swap32=function(){var xe=this.length;if(xe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var je=0;je<xe;je+=4)me(this,je,je+3),me(this,je+1,je+2);return this},ae.prototype.swap64=function(){var xe=this.length;if(xe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var je=0;je<xe;je+=8)me(this,je,je+7),me(this,je+1,je+6),me(this,je+2,je+5),me(this,je+3,je+4);return this},ae.prototype.toString=function(){var xe=this.length;return xe===0?"":arguments.length===0?$e(this,0,xe):ve.apply(this,arguments)},ae.prototype.toLocaleString=ae.prototype.toString,ae.prototype.equals=function(xe){if(!ae.isBuffer(xe))throw new TypeError("Argument must be a Buffer");return this===xe?!0:ae.compare(this,xe)===0},ae.prototype.inspect=function(){var xe="",je=ge.INSPECT_MAX_BYTES;return xe=this.toString("hex",0,je).replace(/(.{2})/g,"$1 ").trim(),this.length>je&&(xe+=" ... "),"<Buffer "+xe+">"},ae.prototype.compare=function(xe,je,_e,ot,pt){if(Xe(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),!ae.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(je===void 0&&(je=0),_e===void 0&&(_e=xe?xe.length:0),ot===void 0&&(ot=0),pt===void 0&&(pt=this.length),je<0||_e>xe.length||ot<0||pt>this.length)throw new RangeError("out of range index");if(ot>=pt&&je>=_e)return 0;if(ot>=pt)return-1;if(je>=_e)return 1;if(je>>>=0,_e>>>=0,ot>>>=0,pt>>>=0,this===xe)return 0;for(var mt=pt-ot,tt=_e-je,ut=Math.min(mt,tt),St=this.slice(ot,pt),xt=xe.slice(je,_e),at=0;at<ut;++at)if(St[at]!==xt[at]){mt=St[at],tt=xt[at];break}return mt<tt?-1:tt<mt?1:0};function pe(Ce,xe,je,_e,ot){if(Ce.length===0)return-1;if(typeof je=="string"?(_e=je,je=0):je>2147483647?je=2147483647:je<-2147483648&&(je=-2147483648),je=+je,Ge(je)&&(je=ot?0:Ce.length-1),je<0&&(je=Ce.length+je),je>=Ce.length){if(ot)return-1;je=Ce.length-1}else if(je<0)if(ot)je=0;else return-1;if(typeof xe=="string"&&(xe=ae.from(xe,_e)),ae.isBuffer(xe))return xe.length===0?-1:he(Ce,xe,je,_e,ot);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?ot?Uint8Array.prototype.indexOf.call(Ce,xe,je):Uint8Array.prototype.lastIndexOf.call(Ce,xe,je):he(Ce,[xe],je,_e,ot);throw new TypeError("val must be string, number or Buffer")}function he(Ce,xe,je,_e,ot){var pt=1,mt=Ce.length,tt=xe.length;if(_e!==void 0&&(_e=String(_e).toLowerCase(),_e==="ucs2"||_e==="ucs-2"||_e==="utf16le"||_e==="utf-16le")){if(Ce.length<2||xe.length<2)return-1;pt=2,mt/=2,tt/=2,je/=2}function ut(We,ct){return pt===1?We[ct]:We.readUInt16BE(ct*pt)}var St;if(ot){var xt=-1;for(St=je;St<mt;St++)if(ut(Ce,St)===ut(xe,xt===-1?0:St-xt)){if(xt===-1&&(xt=St),St-xt+1===tt)return xt*pt}else xt!==-1&&(St-=St-xt),xt=-1}else for(je+tt>mt&&(je=mt-tt),St=je;St>=0;St--){for(var at=!0,Tt=0;Tt<tt;Tt++)if(ut(Ce,St+Tt)!==ut(xe,Tt)){at=!1;break}if(at)return St}return-1}ae.prototype.includes=function(xe,je,_e){return this.indexOf(xe,je,_e)!==-1},ae.prototype.indexOf=function(xe,je,_e){return pe(this,xe,je,_e,!0)},ae.prototype.lastIndexOf=function(xe,je,_e){return pe(this,xe,je,_e,!1)};function ye(Ce,xe,je,_e){je=Number(je)||0;var ot=Ce.length-je;_e?(_e=Number(_e),_e>ot&&(_e=ot)):_e=ot;var pt=xe.length;_e>pt/2&&(_e=pt/2);for(var mt=0;mt<_e;++mt){var tt=parseInt(xe.substr(mt*2,2),16);if(Ge(tt))return mt;Ce[je+mt]=tt}return mt}function Pe(Ce,xe,je,_e){return Qe(Le(xe,Ce.length-je),Ce,je,_e)}function Oe(Ce,xe,je,_e){return Qe(Ke(xe),Ce,je,_e)}function we(Ce,xe,je,_e){return Oe(Ce,xe,je,_e)}function Te(Ce,xe,je,_e){return Qe(Ie(xe),Ce,je,_e)}function Me(Ce,xe,je,_e){return Qe(Ee(xe,Ce.length-je),Ce,je,_e)}ae.prototype.write=function(xe,je,_e,ot){if(je===void 0)ot="utf8",_e=this.length,je=0;else if(_e===void 0&&typeof je=="string")ot=je,_e=this.length,je=0;else if(isFinite(je))je=je>>>0,isFinite(_e)?(_e=_e>>>0,ot===void 0&&(ot="utf8")):(ot=_e,_e=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-je;if((_e===void 0||_e>pt)&&(_e=pt),xe.length>0&&(_e<0||je<0)||je>this.length)throw new RangeError("Attempt to write outside buffer bounds");ot||(ot="utf8");for(var mt=!1;;)switch(ot){case"hex":return ye(this,xe,je,_e);case"utf8":case"utf-8":return Pe(this,xe,je,_e);case"ascii":return Oe(this,xe,je,_e);case"latin1":case"binary":return we(this,xe,je,_e);case"base64":return Te(this,xe,je,_e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Me(this,xe,je,_e);default:if(mt)throw new TypeError("Unknown encoding: "+ot);ot=(""+ot).toLowerCase(),mt=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Fe(Ce,xe,je){return xe===0&&je===Ce.length?te.fromByteArray(Ce):te.fromByteArray(Ce.slice(xe,je))}function $e(Ce,xe,je){je=Math.min(Ce.length,je);for(var _e=[],ot=xe;ot<je;){var pt=Ce[ot],mt=null,tt=pt>239?4:pt>223?3:pt>191?2:1;if(ot+tt<=je){var ut,St,xt,at;switch(tt){case 1:pt<128&&(mt=pt);break;case 2:ut=Ce[ot+1],(ut&192)===128&&(at=(pt&31)<<6|ut&63,at>127&&(mt=at));break;case 3:ut=Ce[ot+1],St=Ce[ot+2],(ut&192)===128&&(St&192)===128&&(at=(pt&15)<<12|(ut&63)<<6|St&63,at>2047&&(at<55296||at>57343)&&(mt=at));break;case 4:ut=Ce[ot+1],St=Ce[ot+2],xt=Ce[ot+3],(ut&192)===128&&(St&192)===128&&(xt&192)===128&&(at=(pt&15)<<18|(ut&63)<<12|(St&63)<<6|xt&63,at>65535&&at<1114112&&(mt=at))}}mt===null?(mt=65533,tt=1):mt>65535&&(mt-=65536,_e.push(mt>>>10&1023|55296),mt=56320|mt&1023),_e.push(mt),ot+=tt}return Re(_e)}var Ve=4096;function Re(Ce){var xe=Ce.length;if(xe<=Ve)return String.fromCharCode.apply(String,Ce);for(var je="",_e=0;_e<xe;)je+=String.fromCharCode.apply(String,Ce.slice(_e,_e+=Ve));return je}function st(Ce,xe,je){var _e="";je=Math.min(Ce.length,je);for(var ot=xe;ot<je;++ot)_e+=String.fromCharCode(Ce[ot]&127);return _e}function rt(Ce,xe,je){var _e="";je=Math.min(Ce.length,je);for(var ot=xe;ot<je;++ot)_e+=String.fromCharCode(Ce[ot]);return _e}function et(Ce,xe,je){var _e=Ce.length;(!xe||xe<0)&&(xe=0),(!je||je<0||je>_e)&&(je=_e);for(var ot="",pt=xe;pt<je;++pt)ot+=Ue(Ce[pt]);return ot}function qe(Ce,xe,je){for(var _e=Ce.slice(xe,je),ot="",pt=0;pt<_e.length;pt+=2)ot+=String.fromCharCode(_e[pt]+_e[pt+1]*256);return ot}ae.prototype.slice=function(xe,je){var _e=this.length;xe=~~xe,je=je===void 0?_e:~~je,xe<0?(xe+=_e,xe<0&&(xe=0)):xe>_e&&(xe=_e),je<0?(je+=_e,je<0&&(je=0)):je>_e&&(je=_e),je<xe&&(je=xe);var ot=this.subarray(xe,je);return ot.__proto__=ae.prototype,ot};function ze(Ce,xe,je){if(Ce%1!==0||Ce<0)throw new RangeError("offset is not uint");if(Ce+xe>je)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(xe,je,_e){xe=xe>>>0,je=je>>>0,_e||ze(xe,je,this.length);for(var ot=this[xe],pt=1,mt=0;++mt<je&&(pt*=256);)ot+=this[xe+mt]*pt;return ot},ae.prototype.readUIntBE=function(xe,je,_e){xe=xe>>>0,je=je>>>0,_e||ze(xe,je,this.length);for(var ot=this[xe+--je],pt=1;je>0&&(pt*=256);)ot+=this[xe+--je]*pt;return ot},ae.prototype.readUInt8=function(xe,je){return xe=xe>>>0,je||ze(xe,1,this.length),this[xe]},ae.prototype.readUInt16LE=function(xe,je){return xe=xe>>>0,je||ze(xe,2,this.length),this[xe]|this[xe+1]<<8},ae.prototype.readUInt16BE=function(xe,je){return xe=xe>>>0,je||ze(xe,2,this.length),this[xe]<<8|this[xe+1]},ae.prototype.readUInt32LE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},ae.prototype.readUInt32BE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},ae.prototype.readIntLE=function(xe,je,_e){xe=xe>>>0,je=je>>>0,_e||ze(xe,je,this.length);for(var ot=this[xe],pt=1,mt=0;++mt<je&&(pt*=256);)ot+=this[xe+mt]*pt;return pt*=128,ot>=pt&&(ot-=Math.pow(2,8*je)),ot},ae.prototype.readIntBE=function(xe,je,_e){xe=xe>>>0,je=je>>>0,_e||ze(xe,je,this.length);for(var ot=je,pt=1,mt=this[xe+--ot];ot>0&&(pt*=256);)mt+=this[xe+--ot]*pt;return pt*=128,mt>=pt&&(mt-=Math.pow(2,8*je)),mt},ae.prototype.readInt8=function(xe,je){return xe=xe>>>0,je||ze(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},ae.prototype.readInt16LE=function(xe,je){xe=xe>>>0,je||ze(xe,2,this.length);var _e=this[xe]|this[xe+1]<<8;return _e&32768?_e|4294901760:_e},ae.prototype.readInt16BE=function(xe,je){xe=xe>>>0,je||ze(xe,2,this.length);var _e=this[xe+1]|this[xe]<<8;return _e&32768?_e|4294901760:_e},ae.prototype.readInt32LE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},ae.prototype.readInt32BE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},ae.prototype.readFloatLE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),ue.read(this,xe,!0,23,4)},ae.prototype.readFloatBE=function(xe,je){return xe=xe>>>0,je||ze(xe,4,this.length),ue.read(this,xe,!1,23,4)},ae.prototype.readDoubleLE=function(xe,je){return xe=xe>>>0,je||ze(xe,8,this.length),ue.read(this,xe,!0,52,8)},ae.prototype.readDoubleBE=function(xe,je){return xe=xe>>>0,je||ze(xe,8,this.length),ue.read(this,xe,!1,52,8)};function ke(Ce,xe,je,_e,ot,pt){if(!ae.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>ot||xe<pt)throw new RangeError('"value" argument is out of bounds');if(je+_e>Ce.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(xe,je,_e,ot){if(xe=+xe,je=je>>>0,_e=_e>>>0,!ot){var pt=Math.pow(2,8*_e)-1;ke(this,xe,je,_e,pt,0)}var mt=1,tt=0;for(this[je]=xe&255;++tt<_e&&(mt*=256);)this[je+tt]=xe/mt&255;return je+_e},ae.prototype.writeUIntBE=function(xe,je,_e,ot){if(xe=+xe,je=je>>>0,_e=_e>>>0,!ot){var pt=Math.pow(2,8*_e)-1;ke(this,xe,je,_e,pt,0)}var mt=_e-1,tt=1;for(this[je+mt]=xe&255;--mt>=0&&(tt*=256);)this[je+mt]=xe/tt&255;return je+_e},ae.prototype.writeUInt8=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,1,255,0),this[je]=xe&255,je+1},ae.prototype.writeUInt16LE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,2,65535,0),this[je]=xe&255,this[je+1]=xe>>>8,je+2},ae.prototype.writeUInt16BE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,2,65535,0),this[je]=xe>>>8,this[je+1]=xe&255,je+2},ae.prototype.writeUInt32LE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,4,4294967295,0),this[je+3]=xe>>>24,this[je+2]=xe>>>16,this[je+1]=xe>>>8,this[je]=xe&255,je+4},ae.prototype.writeUInt32BE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,4,4294967295,0),this[je]=xe>>>24,this[je+1]=xe>>>16,this[je+2]=xe>>>8,this[je+3]=xe&255,je+4},ae.prototype.writeIntLE=function(xe,je,_e,ot){if(xe=+xe,je=je>>>0,!ot){var pt=Math.pow(2,8*_e-1);ke(this,xe,je,_e,pt-1,-pt)}var mt=0,tt=1,ut=0;for(this[je]=xe&255;++mt<_e&&(tt*=256);)xe<0&&ut===0&&this[je+mt-1]!==0&&(ut=1),this[je+mt]=(xe/tt>>0)-ut&255;return je+_e},ae.prototype.writeIntBE=function(xe,je,_e,ot){if(xe=+xe,je=je>>>0,!ot){var pt=Math.pow(2,8*_e-1);ke(this,xe,je,_e,pt-1,-pt)}var mt=_e-1,tt=1,ut=0;for(this[je+mt]=xe&255;--mt>=0&&(tt*=256);)xe<0&&ut===0&&this[je+mt+1]!==0&&(ut=1),this[je+mt]=(xe/tt>>0)-ut&255;return je+_e},ae.prototype.writeInt8=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,1,127,-128),xe<0&&(xe=255+xe+1),this[je]=xe&255,je+1},ae.prototype.writeInt16LE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,2,32767,-32768),this[je]=xe&255,this[je+1]=xe>>>8,je+2},ae.prototype.writeInt16BE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,2,32767,-32768),this[je]=xe>>>8,this[je+1]=xe&255,je+2},ae.prototype.writeInt32LE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,4,2147483647,-2147483648),this[je]=xe&255,this[je+1]=xe>>>8,this[je+2]=xe>>>16,this[je+3]=xe>>>24,je+4},ae.prototype.writeInt32BE=function(xe,je,_e){return xe=+xe,je=je>>>0,_e||ke(this,xe,je,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[je]=xe>>>24,this[je+1]=xe>>>16,this[je+2]=xe>>>8,this[je+3]=xe&255,je+4};function Be(Ce,xe,je,_e,ot,pt){if(je+_e>Ce.length)throw new RangeError("Index out of range");if(je<0)throw new RangeError("Index out of range")}function Je(Ce,xe,je,_e,ot){return xe=+xe,je=je>>>0,ot||Be(Ce,xe,je,4,34028234663852886e22,-34028234663852886e22),ue.write(Ce,xe,je,_e,23,4),je+4}ae.prototype.writeFloatLE=function(xe,je,_e){return Je(this,xe,je,!0,_e)},ae.prototype.writeFloatBE=function(xe,je,_e){return Je(this,xe,je,!1,_e)};function Ye(Ce,xe,je,_e,ot){return xe=+xe,je=je>>>0,ot||Be(Ce,xe,je,8,17976931348623157e292,-17976931348623157e292),ue.write(Ce,xe,je,_e,52,8),je+8}ae.prototype.writeDoubleLE=function(xe,je,_e){return Ye(this,xe,je,!0,_e)},ae.prototype.writeDoubleBE=function(xe,je,_e){return Ye(this,xe,je,!1,_e)},ae.prototype.copy=function(xe,je,_e,ot){if(!ae.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(_e||(_e=0),!ot&&ot!==0&&(ot=this.length),je>=xe.length&&(je=xe.length),je||(je=0),ot>0&&ot<_e&&(ot=_e),ot===_e||xe.length===0||this.length===0)return 0;if(je<0)throw new RangeError("targetStart out of bounds");if(_e<0||_e>=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),xe.length-je<ot-_e&&(ot=xe.length-je+_e);var pt=ot-_e;if(this===xe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(je,_e,ot);else if(this===xe&&_e<je&&je<ot)for(var mt=pt-1;mt>=0;--mt)xe[mt+je]=this[mt+_e];else Uint8Array.prototype.set.call(xe,this.subarray(_e,ot),je);return pt},ae.prototype.fill=function(xe,je,_e,ot){if(typeof xe=="string"){if(typeof je=="string"?(ot=je,je=0,_e=this.length):typeof _e=="string"&&(ot=_e,_e=this.length),ot!==void 0&&typeof ot!="string")throw new TypeError("encoding must be a string");if(typeof ot=="string"&&!ae.isEncoding(ot))throw new TypeError("Unknown encoding: "+ot);if(xe.length===1){var pt=xe.charCodeAt(0);(ot==="utf8"&&pt<128||ot==="latin1")&&(xe=pt)}}else typeof xe=="number"&&(xe=xe&255);if(je<0||this.length<je||this.length<_e)throw new RangeError("Out of range index");if(_e<=je)return this;je=je>>>0,_e=_e===void 0?this.length:_e>>>0,xe||(xe=0);var mt;if(typeof xe=="number")for(mt=je;mt<_e;++mt)this[mt]=xe;else{var tt=ae.isBuffer(xe)?xe:ae.from(xe,ot),ut=tt.length;if(ut===0)throw new TypeError('The value "'+xe+'" is invalid for argument "value"');for(mt=0;mt<_e-je;++mt)this[mt+je]=tt[mt%ut]}return this};var dt=/[^+/0-9A-Za-z-_]/g;function He(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(dt,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function Ue(Ce){return Ce<16?"0"+Ce.toString(16):Ce.toString(16)}function Le(Ce,xe){xe=xe||1/0;for(var je,_e=Ce.length,ot=null,pt=[],mt=0;mt<_e;++mt){if(je=Ce.charCodeAt(mt),je>55295&&je<57344){if(!ot){if(je>56319){(xe-=3)>-1&&pt.push(239,191,189);continue}else if(mt+1===_e){(xe-=3)>-1&&pt.push(239,191,189);continue}ot=je;continue}if(je<56320){(xe-=3)>-1&&pt.push(239,191,189),ot=je;continue}je=(ot-55296<<10|je-56320)+65536}else ot&&(xe-=3)>-1&&pt.push(239,191,189);if(ot=null,je<128){if((xe-=1)<0)break;pt.push(je)}else if(je<2048){if((xe-=2)<0)break;pt.push(je>>6|192,je&63|128)}else if(je<65536){if((xe-=3)<0)break;pt.push(je>>12|224,je>>6&63|128,je&63|128)}else if(je<1114112){if((xe-=4)<0)break;pt.push(je>>18|240,je>>12&63|128,je>>6&63|128,je&63|128)}else throw new Error("Invalid code point")}return pt}function Ke(Ce){for(var xe=[],je=0;je<Ce.length;++je)xe.push(Ce.charCodeAt(je)&255);return xe}function Ee(Ce,xe){for(var je,_e,ot,pt=[],mt=0;mt<Ce.length&&!((xe-=2)<0);++mt)je=Ce.charCodeAt(mt),_e=je>>8,ot=je%256,pt.push(ot),pt.push(_e);return pt}function Ie(Ce){return te.toByteArray(He(Ce))}function Qe(Ce,xe,je,_e){for(var ot=0;ot<_e&&!(ot+je>=xe.length||ot>=Ce.length);++ot)xe[ot+je]=Ce[ot];return ot}function Xe(Ce,xe){return Ce instanceof xe||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===xe.name}function Ge(Ce){return Ce!==Ce}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,Se,ge){Se.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,Se,ge){"use strict";var oe=E("get-intrinsic"),te=E("./"),ue=te(oe("String.prototype.indexOf"));Se.exports=function(le,de){var ae=oe(le,!!de);return typeof ae=="function"&&ue(le,".prototype.")>-1?te(ae):ae}},{"./":93,"get-intrinsic":348}],93:[function(E,Se,ge){"use strict";var oe=E("function-bind"),te=E("get-intrinsic"),ue=te("%Function.prototype.apply%"),ce=te("%Function.prototype.call%"),le=te("%Reflect.apply%",!0)||oe.call(ce,ue),de=te("%Object.getOwnPropertyDescriptor%",!0),ae=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(ae)try{ae({},"a",{value:1})}catch(a){ae=null}Se.exports=function(y){var x=le(oe,ce,arguments);if(de&&ae){var b=de(x,"length");b.configurable&&ae(x,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return x};var ne=function(){return le(oe,ue,arguments)};ae?ae(Se.exports,"apply",{value:ne}):Se.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(E,Se,ge){"use strict";var oe=Array.prototype.slice;Se.exports=te;function te(ce,le){if(!(this instanceof te))return new te(ce,le);this.src=ce,this._withAccess=le}te.prototype.withAccess=function(ce){return this._withAccess=ce!==!1,this},te.prototype.pick=function(ce){return Array.isArray(ce)||(ce=oe.call(arguments)),ce.length&&(this.keys=ce),this},te.prototype.to=function(ce){if(ce=ce||{},!this.src)return ce;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var de=0;de<le.length;de++)ae=le[de],ce[ae]===void 0&&(ce[ae]=this.src[ae]);return ce}for(var de=0;de<le.length;de++){var ae=le[de];if(ue(ce,ae)){var ie=this.src.__lookupGetter__(ae),ne=this.src.__lookupSetter__(ae);ie&&ce.__defineGetter__(ae,ie),ne&&ce.__defineSetter__(ae,ne),!ie&&!ne&&(ce[ae]=this.src[ae])}}return ce},te.prototype.toCover=function(ce){for(var le=this.keys||Object.keys(this.src),de=0;de<le.length;de++){var ae=le[de];delete ce[ae];var ie=this.src.__lookupGetter__(ae),ne=this.src.__lookupSetter__(ae);ie&&ce.__defineGetter__(ae,ie),ne&&ce.__defineSetter__(ae,ne),!ie&&!ne&&(ce[ae]=this.src[ae])}},te.prototype.override=te.prototype.toCover,te.prototype.and=function(ce){var le={};return this.to(le),this.src=ce,this.to(le),this.src=le,this};function ue(ce,le){return ce[le]===void 0&&ce.__lookupGetter__(le)===void 0&&ce.__lookupSetter__(le)===void 0}},{}],95:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/try-to-string"),ce=oe.TypeError;Se.exports=function(le){if(te(le))return le;throw ce(ue(le)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-constructor"),ue=E("../internals/try-to-string"),ce=oe.TypeError;Se.exports=function(le){if(te(le))return le;throw ce(ue(le)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=oe.String,ce=oe.TypeError;Se.exports=function(le){if(typeof le=="object"||te(le))return le;throw ce("Can't set "+ue(le)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,Se,ge){var oe=E("../internals/well-known-symbol"),te=E("../internals/object-create"),ue=E("../internals/object-define-property"),ce=oe("unscopables"),le=Array.prototype;le[ce]==null&&ue.f(le,ce,{configurable:!0,value:te(null)}),Se.exports=function(de){le[ce][de]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,Se,ge){"use strict";var oe=E("../internals/string-multibyte").charAt;Se.exports=function(te,ue,ce){return ue+(ce?oe(te,ue).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/object-is-prototype-of"),ue=oe.TypeError;Se.exports=function(ce,le){if(te(le,ce))return ce;throw ue("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-object"),ue=oe.String,ce=oe.TypeError;Se.exports=function(le){if(te(le))return le;throw ce(ue(le)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,Se,ge){Se.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-native"),te=E("../internals/descriptors"),ue=E("../internals/global"),ce=E("../internals/is-callable"),le=E("../internals/is-object"),de=E("../internals/has-own-property"),ae=E("../internals/classof"),ie=E("../internals/try-to-string"),ne=E("../internals/create-non-enumerable-property"),a=E("../internals/redefine"),y=E("../internals/object-define-property").f,x=E("../internals/object-is-prototype-of"),b=E("../internals/object-get-prototype-of"),z=E("../internals/object-set-prototype-of"),ee=E("../internals/well-known-symbol"),re=E("../internals/uid"),se=ue.Int8Array,fe=se&&se.prototype,ve=ue.Uint8ClampedArray,me=ve&&ve.prototype,pe=se&&b(se),he=fe&&b(fe),ye=Object.prototype,Pe=ue.TypeError,Oe=ee("toStringTag"),we=re("TYPED_ARRAY_TAG"),Te=re("TYPED_ARRAY_CONSTRUCTOR"),Me=oe&&!!z&&ae(ue.opera)!=="Opera",Fe=!1,$e,Ve,Re,st={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},rt={BigInt64Array:8,BigUint64Array:8},et=function(dt){if(!le(dt))return!1;var He=ae(dt);return He==="DataView"||de(st,He)||de(rt,He)},qe=function(Ye){if(!le(Ye))return!1;var dt=ae(Ye);return de(st,dt)||de(rt,dt)},ze=function(Ye){if(qe(Ye))return Ye;throw Pe("Target is not a typed array")},ke=function(Ye){if(ce(Ye)&&(!z||x(pe,Ye)))return Ye;throw Pe(ie(Ye)+" is not a typed array constructor")},Be=function(Ye,dt,He,Ue){if(te){if(He)for(var Le in st){var Ke=ue[Le];if(Ke&&de(Ke.prototype,Ye))try{delete Ke.prototype[Ye]}catch(Ee){try{Ke.prototype[Ye]=dt}catch(Ie){}}}(!he[Ye]||He)&&a(he,Ye,He?dt:Me&&fe[Ye]||dt,Ue)}},Je=function(Ye,dt,He){var Ue,Le;if(te){if(z){if(He){for(Ue in st)if(Le=ue[Ue],Le&&de(Le,Ye))try{delete Le[Ye]}catch(Ke){}}if(!pe[Ye]||He)try{return a(pe,Ye,He?dt:Me&&pe[Ye]||dt)}catch(Ke){}else return}for(Ue in st)Le=ue[Ue],Le&&(!Le[Ye]||He)&&a(Le,Ye,dt)}};for($e in st)Ve=ue[$e],Re=Ve&&Ve.prototype,Re?ne(Re,Te,Ve):Me=!1;for($e in rt)Ve=ue[$e],Re=Ve&&Ve.prototype,Re&&ne(Re,Te,Ve);if((!Me||!ce(pe)||pe===Function.prototype)&&(pe=function(){throw Pe("Incorrect invocation")},Me))for($e in st)ue[$e]&&z(ue[$e],pe);if((!Me||!he||he===ye)&&(he=pe.prototype,Me))for($e in st)ue[$e]&&z(ue[$e].prototype,he);if(Me&&b(me)!==he&&z(me,he),te&&!de(he,Oe)){Fe=!0,y(he,Oe,{get:function(){return le(this)?this[we]:void 0}});for($e in st)ue[$e]&&ne(ue[$e],we,$e)}Se.exports={NATIVE_ARRAY_BUFFER_VIEWS:Me,TYPED_ARRAY_CONSTRUCTOR:Te,TYPED_ARRAY_TAG:Fe&&we,aTypedArray:ze,aTypedArrayConstructor:ke,exportTypedArrayMethod:Be,exportTypedArrayStaticMethod:Je,isView:et,isTypedArray:qe,TypedArray:pe,TypedArrayPrototype:he}},{"../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,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/descriptors"),ce=E("../internals/array-buffer-native"),le=E("../internals/function-name"),de=E("../internals/create-non-enumerable-property"),ae=E("../internals/redefine-all"),ie=E("../internals/fails"),ne=E("../internals/an-instance"),a=E("../internals/to-integer-or-infinity"),y=E("../internals/to-length"),x=E("../internals/to-index"),b=E("../internals/ieee754"),z=E("../internals/object-get-prototype-of"),ee=E("../internals/object-set-prototype-of"),re=E("../internals/object-get-own-property-names").f,se=E("../internals/object-define-property").f,fe=E("../internals/array-fill"),ve=E("../internals/array-slice-simple"),me=E("../internals/set-to-string-tag"),pe=E("../internals/internal-state"),he=le.PROPER,ye=le.CONFIGURABLE,Pe=pe.get,Oe=pe.set,we="ArrayBuffer",Te="DataView",Me="prototype",Fe="Wrong length",$e="Wrong index",Ve=oe[we],Re=Ve,st=Re&&Re[Me],rt=oe[Te],et=rt&&rt[Me],qe=Object.prototype,ze=oe.Array,ke=oe.RangeError,Be=te(fe),Je=te([].reverse),Ye=b.pack,dt=b.unpack,He=function(mt){return[mt&255]},Ue=function(mt){return[mt&255,mt>>8&255]},Le=function(mt){return[mt&255,mt>>8&255,mt>>16&255,mt>>24&255]},Ke=function(mt){return mt[3]<<24|mt[2]<<16|mt[1]<<8|mt[0]},Ee=function(mt){return Ye(mt,23,4)},Ie=function(mt){return Ye(mt,52,8)},Qe=function(mt,tt){se(mt[Me],tt,{get:function(){return Pe(this)[tt]}})},Xe=function(mt,tt,ut,St){var xt=x(ut),at=Pe(mt);if(xt+tt>at.byteLength)throw ke($e);var Tt=Pe(at.buffer).bytes,We=xt+at.byteOffset,ct=ve(Tt,We,We+tt);return St?ct:Je(ct)},Ge=function(mt,tt,ut,St,xt,at){var Tt=x(ut),We=Pe(mt);if(Tt+tt>We.byteLength)throw ke($e);for(var ct=Pe(We.buffer).bytes,ht=Tt+We.byteOffset,vt=St(+xt),Ot=0;Ot<tt;Ot++)ct[ht+Ot]=vt[at?Ot:tt-Ot-1]};if(!ce)Re=function(tt){ne(this,st);var ut=x(tt);Oe(this,{bytes:Be(ze(ut),0),byteLength:ut}),ue||(this.byteLength=ut)},st=Re[Me],rt=function(tt,ut,St){ne(this,et),ne(tt,st);var xt=Pe(tt).byteLength,at=a(ut);if(at<0||at>xt)throw ke("Wrong offset");if(St=St===void 0?xt-at:y(St),at+St>xt)throw ke(Fe);Oe(this,{buffer:tt,byteLength:St,byteOffset:at}),ue||(this.buffer=tt,this.byteLength=St,this.byteOffset=at)},et=rt[Me],ue&&(Qe(Re,"byteLength"),Qe(rt,"buffer"),Qe(rt,"byteLength"),Qe(rt,"byteOffset")),ae(et,{getInt8:function(tt){return Xe(this,1,tt)[0]<<24>>24},getUint8:function(tt){return Xe(this,1,tt)[0]},getInt16:function(tt){var ut=Xe(this,2,tt,arguments.length>1?arguments[1]:void 0);return(ut[1]<<8|ut[0])<<16>>16},getUint16:function(tt){var ut=Xe(this,2,tt,arguments.length>1?arguments[1]:void 0);return ut[1]<<8|ut[0]},getInt32:function(tt){return Ke(Xe(this,4,tt,arguments.length>1?arguments[1]:void 0))},getUint32:function(tt){return Ke(Xe(this,4,tt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(tt){return dt(Xe(this,4,tt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(tt){return dt(Xe(this,8,tt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(tt,ut){Ge(this,1,tt,He,ut)},setUint8:function(tt,ut){Ge(this,1,tt,He,ut)},setInt16:function(tt,ut){Ge(this,2,tt,Ue,ut,arguments.length>2?arguments[2]:void 0)},setUint16:function(tt,ut){Ge(this,2,tt,Ue,ut,arguments.length>2?arguments[2]:void 0)},setInt32:function(tt,ut){Ge(this,4,tt,Le,ut,arguments.length>2?arguments[2]:void 0)},setUint32:function(tt,ut){Ge(this,4,tt,Le,ut,arguments.length>2?arguments[2]:void 0)},setFloat32:function(tt,ut){Ge(this,4,tt,Ee,ut,arguments.length>2?arguments[2]:void 0)},setFloat64:function(tt,ut){Ge(this,8,tt,Ie,ut,arguments.length>2?arguments[2]:void 0)}});else{var Ce=he&&Ve.name!==we;if(!ie(function(){Ve(1)})||!ie(function(){new Ve(-1)})||ie(function(){return new Ve,new Ve(1.5),new Ve(NaN),Ce&&!ye})){Re=function(tt){return ne(this,st),new Ve(x(tt))},Re[Me]=st;for(var xe=re(Ve),je=0,_e;xe.length>je;)(_e=xe[je++])in Re||de(Re,_e,Ve[_e]);st.constructor=Re}else Ce&&ye&&de(Ve,"name",we);ee&&z(et)!==qe&&ee(et,qe);var ot=new rt(new Re(2)),pt=te(et.setInt8);ot.setInt8(0,2147483648),ot.setInt8(1,2147483649),(ot.getInt8(0)||!ot.getInt8(1))&&ae(et,{setInt8:function(tt,ut){pt(this,tt,ut<<24>>24)},setUint8:function(tt,ut){pt(this,tt,ut<<24>>24)}},{unsafe:!0})}me(Re,we),me(rt,Te),Se.exports={ArrayBuffer:Re,DataView:rt}},{"../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,Se,ge){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=Math.min;Se.exports=[].copyWithin||function(de,ae){var ie=oe(this),ne=ue(ie),a=te(de,ne),y=te(ae,ne),x=arguments.length>2?arguments[2]:void 0,b=ce((x===void 0?ne:te(x,ne))-y,ne-a),z=1;for(y<a&&a<y+b&&(z=-1,y+=b-1,a+=b-1);b-- >0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,Se,ge){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like");Se.exports=function(le){for(var de=oe(this),ae=ue(de),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,ae),a=ie>2?arguments[2]:void 0,y=a===void 0?ae:te(a,ae);y>ne;)de[ne++]=le;return de}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,Se,ge){"use strict";var oe=E("../internals/array-iteration").forEach,te=E("../internals/array-method-is-strict"),ue=te("forEach");Se.exports=ue?[].forEach:function(le){return oe(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,Se,ge){var oe=E("../internals/length-of-array-like");Se.exports=function(te,ue){for(var ce=0,le=oe(ue),de=new te(le);le>ce;)de[ce]=ue[ce++];return de}},{"../internals/length-of-array-like":188}],109:[function(E,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),ce=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),de=E("../internals/is-array-iterator-method"),ae=E("../internals/is-constructor"),ie=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=oe.Array;Se.exports=function(z){var ee=ce(z),re=ae(this),se=arguments.length,fe=se>1?arguments[1]:void 0,ve=fe!==void 0;ve&&(fe=te(fe,se>2?arguments[2]:void 0));var me=y(ee),pe=0,he,ye,Pe,Oe,we,Te;if(me&&!(this==x&&de(me)))for(Oe=a(ee,me),we=Oe.next,ye=re?new this:[];!(Pe=ue(we,Oe)).done;pe++)Te=ve?le(Oe,fe,[Pe.value,pe],!0):Pe.value,ne(ye,pe,Te);else for(he=ie(ee),ye=re?new this(he):x(he);he>pe;pe++)Te=ve?fe(ee[pe],pe):ee[pe],ne(ye,pe,Te);return ye.length=pe,ye}},{"../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,Se,ge){var oe=E("../internals/to-indexed-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=function(le){return function(de,ae,ie){var ne=oe(de),a=ue(ne),y=te(ie,a),x;if(le&&ae!=ae){for(;a>y;)if(x=ne[y++],x!=x)return!0}else for(;a>y;y++)if((le||y in ne)&&ne[y]===ae)return le||y||0;return!le&&-1}};Se.exports={includes:ce(!0),indexOf:ce(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,Se,ge){var oe=E("../internals/function-bind-context"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),ce=E("../internals/to-object"),le=E("../internals/length-of-array-like"),de=E("../internals/array-species-create"),ae=te([].push),ie=function(ne){var a=ne==1,y=ne==2,x=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(se,fe,ve,me){for(var pe=ce(se),he=ue(pe),ye=oe(fe,ve),Pe=le(he),Oe=0,we=me||de,Te=a?we(se,Pe):y||ee?we(se,0):void 0,Me,Fe;Pe>Oe;Oe++)if((re||Oe in he)&&(Me=he[Oe],Fe=ye(Me,Oe,pe),ne))if(a)Te[Oe]=Fe;else if(Fe)switch(ne){case 3:return!0;case 5:return Me;case 6:return Oe;case 2:ae(Te,Me)}else switch(ne){case 4:return!1;case 7:ae(Te,Me)}return z?-1:x||b?b:Te}};Se.exports={forEach:ie(0),map:ie(1),filter:ie(2),some:ie(3),every:ie(4),find:ie(5),findIndex:ie(6),filterReject:ie(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,Se,ge){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/to-indexed-object"),ue=E("../internals/to-integer-or-infinity"),ce=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),de=Math.min,ae=[].lastIndexOf,ie=!!ae&&1/[1].lastIndexOf(1,-0)<0,ne=le("lastIndexOf"),a=ie||!ne;Se.exports=a?function(x){if(ie)return oe(ae,this,arguments)||0;var b=te(this),z=ce(b),ee=z-1;for(arguments.length>1&&(ee=de(ee,ue(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===x)return ee||0;return-1}:ae},{"../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,Se,ge){var oe=E("../internals/fails"),te=E("../internals/well-known-symbol"),ue=E("../internals/engine-v8-version"),ce=te("species");Se.exports=function(le){return ue>=51||!oe(function(){var de=[],ae=de.constructor={};return ae[ce]=function(){return{foo:1}},de[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,Se,ge){"use strict";var oe=E("../internals/fails");Se.exports=function(te,ue){var ce=[][te];return!!ce&&oe(function(){ce.call(null,ue||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/a-callable"),ue=E("../internals/to-object"),ce=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),de=oe.TypeError,ae=function(ie){return function(ne,a,y,x){te(a);var b=ue(ne),z=ce(b),ee=le(b),re=ie?ee-1:0,se=ie?-1:1;if(y<2)for(;;){if(re in z){x=z[re],re+=se;break}if(re+=se,ie?re<0:ee<=re)throw de("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=se)re in z&&(x=a(x,z[re],re,b));return x}};Se.exports={left:ae(!1),right:ae(!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,Se,ge){var oe=E("../internals/global"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=E("../internals/create-property"),le=oe.Array,de=Math.max;Se.exports=function(ae,ie,ne){for(var a=ue(ae),y=te(ie,a),x=te(ne===void 0?a:ne,a),b=le(de(x-y,0)),z=0;y<x;y++,z++)ce(b,z,ae[y]);return b.length=z,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this");Se.exports=oe([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,Se,ge){var oe=E("../internals/array-slice-simple"),te=Math.floor,ue=function(de,ae){var ie=de.length,ne=te(ie/2);return ie<8?ce(de,ae):le(de,ue(oe(de,0,ne),ae),ue(oe(de,ne),ae),ae)},ce=function(de,ae){for(var ie=de.length,ne=1,a,y;ne<ie;){for(y=ne,a=de[ne];y&&ae(de[y-1],a)>0;)de[y]=de[--y];y!==ne++&&(de[y]=a)}return de},le=function(de,ae,ie,ne){for(var a=ae.length,y=ie.length,x=0,b=0;x<a||b<y;)de[x+b]=x<a&&b<y?ne(ae[x],ie[b])<=0?ae[x++]:ie[b++]:x<a?ae[x++]:ie[b++];return de};Se.exports=ue},{"../internals/array-slice-simple":116}],119:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-array"),ue=E("../internals/is-constructor"),ce=E("../internals/is-object"),le=E("../internals/well-known-symbol"),de=le("species"),ae=oe.Array;Se.exports=function(ie){var ne;return te(ie)&&(ne=ie.constructor,ue(ne)&&(ne===ae||te(ne.prototype))?ne=void 0:ce(ne)&&(ne=ne[de],ne===null&&(ne=void 0))),ne===void 0?ae:ne}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,Se,ge){var oe=E("../internals/array-species-constructor");Se.exports=function(te,ue){return new(oe(te))(ue===0?0:ue)}},{"../internals/array-species-constructor":119}],121:[function(E,Se,ge){var oe=E("../internals/an-object"),te=E("../internals/iterator-close");Se.exports=function(ue,ce,le,de){try{return de?ce(oe(le)[0],le[1]):ce(le)}catch(ae){te(ue,"throw",ae)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,Se,ge){var oe=E("../internals/well-known-symbol"),te=oe("iterator"),ue=!1;try{var ce=0,le={next:function(){return{done:!!ce++}},return:function(){ue=!0}};le[te]=function(){return this},Array.from(le,function(){throw 2})}catch(de){}Se.exports=function(de,ae){if(!ae&&!ue)return!1;var ie=!1;try{var ne={};ne[te]=function(){return{next:function(){return{done:ie=!0}}}},de(ne)}catch(a){}return ie}},{"../internals/well-known-symbol":268}],123:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=oe({}.toString),ue=oe("".slice);Se.exports=function(ce){return ue(te(ce),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/to-string-tag-support"),ue=E("../internals/is-callable"),ce=E("../internals/classof-raw"),le=E("../internals/well-known-symbol"),de=le("toStringTag"),ae=oe.Object,ie=ce(function(){return arguments}())=="Arguments",ne=function(a,y){try{return a[y]}catch(x){}};Se.exports=te?ce:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=ne(y=ae(a),de))=="string"?x:ie?ce(y):(b=ce(y))=="Object"&&ue(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,Se,ge){var oe=E("../internals/has-own-property"),te=E("../internals/own-keys"),ue=E("../internals/object-get-own-property-descriptor"),ce=E("../internals/object-define-property");Se.exports=function(le,de,ae){for(var ie=te(de),ne=ce.f,a=ue.f,y=0;y<ie.length;y++){var x=ie[y];!oe(le,x)&&!(ae&&oe(ae,x))&&ne(le,x,a(de,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,Se,ge){var oe=E("../internals/well-known-symbol"),te=oe("match");Se.exports=function(ue){var ce=/./;try{"/./"[ue](ce)}catch(le){try{return ce[te]=!1,"/./"[ue](ce)}catch(de){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,Se,ge){var oe=E("../internals/fails");Se.exports=!oe(function(){function te(){}return te.prototype.constructor=null,Object.getPrototypeOf(new te)!==te.prototype})},{"../internals/fails":150}],128:[function(E,Se,ge){"use strict";var oe=E("../internals/iterators-core").IteratorPrototype,te=E("../internals/object-create"),ue=E("../internals/create-property-descriptor"),ce=E("../internals/set-to-string-tag"),le=E("../internals/iterators"),de=function(){return this};Se.exports=function(ae,ie,ne,a){var y=ie+" Iterator";return ae.prototype=te(oe,{next:ue(+!a,ne)}),ce(ae,y,!1,!0),le[y]=de,ae}},{"../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,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/object-define-property"),ue=E("../internals/create-property-descriptor");Se.exports=oe?function(ce,le,de){return te.f(ce,le,ue(1,de))}:function(ce,le,de){return ce[le]=de,ce}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,Se,ge){Se.exports=function(oe,te){return{enumerable:!(oe&1),configurable:!(oe&2),writable:!(oe&4),value:te}}},{}],131:[function(E,Se,ge){"use strict";var oe=E("../internals/to-property-key"),te=E("../internals/object-define-property"),ue=E("../internals/create-property-descriptor");Se.exports=function(ce,le,de){var ae=oe(le);ae in ce?te.f(ce,ae,ue(0,de)):ce[ae]=de}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/is-pure"),ce=E("../internals/function-name"),le=E("../internals/is-callable"),de=E("../internals/create-iterator-constructor"),ae=E("../internals/object-get-prototype-of"),ie=E("../internals/object-set-prototype-of"),ne=E("../internals/set-to-string-tag"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/redefine"),x=E("../internals/well-known-symbol"),b=E("../internals/iterators"),z=E("../internals/iterators-core"),ee=ce.PROPER,re=ce.CONFIGURABLE,se=z.IteratorPrototype,fe=z.BUGGY_SAFARI_ITERATORS,ve=x("iterator"),me="keys",pe="values",he="entries",ye=function(){return this};Se.exports=function(Pe,Oe,we,Te,Me,Fe,$e){de(we,Oe,Te);var Ve=function(Ye){if(Ye===Me&&qe)return qe;if(!fe&&Ye in rt)return rt[Ye];switch(Ye){case me:return function(){return new we(this,Ye)};case pe:return function(){return new we(this,Ye)};case he:return function(){return new we(this,Ye)}}return function(){return new we(this)}},Re=Oe+" Iterator",st=!1,rt=Pe.prototype,et=rt[ve]||rt["@@iterator"]||Me&&rt[Me],qe=!fe&&et||Ve(Me),ze=Oe=="Array"&&rt.entries||et,ke,Be,Je;if(ze&&(ke=ae(ze.call(new Pe)),ke!==Object.prototype&&ke.next&&(!ue&&ae(ke)!==se&&(ie?ie(ke,se):le(ke[ve])||y(ke,ve,ye)),ne(ke,Re,!0,!0),ue&&(b[Re]=ye))),ee&&Me==pe&&et&&et.name!==pe&&(!ue&&re?a(rt,"name",pe):(st=!0,qe=function(){return te(et,this)})),Me)if(Be={values:Ve(pe),keys:Fe?qe:Ve(me),entries:Ve(he)},$e)for(Je in Be)(fe||st||!(Je in rt))&&y(rt,Je,Be[Je]);else oe({target:Oe,proto:!0,forced:fe||st},Be);return(!ue||$e)&&rt[ve]!==qe&&y(rt,ve,qe,{name:Me}),b[Oe]=qe,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,Se,ge){var oe=E("../internals/path"),te=E("../internals/has-own-property"),ue=E("../internals/well-known-symbol-wrapped"),ce=E("../internals/object-define-property").f;Se.exports=function(le){var de=oe.Symbol||(oe.Symbol={});te(de,le)||ce(de,le,{value:ue.f(le)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,Se,ge){var oe=E("../internals/fails");Se.exports=!oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-object"),ue=oe.document,ce=te(ue)&&te(ue.createElement);Se.exports=function(le){return ce?ue.createElement(le):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,Se,ge){Se.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,Se,ge){var oe=E("../internals/document-create-element"),te=oe("span").classList,ue=te&&te.constructor&&te.constructor.prototype;Se.exports=ue===Object.prototype?void 0:ue},{"../internals/document-create-element":135}],138:[function(E,Se,ge){var oe=E("../internals/engine-user-agent"),te=oe.match(/firefox\/(\d+)/i);Se.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],139:[function(E,Se,ge){Se.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,Se,ge){var oe=E("../internals/engine-user-agent");Se.exports=/MSIE|Trident/.test(oe)},{"../internals/engine-user-agent":145}],141:[function(E,Se,ge){var oe=E("../internals/engine-user-agent"),te=E("../internals/global");Se.exports=/ipad|iphone|ipod/i.test(oe)&&te.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,Se,ge){var oe=E("../internals/engine-user-agent");Se.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(oe)},{"../internals/engine-user-agent":145}],143:[function(E,Se,ge){var oe=E("../internals/classof-raw"),te=E("../internals/global");Se.exports=oe(te.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,Se,ge){var oe=E("../internals/engine-user-agent");Se.exports=/web0s(?!.*chrome)/i.test(oe)},{"../internals/engine-user-agent":145}],145:[function(E,Se,ge){var oe=E("../internals/get-built-in");Se.exports=oe("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/engine-user-agent"),ue=oe.process,ce=oe.Deno,le=ue&&ue.versions||ce&&ce.version,de=le&&le.v8,ae,ie;de&&(ae=de.split("."),ie=ae[0]>0&&ae[0]<4?1:+(ae[0]+ae[1])),!ie&&te&&(ae=te.match(/Edge\/(\d+)/),(!ae||ae[1]>=74)&&(ae=te.match(/Chrome\/(\d+)/),ae&&(ie=+ae[1]))),Se.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,Se,ge){var oe=E("../internals/engine-user-agent"),te=oe.match(/AppleWebKit\/(\d+)\./);Se.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(E,Se,ge){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/object-get-own-property-descriptor").f,ue=E("../internals/create-non-enumerable-property"),ce=E("../internals/redefine"),le=E("../internals/set-global"),de=E("../internals/copy-constructor-properties"),ae=E("../internals/is-forced");Se.exports=function(ie,ne){var a=ie.target,y=ie.global,x=ie.stat,b,z,ee,re,se,fe;if(y?z=oe:x?z=oe[a]||le(a,{}):z=(oe[a]||{}).prototype,z)for(ee in ne){if(se=ne[ee],ie.noTargetGet?(fe=te(z,ee),re=fe&&fe.value):re=z[ee],b=ae(y?ee:a+(x?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof se==typeof re)continue;de(se,re)}(ie.sham||re&&re.sham)&&ue(se,"sham",!0),ce(z,ee,se,ie)}}},{"../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,Se,ge){Se.exports=function(oe){try{return!!oe()}catch(te){return!0}}},{}],151:[function(E,Se,ge){"use strict";E("../modules/es.regexp.exec");var oe=E("../internals/function-uncurry-this"),te=E("../internals/redefine"),ue=E("../internals/regexp-exec"),ce=E("../internals/fails"),le=E("../internals/well-known-symbol"),de=E("../internals/create-non-enumerable-property"),ae=le("species"),ie=RegExp.prototype;Se.exports=function(ne,a,y,x){var b=le(ne),z=!ce(function(){var fe={};return fe[b]=function(){return 7},""[ne](fe)!=7}),ee=z&&!ce(function(){var fe=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[ae]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return fe=!0,null},ve[b](""),!fe});if(!z||!ee||y){var re=oe(/./[b]),se=a(b,""[ne],function(fe,ve,me,pe,he){var ye=oe(fe),Pe=ve.exec;return Pe===ue||Pe===ie.exec?z&&!he?{done:!0,value:re(ve,me,pe)}:{done:!0,value:ye(me,ve,pe)}:{done:!1}});te(String.prototype,ne,se[0]),te(ie,b,se[1])}x&&de(ie[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,Se,ge){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.apply,ce=te.call;Se.exports=typeof Reflect=="object"&&Reflect.apply||(oe?ce.bind(ue):function(){return ce.apply(ue,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/a-callable"),ue=E("../internals/function-bind-native"),ce=oe(oe.bind);Se.exports=function(le,de){return te(le),de===void 0?le:ue?ce(le,de):function(){return le.apply(de,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,Se,ge){var oe=E("../internals/fails");Se.exports=!oe(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,Se,ge){var oe=E("../internals/function-bind-native"),te=Function.prototype.call;Se.exports=oe?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/has-own-property"),ue=Function.prototype,ce=oe&&Object.getOwnPropertyDescriptor,le=te(ue,"name"),de=le&&function(){}.name==="something",ae=le&&(!oe||oe&&ce(ue,"name").configurable);Se.exports={EXISTS:le,PROPER:de,CONFIGURABLE:ae}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,Se,ge){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.bind,ce=te.call,le=oe&&ue.bind(ce,ce);Se.exports=oe?function(de){return de&&le(de)}:function(de){return de&&function(){return ce.apply(de,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=function(ce){return te(ce)?ce:void 0};Se.exports=function(ce,le){return arguments.length<2?ue(oe[ce]):oe[ce]&&oe[ce][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,Se,ge){var oe=E("../internals/classof"),te=E("../internals/get-method"),ue=E("../internals/iterators"),ce=E("../internals/well-known-symbol"),le=ce("iterator");Se.exports=function(de){if(de!=null)return te(de,le)||te(de,"@@iterator")||ue[oe(de)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/an-object"),le=E("../internals/try-to-string"),de=E("../internals/get-iterator-method"),ae=oe.TypeError;Se.exports=function(ie,ne){var a=arguments.length<2?de(ie):ne;if(ue(a))return ce(te(a,ie));throw ae(le(ie)+" 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,Se,ge){var oe=E("../internals/a-callable");Se.exports=function(te,ue){var ce=te[ue];return ce==null?void 0:oe(ce)}},{"../internals/a-callable":95}],162:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=Math.floor,ce=oe("".charAt),le=oe("".replace),de=oe("".slice),ae=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;Se.exports=function(ne,a,y,x,b,z){var ee=y+ne.length,re=x.length,se=ie;return b!==void 0&&(b=te(b),se=ae),le(z,se,function(fe,ve){var me;switch(ce(ve,0)){case"$":return"$";case"&":return ne;case"`":return de(a,0,y);case"'":return de(a,ee);case"<":me=b[de(ve,1,-1)];break;default:var pe=+ve;if(pe===0)return fe;if(pe>re){var he=ue(pe/10);return he===0?fe:he<=re?x[he-1]===void 0?ce(ve,1):x[he-1]+ce(ve,1):fe}me=x[pe-1]}return me===void 0?"":me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,Se,ge){(function(oe){(function(){var te=function(ue){return ue&&ue.Math==Math&&ue};Se.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof oe=="object"&&oe)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=oe({}.hasOwnProperty);Se.exports=Object.hasOwn||function(le,de){return ue(te(le),de)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,Se,ge){Se.exports={}},{}],166:[function(E,Se,ge){var oe=E("../internals/global");Se.exports=function(te,ue){var ce=oe.console;ce&&ce.error&&(arguments.length==1?ce.error(te):ce.error(te,ue))}},{"../internals/global":163}],167:[function(E,Se,ge){var oe=E("../internals/get-built-in");Se.exports=oe("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/fails"),ue=E("../internals/document-create-element");Se.exports=!oe&&!te(function(){return Object.defineProperty(ue("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,Se,ge){var oe=E("../internals/global"),te=oe.Array,ue=Math.abs,ce=Math.pow,le=Math.floor,de=Math.log,ae=Math.LN2,ie=function(a,y,x){var b=te(x),z=x*8-y-1,ee=(1<<z)-1,re=ee>>1,se=y===23?ce(2,-24)-ce(2,-77):0,fe=a<0||a===0&&1/a<0?1:0,ve=0,me,pe,he;for(a=ue(a),a!=a||a===1/0?(pe=a!=a?1:0,me=ee):(me=le(de(a)/ae),he=ce(2,-me),a*he<1&&(me--,he*=2),me+re>=1?a+=se/he:a+=se*ce(2,1-re),a*he>=2&&(me++,he/=2),me+re>=ee?(pe=0,me=ee):me+re>=1?(pe=(a*he-1)*ce(2,y),me=me+re):(pe=a*ce(2,re-1)*ce(2,y),me=0));y>=8;)b[ve++]=pe&255,pe/=256,y-=8;for(me=me<<y|pe,z+=y;z>0;)b[ve++]=me&255,me/=256,z-=8;return b[--ve]|=fe*128,b},ne=function(a,y){var x=a.length,b=x*8-y-1,z=(1<<b)-1,ee=z>>1,re=b-7,se=x-1,fe=a[se--],ve=fe&127,me;for(fe>>=7;re>0;)ve=ve*256+a[se--],re-=8;for(me=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)me=me*256+a[se--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return me?NaN:fe?-1/0:1/0;me=me+ce(2,y),ve=ve-ee}return(fe?-1:1)*me*ce(2,ve-y)};Se.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),ce=E("../internals/classof-raw"),le=oe.Object,de=te("".split);Se.exports=ue(function(){return!le("z").propertyIsEnumerable(0)})?function(ae){return ce(ae)=="String"?de(ae,""):le(ae)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,Se,ge){var oe=E("../internals/is-callable"),te=E("../internals/is-object"),ue=E("../internals/object-set-prototype-of");Se.exports=function(ce,le,de){var ae,ie;return ue&&oe(ae=le.constructor)&&ae!==de&&te(ie=ae.prototype)&&ie!==de.prototype&&ue(ce,ie),ce}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/is-callable"),ue=E("../internals/shared-store"),ce=oe(Function.toString);te(ue.inspectSource)||(ue.inspectSource=function(le){return ce(le)}),Se.exports=ue.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,Se,ge){var oe=E("../internals/native-weak-map"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),de=E("../internals/has-own-property"),ae=E("../internals/shared-store"),ie=E("../internals/shared-key"),ne=E("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,x=te.WeakMap,b,z,ee,re=function(ye){return ee(ye)?z(ye):b(ye,{})},se=function(ye){return function(Pe){var Oe;if(!ce(Pe)||(Oe=z(Pe)).type!==ye)throw y("Incompatible receiver, "+ye+" required");return Oe}};if(oe||ae.state){var fe=ae.state||(ae.state=new x),ve=ue(fe.get),me=ue(fe.has),pe=ue(fe.set);b=function(ye,Pe){if(me(fe,ye))throw new y(a);return Pe.facade=ye,pe(fe,ye,Pe),Pe},z=function(ye){return ve(fe,ye)||{}},ee=function(ye){return me(fe,ye)}}else{var he=ie("state");ne[he]=!0,b=function(ye,Pe){if(de(ye,he))throw new y(a);return Pe.facade=ye,le(ye,he,Pe),Pe},z=function(ye){return de(ye,he)?ye[he]:{}},ee=function(ye){return de(ye,he)}}Se.exports={set:b,get:z,has:ee,enforce:re,getterFor:se}},{"../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,Se,ge){var oe=E("../internals/well-known-symbol"),te=E("../internals/iterators"),ue=oe("iterator"),ce=Array.prototype;Se.exports=function(le){return le!==void 0&&(te.Array===le||ce[ue]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,Se,ge){var oe=E("../internals/classof-raw");Se.exports=Array.isArray||function(ue){return oe(ue)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,Se,ge){Se.exports=function(oe){return typeof oe=="function"}},{}],177:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/fails"),ue=E("../internals/is-callable"),ce=E("../internals/classof"),le=E("../internals/get-built-in"),de=E("../internals/inspect-source"),ae=function(){},ie=[],ne=le("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=oe(a.exec),x=!a.exec(ae),b=function(re){if(!ue(re))return!1;try{return ne(ae,ie,re),!0}catch(se){return!1}},z=function(re){if(!ue(re))return!1;switch(ce(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,de(re))}catch(se){return!0}};z.sham=!0,Se.exports=!ne||te(function(){var ee;return b(b.call)||!b(Object)||!b(function(){ee=!0})||ee})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,Se,ge){var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=/#|\.prototype\./,ce=function(ne,a){var y=de[le(ne)];return y==ie?!0:y==ae?!1:te(a)?oe(a):!!a},le=ce.normalize=function(ne){return String(ne).replace(ue,".").toLowerCase()},de=ce.data={},ae=ce.NATIVE="N",ie=ce.POLYFILL="P";Se.exports=ce},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,Se,ge){var oe=E("../internals/is-object"),te=Math.floor;Se.exports=Number.isInteger||function(ce){return!oe(ce)&&isFinite(ce)&&te(ce)===ce}},{"../internals/is-object":180}],180:[function(E,Se,ge){var oe=E("../internals/is-callable");Se.exports=function(te){return typeof te=="object"?te!==null:oe(te)}},{"../internals/is-callable":176}],181:[function(E,Se,ge){Se.exports=!1},{}],182:[function(E,Se,ge){var oe=E("../internals/is-object"),te=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ce=ue("match");Se.exports=function(le){var de;return oe(le)&&((de=le[ce])!==void 0?!!de:te(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/get-built-in"),ue=E("../internals/is-callable"),ce=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),de=oe.Object;Se.exports=le?function(ae){return typeof ae=="symbol"}:function(ae){var ie=te("Symbol");return ue(ie)&&ce(ie.prototype,de(ae))}},{"../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,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),ce=E("../internals/an-object"),le=E("../internals/try-to-string"),de=E("../internals/is-array-iterator-method"),ae=E("../internals/length-of-array-like"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=oe.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;Se.exports=function(ee,re,se){var fe=se&&se.that,ve=!!(se&&se.AS_ENTRIES),me=!!(se&&se.IS_ITERATOR),pe=!!(se&&se.INTERRUPTED),he=te(re,fe),ye,Pe,Oe,we,Te,Me,Fe,$e=function(Re){return ye&&y(ye,"normal",Re),new b(!0,Re)},Ve=function(Re){return ve?(ce(Re),pe?he(Re[0],Re[1],$e):he(Re[0],Re[1])):pe?he(Re,$e):he(Re)};if(me)ye=ee;else{if(Pe=a(ee),!Pe)throw x(le(ee)+" is not iterable");if(de(Pe)){for(Oe=0,we=ae(ee);we>Oe;Oe++)if(Te=Ve(ee[Oe]),Te&&ie(z,Te))return Te;return new b(!1)}ye=ne(ee,Pe)}for(Me=ye.next;!(Fe=ue(Me,ye)).done;){try{Te=Ve(Fe.value)}catch(Re){y(ye,"throw",Re)}if(typeof Te=="object"&&Te&&ie(z,Te))return Te}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,Se,ge){var oe=E("../internals/function-call"),te=E("../internals/an-object"),ue=E("../internals/get-method");Se.exports=function(ce,le,de){var ae,ie;te(ce);try{if(ae=ue(ce,"return"),!ae){if(le==="throw")throw de;return de}ae=oe(ae,ce)}catch(ne){ie=!0,ae=ne}if(le==="throw")throw de;if(ie)throw ae;return te(ae),de}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,Se,ge){"use strict";var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=E("../internals/object-create"),ce=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),de=E("../internals/well-known-symbol"),ae=E("../internals/is-pure"),ie=de("iterator"),ne=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ce(ce(x)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||oe(function(){var z={};return a[ie].call(z)!==z});b?a={}:ae&&(a=ue(a)),te(a[ie])||le(a,ie,function(){return this}),Se.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ne}},{"../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,Se,ge){arguments[4][165][0].apply(ge,arguments)},{dup:165}],188:[function(E,Se,ge){var oe=E("../internals/to-length");Se.exports=function(te){return oe(te.length)}},{"../internals/to-length":249}],189:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/object-get-own-property-descriptor").f,ce=E("../internals/task").set,le=E("../internals/engine-is-ios"),de=E("../internals/engine-is-ios-pebble"),ae=E("../internals/engine-is-webos-webkit"),ie=E("../internals/engine-is-node"),ne=oe.MutationObserver||oe.WebKitMutationObserver,a=oe.document,y=oe.process,x=oe.Promise,b=ue(oe,"queueMicrotask"),z=b&&b.value,ee,re,se,fe,ve,me,pe,he;z||(ee=function(){var ye,Pe;for(ie&&(ye=y.domain)&&ye.exit();re;){Pe=re.fn,re=re.next;try{Pe()}catch(Oe){throw re?fe():se=void 0,Oe}}se=void 0,ye&&ye.enter()},!le&&!ie&&!ae&&ne&&a?(ve=!0,me=a.createTextNode(""),new ne(ee).observe(me,{characterData:!0}),fe=function(){me.data=ve=!ve}):!de&&x&&x.resolve?(pe=x.resolve(void 0),pe.constructor=x,he=te(pe.then,pe),fe=function(){he(ee)}):ie?fe=function(){y.nextTick(ee)}:(ce=te(ce,oe),fe=function(){ce(ee)})),Se.exports=z||function(ye){var Pe={fn:ye,next:void 0};se&&(se.next=Pe),re||(re=Pe,fe()),se=Pe}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,Se,ge){var oe=E("../internals/native-symbol");Se.exports=oe&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,Se,ge){var oe=E("../internals/engine-v8-version"),te=E("../internals/fails");Se.exports=!!Object.getOwnPropertySymbols&&!te(function(){var ue=Symbol();return!String(ue)||!(Object(ue)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/inspect-source"),ce=oe.WeakMap;Se.exports=te(ce)&&/native code/.test(ue(ce))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,Se,ge){"use strict";var oe=E("../internals/a-callable"),te=function(ue){var ce,le;this.promise=new ue(function(de,ae){if(ce!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");ce=de,le=ae}),this.resolve=oe(ce),this.reject=oe(le)};Se.exports.f=function(ue){return new te(ue)}},{"../internals/a-callable":95}],194:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-regexp"),ue=oe.TypeError;Se.exports=function(ce){if(te(ce))throw ue("The method doesn't accept regular expressions");return ce}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,Se,ge){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/function-call"),ce=E("../internals/fails"),le=E("../internals/object-keys"),de=E("../internals/object-get-own-property-symbols"),ae=E("../internals/object-property-is-enumerable"),ie=E("../internals/to-object"),ne=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=te([].concat);Se.exports=!a||ce(function(){if(oe&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},ee=Symbol(),re="abcdefghijklmnopqrst";return b[ee]=7,re.split("").forEach(function(se){z[se]=se}),a({},b)[ee]!=7||le(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),se=arguments.length,fe=1,ve=de.f,me=ae.f;se>fe;)for(var pe=ne(arguments[fe++]),he=ve?x(le(pe),ve(pe)):le(pe),ye=he.length,Pe=0,Oe;ye>Pe;)Oe=he[Pe++],(!oe||ue(me,pe,Oe))&&(re[Oe]=pe[Oe]);return re}: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,Se,ge){var oe=E("../internals/an-object"),te=E("../internals/object-define-properties"),ue=E("../internals/enum-bug-keys"),ce=E("../internals/hidden-keys"),le=E("../internals/html"),de=E("../internals/document-create-element"),ae=E("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",x=ae("IE_PROTO"),b=function(){},z=function(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var me=ve.parentWindow.Object;return ve=null,me},re=function(){var ve=de("iframe"),me="java"+y+":",pe;return ve.style.display="none",le.appendChild(ve),ve.src=String(me),pe=ve.contentWindow.document,pe.open(),pe.write(z("document.F=Object")),pe.close(),pe.F},se,fe=function(){try{se=new ActiveXObject("htmlfile")}catch(me){}fe=typeof document!="undefined"?document.domain&&se?ee(se):re():ee(se);for(var ve=ue.length;ve--;)delete fe[a][ue[ve]];return fe()};ce[x]=!0,Se.exports=Object.create||function(me,pe){var he;return me!==null?(b[a]=oe(me),he=new b,b[a]=null,he[x]=me):he=fe(),pe===void 0?he:te.f(he,pe)}},{"../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,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/v8-prototype-define-bug"),ue=E("../internals/object-define-property"),ce=E("../internals/an-object"),le=E("../internals/to-indexed-object"),de=E("../internals/object-keys");ge.f=oe&&!te?Object.defineProperties:function(ie,ne){ce(ie);for(var a=le(ne),y=de(ne),x=y.length,b=0,z;x>b;)ue.f(ie,z=y[b++],a[z]);return ie}},{"../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,Se,ge){var oe=E("../internals/global"),te=E("../internals/descriptors"),ue=E("../internals/ie8-dom-define"),ce=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),de=E("../internals/to-property-key"),ae=oe.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";ge.f=te?ce?function(z,ee,re){if(le(z),ee=de(ee),le(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&x in re&&!re[x]){var se=ne(z,ee);se&&se[x]&&(z[ee]=re.value,re={configurable:y in re?re[y]:se[y],enumerable:a in re?re[a]:se[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(le(z),ee=de(ee),le(re),ue)try{return ie(z,ee,re)}catch(se){}if("get"in re||"set"in re)throw ae("Accessors not supported");return"value"in re&&(z[ee]=re.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/function-call"),ue=E("../internals/object-property-is-enumerable"),ce=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),de=E("../internals/to-property-key"),ae=E("../internals/has-own-property"),ie=E("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;ge.f=oe?ne:function(y,x){if(y=le(y),x=de(x),ie)try{return ne(y,x)}catch(b){}if(ae(y,x))return ce(!te(ue.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,Se,ge){var oe=E("../internals/classof-raw"),te=E("../internals/to-indexed-object"),ue=E("../internals/object-get-own-property-names").f,ce=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],de=function(ae){try{return ue(ae)}catch(ie){return ce(le)}};Se.exports.f=function(ie){return le&&oe(ie)=="Window"?de(ie):ue(te(ie))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,Se,ge){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys"),ue=te.concat("length","prototype");ge.f=Object.getOwnPropertyNames||function(le){return oe(le,ue)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,Se,ge){ge.f=Object.getOwnPropertySymbols},{}],203:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/has-own-property"),ue=E("../internals/is-callable"),ce=E("../internals/to-object"),le=E("../internals/shared-key"),de=E("../internals/correct-prototype-getter"),ae=le("IE_PROTO"),ie=oe.Object,ne=ie.prototype;Se.exports=de?ie.getPrototypeOf:function(a){var y=ce(a);if(te(y,ae))return y[ae];var x=y.constructor;return ue(x)&&y instanceof x?x.prototype:y instanceof ie?ne: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,Se,ge){var oe=E("../internals/function-uncurry-this");Se.exports=oe({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/has-own-property"),ue=E("../internals/to-indexed-object"),ce=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),de=oe([].push);Se.exports=function(ae,ie){var ne=ue(ae),a=0,y=[],x;for(x in ne)!te(le,x)&&te(ne,x)&&de(y,x);for(;ie.length>a;)te(ne,x=ie[a++])&&(~ce(y,x)||de(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,Se,ge){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys");Se.exports=Object.keys||function(ce){return oe(ce,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,Se,ge){"use strict";var oe={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,ue=te&&!oe.call({1:2},1);ge.f=ue?function(le){var de=te(this,le);return!!de&&de.enumerable}:oe},{}],208:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/an-object"),ue=E("../internals/a-possible-prototype");Se.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ce=!1,le={},de;try{de=oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),de(le,[]),ce=le instanceof Array}catch(ae){}return function(ie,ne){return te(ie),ue(ne),ce?de(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-keys"),ce=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,de=te(le),ae=te([].push),ie=function(ne){return function(a){for(var y=ce(a),x=ue(y),b=x.length,z=0,ee=[],re;b>z;)re=x[z++],(!oe||de(y,re))&&ae(ee,ne?[re,y[re]]:y[re]);return ee}};Se.exports={entries:ie(!0),values:ie(!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,Se,ge){"use strict";var oe=E("../internals/to-string-tag-support"),te=E("../internals/classof");Se.exports=oe?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-callable"),ce=E("../internals/is-object"),le=oe.TypeError;Se.exports=function(de,ae){var ie,ne;if(ae==="string"&&ue(ie=de.toString)&&!ce(ne=te(ie,de))||ue(ie=de.valueOf)&&!ce(ne=te(ie,de))||ae!=="string"&&ue(ie=de.toString)&&!ce(ne=te(ie,de)))return ne;throw le("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,Se,ge){var oe=E("../internals/get-built-in"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-get-own-property-names"),ce=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),de=te([].concat);Se.exports=oe("Reflect","ownKeys")||function(ie){var ne=ue.f(le(ie)),a=ce.f;return a?de(ne,a(ie)):ne}},{"../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,Se,ge){var oe=E("../internals/global");Se.exports=oe},{"../internals/global":163}],214:[function(E,Se,ge){Se.exports=function(oe){try{return{error:!1,value:oe()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/promise-native-constructor"),ue=E("../internals/is-callable"),ce=E("../internals/is-forced"),le=E("../internals/inspect-source"),de=E("../internals/well-known-symbol"),ae=E("../internals/engine-is-browser"),ie=E("../internals/is-pure"),ne=E("../internals/engine-v8-version"),a=te&&te.prototype,y=de("species"),x=!1,b=ue(oe.PromiseRejectionEvent),z=ce("Promise",function(){var ee=le(te),re=ee!==String(te);if(!re&&ne===66||ie&&!(a.catch&&a.finally))return!0;if(ne>=51&&/native code/.test(ee))return!1;var se=new te(function(me){me(1)}),fe=function(me){me(function(){},function(){})},ve=se.constructor={};return ve[y]=fe,x=se.then(function(){})instanceof fe,x?!re&&ae&&!b:!0});Se.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,Se,ge){var oe=E("../internals/global");Se.exports=oe.Promise},{"../internals/global":163}],217:[function(E,Se,ge){var oe=E("../internals/an-object"),te=E("../internals/is-object"),ue=E("../internals/new-promise-capability");Se.exports=function(ce,le){if(oe(ce),te(le)&&le.constructor===ce)return le;var de=ue.f(ce),ae=de.resolve;return ae(le),de.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,Se,ge){var oe=E("../internals/promise-native-constructor"),te=E("../internals/check-correctness-of-iteration"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR;Se.exports=ue||!te(function(ce){oe.all(ce).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,Se,ge){var oe=E("../internals/object-define-property").f;Se.exports=function(te,ue,ce){ce in te||oe(te,ce,{configurable:!0,get:function(){return ue[ce]},set:function(le){ue[ce]=le}})}},{"../internals/object-define-property":198}],220:[function(E,Se,ge){var oe=function(){this.head=null,this.tail=null};oe.prototype={add:function(te){var ue={item:te,next:null};this.head?this.tail.next=ue:this.head=ue,this.tail=ue},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},Se.exports=oe},{}],221:[function(E,Se,ge){var oe=E("../internals/redefine");Se.exports=function(te,ue,ce){for(var le in ue)oe(te,le,ue[le],ce);return te}},{"../internals/redefine":222}],222:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ce=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),de=E("../internals/inspect-source"),ae=E("../internals/internal-state"),ie=E("../internals/function-name").CONFIGURABLE,ne=ae.get,a=ae.enforce,y=String(String).split("String");(Se.exports=function(x,b,z,ee){var re=ee?!!ee.unsafe:!1,se=ee?!!ee.enumerable:!1,fe=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,me;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ue(z,"name")||ie&&z.name!==ve)&&ce(z,"name",ve),me=a(z),me.source||(me.source=y.join(typeof ve=="string"?ve:""))),x===oe){se?x[b]=z:le(b,z);return}else re?!fe&&x[b]&&(se=!0):delete x[b];se?x[b]=z:ce(x,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||de(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,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/an-object"),ce=E("../internals/is-callable"),le=E("../internals/classof-raw"),de=E("../internals/regexp-exec"),ae=oe.TypeError;Se.exports=function(ie,ne){var a=ie.exec;if(ce(a)){var y=te(a,ie,ne);return y!==null&&ue(y),y}if(le(ie)==="RegExp")return te(de,ie,ne);throw ae("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,Se,ge){"use strict";var oe=E("../internals/function-call"),te=E("../internals/function-uncurry-this"),ue=E("../internals/to-string"),ce=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),de=E("../internals/shared"),ae=E("../internals/object-create"),ie=E("../internals/internal-state").get,ne=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=de("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=te("".charAt),ee=te("".indexOf),re=te("".replace),se=te("".slice),fe=function(){var he=/a/,ye=/b*/g;return oe(x,he,"a"),oe(x,ye,"a"),he.lastIndex!==0||ye.lastIndex!==0}(),ve=le.BROKEN_CARET,me=/()??/.exec("")[1]!==void 0,pe=fe||me||ve||ne||a;pe&&(b=function(ye){var Pe=this,Oe=ie(Pe),we=ue(ye),Te=Oe.raw,Me,Fe,$e,Ve,Re,st,rt;if(Te)return Te.lastIndex=Pe.lastIndex,Me=oe(b,Te,we),Pe.lastIndex=Te.lastIndex,Me;var et=Oe.groups,qe=ve&&Pe.sticky,ze=oe(ce,Pe),ke=Pe.source,Be=0,Je=we;if(qe&&(ze=re(ze,"y",""),ee(ze,"g")===-1&&(ze+="g"),Je=se(we,Pe.lastIndex),Pe.lastIndex>0&&(!Pe.multiline||Pe.multiline&&z(we,Pe.lastIndex-1)!==`
`)&&(ke="(?: "+ke+")",Je=" "+Je,Be++),Fe=new RegExp("^(?:"+ke+")",ze)),me&&(Fe=new RegExp("^"+ke+"$(?!\\s)",ze)),fe&&($e=Pe.lastIndex),Ve=oe(x,qe?Fe:Pe,Je),qe?Ve?(Ve.input=se(Ve.input,Be),Ve[0]=se(Ve[0],Be),Ve.index=Pe.lastIndex,Pe.lastIndex+=Ve[0].length):Pe.lastIndex=0:fe&&Ve&&(Pe.lastIndex=Pe.global?Ve.index+Ve[0].length:$e),me&&Ve&&Ve.length>1&&oe(y,Ve[0],Fe,function(){for(Re=1;Re<arguments.length-2;Re++)arguments[Re]===void 0&&(Ve[Re]=void 0)}),Ve&&et)for(Ve.groups=st=ae(null),Re=0;Re<et.length;Re++)rt=et[Re],st[rt[0]]=Ve[rt[1]];return Ve}),Se.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,Se,ge){"use strict";var oe=E("../internals/an-object");Se.exports=function(){var te=oe(this),ue="";return te.hasIndices&&(ue+="d"),te.global&&(ue+="g"),te.ignoreCase&&(ue+="i"),te.multiline&&(ue+="m"),te.dotAll&&(ue+="s"),te.unicode&&(ue+="u"),te.sticky&&(ue+="y"),ue}},{"../internals/an-object":101}],226:[function(E,Se,ge){var oe=E("../internals/function-call"),te=E("../internals/has-own-property"),ue=E("../internals/object-is-prototype-of"),ce=E("../internals/regexp-flags"),le=RegExp.prototype;Se.exports=function(de){var ae=de.flags;return ae===void 0&&!("flags"in le)&&!te(de,"flags")&&ue(le,de)?oe(ce,de):ae}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,Se,ge){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp,ce=oe(function(){var ae=ue("a","y");return ae.lastIndex=2,ae.exec("abcd")!=null}),le=ce||oe(function(){return!ue("a","y").sticky}),de=ce||oe(function(){var ae=ue("^r","gy");return ae.lastIndex=2,ae.exec("str")!=null});Se.exports={BROKEN_CARET:de,MISSED_STICKY:le,UNSUPPORTED_Y:ce}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,Se,ge){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp;Se.exports=oe(function(){var ce=ue(".","s");return!(ce.dotAll&&ce.exec(`
`)&&ce.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,Se,ge){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp;Se.exports=oe(function(){var ce=ue("(?<a>b)","g");return ce.exec("b").groups.a!=="b"||"b".replace(ce,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,Se,ge){var oe=E("../internals/global"),te=oe.TypeError;Se.exports=function(ue){if(ue==null)throw te("Can't call method on "+ue);return ue}},{"../internals/global":163}],231:[function(E,Se,ge){Se.exports=Object.is||function(te,ue){return te===ue?te!==0||1/te===1/ue:te!=te&&ue!=ue}},{}],232:[function(E,Se,ge){var oe=E("../internals/global"),te=Object.defineProperty;Se.exports=function(ue,ce){try{te(oe,ue,{value:ce,configurable:!0,writable:!0})}catch(le){oe[ue]=ce}return ce}},{"../internals/global":163}],233:[function(E,Se,ge){"use strict";var oe=E("../internals/get-built-in"),te=E("../internals/object-define-property"),ue=E("../internals/well-known-symbol"),ce=E("../internals/descriptors"),le=ue("species");Se.exports=function(de){var ae=oe(de),ie=te.f;ce&&ae&&!ae[le]&&ie(ae,le,{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,Se,ge){var oe=E("../internals/object-define-property").f,te=E("../internals/has-own-property"),ue=E("../internals/well-known-symbol"),ce=ue("toStringTag");Se.exports=function(le,de,ae){le&&!ae&&(le=le.prototype),le&&!te(le,ce)&&oe(le,ce,{configurable:!0,value:de})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,Se,ge){var oe=E("../internals/shared"),te=E("../internals/uid"),ue=oe("keys");Se.exports=function(ce){return ue[ce]||(ue[ce]=te(ce))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/set-global"),ue="__core-js_shared__",ce=oe[ue]||te(ue,{});Se.exports=ce},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,Se,ge){var oe=E("../internals/is-pure"),te=E("../internals/shared-store");(Se.exports=function(ue,ce){return te[ue]||(te[ue]=ce!==void 0?ce:{})})("versions",[]).push({version:"3.22.1",mode:oe?"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,Se,ge){var oe=E("../internals/an-object"),te=E("../internals/a-constructor"),ue=E("../internals/well-known-symbol"),ce=ue("species");Se.exports=function(le,de){var ae=oe(le).constructor,ie;return ae===void 0||(ie=oe(ae)[ce])==null?de:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),le=oe("".charAt),de=oe("".charCodeAt),ae=oe("".slice),ie=function(ne){return function(a,y){var x=ue(ce(a)),b=te(y),z=x.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=de(x,b),ee<55296||ee>56319||b+1===z||(re=de(x,b+1))<56320||re>57343?ne?le(x,b):ee:ne?ae(x,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};Se.exports={codeAt:ie(!1),charAt:ie(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,Se,ge){var oe=E("../internals/function-name").PROPER,te=E("../internals/fails"),ue=E("../internals/whitespaces"),ce="\u200B\x85\u180E";Se.exports=function(le){return te(function(){return!!ue[le]()||ce[le]()!==ce||oe&&ue[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ce=E("../internals/whitespaces"),le=oe("".replace),de="["+ce+"]",ae=RegExp("^"+de+de+"*"),ie=RegExp(de+de+"*$"),ne=function(a){return function(y){var x=ue(te(y));return a&1&&(x=le(x,ae,"")),a&2&&(x=le(x,ie,"")),x}};Se.exports={start:ne(1),end:ne(2),trim:ne(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,Se,ge){var oe=E("../internals/function-call"),te=E("../internals/get-built-in"),ue=E("../internals/well-known-symbol"),ce=E("../internals/redefine");Se.exports=function(){var le=te("Symbol"),de=le&&le.prototype,ae=de&&de.valueOf,ie=ue("toPrimitive");de&&!de[ie]&&ce(de,ie,function(ne){return oe(ae,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/function-bind-context"),ce=E("../internals/is-callable"),le=E("../internals/has-own-property"),de=E("../internals/fails"),ae=E("../internals/html"),ie=E("../internals/array-slice"),ne=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=oe.setImmediate,z=oe.clearImmediate,ee=oe.process,re=oe.Dispatch,se=oe.Function,fe=oe.MessageChannel,ve=oe.String,me=0,pe={},he="onreadystatechange",ye,Pe,Oe,we;try{ye=oe.location}catch(Ve){}var Te=function(Ve){if(le(pe,Ve)){var Re=pe[Ve];delete pe[Ve],Re()}},Me=function(Ve){return function(){Te(Ve)}},Fe=function(Ve){Te(Ve.data)},$e=function(Ve){oe.postMessage(ve(Ve),ye.protocol+"//"+ye.host)};(!b||!z)&&(b=function(Re){a(arguments.length,1);var st=ce(Re)?Re:se(Re),rt=ie(arguments,1);return pe[++me]=function(){te(st,void 0,rt)},Pe(me),me},z=function(Re){delete pe[Re]},x?Pe=function(Ve){ee.nextTick(Me(Ve))}:re&&re.now?Pe=function(Ve){re.now(Me(Ve))}:fe&&!y?(Oe=new fe,we=Oe.port2,Oe.port1.onmessage=Fe,Pe=ue(we.postMessage,we)):oe.addEventListener&&ce(oe.postMessage)&&!oe.importScripts&&ye&&ye.protocol!=="file:"&&!de($e)?(Pe=$e,oe.addEventListener("message",Fe,!1)):he in ne("script")?Pe=function(Ve){ae.appendChild(ne("script"))[he]=function(){ae.removeChild(this),Te(Ve)}}:Pe=function(Ve){setTimeout(Me(Ve),0)}),Se.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this");Se.exports=oe(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,Se,ge){var oe=E("../internals/to-integer-or-infinity"),te=Math.max,ue=Math.min;Se.exports=function(ce,le){var de=oe(ce);return de<0?te(de+le,0):ue(de,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-length"),ce=oe.RangeError;Se.exports=function(le){if(le===void 0)return 0;var de=te(le),ae=ue(de);if(de!==ae)throw ce("Wrong length or index");return ae}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,Se,ge){var oe=E("../internals/indexed-object"),te=E("../internals/require-object-coercible");Se.exports=function(ue){return oe(te(ue))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,Se,ge){var oe=Math.ceil,te=Math.floor;Se.exports=function(ue){var ce=+ue;return ce!==ce||ce===0?0:(ce>0?te:oe)(ce)}},{}],249:[function(E,Se,ge){var oe=E("../internals/to-integer-or-infinity"),te=Math.min;Se.exports=function(ue){return ue>0?te(oe(ue),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/require-object-coercible"),ue=oe.Object;Se.exports=function(ce){return ue(te(ce))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/to-positive-integer"),ue=oe.RangeError;Se.exports=function(ce,le){var de=te(ce);if(de%le)throw ue("Wrong offset");return de}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=oe.RangeError;Se.exports=function(ce){var le=te(ce);if(le<0)throw ue("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-object"),ce=E("../internals/is-symbol"),le=E("../internals/get-method"),de=E("../internals/ordinary-to-primitive"),ae=E("../internals/well-known-symbol"),ie=oe.TypeError,ne=ae("toPrimitive");Se.exports=function(a,y){if(!ue(a)||ce(a))return a;var x=le(a,ne),b;if(x){if(y===void 0&&(y="default"),b=te(x,a,y),!ue(b)||ce(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),de(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,Se,ge){var oe=E("../internals/to-primitive"),te=E("../internals/is-symbol");Se.exports=function(ue){var ce=oe(ue,"string");return te(ce)?ce:ce+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,Se,ge){var oe=E("../internals/well-known-symbol"),te=oe("toStringTag"),ue={};ue[te]="z",Se.exports=String(ue)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/classof"),ue=oe.String;Se.exports=function(ce){if(te(ce)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ue(ce)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,Se,ge){var oe=E("../internals/global"),te=oe.String;Se.exports=function(ue){try{return te(ue)}catch(ce){return"Object"}}},{"../internals/global":163}],258:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/function-call"),ce=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),de=E("../internals/array-buffer-view-core"),ae=E("../internals/array-buffer"),ie=E("../internals/an-instance"),ne=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),ee=E("../internals/to-property-key"),re=E("../internals/has-own-property"),se=E("../internals/classof"),fe=E("../internals/is-object"),ve=E("../internals/is-symbol"),me=E("../internals/object-create"),pe=E("../internals/object-is-prototype-of"),he=E("../internals/object-set-prototype-of"),ye=E("../internals/object-get-own-property-names").f,Pe=E("../internals/typed-array-from"),Oe=E("../internals/array-iteration").forEach,we=E("../internals/set-species"),Te=E("../internals/object-define-property"),Me=E("../internals/object-get-own-property-descriptor"),Fe=E("../internals/internal-state"),$e=E("../internals/inherit-if-required"),Ve=Fe.get,Re=Fe.set,st=Te.f,rt=Me.f,et=Math.round,qe=te.RangeError,ze=ae.ArrayBuffer,ke=ze.prototype,Be=ae.DataView,Je=de.NATIVE_ARRAY_BUFFER_VIEWS,Ye=de.TYPED_ARRAY_CONSTRUCTOR,dt=de.TYPED_ARRAY_TAG,He=de.TypedArray,Ue=de.TypedArrayPrototype,Le=de.aTypedArrayConstructor,Ke=de.isTypedArray,Ee="BYTES_PER_ELEMENT",Ie="Wrong length",Qe=function(_e,ot){Le(_e);for(var pt=0,mt=ot.length,tt=new _e(mt);mt>pt;)tt[pt]=ot[pt++];return tt},Xe=function(_e,ot){st(_e,ot,{get:function(){return Ve(this)[ot]}})},Ge=function(_e){var ot;return pe(ke,_e)||(ot=se(_e))=="ArrayBuffer"||ot=="SharedArrayBuffer"},Ce=function(_e,ot){return Ke(_e)&&!ve(ot)&&ot in _e&&y(+ot)&&ot>=0},xe=function(ot,pt){return pt=ee(pt),Ce(ot,pt)?ne(2,ot[pt]):rt(ot,pt)},je=function(ot,pt,mt){return pt=ee(pt),Ce(ot,pt)&&fe(mt)&&re(mt,"value")&&!re(mt,"get")&&!re(mt,"set")&&!mt.configurable&&(!re(mt,"writable")||mt.writable)&&(!re(mt,"enumerable")||mt.enumerable)?(ot[pt]=mt.value,ot):st(ot,pt,mt)};ce?(Je||(Me.f=xe,Te.f=je,Xe(Ue,"buffer"),Xe(Ue,"byteOffset"),Xe(Ue,"byteLength"),Xe(Ue,"length")),oe({target:"Object",stat:!0,forced:!Je},{getOwnPropertyDescriptor:xe,defineProperty:je}),Se.exports=function(_e,ot,pt){var mt=_e.match(/\d+$/)[0]/8,tt=_e+(pt?"Clamped":"")+"Array",ut="get"+_e,St="set"+_e,xt=te[tt],at=xt,Tt=at&&at.prototype,We={},ct=function(Ot,Bt){var Zt=Ve(Ot);return Zt.view[ut](Bt*mt+Zt.byteOffset,!0)},ht=function(Ot,Bt,Zt){var Yt=Ve(Ot);pt&&(Zt=(Zt=et(Zt))<0?0:Zt>255?255:Zt&255),Yt.view[St](Bt*mt+Yt.byteOffset,Zt,!0)},vt=function(Ot,Bt){st(Ot,Bt,{get:function(){return ct(this,Bt)},set:function(Zt){return ht(this,Bt,Zt)},enumerable:!0})};Je?le&&(at=ot(function(Ot,Bt,Zt,Yt){return ie(Ot,Tt),$e(function(){return fe(Bt)?Ge(Bt)?Yt!==void 0?new xt(Bt,z(Zt,mt),Yt):Zt!==void 0?new xt(Bt,z(Zt,mt)):new xt(Bt):Ke(Bt)?Qe(at,Bt):ue(Pe,at,Bt):new xt(b(Bt))}(),Ot,at)}),he&&he(at,He),Oe(ye(xt),function(Ot){Ot in at||a(at,Ot,xt[Ot])}),at.prototype=Tt):(at=ot(function(Ot,Bt,Zt,Yt){ie(Ot,Tt);var nn=0,En=0,jn,zn,Vn;if(!fe(Bt))Vn=b(Bt),zn=Vn*mt,jn=new ze(zn);else if(Ge(Bt)){jn=Bt,En=z(Zt,mt);var xr=Bt.byteLength;if(Yt===void 0){if(xr%mt||(zn=xr-En,zn<0))throw qe(Ie)}else if(zn=x(Yt)*mt,zn+En>xr)throw qe(Ie);Vn=zn/mt}else return Ke(Bt)?Qe(at,Bt):ue(Pe,at,Bt);for(Re(Ot,{buffer:jn,byteOffset:En,byteLength:zn,length:Vn,view:new Be(jn)});nn<Vn;)vt(Ot,nn++)}),he&&he(at,He),Tt=at.prototype=me(Ue)),Tt.constructor!==at&&a(Tt,"constructor",at),a(Tt,Ye,at),dt&&a(Tt,dt,tt),We[tt]=at,oe({global:!0,forced:at!=xt,sham:!Je},We),Ee in at||a(at,Ee,mt),Ee in Tt||a(Tt,Ee,mt),we(tt)}):Se.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,Se,ge){var oe=E("../internals/global"),te=E("../internals/fails"),ue=E("../internals/check-correctness-of-iteration"),ce=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,le=oe.ArrayBuffer,de=oe.Int8Array;Se.exports=!ce||!te(function(){de(1)})||!te(function(){new de(-1)})||!ue(function(ae){new de,new de(null),new de(1.5),new de(ae)},!0)||te(function(){return new de(new le(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,Se,ge){var oe=E("../internals/array-from-constructor-and-list"),te=E("../internals/typed-array-species-constructor");Se.exports=function(ue,ce){return oe(te(ue),ce)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,Se,ge){var oe=E("../internals/function-bind-context"),te=E("../internals/function-call"),ue=E("../internals/a-constructor"),ce=E("../internals/to-object"),le=E("../internals/length-of-array-like"),de=E("../internals/get-iterator"),ae=E("../internals/get-iterator-method"),ie=E("../internals/is-array-iterator-method"),ne=E("../internals/array-buffer-view-core").aTypedArrayConstructor;Se.exports=function(y){var x=ue(this),b=ce(y),z=arguments.length,ee=z>1?arguments[1]:void 0,re=ee!==void 0,se=ae(b),fe,ve,me,pe,he,ye;if(se&&!ie(se))for(he=de(b,se),ye=he.next,b=[];!(pe=te(ye,he)).done;)b.push(pe.value);for(re&&z>2&&(ee=oe(ee,arguments[2])),ve=le(b),me=new(ne(x))(ve),fe=0;ve>fe;fe++)me[fe]=re?ee(b[fe],fe):b[fe];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,Se,ge){var oe=E("../internals/array-buffer-view-core"),te=E("../internals/species-constructor"),ue=oe.TYPED_ARRAY_CONSTRUCTOR,ce=oe.aTypedArrayConstructor;Se.exports=function(le){return ce(te(le,le[ue]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,Se,ge){var oe=E("../internals/function-uncurry-this"),te=0,ue=Math.random(),ce=oe(1 .toString);Se.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+ce(++te+ue,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,Se,ge){var oe=E("../internals/native-symbol");Se.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/fails");Se.exports=oe&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,Se,ge){var oe=E("../internals/global"),te=oe.TypeError;Se.exports=function(ue,ce){if(ue<ce)throw te("Not enough arguments");return ue}},{"../internals/global":163}],267:[function(E,Se,ge){var oe=E("../internals/well-known-symbol");ge.f=oe},{"../internals/well-known-symbol":268}],268:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/shared"),ue=E("../internals/has-own-property"),ce=E("../internals/uid"),le=E("../internals/native-symbol"),de=E("../internals/use-symbol-as-uid"),ae=te("wks"),ie=oe.Symbol,ne=ie&&ie.for,a=de?ie:ie&&ie.withoutSetter||ce;Se.exports=function(y){if(!ue(ae,y)||!(le||typeof ae[y]=="string")){var x="Symbol."+y;le&&ue(ie,y)?ae[y]=ie[y]:de&&ne?ae[y]=ne(x):ae[y]=a(x)}return ae[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,Se,ge){Se.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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/array-buffer"),ce=E("../internals/set-species"),le="ArrayBuffer",de=ue[le],ae=te[le];oe({global:!0,forced:ae!==de},{ArrayBuffer:de}),ce(le)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),ce=E("../internals/array-buffer"),le=E("../internals/an-object"),de=E("../internals/to-absolute-index"),ae=E("../internals/to-length"),ie=E("../internals/species-constructor"),ne=ce.ArrayBuffer,a=ce.DataView,y=a.prototype,x=te(ne.prototype.slice),b=te(y.getUint8),z=te(y.setUint8),ee=ue(function(){return!new ne(2).slice(1,void 0).byteLength});oe({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ee},{slice:function(se,fe){if(x&&fe===void 0)return x(le(this),se);for(var ve=le(this).byteLength,me=de(se,ve),pe=de(fe===void 0?ve:fe,ve),he=new(ie(this,ne))(ae(pe-me)),ye=new a(this),Pe=new a(he),Oe=0;me<pe;)z(Pe,Oe++,b(ye,me++));return he}})},{"../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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/fails"),ce=E("../internals/is-array"),le=E("../internals/is-object"),de=E("../internals/to-object"),ae=E("../internals/length-of-array-like"),ie=E("../internals/create-property"),ne=E("../internals/array-species-create"),a=E("../internals/array-method-has-species-support"),y=E("../internals/well-known-symbol"),x=E("../internals/engine-v8-version"),b=y("isConcatSpreadable"),z=9007199254740991,ee="Maximum allowed index exceeded",re=te.TypeError,se=x>=51||!ue(function(){var pe=[];return pe[b]=!1,pe.concat()[0]!==pe}),fe=a("concat"),ve=function(pe){if(!le(pe))return!1;var he=pe[b];return he!==void 0?!!he:ce(pe)},me=!se||!fe;oe({target:"Array",proto:!0,forced:me},{concat:function(he){var ye=de(this),Pe=ne(ye,0),Oe=0,we,Te,Me,Fe,$e;for(we=-1,Me=arguments.length;we<Me;we++)if($e=we===-1?ye:arguments[we],ve($e)){if(Fe=ae($e),Oe+Fe>z)throw re(ee);for(Te=0;Te<Fe;Te++,Oe++)Te in $e&&ie(Pe,Oe,$e[Te])}else{if(Oe>=z)throw re(ee);ie(Pe,Oe++,$e)}return Pe.length=Oe,Pe}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/array-fill"),ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{fill:te}),ue("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").filter,ue=E("../internals/array-method-has-species-support"),ce=ue("filter");oe({target:"Array",proto:!0,forced:!ce},{filter:function(de){return te(this,de,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").find,ue=E("../internals/add-to-unscopables"),ce="find",le=!0;ce in[]&&Array(1)[ce](function(){le=!1}),oe({target:"Array",proto:!0,forced:le},{find:function(ae){return te(this,ae,arguments.length>1?arguments[1]:void 0)}}),ue(ce)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/array-from"),ue=E("../internals/check-correctness-of-iteration"),ce=!ue(function(le){Array.from(le)});oe({target:"Array",stat:!0,forced:ce},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/array-includes").includes,ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{includes:function(le){return te(this,le,arguments.length>1?arguments[1]:void 0)}}),ue("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,Se,ge){"use strict";var oe=E("../internals/to-indexed-object"),te=E("../internals/add-to-unscopables"),ue=E("../internals/iterators"),ce=E("../internals/internal-state"),le=E("../internals/object-define-property").f,de=E("../internals/define-iterator"),ae=E("../internals/is-pure"),ie=E("../internals/descriptors"),ne="Array Iterator",a=ce.set,y=ce.getterFor(ne);Se.exports=de(Array,"Array",function(b,z){a(this,{type:ne,target:oe(b),index:0,kind:z})},function(){var b=y(this),z=b.target,ee=b.kind,re=b.index++;return!z||re>=z.length?(b.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:re,done:!1}:ee=="values"?{value:z[re],done:!1}:{value:[re,z[re]],done:!1}},"values");var x=ue.Arguments=ue.Array;if(te("keys"),te("values"),te("entries"),!ae&&ie&&x.name!=="values")try{le(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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),ce=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),de=te([].join),ae=ue!=Object,ie=le("join",",");oe({target:"Array",proto:!0,forced:ae||!ie},{join:function(a){return de(ce(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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").map,ue=E("../internals/array-method-has-species-support"),ce=ue("map");oe({target:"Array",proto:!0,forced:!ce},{map:function(de){return te(this,de,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/is-array"),ce=E("../internals/is-constructor"),le=E("../internals/is-object"),de=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),ie=E("../internals/to-indexed-object"),ne=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),ee=te.Array,re=Math.max;oe({target:"Array",proto:!0,forced:!b},{slice:function(fe,ve){var me=ie(this),pe=ae(me),he=de(fe,pe),ye=de(ve===void 0?pe:ve,pe),Pe,Oe,we;if(ue(me)&&(Pe=me.constructor,ce(Pe)&&(Pe===ee||ue(Pe.prototype))?Pe=void 0:le(Pe)&&(Pe=Pe[z],Pe===null&&(Pe=void 0)),Pe===ee||Pe===void 0))return x(me,he,ye);for(Oe=new(Pe===void 0?ee:Pe)(re(ye-he,0)),we=0;he<ye;he++,we++)he in me&&ne(Oe,we,me[he]);return Oe.length=we,Oe}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/a-callable"),ce=E("../internals/to-object"),le=E("../internals/length-of-array-like"),de=E("../internals/to-string"),ae=E("../internals/fails"),ie=E("../internals/array-sort"),ne=E("../internals/array-method-is-strict"),a=E("../internals/engine-ff-version"),y=E("../internals/engine-is-ie-or-edge"),x=E("../internals/engine-v8-version"),b=E("../internals/engine-webkit-version"),z=[],ee=te(z.sort),re=te(z.push),se=ae(function(){z.sort(void 0)}),fe=ae(function(){z.sort(null)}),ve=ne("sort"),me=!ae(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var ye="",Pe,Oe,we,Te;for(Pe=65;Pe<76;Pe++){switch(Oe=String.fromCharCode(Pe),Pe){case 66:case 69:case 70:case 72:we=3;break;case 68:case 71:we=4;break;default:we=2}for(Te=0;Te<47;Te++)z.push({k:Oe+Te,v:we})}for(z.sort(function(Me,Fe){return Fe.v-Me.v}),Te=0;Te<z.length;Te++)Oe=z[Te].k.charAt(0),ye.charAt(ye.length-1)!==Oe&&(ye+=Oe);return ye!=="DGBEFHACIJK"}}),pe=se||!fe||!ve||!me,he=function(ye){return function(Pe,Oe){return Oe===void 0?-1:Pe===void 0?1:ye!==void 0?+ye(Pe,Oe)||0:de(Pe)>de(Oe)?1:-1}};oe({target:"Array",proto:!0,forced:pe},{sort:function(Pe){Pe!==void 0&&ue(Pe);var Oe=ce(this);if(me)return Pe===void 0?ee(Oe):ee(Oe,Pe);var we=[],Te=le(Oe),Me,Fe;for(Fe=0;Fe<Te;Fe++)Fe in Oe&&re(we,Oe[Fe]);for(ie(we,he(Pe)),Me=we.length,Fe=0;Fe<Me;)Oe[Fe]=we[Fe++];for(;Fe<Te;)delete Oe[Fe++];return Oe}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/to-absolute-index"),ce=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),de=E("../internals/to-object"),ae=E("../internals/array-species-create"),ie=E("../internals/create-property"),ne=E("../internals/array-method-has-species-support"),a=ne("splice"),y=te.TypeError,x=Math.max,b=Math.min,z=9007199254740991,ee="Maximum allowed length exceeded";oe({target:"Array",proto:!0,forced:!a},{splice:function(se,fe){var ve=de(this),me=le(ve),pe=ue(se,me),he=arguments.length,ye,Pe,Oe,we,Te,Me;if(he===0?ye=Pe=0:he===1?(ye=0,Pe=me-pe):(ye=he-2,Pe=b(x(ce(fe),0),me-pe)),me+ye-Pe>z)throw y(ee);for(Oe=ae(ve,Pe),we=0;we<Pe;we++)Te=pe+we,Te in ve&&ie(Oe,we,ve[Te]);if(Oe.length=Pe,ye<Pe){for(we=pe;we<me-Pe;we++)Te=we+Pe,Me=we+ye,Te in ve?ve[Me]=ve[Te]:delete ve[Me];for(we=me;we>me-Pe+ye;we--)delete ve[we-1]}else if(ye>Pe)for(we=me-Pe;we>pe;we--)Te=we+Pe-1,Me=we+ye-1,Te in ve?ve[Me]=ve[Te]:delete ve[Me];for(we=0;we<ye;we++)ve[we+pe]=arguments[we+2];return ve.length=me-Pe+ye,Oe}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(E,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/function-name").EXISTS,ue=E("../internals/function-uncurry-this"),ce=E("../internals/object-define-property").f,le=Function.prototype,de=ue(le.toString),ae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ie=ue(ae.exec),ne="name";oe&&!te&&ce(le,ne,{configurable:!0,get:function(){try{return ie(ae,de(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,Se,ge){var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/function-apply"),ce=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),de=E("../internals/fails"),ae=E("../internals/is-array"),ie=E("../internals/is-callable"),ne=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=te("JSON","stringify"),z=le(/./.exec),ee=le("".charAt),re=le("".charCodeAt),se=le("".replace),fe=le(1 .toString),ve=/[\uD800-\uDFFF]/g,me=/^[\uD800-\uDBFF]$/,pe=/^[\uDC00-\uDFFF]$/,he=!x||de(function(){var we=te("Symbol")();return b([we])!="[null]"||b({a:we})!="{}"||b(Object(we))!="{}"}),ye=de(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),Pe=function(we,Te){var Me=y(arguments),Fe=Te;if(!(!ne(Te)&&we===void 0||a(we)))return ae(Te)||(Te=function($e,Ve){if(ie(Fe)&&(Ve=ce(Fe,this,$e,Ve)),!a(Ve))return Ve}),Me[1]=Te,ue(b,null,Me)},Oe=function(we,Te,Me){var Fe=ee(Me,Te-1),$e=ee(Me,Te+1);return z(me,we)&&!z(pe,$e)||z(pe,we)&&!z(me,Fe)?"\\u"+fe(re(we,0),16):we};b&&oe({target:"JSON",stat:!0,forced:he||ye},{stringify:function(Te,Me,Fe){var $e=y(arguments),Ve=ue(he?Pe:b,null,$e);return ye&&typeof Ve=="string"?se(Ve,ve,Oe):Ve}})},{"../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,Se,ge){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),le=E("../internals/redefine"),de=E("../internals/has-own-property"),ae=E("../internals/inherit-if-required"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/is-symbol"),a=E("../internals/to-primitive"),y=E("../internals/fails"),x=E("../internals/object-get-own-property-names").f,b=E("../internals/object-get-own-property-descriptor").f,z=E("../internals/object-define-property").f,ee=E("../internals/this-number-value"),re=E("../internals/string-trim").trim,se="Number",fe=te[se],ve=fe.prototype,me=te.TypeError,pe=ue("".slice),he=ue("".charCodeAt),ye=function(Fe){var $e=a(Fe,"number");return typeof $e=="bigint"?$e:Pe($e)},Pe=function(Fe){var $e=a(Fe,"number"),Ve,Re,st,rt,et,qe,ze,ke;if(ne($e))throw me("Cannot convert a Symbol value to a number");if(typeof $e=="string"&&$e.length>2){if($e=re($e),Ve=he($e,0),Ve===43||Ve===45){if(Re=he($e,2),Re===88||Re===120)return NaN}else if(Ve===48){switch(he($e,1)){case 66:case 98:st=2,rt=49;break;case 79:case 111:st=8,rt=55;break;default:return+$e}for(et=pe($e,2),qe=et.length,ze=0;ze<qe;ze++)if(ke=he(et,ze),ke<48||ke>rt)return NaN;return parseInt(et,st)}}return+$e};if(ce(se,!fe(" 0o1")||!fe("0b1")||fe("+0x1"))){for(var Oe=function($e){var Ve=arguments.length<1?0:fe(ye($e)),Re=this;return ie(ve,Re)&&y(function(){ee(Re)})?ae(Object(Ve),Re,Oe):Ve},we=oe?x(fe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Te=0,Me;we.length>Te;Te++)de(fe,Me=we[Te])&&!de(Oe,Me)&&z(Oe,Me,b(fe,Me));Oe.prototype=ve,ve.constructor=Oe,le(te,se,Oe)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/object-assign");oe({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/object-to-array").entries;oe({target:"Object",stat:!0},{entries:function(ce){return te(ce)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/native-symbol"),ue=E("../internals/fails"),ce=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),de=!te||ue(function(){ce.f(1)});oe({target:"Object",stat:!0,forced:de},{getOwnPropertySymbols:function(ie){var ne=ce.f;return ne?ne(le(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/to-object"),ue=E("../internals/object-keys"),ce=E("../internals/fails"),le=ce(function(){ue(1)});oe({target:"Object",stat:!0,forced:le},{keys:function(ae){return ue(te(ae))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,Se,ge){var oe=E("../internals/to-string-tag-support"),te=E("../internals/redefine"),ue=E("../internals/object-to-string");oe||te(Object.prototype,"toString",ue,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),le=E("../internals/perform"),de=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{all:function(ne){var a=this,y=ce.f(a),x=y.resolve,b=y.reject,z=le(function(){var ee=ue(a.resolve),re=[],se=0,fe=1;de(ne,function(ve){var me=se++,pe=!1;fe++,te(ee,a,ve).then(function(he){pe||(pe=!0,re[me]=he,--fe||x(re))},b)}),--fe||x(re)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),de=E("../internals/is-callable"),ae=E("../internals/redefine"),ie=ce&&ce.prototype;if(oe({target:"Promise",proto:!0,forced:ue,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&de(ce)){var ne=le("Promise").prototype.catch;ie.catch!==ne&&ae(ie,"catch",ne,{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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/engine-is-node"),ce=E("../internals/global"),le=E("../internals/function-call"),de=E("../internals/redefine"),ae=E("../internals/redefine-all"),ie=E("../internals/object-set-prototype-of"),ne=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),ee=E("../internals/species-constructor"),re=E("../internals/task").set,se=E("../internals/microtask"),fe=E("../internals/host-report-errors"),ve=E("../internals/perform"),me=E("../internals/queue"),pe=E("../internals/internal-state"),he=E("../internals/promise-native-constructor"),ye=E("../internals/promise-constructor-detection"),Pe=E("../internals/new-promise-capability"),Oe="Promise",we=ye.CONSTRUCTOR,Te=ye.REJECTION_EVENT,Me=ye.SUBCLASSING,Fe=pe.getterFor(Oe),$e=pe.set,Ve=he&&he.prototype,Re=he,st=Ve,rt=ce.TypeError,et=ce.document,qe=ce.process,ze=Pe.f,ke=ze,Be=!!(et&&et.createEvent&&ce.dispatchEvent),Je="unhandledrejection",Ye="rejectionhandled",dt=0,He=1,Ue=2,Le=1,Ke=2,Ee,Ie,Qe,Xe,Ge=function(St){var xt;return b(St)&&x(xt=St.then)?xt:!1},Ce=function(St,xt){var at=xt.value,Tt=xt.state==He,We=Tt?St.ok:St.fail,ct=St.resolve,ht=St.reject,vt=St.domain,Ot,Bt,Zt;try{We?(Tt||(xt.rejection===Ke&&pt(xt),xt.rejection=Le),We===!0?Ot=at:(vt&&vt.enter(),Ot=We(at),vt&&(vt.exit(),Zt=!0)),Ot===St.promise?ht(rt("Promise-chain cycle")):(Bt=Ge(Ot))?le(Bt,Ot,ct,ht):ct(Ot)):ht(at)}catch(Yt){vt&&!Zt&&vt.exit(),ht(Yt)}},xe=function(St,xt){St.notified||(St.notified=!0,se(function(){for(var at=St.reactions,Tt;Tt=at.get();)Ce(Tt,St);St.notified=!1,xt&&!St.rejection&&_e(St)}))},je=function(St,xt,at){var Tt,We;Be?(Tt=et.createEvent("Event"),Tt.promise=xt,Tt.reason=at,Tt.initEvent(St,!1,!0),ce.dispatchEvent(Tt)):Tt={promise:xt,reason:at},!Te&&(We=ce["on"+St])?We(Tt):St===Je&&fe("Unhandled promise rejection",at)},_e=function(St){le(re,ce,function(){var xt=St.facade,at=St.value,Tt=ot(St),We;if(Tt&&(We=ve(function(){ue?qe.emit("unhandledRejection",at,xt):je(Je,xt,at)}),St.rejection=ue||ot(St)?Ke:Le,We.error))throw We.value})},ot=function(St){return St.rejection!==Le&&!St.parent},pt=function(St){le(re,ce,function(){var xt=St.facade;ue?qe.emit("rejectionHandled",xt):je(Ye,xt,St.value)})},mt=function(St,xt,at){return function(Tt){St(xt,Tt,at)}},tt=function(St,xt,at){St.done||(St.done=!0,at&&(St=at),St.value=xt,St.state=Ue,xe(St,!0))},ut=function(St,xt,at){if(!St.done){St.done=!0,at&&(St=at);try{if(St.facade===xt)throw rt("Promise can't be resolved itself");var Tt=Ge(xt);Tt?se(function(){var We={done:!1};try{le(Tt,xt,mt(ut,We,St),mt(tt,We,St))}catch(ct){tt(We,ct,St)}}):(St.value=xt,St.state=He,xe(St,!1))}catch(We){tt({done:!1},We,St)}}};if(we&&(Re=function(xt){z(this,st),y(xt),le(Ee,this);var at=Fe(this);try{xt(mt(ut,at),mt(tt,at))}catch(Tt){tt(at,Tt)}},st=Re.prototype,Ee=function(xt){$e(this,{type:Oe,done:!1,notified:!1,parent:!1,reactions:new me,rejection:!1,state:dt,value:void 0})},Ee.prototype=ae(st,{then:function(xt,at){var Tt=Fe(this),We=ze(ee(this,Re));return Tt.parent=!0,We.ok=x(xt)?xt:!0,We.fail=x(at)&&at,We.domain=ue?qe.domain:void 0,Tt.state==dt?Tt.reactions.add(We):se(function(){Ce(We,Tt)}),We.promise}}),Ie=function(){var St=new Ee,xt=Fe(St);this.promise=St,this.resolve=mt(ut,xt),this.reject=mt(tt,xt)},Pe.f=ze=function(St){return St===Re||St===Qe?new Ie(St):ke(St)},!te&&x(he)&&Ve!==Object.prototype)){Xe=Ve.then,Me||de(Ve,"then",function(xt,at){var Tt=this;return new Re(function(We,ct){le(Xe,Tt,We,ct)}).then(xt,at)},{unsafe:!0});try{delete Ve.constructor}catch(St){}ie&&ie(Ve,st)}oe({global:!0,wrap:!0,forced:we},{Promise:Re}),ne(Re,Oe,!1,!0),a(Oe)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,Se,ge){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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),le=E("../internals/perform"),de=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{race:function(ne){var a=this,y=ce.f(a),x=y.reject,b=le(function(){var z=ue(a.resolve);de(ne,function(ee){te(z,a,ee).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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/new-promise-capability"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR;oe({target:"Promise",stat:!0,forced:ce},{reject:function(de){var ae=ue.f(this);return te(ae.reject,void 0,de),ae.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/is-pure"),ce=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-resolve"),ae=te("Promise"),ie=ue&&!le;oe({target:"Promise",stat:!0,forced:ue||le},{resolve:function(a){return de(ie&&this===ae?ce: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,Se,ge){var oe=E("../internals/descriptors"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),de=E("../internals/create-non-enumerable-property"),ae=E("../internals/object-get-own-property-names").f,ie=E("../internals/object-is-prototype-of"),ne=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),ee=E("../internals/fails"),re=E("../internals/has-own-property"),se=E("../internals/internal-state").enforce,fe=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),me=E("../internals/regexp-unsupported-dot-all"),pe=E("../internals/regexp-unsupported-ncg"),he=ve("match"),ye=te.RegExp,Pe=ye.prototype,Oe=te.SyntaxError,we=ue(Pe.exec),Te=ue("".charAt),Me=ue("".replace),Fe=ue("".indexOf),$e=ue("".slice),Ve=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Re=/a/g,st=/a/g,rt=new ye(Re)!==Re,et=x.MISSED_STICKY,qe=x.UNSUPPORTED_Y,ze=oe&&(!rt||et||me||pe||ee(function(){return st[he]=!1,ye(Re)!=Re||ye(st)==st||ye(Re,"i")!="/a/i"})),ke=function(He){for(var Ue=He.length,Le=0,Ke="",Ee=!1,Ie;Le<=Ue;Le++){if(Ie=Te(He,Le),Ie==="\\"){Ke+=Ie+Te(He,++Le);continue}!Ee&&Ie==="."?Ke+="[\\s\\S]":(Ie==="["?Ee=!0:Ie==="]"&&(Ee=!1),Ke+=Ie)}return Ke},Be=function(He){for(var Ue=He.length,Le=0,Ke="",Ee=[],Ie={},Qe=!1,Xe=!1,Ge=0,Ce="",xe;Le<=Ue;Le++){if(xe=Te(He,Le),xe==="\\")xe=xe+Te(He,++Le);else if(xe==="]")Qe=!1;else if(!Qe)switch(!0){case xe==="[":Qe=!0;break;case xe==="(":we(Ve,$e(He,Le+1))&&(Le+=2,Xe=!0),Ke+=xe,Ge++;continue;case(xe===">"&&Xe):if(Ce===""||re(Ie,Ce))throw new Oe("Invalid capture group name");Ie[Ce]=!0,Ee[Ee.length]=[Ce,Ge],Xe=!1,Ce="";continue}Xe?Ce+=xe:Ke+=xe}return[Ke,Ee]};if(ce("RegExp",ze)){for(var Je=function(Ue,Le){var Ke=ie(Pe,this),Ee=ne(Ue),Ie=Le===void 0,Qe=[],Xe=Ue,Ge,Ce,xe,je,_e,ot;if(!Ke&&Ee&&Ie&&Ue.constructor===Je)return Ue;if((Ee||ie(Pe,Ue))&&(Ue=Ue.source,Ie&&(Le=y(Xe))),Ue=Ue===void 0?"":a(Ue),Le=Le===void 0?"":a(Le),Xe=Ue,me&&"dotAll"in Re&&(Ce=!!Le&&Fe(Le,"s")>-1,Ce&&(Le=Me(Le,/s/g,""))),Ge=Le,et&&"sticky"in Re&&(xe=!!Le&&Fe(Le,"y")>-1,xe&&qe&&(Le=Me(Le,/y/g,""))),pe&&(je=Be(Ue),Ue=je[0],Qe=je[1]),_e=le(ye(Ue,Le),Ke?this:Pe,Je),(Ce||xe||Qe.length)&&(ot=se(_e),Ce&&(ot.dotAll=!0,ot.raw=Je(ke(Ue),Ge)),xe&&(ot.sticky=!0),Qe.length&&(ot.groups=Qe)),Ue!==Xe)try{de(_e,"source",Xe===""?"(?:)":Xe)}catch(pt){}return _e},Ye=ae(ye),dt=0;Ye.length>dt;)b(Je,ye,Ye[dt++]);Pe.constructor=Je,Je.prototype=Pe,z(te,"RegExp",Je)}fe("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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/regexp-exec");oe({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,Se,ge){"use strict";var oe=E("../internals/function-name").PROPER,te=E("../internals/redefine"),ue=E("../internals/an-object"),ce=E("../internals/to-string"),le=E("../internals/fails"),de=E("../internals/regexp-get-flags"),ae="toString",ie=RegExp.prototype,ne=ie[ae],a=le(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=oe&&ne.name!=ae;(a||y)&&te(RegExp.prototype,ae,function(){var b=ue(this),z=ce(b.source),ee=ce(de(b));return"/"+z+"/"+ee},{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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/not-a-regexp"),ce=E("../internals/require-object-coercible"),le=E("../internals/to-string"),de=E("../internals/correct-is-regexp-logic"),ae=te("".indexOf);oe({target:"String",proto:!0,forced:!de("includes")},{includes:function(ne){return!!~ae(le(ce(this)),le(ue(ne)),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,Se,ge){"use strict";var oe=E("../internals/string-multibyte").charAt,te=E("../internals/to-string"),ue=E("../internals/internal-state"),ce=E("../internals/define-iterator"),le="String Iterator",de=ue.set,ae=ue.getterFor(le);ce(String,"String",function(ie){de(this,{type:le,string:te(ie),index:0})},function(){var ne=ae(this),a=ne.string,y=ne.index,x;return y>=a.length?{value:void 0,done:!0}:(x=oe(a,y),ne.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,Se,ge){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),ce=E("../internals/to-length"),le=E("../internals/to-string"),de=E("../internals/require-object-coercible"),ae=E("../internals/get-method"),ie=E("../internals/advance-string-index"),ne=E("../internals/regexp-exec-abstract");te("match",function(a,y,x){return[function(z){var ee=de(this),re=z==null?void 0:ae(z,a);return re?oe(re,z,ee):new RegExp(z)[a](le(ee))},function(b){var z=ue(this),ee=le(b),re=x(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var se=z.unicode;z.lastIndex=0;for(var fe=[],ve=0,me;(me=ne(z,ee))!==null;){var pe=le(me[0]);fe[ve]=pe,pe===""&&(z.lastIndex=ie(ee,ce(z.lastIndex),se)),ve++}return ve===0?null:fe}]})},{"../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,Se,ge){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),de=E("../internals/an-object"),ae=E("../internals/is-callable"),ie=E("../internals/to-integer-or-infinity"),ne=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),ee=E("../internals/regexp-exec-abstract"),re=E("../internals/well-known-symbol"),se=re("replace"),fe=Math.max,ve=Math.min,me=ue([].concat),pe=ue([].push),he=ue("".indexOf),ye=ue("".slice),Pe=function(Me){return Me===void 0?Me:String(Me)},Oe=function(){return"a".replace(/./,"$0")==="$0"}(),we=function(){return/./[se]?/./[se]("a","$0")==="":!1}(),Te=!le(function(){var Me=/./;return Me.exec=function(){var Fe=[];return Fe.groups={a:"7"},Fe},"".replace(Me,"$<a>")!=="7"});ce("replace",function(Me,Fe,$e){var Ve=we?"$":"$0";return[function(st,rt){var et=y(this),qe=st==null?void 0:b(st,se);return qe?te(qe,st,et,rt):te(Fe,a(et),st,rt)},function(Re,st){var rt=de(this),et=a(Re);if(typeof st=="string"&&he(st,Ve)===-1&&he(st,"$<")===-1){var qe=$e(Fe,rt,et,st);if(qe.done)return qe.value}var ze=ae(st);ze||(st=a(st));var ke=rt.global;if(ke){var Be=rt.unicode;rt.lastIndex=0}for(var Je=[];;){var Ye=ee(rt,et);if(Ye===null||(pe(Je,Ye),!ke))break;var dt=a(Ye[0]);dt===""&&(rt.lastIndex=x(et,ne(rt.lastIndex),Be))}for(var He="",Ue=0,Le=0;Le<Je.length;Le++){Ye=Je[Le];for(var Ke=a(Ye[0]),Ee=fe(ve(ie(Ye.index),et.length),0),Ie=[],Qe=1;Qe<Ye.length;Qe++)pe(Ie,Pe(Ye[Qe]));var Xe=Ye.groups;if(ze){var Ge=me([Ke],Ie,Ee,et);Xe!==void 0&&pe(Ge,Xe);var Ce=a(oe(st,void 0,Ge))}else Ce=z(Ke,et,Ee,Ie,Xe,st);Ee>=Ue&&(He+=ye(et,Ue,Ee)+Ce,Ue=Ee+Ke.length)}return He+ye(et,Ue)}]},!Te||!Oe||we)},{"../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,Se,ge){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),ce=E("../internals/require-object-coercible"),le=E("../internals/same-value"),de=E("../internals/to-string"),ae=E("../internals/get-method"),ie=E("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=ce(this),ee=b==null?void 0:ae(b,ne);return ee?oe(ee,b,z):new RegExp(b)[ne](de(z))},function(x){var b=ue(this),z=de(x),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;le(re,0)||(b.lastIndex=0);var se=ie(b,z);return le(b.lastIndex,re)||(b.lastIndex=re),se===null?-1:se.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,Se,ge){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),de=E("../internals/an-object"),ae=E("../internals/require-object-coercible"),ie=E("../internals/species-constructor"),ne=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),ee=E("../internals/regexp-exec"),re=E("../internals/regexp-sticky-helpers"),se=E("../internals/fails"),fe=re.UNSUPPORTED_Y,ve=4294967295,me=Math.min,pe=[].push,he=ue(/./.exec),ye=ue(pe),Pe=ue("".slice),Oe=!se(function(){var we=/(?:)/,Te=we.exec;we.exec=function(){return Te.apply(this,arguments)};var Me="ab".split(we);return Me.length!==2||Me[0]!=="a"||Me[1]!=="b"});ce("split",function(we,Te,Me){var Fe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Fe=function($e,Ve){var Re=y(ae(this)),st=Ve===void 0?ve:Ve>>>0;if(st===0)return[];if($e===void 0)return[Re];if(!le($e))return te(Te,Re,$e,st);for(var rt=[],et=($e.ignoreCase?"i":"")+($e.multiline?"m":"")+($e.unicode?"u":"")+($e.sticky?"y":""),qe=0,ze=new RegExp($e.source,et+"g"),ke,Be,Je;(ke=te(ee,ze,Re))&&(Be=ze.lastIndex,!(Be>qe&&(ye(rt,Pe(Re,qe,ke.index)),ke.length>1&&ke.index<Re.length&&oe(pe,rt,b(ke,1)),Je=ke[0].length,qe=Be,rt.length>=st)));)ze.lastIndex===ke.index&&ze.lastIndex++;return qe===Re.length?(Je||!he(ze,""))&&ye(rt,""):ye(rt,Pe(Re,qe)),rt.length>st?b(rt,0,st):rt}:"0".split(void 0,0).length?Fe=function($e,Ve){return $e===void 0&&Ve===0?[]:te(Te,this,$e,Ve)}:Fe=Te,[function(Ve,Re){var st=ae(this),rt=Ve==null?void 0:x(Ve,we);return rt?te(rt,Ve,st,Re):te(Fe,y(st),Ve,Re)},function($e,Ve){var Re=de(this),st=y($e),rt=Me(Fe,Re,st,Ve,Fe!==Te);if(rt.done)return rt.value;var et=ie(Re,RegExp),qe=Re.unicode,ze=(Re.ignoreCase?"i":"")+(Re.multiline?"m":"")+(Re.unicode?"u":"")+(fe?"g":"y"),ke=new et(fe?"^(?:"+Re.source+")":Re,ze),Be=Ve===void 0?ve:Ve>>>0;if(Be===0)return[];if(st.length===0)return z(ke,st)===null?[st]:[];for(var Je=0,Ye=0,dt=[];Ye<st.length;){ke.lastIndex=fe?0:Ye;var He=z(ke,fe?Pe(st,Ye):st),Ue;if(He===null||(Ue=me(a(ke.lastIndex+(fe?Ye:0)),st.length))===Je)Ye=ne(st,Ye,qe);else{if(ye(dt,Pe(st,Je,Ye)),dt.length===Be)return dt;for(var Le=1;Le<=He.length-1;Le++)if(ye(dt,He[Le]),dt.length===Be)return dt;Ye=Je=Ue}}return ye(dt,Pe(st,Je)),dt}]},!Oe,fe)},{"../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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/string-trim").trim,ue=E("../internals/string-trim-forced");oe({target:"String",proto:!0,forced:ue("trim")},{trim:function(){return te(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/function-call"),ce=E("../internals/function-uncurry-this"),le=E("../internals/is-pure"),de=E("../internals/descriptors"),ae=E("../internals/native-symbol"),ie=E("../internals/fails"),ne=E("../internals/has-own-property"),a=E("../internals/object-is-prototype-of"),y=E("../internals/an-object"),x=E("../internals/to-indexed-object"),b=E("../internals/to-property-key"),z=E("../internals/to-string"),ee=E("../internals/create-property-descriptor"),re=E("../internals/object-create"),se=E("../internals/object-keys"),fe=E("../internals/object-get-own-property-names"),ve=E("../internals/object-get-own-property-names-external"),me=E("../internals/object-get-own-property-symbols"),pe=E("../internals/object-get-own-property-descriptor"),he=E("../internals/object-define-property"),ye=E("../internals/object-define-properties"),Pe=E("../internals/object-property-is-enumerable"),Oe=E("../internals/redefine"),we=E("../internals/shared"),Te=E("../internals/shared-key"),Me=E("../internals/hidden-keys"),Fe=E("../internals/uid"),$e=E("../internals/well-known-symbol"),Ve=E("../internals/well-known-symbol-wrapped"),Re=E("../internals/define-well-known-symbol"),st=E("../internals/symbol-define-to-primitive"),rt=E("../internals/set-to-string-tag"),et=E("../internals/internal-state"),qe=E("../internals/array-iteration").forEach,ze=Te("hidden"),ke="Symbol",Be="prototype",Je=et.set,Ye=et.getterFor(ke),dt=Object[Be],He=te.Symbol,Ue=He&&He[Be],Le=te.TypeError,Ke=te.QObject,Ee=pe.f,Ie=he.f,Qe=ve.f,Xe=Pe.f,Ge=ce([].push),Ce=we("symbols"),xe=we("op-symbols"),je=we("wks"),_e=!Ke||!Ke[Be]||!Ke[Be].findChild,ot=de&&ie(function(){return re(Ie({},"a",{get:function(){return Ie(this,"a",{value:7}).a}})).a!=7})?function(We,ct,ht){var vt=Ee(dt,ct);vt&&delete dt[ct],Ie(We,ct,ht),vt&&We!==dt&&Ie(dt,ct,vt)}:Ie,pt=function(We,ct){var ht=Ce[We]=re(Ue);return Je(ht,{type:ke,tag:We,description:ct}),de||(ht.description=ct),ht},mt=function(ct,ht,vt){ct===dt&&mt(xe,ht,vt),y(ct);var Ot=b(ht);return y(vt),ne(Ce,Ot)?(vt.enumerable?(ne(ct,ze)&&ct[ze][Ot]&&(ct[ze][Ot]=!1),vt=re(vt,{enumerable:ee(0,!1)})):(ne(ct,ze)||Ie(ct,ze,ee(1,{})),ct[ze][Ot]=!0),ot(ct,Ot,vt)):Ie(ct,Ot,vt)},tt=function(ct,ht){y(ct);var vt=x(ht),Ot=se(vt).concat(Tt(vt));return qe(Ot,function(Bt){(!de||ue(St,vt,Bt))&&mt(ct,Bt,vt[Bt])}),ct},ut=function(ct,ht){return ht===void 0?re(ct):tt(re(ct),ht)},St=function(ct){var ht=b(ct),vt=ue(Xe,this,ht);return this===dt&&ne(Ce,ht)&&!ne(xe,ht)?!1:vt||!ne(this,ht)||!ne(Ce,ht)||ne(this,ze)&&this[ze][ht]?vt:!0},xt=function(ct,ht){var vt=x(ct),Ot=b(ht);if(!(vt===dt&&ne(Ce,Ot)&&!ne(xe,Ot))){var Bt=Ee(vt,Ot);return Bt&&ne(Ce,Ot)&&!(ne(vt,ze)&&vt[ze][Ot])&&(Bt.enumerable=!0),Bt}},at=function(ct){var ht=Qe(x(ct)),vt=[];return qe(ht,function(Ot){!ne(Ce,Ot)&&!ne(Me,Ot)&&Ge(vt,Ot)}),vt},Tt=function(We){var ct=We===dt,ht=Qe(ct?xe:x(We)),vt=[];return qe(ht,function(Ot){ne(Ce,Ot)&&(!ct||ne(dt,Ot))&&Ge(vt,Ce[Ot])}),vt};ae||(He=function(){if(a(Ue,this))throw Le("Symbol is not a constructor");var ct=!arguments.length||arguments[0]===void 0?void 0:z(arguments[0]),ht=Fe(ct),vt=function(Ot){this===dt&&ue(vt,xe,Ot),ne(this,ze)&&ne(this[ze],ht)&&(this[ze][ht]=!1),ot(this,ht,ee(1,Ot))};return de&&_e&&ot(dt,ht,{configurable:!0,set:vt}),pt(ht,ct)},Ue=He[Be],Oe(Ue,"toString",function(){return Ye(this).tag}),Oe(He,"withoutSetter",function(We){return pt(Fe(We),We)}),Pe.f=St,he.f=mt,ye.f=tt,pe.f=xt,fe.f=ve.f=at,me.f=Tt,Ve.f=function(We){return pt($e(We),We)},de&&(Ie(Ue,"description",{configurable:!0,get:function(){return Ye(this).description}}),le||Oe(dt,"propertyIsEnumerable",St,{unsafe:!0}))),oe({global:!0,wrap:!0,forced:!ae,sham:!ae},{Symbol:He}),qe(se(je),function(We){Re(We)}),oe({target:ke,stat:!0,forced:!ae},{useSetter:function(){_e=!0},useSimple:function(){_e=!1}}),oe({target:"Object",stat:!0,forced:!ae,sham:!de},{create:ut,defineProperty:mt,defineProperties:tt,getOwnPropertyDescriptor:xt}),oe({target:"Object",stat:!0,forced:!ae},{getOwnPropertyNames:at}),st(),rt(He,ke),Me[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,Se,ge){"use strict";var oe=E("../internals/export"),te=E("../internals/descriptors"),ue=E("../internals/global"),ce=E("../internals/function-uncurry-this"),le=E("../internals/has-own-property"),de=E("../internals/is-callable"),ae=E("../internals/object-is-prototype-of"),ie=E("../internals/to-string"),ne=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ue.Symbol,x=y&&y.prototype;if(te&&de(y)&&(!("description"in x)||y().description!==void 0)){var b={},z=function(){var he=arguments.length<1||arguments[0]===void 0?void 0:ie(arguments[0]),ye=ae(x,this)?new y(he):he===void 0?y():y(he);return he===""&&(b[ye]=!0),ye};a(z,y),z.prototype=x,x.constructor=z;var ee=String(y("test"))=="Symbol(test)",re=ce(x.toString),se=ce(x.valueOf),fe=/^Symbol\((.*)\)[^)]+$/,ve=ce("".replace),me=ce("".slice);ne(x,"description",{configurable:!0,get:function(){var he=se(this),ye=re(he);if(le(b,he))return"";var Pe=ee?me(ye,7,-1):ve(ye,fe,"$1");return Pe===""?void 0:Pe}}),oe({global:!0,forced:!0},{Symbol:z})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(E,Se,ge){var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/has-own-property"),ce=E("../internals/to-string"),le=E("../internals/shared"),de=E("../internals/native-symbol-registry"),ae=le("string-to-symbol-registry"),ie=le("symbol-to-string-registry");oe({target:"Symbol",stat:!0,forced:!de},{for:function(ne){var a=ce(ne);if(ue(ae,a))return ae[a];var y=te("Symbol")(a);return ae[a]=y,ie[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,Se,ge){var oe=E("../internals/define-well-known-symbol");oe("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,Se,ge){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,Se,ge){var oe=E("../internals/export"),te=E("../internals/has-own-property"),ue=E("../internals/is-symbol"),ce=E("../internals/try-to-string"),le=E("../internals/shared"),de=E("../internals/native-symbol-registry"),ae=le("symbol-to-string-registry");oe({target:"Symbol",stat:!0,forced:!de},{keyFor:function(ne){if(!ue(ne))throw TypeError(ce(ne)+" is not a symbol");if(te(ae,ne))return ae[ne]}})},{"../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,Se,ge){"use strict";var oe=E("../internals/function-uncurry-this"),te=E("../internals/array-buffer-view-core"),ue=E("../internals/array-copy-within"),ce=oe(ue),le=te.aTypedArray,de=te.exportTypedArrayMethod;de("copyWithin",function(ie,ne){return ce(le(this),ie,ne,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,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").every,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("every",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-call"),ue=E("../internals/array-fill"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("fill",function(ae){var ie=arguments.length;return te(ue,ce(this),ae,ie>1?arguments[1]:void 0,ie>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").filter,ue=E("../internals/typed-array-from-species-and-list"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("filter",function(ae){var ie=te(ce(this),ae,arguments.length>1?arguments[1]:void 0);return ue(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").findIndex,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("findIndex",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").find,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("find",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").forEach,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("forEach",function(de){te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").includes,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("includes",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").indexOf,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("indexOf",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/fails"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),de=E("../internals/well-known-symbol"),ae=de("iterator"),ie=oe.Uint8Array,ne=ue(le.values),a=ue(le.keys),y=ue(le.entries),x=ce.aTypedArray,b=ce.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[ae].call([1])}),re=!!z&&z.values&&z[ae]===z.values&&z.values.name==="values",se=function(){return ne(x(this))};b("entries",function(){return y(x(this))},ee),b("keys",function(){return a(x(this))},ee),b("values",se,ee||!re,{name:"values"}),b(ae,se,ee||!re,{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,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-uncurry-this"),ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod,le=te([].join);ce("join",function(ae){return le(ue(this),ae)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-apply"),ue=E("../internals/array-last-index-of"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("lastIndexOf",function(ae){var ie=arguments.length;return te(ue,ce(this),ie>1?[ae,arguments[1]]:[ae])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").map,ue=E("../internals/typed-array-species-constructor"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("map",function(ae){return te(ce(this),ae,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(ue(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").right,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("reduceRight",function(de){var ae=arguments.length;return te(ue(this),de,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").left,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("reduce",function(de){var ae=arguments.length;return te(ue(this),de,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=oe.aTypedArray,ue=oe.exportTypedArrayMethod,ce=Math.floor;ue("reverse",function(){for(var de=this,ae=te(de).length,ie=ce(ae/2),ne=0,a;ne<ie;)a=de[ne],de[ne++]=de[--ae],de[ae]=a;return de})},{"../internals/array-buffer-view-core":103}],331:[function(E,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/array-buffer-view-core"),ce=E("../internals/length-of-array-like"),le=E("../internals/to-offset"),de=E("../internals/to-object"),ae=E("../internals/fails"),ie=oe.RangeError,ne=oe.Int8Array,a=ne&&ne.prototype,y=a&&a.set,x=ue.aTypedArray,b=ue.exportTypedArrayMethod,z=!ae(function(){var re=new Uint8ClampedArray(2);return te(y,re,{length:1,0:3},1),re[1]!==3}),ee=z&&ue.NATIVE_ARRAY_BUFFER_VIEWS&&ae(function(){var re=new ne(2);return re.set(1),re.set("2",1),re[0]!==0||re[1]!==2});b("set",function(se){x(this);var fe=le(arguments.length>1?arguments[1]:void 0,1),ve=de(se);if(z)return te(y,this,ve,fe);var me=this.length,pe=ce(ve),he=0;if(pe+fe>me)throw ie("Wrong length");for(;he<pe;)this[fe+he]=ve[he++]},!z||ee)},{"../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,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/typed-array-species-constructor"),ue=E("../internals/fails"),ce=E("../internals/array-slice"),le=oe.aTypedArray,de=oe.exportTypedArrayMethod,ae=ue(function(){new Int8Array(1).slice()});de("slice",function(ne,a){for(var y=ce(le(this),ne,a),x=te(this),b=0,z=y.length,ee=new x(z);z>b;)ee[b]=y[b++];return ee},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").some,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("some",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),ce=E("../internals/a-callable"),le=E("../internals/array-sort"),de=E("../internals/array-buffer-view-core"),ae=E("../internals/engine-ff-version"),ie=E("../internals/engine-is-ie-or-edge"),ne=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=de.aTypedArray,x=de.exportTypedArrayMethod,b=oe.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(ue(function(){z(new b(2),null)})&&ue(function(){z(new b(2),{})})),re=!!z&&!ue(function(){if(ne)return ne<74;if(ae)return ae<67;if(ie)return!0;if(a)return a<602;var fe=new b(516),ve=Array(516),me,pe;for(me=0;me<516;me++)pe=me%4,fe[me]=515-me,ve[me]=me-2*pe+3;for(z(fe,function(he,ye){return(he/4|0)-(ye/4|0)}),me=0;me<516;me++)if(fe[me]!==ve[me])return!0}),se=function(fe){return function(ve,me){return fe!==void 0?+fe(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&&ce(ve),re?z(this,ve):le(y(this),se(ve))},!re||ee)},{"../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,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/to-length"),ue=E("../internals/to-absolute-index"),ce=E("../internals/typed-array-species-constructor"),le=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("subarray",function(ie,ne){var a=le(this),y=a.length,x=ue(ie,y),b=ce(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,te((ne===void 0?y:ue(ne,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,Se,ge){"use strict";var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/array-buffer-view-core"),ce=E("../internals/fails"),le=E("../internals/array-slice"),de=oe.Int8Array,ae=ue.aTypedArray,ie=ue.exportTypedArrayMethod,ne=[].toLocaleString,a=!!de&&ce(function(){ne.call(new de(1))}),y=ce(function(){return[1,2].toLocaleString()!=new de([1,2]).toLocaleString()})||!ce(function(){de.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?le(ae(this)):ae(this),le(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,Se,ge){"use strict";var oe=E("../internals/array-buffer-view-core").exportTypedArrayMethod,te=E("../internals/fails"),ue=E("../internals/global"),ce=E("../internals/function-uncurry-this"),le=ue.Uint8Array,de=le&&le.prototype||{},ae=[].toString,ie=ce([].join);te(function(){ae.call({})})&&(ae=function(){return ie(this)});var ne=de.toString!=ae;oe("toString",ae,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,Se,ge){var oe=E("../internals/typed-array-constructor");oe("Uint8",function(te){return function(ce,le,de){return te(this,ce,le,de)}})},{"../internals/typed-array-constructor":258}],339:[function(E,Se,ge){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),ce=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),de=function(ie){if(ie&&ie.forEach!==ce)try{le(ie,"forEach",ce)}catch(ne){ie.forEach=ce}};for(var ae in te)te[ae]&&de(oe[ae]&&oe[ae].prototype);de(ue)},{"../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,Se,ge){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),ce=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),de=E("../internals/well-known-symbol"),ae=de("iterator"),ie=de("toStringTag"),ne=ce.values,a=function(x,b){if(x){if(x[ae]!==ne)try{le(x,ae,ne)}catch(ee){x[ae]=ne}if(x[ie]||le(x,ie,b),te[b]){for(var z in ce)if(x[z]!==ce[z])try{le(x,z,ce[z])}catch(ee){x[z]=ce[z]}}}};for(var y in te)a(oe[y]&&oe[y].prototype,y);a(ue,"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,Se,ge){function oe(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}ge.isArray=oe;function te(re){return typeof re=="boolean"}ge.isBoolean=te;function ue(re){return re===null}ge.isNull=ue;function ce(re){return re==null}ge.isNullOrUndefined=ce;function le(re){return typeof re=="number"}ge.isNumber=le;function de(re){return typeof re=="string"}ge.isString=de;function ae(re){return typeof re=="symbol"}ge.isSymbol=ae;function ie(re){return re===void 0}ge.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}ge.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}ge.isObject=a;function y(re){return ee(re)==="[object Date]"}ge.isDate=y;function x(re){return ee(re)==="[object Error]"||re instanceof Error}ge.isError=x;function b(re){return typeof re=="function"}ge.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}ge.isPrimitive=z,ge.isBuffer=E("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(E,Se,ge){(function(oe){"use strict";var te=function(){var ae=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ie=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ne=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&de(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(te.masks[y]||y||te.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var ee=x?"getUTC":"get",re=a[ee+"Date"](),se=a[ee+"Day"](),fe=a[ee+"Month"](),ve=a[ee+"FullYear"](),me=a[ee+"Hours"](),pe=a[ee+"Minutes"](),he=a[ee+"Seconds"](),ye=a[ee+"Milliseconds"](),Pe=x?0:a.getTimezoneOffset(),Oe=ce(a),we=le(a),Te={d:re,dd:ue(re),ddd:te.i18n.dayNames[se],dddd:te.i18n.dayNames[se+7],m:fe+1,mm:ue(fe+1),mmm:te.i18n.monthNames[fe],mmmm:te.i18n.monthNames[fe+12],yy:String(ve).slice(2),yyyy:ve,h:me%12||12,hh:ue(me%12||12),H:me,HH:ue(me),M:pe,MM:ue(pe),s:he,ss:ue(he),l:ue(ye,3),L:ue(Math.round(ye/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(ie)||[""]).pop().replace(ne,""),o:(Pe>0?"-":"+")+ue(Math.floor(Math.abs(Pe)/60)*100+Math.abs(Pe)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:Oe,N:we};return y.replace(ae,function(Me){return Me in Te?Te[Me]:Me.slice(1,Me.length-1)})}}();te.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"},te.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 ue(ae,ie){for(ae=String(ae),ie=ie||2;ae.length<ie;)ae="0"+ae;return ae}function ce(ae){var ie=new Date(ae.getFullYear(),ae.getMonth(),ae.getDate());ie.setDate(ie.getDate()-(ie.getDay()+6)%7+3);var ne=new Date(ie.getFullYear(),0,4);ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var a=ie.getTimezoneOffset()-ne.getTimezoneOffset();ie.setHours(ie.getHours()-a);var y=(ie-ne)/(864e5*7);return 1+Math.floor(y)}function le(ae){var ie=ae.getDay();return ie===0&&(ie=7),ie}function de(ae){return ae===null?"null":ae===void 0?"undefined":typeof ae!="object"?typeof ae:Array.isArray(ae)?"array":{}.toString.call(ae).slice(8,-1).toLowerCase()}typeof be=="function"&&be.amd?be(function(){return te}):typeof ge=="object"?Se.exports=te:oe.dateFormat=te})(this)},{}],343:[function(E,Se,ge){"use strict";var oe=/["'&<>]/;Se.exports=te;function te(ue){var ce=""+ue,le=oe.exec(ce);if(!le)return ce;var de,ae="",ie=0,ne=0;for(ie=le.index;ie<ce.length;ie++){switch(ce.charCodeAt(ie)){case 34:de="&quot;";break;case 38:de="&amp;";break;case 39:de="&#39;";break;case 60:de="&lt;";break;case 62:de="&gt;";break;default:continue}ne!==ie&&(ae+=ce.substring(ne,ie)),ne=ie+1,ae+=de}return ne!==ie?ae+ce.substring(ne,ie):ae}},{}],344:[function(E,Se,ge){"use strict";var oe=typeof Reflect=="object"?Reflect:null,te=oe&&typeof oe.apply=="function"?oe.apply:function(he,ye,Pe){return Function.prototype.apply.call(he,ye,Pe)},ue;oe&&typeof oe.ownKeys=="function"?ue=oe.ownKeys:Object.getOwnPropertySymbols?ue=function(he){return Object.getOwnPropertyNames(he).concat(Object.getOwnPropertySymbols(he))}:ue=function(he){return Object.getOwnPropertyNames(he)};function ce(pe){console&&console.warn&&console.warn(pe)}var le=Number.isNaN||function(he){return he!==he};function de(){de.init.call(this)}Se.exports=de,Se.exports.once=fe,de.EventEmitter=de,de.prototype._events=void 0,de.prototype._eventsCount=0,de.prototype._maxListeners=void 0;var ae=10;function ie(pe){if(typeof pe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof pe)}Object.defineProperty(de,"defaultMaxListeners",{enumerable:!0,get:function(){return ae},set:function(pe){if(typeof pe!="number"||pe<0||le(pe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+pe+".");ae=pe}}),de.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},de.prototype.setMaxListeners=function(he){if(typeof he!="number"||he<0||le(he))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+he+".");return this._maxListeners=he,this};function ne(pe){return pe._maxListeners===void 0?de.defaultMaxListeners:pe._maxListeners}de.prototype.getMaxListeners=function(){return ne(this)},de.prototype.emit=function(he){for(var ye=[],Pe=1;Pe<arguments.length;Pe++)ye.push(arguments[Pe]);var Oe=he==="error",we=this._events;if(we!==void 0)Oe=Oe&&we.error===void 0;else if(!Oe)return!1;if(Oe){var Te;if(ye.length>0&&(Te=ye[0]),Te instanceof Error)throw Te;var Me=new Error("Unhandled error."+(Te?" ("+Te.message+")":""));throw Me.context=Te,Me}var Fe=we[he];if(Fe===void 0)return!1;if(typeof Fe=="function")te(Fe,this,ye);else for(var $e=Fe.length,Ve=ee(Fe,$e),Pe=0;Pe<$e;++Pe)te(Ve[Pe],this,ye);return!0};function a(pe,he,ye,Pe){var Oe,we,Te;if(ie(ye),we=pe._events,we===void 0?(we=pe._events=Object.create(null),pe._eventsCount=0):(we.newListener!==void 0&&(pe.emit("newListener",he,ye.listener?ye.listener:ye),we=pe._events),Te=we[he]),Te===void 0)Te=we[he]=ye,++pe._eventsCount;else if(typeof Te=="function"?Te=we[he]=Pe?[ye,Te]:[Te,ye]:Pe?Te.unshift(ye):Te.push(ye),Oe=ne(pe),Oe>0&&Te.length>Oe&&!Te.warned){Te.warned=!0;var Me=new Error("Possible EventEmitter memory leak detected. "+Te.length+" "+String(he)+" listeners added. Use emitter.setMaxListeners() to increase limit");Me.name="MaxListenersExceededWarning",Me.emitter=pe,Me.type=he,Me.count=Te.length,ce(Me)}return pe}de.prototype.addListener=function(he,ye){return a(this,he,ye,!1)},de.prototype.on=de.prototype.addListener,de.prototype.prependListener=function(he,ye){return a(this,he,ye,!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(pe,he,ye){var Pe={fired:!1,wrapFn:void 0,target:pe,type:he,listener:ye},Oe=y.bind(Pe);return Oe.listener=ye,Pe.wrapFn=Oe,Oe}de.prototype.once=function(he,ye){return ie(ye),this.on(he,x(this,he,ye)),this},de.prototype.prependOnceListener=function(he,ye){return ie(ye),this.prependListener(he,x(this,he,ye)),this},de.prototype.removeListener=function(he,ye){var Pe,Oe,we,Te,Me;if(ie(ye),Oe=this._events,Oe===void 0)return this;if(Pe=Oe[he],Pe===void 0)return this;if(Pe===ye||Pe.listener===ye)--this._eventsCount===0?this._events=Object.create(null):(delete Oe[he],Oe.removeListener&&this.emit("removeListener",he,Pe.listener||ye));else if(typeof Pe!="function"){for(we=-1,Te=Pe.length-1;Te>=0;Te--)if(Pe[Te]===ye||Pe[Te].listener===ye){Me=Pe[Te].listener,we=Te;break}if(we<0)return this;we===0?Pe.shift():re(Pe,we),Pe.length===1&&(Oe[he]=Pe[0]),Oe.removeListener!==void 0&&this.emit("removeListener",he,Me||ye)}return this},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(he){var ye,Pe,Oe;if(Pe=this._events,Pe===void 0)return this;if(Pe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Pe[he]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Pe[he]),this;if(arguments.length===0){var we=Object.keys(Pe),Te;for(Oe=0;Oe<we.length;++Oe)Te=we[Oe],Te!=="removeListener"&&this.removeAllListeners(Te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(ye=Pe[he],typeof ye=="function")this.removeListener(he,ye);else if(ye!==void 0)for(Oe=ye.length-1;Oe>=0;Oe--)this.removeListener(he,ye[Oe]);return this};function b(pe,he,ye){var Pe=pe._events;if(Pe===void 0)return[];var Oe=Pe[he];return Oe===void 0?[]:typeof Oe=="function"?ye?[Oe.listener||Oe]:[Oe]:ye?se(Oe):ee(Oe,Oe.length)}de.prototype.listeners=function(he){return b(this,he,!0)},de.prototype.rawListeners=function(he){return b(this,he,!1)},de.listenerCount=function(pe,he){return typeof pe.listenerCount=="function"?pe.listenerCount(he):z.call(pe,he)},de.prototype.listenerCount=z;function z(pe){var he=this._events;if(he!==void 0){var ye=he[pe];if(typeof ye=="function")return 1;if(ye!==void 0)return ye.length}return 0}de.prototype.eventNames=function(){return this._eventsCount>0?ue(this._events):[]};function ee(pe,he){for(var ye=new Array(he),Pe=0;Pe<he;++Pe)ye[Pe]=pe[Pe];return ye}function re(pe,he){for(;he+1<pe.length;he++)pe[he]=pe[he+1];pe.pop()}function se(pe){for(var he=new Array(pe.length),ye=0;ye<he.length;++ye)he[ye]=pe[ye].listener||pe[ye];return he}function fe(pe,he){return new Promise(function(ye,Pe){function Oe(Te){pe.removeListener(he,we),Pe(Te)}function we(){typeof pe.removeListener=="function"&&pe.removeListener("error",Oe),ye([].slice.call(arguments))}me(pe,he,we,{once:!0}),he!=="error"&&ve(pe,Oe,{once:!0})})}function ve(pe,he,ye){typeof pe.on=="function"&&me(pe,"error",he,ye)}function me(pe,he,ye,Pe){if(typeof pe.on=="function")Pe.once?pe.once(he,ye):pe.on(he,ye);else if(typeof pe.addEventListener=="function")pe.addEventListener(he,function Oe(we){Pe.once&&pe.removeEventListener(he,Oe),ye(we)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof pe)}},{}],345:[function(E,Se,ge){"use strict";var oe=E("is-callable"),te=Object.prototype.toString,ue=Object.prototype.hasOwnProperty,ce=function(ne,a,y){for(var x=0,b=ne.length;x<b;x++)ue.call(ne,x)&&(y==null?a(ne[x],x,ne):a.call(y,ne[x],x,ne))},le=function(ne,a,y){for(var x=0,b=ne.length;x<b;x++)y==null?a(ne.charAt(x),x,ne):a.call(y,ne.charAt(x),x,ne)},de=function(ne,a,y){for(var x in ne)ue.call(ne,x)&&(y==null?a(ne[x],x,ne):a.call(y,ne[x],x,ne))},ae=function(ne,a,y){if(!oe(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),te.call(ne)==="[object Array]"?ce(ne,a,x):typeof ne=="string"?le(ne,a,x):de(ne,a,x)};Se.exports=ae},{"is-callable":367}],346:[function(E,Se,ge){"use strict";var oe="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,ue=Object.prototype.toString,ce="[object Function]";Se.exports=function(de){var ae=this;if(typeof ae!="function"||ue.call(ae)!==ce)throw new TypeError(oe+ae);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=ae.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return ae.apply(de,ie.concat(te.call(arguments)))},y=Math.max(0,ae.length-ie.length),x=[],b=0;b<y;b++)x.push("$"+b);if(ne=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),ae.prototype){var z=function(){};z.prototype=ae.prototype,ne.prototype=new z,z.prototype=null}return ne}},{}],347:[function(E,Se,ge){"use strict";var oe=E("./implementation");Se.exports=Function.prototype.bind||oe},{"./implementation":346}],348:[function(E,Se,ge){"use strict";var oe,te=SyntaxError,ue=Function,ce=TypeError,le=function(Fe){try{return ue('"use strict"; return ('+Fe+").constructor;")()}catch($e){}},de=Object.getOwnPropertyDescriptor;if(de)try{de({},"")}catch(Fe){de=null}var ae=function(){throw new ce},ie=de?function(){try{return arguments.callee,ae}catch(Fe){try{return de(arguments,"callee").get}catch($e){return ae}}}():ae,ne=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Fe){return Fe.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?oe:y(Uint8Array),z={"%AggregateError%":typeof AggregateError=="undefined"?oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?oe:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&y?y([][Symbol.iterator]()):oe,"%AsyncFromSyncIteratorPrototype%":oe,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?oe:Atomics,"%BigInt%":typeof BigInt=="undefined"?oe:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?oe:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?oe:FinalizationRegistry,"%Function%":ue,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?oe:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?oe:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&y?y(y([][Symbol.iterator]())):oe,"%JSON%":typeof JSON=="object"?JSON:oe,"%Map%":typeof Map=="undefined"?oe:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ne||!y?oe:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?oe:Promise,"%Proxy%":typeof Proxy=="undefined"?oe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?oe:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ne||!y?oe:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&y?y(""[Symbol.iterator]()):oe,"%Symbol%":ne?Symbol:oe,"%SyntaxError%":te,"%ThrowTypeError%":ie,"%TypedArray%":b,"%TypeError%":ce,"%Uint8Array%":typeof Uint8Array=="undefined"?oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?oe:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?oe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?oe:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?oe:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?oe:WeakSet};if(y)try{null.error}catch(Fe){var ee=y(y(Fe));z["%Error.prototype%"]=ee}var re=function Fe($e){var Ve;if($e==="%AsyncFunction%")Ve=le("async function () {}");else if($e==="%GeneratorFunction%")Ve=le("function* () {}");else if($e==="%AsyncGeneratorFunction%")Ve=le("async function* () {}");else if($e==="%AsyncGenerator%"){var Re=Fe("%AsyncGeneratorFunction%");Re&&(Ve=Re.prototype)}else if($e==="%AsyncIteratorPrototype%"){var st=Fe("%AsyncGenerator%");st&&y&&(Ve=y(st.prototype))}return z[$e]=Ve,Ve},se={"%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"]},fe=E("function-bind"),ve=E("has"),me=fe.call(Function.call,Array.prototype.concat),pe=fe.call(Function.apply,Array.prototype.splice),he=fe.call(Function.call,String.prototype.replace),ye=fe.call(Function.call,String.prototype.slice),Pe=fe.call(Function.call,RegExp.prototype.exec),Oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Te=function($e){var Ve=ye($e,0,1),Re=ye($e,-1);if(Ve==="%"&&Re!=="%")throw new te("invalid intrinsic syntax, expected closing `%`");if(Re==="%"&&Ve!=="%")throw new te("invalid intrinsic syntax, expected opening `%`");var st=[];return he($e,Oe,function(rt,et,qe,ze){st[st.length]=qe?he(ze,we,"$1"):et||rt}),st},Me=function($e,Ve){var Re=$e,st;if(ve(se,Re)&&(st=se[Re],Re="%"+st[0]+"%"),ve(z,Re)){var rt=z[Re];if(rt===x&&(rt=re(Re)),typeof rt=="undefined"&&!Ve)throw new ce("intrinsic "+$e+" exists, but is not available. Please file an issue!");return{alias:st,name:Re,value:rt}}throw new te("intrinsic "+$e+" does not exist!")};Se.exports=function($e,Ve){if(typeof $e!="string"||$e.length===0)throw new ce("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ve!="boolean")throw new ce('"allowMissing" argument must be a boolean');if(Pe(/^%?[^%]*%?$/,$e)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Re=Te($e),st=Re.length>0?Re[0]:"",rt=Me("%"+st+"%",Ve),et=rt.name,qe=rt.value,ze=!1,ke=rt.alias;ke&&(st=ke[0],pe(Re,me([0,1],ke)));for(var Be=1,Je=!0;Be<Re.length;Be+=1){var Ye=Re[Be],dt=ye(Ye,0,1),He=ye(Ye,-1);if((dt==='"'||dt==="'"||dt==="`"||He==='"'||He==="'"||He==="`")&&dt!==He)throw new te("property names with quotes must have matching quotes");if((Ye==="constructor"||!Je)&&(ze=!0),st+="."+Ye,et="%"+st+"%",ve(z,et))qe=z[et];else if(qe!=null){if(!(Ye in qe)){if(!Ve)throw new ce("base intrinsic for "+$e+" exists, but the property is not available.");return}if(de&&Be+1>=Re.length){var Ue=de(qe,Ye);Je=!!Ue,Je&&"get"in Ue&&!("originalValue"in Ue.get)?qe=Ue.get:qe=qe[Ye]}else Je=ve(qe,Ye),qe=qe[Ye];Je&&!ze&&(z[et]=qe)}}return qe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,Se,ge){"use strict";var oe=E("get-intrinsic"),te=oe("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(ue){te=null}Se.exports=te},{"get-intrinsic":348}],350:[function(E,Se,ge){"use strict";var oe={foo:{}},te=Object;Se.exports=function(){return{__proto__:oe}.foo===oe.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(E,Se,ge){"use strict";var oe=typeof Symbol!="undefined"&&Symbol,te=E("./shams");Se.exports=function(){return typeof oe!="function"||typeof Symbol!="function"||typeof oe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(E,Se,ge){"use strict";Se.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},ue=Symbol("test"),ce=Object(ue);if(typeof ue=="string"||Object.prototype.toString.call(ue)!=="[object Symbol]"||Object.prototype.toString.call(ce)!=="[object Symbol]")return!1;var le=42;te[ue]=le;for(ue in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var de=Object.getOwnPropertySymbols(te);if(de.length!==1||de[0]!==ue||!Object.prototype.propertyIsEnumerable.call(te,ue))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(te,ue);if(ae.value!==le||ae.enumerable!==!0)return!1}return!0}},{}],353:[function(E,Se,ge){"use strict";var oe=E("has-symbols/shams");Se.exports=function(){return oe()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,Se,ge){"use strict";var oe=E("function-bind");Se.exports=oe.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,Se,ge){var oe=E("http"),te=E("url"),ue=Se.exports;for(var ce in oe)oe.hasOwnProperty(ce)&&(ue[ce]=oe[ce]);ue.request=function(de,ae){return de=le(de),oe.request.call(this,de,ae)},ue.get=function(de,ae){return de=le(de),oe.get.call(this,de,ae)};function le(de){if(typeof de=="string"&&(de=te.parse(de)),de.protocol||(de.protocol="https:"),de.protocol!=="https:")throw new Error('Protocol "'+de.protocol+'" not supported. Expected "https:"');return de}},{http:468,url:472}],356:[function(E,Se,ge){"use strict";var oe=E("util"),te=E("ms");Se.exports=function(ue){if(typeof ue=="number")return ue;var ce=te(ue);if(ce===void 0){var le=new Error(oe.format("humanize-ms(%j) result undefined",ue));console.warn(le.stack)}return ce}},{ms:376,util:419}],357:[function(E,Se,ge){ge.read=function(oe,te,ue,ce,le){var de,ae,ie=le*8-ce-1,ne=(1<<ie)-1,a=ne>>1,y=-7,x=ue?le-1:0,b=ue?-1:1,z=oe[te+x];for(x+=b,de=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;de=de*256+oe[te+x],x+=b,y-=8);for(ae=de&(1<<-y)-1,de>>=-y,y+=ce;y>0;ae=ae*256+oe[te+x],x+=b,y-=8);if(de===0)de=1-a;else{if(de===ne)return ae?NaN:(z?-1:1)*(1/0);ae=ae+Math.pow(2,ce),de=de-a}return(z?-1:1)*ae*Math.pow(2,de-ce)},ge.write=function(oe,te,ue,ce,le,de){var ae,ie,ne,a=de*8-le-1,y=(1<<a)-1,x=y>>1,b=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=ce?0:de-1,ee=ce?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,ae=y):(ae=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+x>=1?te+=b/ne:te+=b*Math.pow(2,1-x),te*ne>=2&&(ae++,ne/=2),ae+x>=y?(ie=0,ae=y):ae+x>=1?(ie=(te*ne-1)*Math.pow(2,le),ae=ae+x):(ie=te*Math.pow(2,x-1)*Math.pow(2,le),ae=0));le>=8;oe[ue+z]=ie&255,z+=ee,ie/=256,le-=8);for(ae=ae<<le|ie,a+=le;a>0;oe[ue+z]=ae&255,z+=ee,ae/=256,a-=8);oe[ue+z-ee]|=re*128}},{}],358:[function(E,Se,ge){"use strict";var oe=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],te,ue,ce=-1,le=[],de=!1;function ae(){!te||!ue||(te=!1,ue.length?le=ue.concat(le):ce=-1,le.length&&ie())}function ie(){if(!te){de=!1,te=!0;for(var z=le.length,ee=setTimeout(ae);z;){for(ue=le,le=[];ue&&++ce<z;)ue[ce].run();ce=-1,z=le.length}ue=null,ce=-1,te=!1,clearTimeout(ee)}}for(var ne,a=-1,y=oe.length;++a<y;)if(oe[a]&&oe[a].test&&oe[a].test()){ne=oe[a].install(ie);break}function x(z,ee){this.fun=z,this.array=ee}x.prototype.run=function(){var z=this.fun,ee=this.array;switch(ee.length){case 0:return z();case 1:return z(ee[0]);case 2:return z(ee[0],ee[1]);case 3:return z(ee[0],ee[1],ee[2]);default:return z.apply(null,ee)}},Se.exports=b;function b(z){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var re=1;re<arguments.length;re++)ee[re-1]=arguments[re];le.push(new x(z,ee)),!de&&!te&&(de=!0,ne())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,Se,ge){(function(oe){(function(){"use strict";ge.test=function(){return oe.setImmediate?!1:typeof oe.MessageChannel!="undefined"},ge.install=function(te){var ue=new oe.MessageChannel;return ue.port1.onmessage=te,function(){ue.port2.postMessage(0)}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=oe.MutationObserver||oe.WebKitMutationObserver;ge.test=function(){return te},ge.install=function(ue){var ce=0,le=new te(ue),de=oe.document.createTextNode("");return le.observe(de,{characterData:!0}),function(){de.data=ce=++ce%2}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,Se,ge){(function(oe){(function(){"use strict";ge.test=function(){return typeof oe.queueMicrotask=="function"},ge.install=function(te){return function(){oe.queueMicrotask(te)}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,Se,ge){(function(oe){(function(){"use strict";ge.test=function(){return"document"in oe&&"onreadystatechange"in oe.document.createElement("script")},ge.install=function(te){return function(){var ue=oe.document.createElement("script");return ue.onreadystatechange=function(){te(),ue.onreadystatechange=null,ue.parentNode.removeChild(ue),ue=null},oe.document.documentElement.appendChild(ue),te}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,Se,ge){"use strict";ge.test=function(){return!0},ge.install=function(oe){return function(){setTimeout(oe,0)}}},{}],364:[function(E,Se,ge){typeof Object.create=="function"?Se.exports=function(te,ue){ue&&(te.super_=ue,te.prototype=Object.create(ue.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}))}:Se.exports=function(te,ue){if(ue){te.super_=ue;var ce=function(){};ce.prototype=ue.prototype,te.prototype=new ce,te.prototype.constructor=te}}},{}],365:[function(E,Se,ge){"use strict";var oe=E("has-tostringtag/shams")(),te=E("call-bind/callBound"),ue=te("Object.prototype.toString"),ce=function(ie){return oe&&ie&&typeof ie=="object"&&Symbol.toStringTag in ie?!1:ue(ie)==="[object Arguments]"},le=function(ie){return ce(ie)?!0:ie!==null&&typeof ie=="object"&&typeof ie.length=="number"&&ie.length>=0&&ue(ie)!=="[object Array]"&&ue(ie.callee)==="[object Function]"},de=function(){return ce(arguments)}();ce.isLegacyArguments=le,Se.exports=de?ce:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,Se,ge){Se.exports=function(ue){return ue!=null&&(oe(ue)||te(ue)||!!ue._isBuffer)};function oe(ue){return!!ue.constructor&&typeof ue.constructor.isBuffer=="function"&&ue.constructor.isBuffer(ue)}function te(ue){return typeof ue.readFloatLE=="function"&&typeof ue.slice=="function"&&oe(ue.slice(0,0))}},{}],367:[function(E,Se,ge){"use strict";var oe=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ue,ce;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{ue=Object.defineProperty({},"length",{get:function(){throw ce}}),ce={},te(function(){throw 42},null,ue)}catch(ve){ve!==ce&&(te=null)}else te=null;var le=/^\s*class\b/,de=function(me){try{var pe=oe.call(me);return le.test(pe)}catch(he){return!1}},ae=function(me){try{return de(me)?!1:(oe.call(me),!0)}catch(pe){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),se=function(){return!1};if(typeof document=="object"){var fe=document.all;ie.call(fe)===ie.call(document.all)&&(se=function(me){if((re||!me)&&(typeof me=="undefined"||typeof me=="object"))try{var pe=ie.call(me);return(pe===x||pe===b||pe===z||pe===ne)&&me("")==null}catch(he){}return!1})}Se.exports=te?function(me){if(se(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;try{te(me,null,ue)}catch(pe){if(pe!==ce)return!1}return!de(me)&&ae(me)}:function(me){if(se(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;if(ee)return ae(me);if(de(me))return!1;var pe=ie.call(me);return pe!==a&&pe!==y&&!/^\[object HTML/.test(pe)?!1:ae(me)}},{}],368:[function(E,Se,ge){"use strict";var oe=Object.prototype.toString,te=Function.prototype.toString,ue=/^\s*(?:function)?\*/,ce=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,de=function(){if(!ce)return!1;try{return Function("return function*() {}")()}catch(ie){}},ae;Se.exports=function(ne){if(typeof ne!="function")return!1;if(ue.test(te.call(ne)))return!0;if(!ce){var a=oe.call(ne);return a==="[object GeneratorFunction]"}if(!le)return!1;if(typeof ae=="undefined"){var y=de();ae=y?le(y):!1}return le(ne)===ae}},{"has-tostringtag/shams":353}],369:[function(E,Se,ge){"use strict";var oe=E("which-typed-array");Se.exports=function(ue){return!!oe(ue)}},{"which-typed-array":420}],370:[function(E,Se,ge){var oe={}.toString;Se.exports=Array.isArray||function(te){return oe.call(te)=="[object Array]"}},{}],371:[function(E,Se,ge){(function(oe){(function(){(function(te,ue){typeof ge=="object"&&typeof Se!="undefined"?Se.exports=ue(te):typeof be=="function"&&be.amd?be(ue):ue(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe!="undefined"?oe:this,function(te){"use strict";te=te||{};var ue=te.Base64,ce="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",de=function($e){for(var Ve={},Re=0,st=$e.length;Re<st;Re++)Ve[$e.charAt(Re)]=Re;return Ve}(le),ae=String.fromCharCode,ie=function($e){if($e.length<2){var Ve=$e.charCodeAt(0);return Ve<128?$e:Ve<2048?ae(192|Ve>>>6)+ae(128|Ve&63):ae(224|Ve>>>12&15)+ae(128|Ve>>>6&63)+ae(128|Ve&63)}else{var Ve=65536+($e.charCodeAt(0)-55296)*1024+($e.charCodeAt(1)-56320);return ae(240|Ve>>>18&7)+ae(128|Ve>>>12&63)+ae(128|Ve>>>6&63)+ae(128|Ve&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function($e){return $e.replace(ne,ie)},y=function($e){var Ve=[0,2,1][$e.length%3],Re=$e.charCodeAt(0)<<16|($e.length>1?$e.charCodeAt(1):0)<<8|($e.length>2?$e.charCodeAt(2):0),st=[le.charAt(Re>>>18),le.charAt(Re>>>12&63),Ve>=2?"=":le.charAt(Re>>>6&63),Ve>=1?"=":le.charAt(Re&63)];return st.join("")},x=te.btoa&&typeof te.btoa=="function"?function($e){return te.btoa($e)}:function($e){if($e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return $e.replace(/[\s\S]{1,3}/g,y)},b=function($e){return x(a(String($e)))},z=function($e){return $e.replace(/[+\/]/g,function(Ve){return Ve=="+"?"-":"_"}).replace(/=/g,"")},ee=function($e,Ve){return Ve?z(b($e)):b($e)},re=function($e){return ee($e,!0)},se;te.Uint8Array&&(se=function($e,Ve){for(var Re="",st=0,rt=$e.length;st<rt;st+=3){var et=$e[st],qe=$e[st+1],ze=$e[st+2],ke=et<<16|qe<<8|ze;Re+=le.charAt(ke>>>18)+le.charAt(ke>>>12&63)+(typeof qe!="undefined"?le.charAt(ke>>>6&63):"=")+(typeof ze!="undefined"?le.charAt(ke&63):"=")}return Ve?z(Re):Re});var fe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function($e){switch($e.length){case 4:var Ve=(7&$e.charCodeAt(0))<<18|(63&$e.charCodeAt(1))<<12|(63&$e.charCodeAt(2))<<6|63&$e.charCodeAt(3),Re=Ve-65536;return ae((Re>>>10)+55296)+ae((Re&1023)+56320);case 3:return ae((15&$e.charCodeAt(0))<<12|(63&$e.charCodeAt(1))<<6|63&$e.charCodeAt(2));default:return ae((31&$e.charCodeAt(0))<<6|63&$e.charCodeAt(1))}},me=function($e){return $e.replace(fe,ve)},pe=function($e){var Ve=$e.length,Re=Ve%4,st=(Ve>0?de[$e.charAt(0)]<<18:0)|(Ve>1?de[$e.charAt(1)]<<12:0)|(Ve>2?de[$e.charAt(2)]<<6:0)|(Ve>3?de[$e.charAt(3)]:0),rt=[ae(st>>>16),ae(st>>>8&255),ae(st&255)];return rt.length-=[0,0,2,1][Re],rt.join("")},he=te.atob&&typeof te.atob=="function"?function($e){return te.atob($e)}:function($e){return $e.replace(/\S{1,4}/g,pe)},ye=function($e){return he(String($e).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function($e){return me(he($e))},Oe=function($e){return String($e).replace(/[-_]/g,function(Ve){return Ve=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},we=function($e){return Pe(Oe($e))},Te;te.Uint8Array&&(Te=function($e){return Uint8Array.from(ye(Oe($e)),function(Ve){return Ve.charCodeAt(0)})});var Me=function(){var $e=te.Base64;return te.Base64=ue,$e};if(te.Base64={VERSION:ce,atob:ye,btoa:x,fromBase64:we,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:me,decode:we,noConflict:Me,fromUint8Array:se,toUint8Array:Te},typeof Object.defineProperty=="function"){var Fe=function($e){return{value:$e,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Fe(function(){return we(this)})),Object.defineProperty(String.prototype,"toBase64",Fe(function($e){return ee(this,$e)})),Object.defineProperty(String.prototype,"toBase64URI",Fe(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof Se!="undefined"&&Se.exports?Se.exports.Base64=te.Base64:typeof be=="function"&&be.amd&&be([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,Se,ge){"use strict";Se.exports=te;var oe=Object.prototype.hasOwnProperty;function te(ue,ce,le){if(!ue)throw new TypeError("argument dest is required");if(!ce)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(ce).forEach(function(ae){if(!(!le&&oe.call(ue,ae))){var ie=Object.getOwnPropertyDescriptor(ce,ae);Object.defineProperty(ue,ae,ie)}}),ue}},{}],373:[function(E,Se,ge){"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 oe(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te<arguments.length;te++)this.define(arguments[te]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}oe.prototype.define=function(te,ue){for(var ce in te){var le=te[ce].map(function(ne){return ne.toLowerCase()});ce=ce.toLowerCase();for(var de=0;de<le.length;de++){var ae=le[de];if(ae[0]!=="*"){if(!ue&&ae in this._types)throw new Error('Attempt to change mapping for "'+ae+'" extension from "'+this._types[ae]+'" to "'+ce+'". Pass `force=true` to allow this, otherwise remove "'+ae+'" from the list of extensions for "'+ce+'".');this._types[ae]=ce}}if(ue||!this._extensions[ce]){var ie=le[0];this._extensions[ce]=ie[0]!=="*"?ie:ie.substr(1)}}},oe.prototype.getType=function(te){te=String(te);var ue=te.replace(/^.*[/\\]/,"").toLowerCase(),ce=ue.replace(/^.*\./,"").toLowerCase(),le=ue.length<te.length,de=ce.length<ue.length-1;return(de||!le)&&this._types[ce]||null},oe.prototype.getExtension=function(te){return te=/^\s*([^;\s]*)/.test(te)&&RegExp.$1,te&&this._extensions[te.toLowerCase()]||null},Se.exports=oe},{"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,Se,ge){"use strict";var oe=E("./Mime");Se.exports=new oe(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,Se,ge){"use strict";Se.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,Se,ge){var oe=1e3,te=oe*60,ue=te*60,ce=ue*24,le=ce*7,de=ce*365.25;Se.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return ae(y);if(b==="number"&&isFinite(y))return x.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function ae(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*de;case"weeks":case"week":case"w":return b*le;case"days":case"day":case"d":return b*ce;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ue;case"minutes":case"minute":case"mins":case"min":case"m":return b*te;case"seconds":case"second":case"secs":case"sec":case"s":return b*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var x=Math.abs(y);return x>=ce?Math.round(y/ce)+"d":x>=ue?Math.round(y/ue)+"h":x>=te?Math.round(y/te)+"m":x>=oe?Math.round(y/oe)+"s":y+"ms"}function ne(y){var x=Math.abs(y);return x>=ce?a(y,x,ce,"day"):x>=ue?a(y,x,ue,"hour"):x>=te?a(y,x,te,"minute"):x>=oe?a(y,x,oe,"second"):y+" ms"}function a(y,x,b,z){var ee=x>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(E,Se,ge){"use strict";var oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;function ce(de){if(de==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(de)}function le(){try{if(!Object.assign)return!1;var de=new String("abc");if(de[5]="de",Object.getOwnPropertyNames(de)[0]==="5")return!1;for(var ae={},ie=0;ie<10;ie++)ae["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(ae).map(function(y){return ae[y]});if(ne.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}}Se.exports=le()?Object.assign:function(de,ae){for(var ie,ne=ce(de),a,y=1;y<arguments.length;y++){ie=Object(arguments[y]);for(var x in ie)te.call(ie,x)&&(ne[x]=ie[x]);if(oe){a=oe(ie);for(var b=0;b<a.length;b++)ue.call(ie,a[b])&&(ne[a[b]]=ie[a[b]])}}return ne}},{}],378:[function(E,Se,ge){(function(oe){(function(){"use strict";function te(de){if(typeof de!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(de))}function ue(de,ae){for(var ie="",ne=0,a=-1,y=0,x,b=0;b<=de.length;++b){if(b<de.length)x=de.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(ie.length<2||ne!==2||ie.charCodeAt(ie.length-1)!==46||ie.charCodeAt(ie.length-2)!==46){if(ie.length>2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}ae&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+de.slice(a+1,b):ie=de.slice(a+1,b),ne=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ie}function ce(de,ae){var ie=ae.dir||ae.root,ne=ae.base||(ae.name||"")+(ae.ext||"");return ie?ie===ae.root?ie+ne:ie+de+ne:ne}var le={resolve:function(){for(var ae="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=oe.cwd()),y=ne),te(y),y.length!==0&&(ae=y+"/"+ae,ie=y.charCodeAt(0)===47)}return ae=ue(ae,!ie),ie?ae.length>0?"/"+ae:"/":ae.length>0?ae:"."},normalize:function(ae){if(te(ae),ae.length===0)return".";var ie=ae.charCodeAt(0)===47,ne=ae.charCodeAt(ae.length-1)===47;return ae=ue(ae,!ie),ae.length===0&&!ie&&(ae="."),ae.length>0&&ne&&(ae+="/"),ie?"/"+ae:ae},isAbsolute:function(ae){return te(ae),ae.length>0&&ae.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ae,ie=0;ie<arguments.length;++ie){var ne=arguments[ie];te(ne),ne.length>0&&(ae===void 0?ae=ne:ae+="/"+ne)}return ae===void 0?".":le.normalize(ae)},relative:function(ae,ie){if(te(ae),te(ie),ae===ie||(ae=le.resolve(ae),ie=le.resolve(ie),ae===ie))return"";for(var ne=1;ne<ae.length&&ae.charCodeAt(ne)===47;++ne);for(var a=ae.length,y=a-ne,x=1;x<ie.length&&ie.charCodeAt(x)===47;++x);for(var b=ie.length,z=b-x,ee=y<z?y:z,re=-1,se=0;se<=ee;++se){if(se===ee){if(z>ee){if(ie.charCodeAt(x+se)===47)return ie.slice(x+se+1);if(se===0)return ie.slice(x+se)}else y>ee&&(ae.charCodeAt(ne+se)===47?re=se:se===0&&(re=0));break}var fe=ae.charCodeAt(ne+se),ve=ie.charCodeAt(x+se);if(fe!==ve)break;fe===47&&(re=se)}var me="";for(se=ne+re+1;se<=a;++se)(se===a||ae.charCodeAt(se)===47)&&(me.length===0?me+="..":me+="/..");return me.length>0?me+ie.slice(x+re):(x+=re,ie.charCodeAt(x)===47&&++x,ie.slice(x))},_makeLong:function(ae){return ae},dirname:function(ae){if(te(ae),ae.length===0)return".";for(var ie=ae.charCodeAt(0),ne=ie===47,a=-1,y=!0,x=ae.length-1;x>=1;--x)if(ie=ae.charCodeAt(x),ie===47){if(!y){a=x;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":ae.slice(0,a)},basename:function(ae,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(ae);var ne=0,a=-1,y=!0,x;if(ie!==void 0&&ie.length>0&&ie.length<=ae.length){if(ie.length===ae.length&&ie===ae)return"";var b=ie.length-1,z=-1;for(x=ae.length-1;x>=0;--x){var ee=ae.charCodeAt(x);if(ee===47){if(!y){ne=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=ae.length),ae.slice(ne,a)}else{for(x=ae.length-1;x>=0;--x)if(ae.charCodeAt(x)===47){if(!y){ne=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":ae.slice(ne,a)}},extname:function(ae){te(ae);for(var ie=-1,ne=0,a=-1,y=!0,x=0,b=ae.length-1;b>=0;--b){var z=ae.charCodeAt(b);if(z===47){if(!y){ne=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ie===-1?ie=b:x!==1&&(x=1):ie!==-1&&(x=-1)}return ie===-1||a===-1||x===0||x===1&&ie===a-1&&ie===ne+1?"":ae.slice(ie,a)},format:function(ae){if(ae===null||typeof ae!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ae);return ce("/",ae)},parse:function(ae){te(ae);var ie={root:"",dir:"",base:"",ext:"",name:""};if(ae.length===0)return ie;var ne=ae.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,ee=!0,re=ae.length-1,se=0;re>=y;--re){if(ne=ae.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?x===-1?x=re:se!==1&&(se=1):x!==-1&&(se=-1)}return x===-1||z===-1||se===0||se===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=ae.slice(1,z):ie.base=ie.name=ae.slice(b,z)):(b===0&&a?(ie.name=ae.slice(1,x),ie.base=ae.slice(1,z)):(ie.name=ae.slice(b,x),ie.base=ae.slice(b,z)),ie.ext=ae.slice(x,z)),b>0?ie.dir=ae.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,Se.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,Se,ge){(function(oe){(function(){(function(){"use strict";var te={function:!0,object:!0},ue=te[typeof window]&&window||this,ce=ue,le=te[typeof ge]&&ge,de=te[typeof Se]&&Se&&!Se.nodeType&&Se,ae=le&&de&&typeof oe=="object"&&oe;ae&&(ae.global===ae||ae.window===ae||ae.self===ae)&&(ue=ae);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(we){return we=String(we),we.charAt(0).toUpperCase()+we.slice(1)}function ee(we,Te,Me){var Fe={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Te&&Me&&/^Win/i.test(we)&&!/^Windows Phone /i.test(we)&&(Fe=Fe[/[\d.]+$/.exec(we)])&&(we="Windows "+Fe),we=String(we),Te&&Me&&(we=we.replace(RegExp(Te,"i"),Me)),we=se(we.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]),we}function re(we,Te){var Me=-1,Fe=we?we.length:0;if(typeof Fe=="number"&&Fe>-1&&Fe<=ie)for(;++Me<Fe;)Te(we[Me],Me,we);else fe(we,Te)}function se(we){return we=ye(we),/^(?:webOS|i(?:OS|P))/.test(we)?we:z(we)}function fe(we,Te){for(var Me in we)x.call(we,Me)&&Te(we[Me],Me,we)}function ve(we){return we==null?z(we):b.call(we).slice(8,-1)}function me(we,Te){var Me=we!=null?typeof we[Te]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Me)&&(Me=="object"?!!we[Te]:!0)}function pe(we){return String(we).replace(/([ -])(?!$)/g,"$1?")}function he(we,Te){var Me=null;return re(we,function(Fe,$e){Me=Te(Me,Fe,$e,we)}),Me}function ye(we){return String(we).replace(/^ +| +$/g,"")}function Pe(we){var Te=ue,Me=we&&typeof we=="object"&&ve(we)!="String";Me&&(Te=we,we=null);var Fe=Te.navigator||{},$e=Fe.userAgent||"";we||(we=$e);var Ve=Me||a==ce,Re=Me?!!Fe.likeChrome:/\bChrome\b/.test(we)&&!/internal|\n/i.test(b.toString()),st="Object",rt=Me?st:"ScriptBridgingProxyObject",et=Me?st:"Environment",qe=Me&&Te.java?"JavaPackage":ve(Te.java),ze=Me?st:"RuntimeObject",ke=/\bJava/.test(qe)&&Te.java,Be=ke&&ve(Te.environment)==et,Je=ke?"a":"\u03B1",Ye=ke?"b":"\u03B2",dt=Te.document||{},He=Te.operamini||Te.opera,Ue=ne.test(Ue=Me&&He?He["[[Class]]"]:ve(He))?Ue:He=null,Le,Ke=we,Ee=[],Ie=null,Qe=we==$e,Xe=Qe&&He&&typeof He.version=="function"&&He.version(),Ge,Ce=pt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),xe=tt(["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"]),je=St([{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"]),_e=mt({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=ut(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function pt(We){return he(We,function(ct,ht){return ct||RegExp("\\b"+(ht.pattern||pe(ht))+"\\b","i").exec(we)&&(ht.label||ht)})}function mt(We){return he(We,function(ct,ht,vt){return ct||(ht[je]||ht[/^[a-z]+(?: +[a-z]+\b)*/i.exec(je)]||RegExp("\\b"+pe(vt)+"(?:\\b|\\w*\\d)","i").exec(we))&&vt})}function tt(We){return he(We,function(ct,ht){return ct||RegExp("\\b"+(ht.pattern||pe(ht))+"\\b","i").exec(we)&&(ht.label||ht)})}function ut(We){return he(We,function(ct,ht){var vt=ht.pattern||pe(ht);return!ct&&(ct=RegExp("\\b"+vt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(we))&&(ct=ee(ct,vt,ht.label||ht)),ct})}function St(We){return he(We,function(ct,ht){var vt=ht.pattern||pe(ht);return!ct&&(ct=RegExp("\\b"+vt+" *\\d+[.\\w_]*","i").exec(we)||RegExp("\\b"+vt+" *\\w+-[\\w]*","i").exec(we)||RegExp("\\b"+vt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(we))&&((ct=String(ht.label&&!RegExp(vt,"i").test(ht.label)?ht.label:ct).split("/"))[1]&&!/[\d.]+/.test(ct[0])&&(ct[0]+=" "+ct[1]),ht=ht.label||ht,ct=se(ct[0].replace(RegExp(vt,"i"),ht).replace(RegExp("; *(?:"+ht+"[_-])?","i")," ").replace(RegExp("("+ht+")[-_.]?(\\w)","i"),"$1 $2"))),ct})}function xt(We){return he(We,function(ct,ht){return ct||(RegExp(ht+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(we)||0)[1]||null})}function at(){return this.description||""}if(Ce&&(Ce=[Ce]),/\bAndroid\b/.test(ot)&&!je&&(Le=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(we))&&(je=ye(Le[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),_e&&!je?je=St([_e]):_e&&je&&(je=je.replace(RegExp("^("+pe(_e)+")[-_.\\s]","i"),_e+" ").replace(RegExp("^("+pe(_e)+")[-_.]?(\\w)","i"),_e+" $2")),(Le=/\bGoogle TV\b/.exec(je))&&(je=Le[0]),/\bSimulator\b/i.test(we)&&(je=(je?je+" ":"")+"Simulator"),xe=="Opera Mini"&&/\bOPiOS\b/.test(we)&&Ee.push("running in Turbo/Uncompressed mode"),xe=="IE"&&/\blike iPhone OS\b/.test(we)?(Le=Pe(we.replace(/like iPhone OS/,"")),_e=Le.manufacturer,je=Le.product):/^iP/.test(je)?(xe||(xe="Safari"),ot="iOS"+((Le=/ OS ([\d_]+)/i.exec(we))?" "+Le[1].replace(/_/g,"."):"")):xe=="Konqueror"&&/^Linux\b/i.test(ot)?ot="Kubuntu":_e&&_e!="Google"&&(/Chrome/.test(xe)&&!/\bMobile Safari\b/i.test(we)||/\bVita\b/.test(je))||/\bAndroid\b/.test(ot)&&/^Chrome/.test(xe)&&/\bVersion\//i.test(we)?(xe="Android Browser",ot=/\bAndroid\b/.test(ot)?ot:"Android"):xe=="Silk"?(/\bMobi/i.test(we)||(ot="Android",Ee.unshift("desktop mode")),/Accelerated *= *true/i.test(we)&&Ee.unshift("accelerated")):xe=="UC Browser"&&/\bUCWEB\b/.test(we)?Ee.push("speed mode"):xe=="PaleMoon"&&(Le=/\bFirefox\/([\d.]+)\b/.exec(we))?Ee.push("identifying as Firefox "+Le[1]):xe=="Firefox"&&(Le=/\b(Mobile|Tablet|TV)\b/i.exec(we))?(ot||(ot="Firefox OS"),je||(je=Le[1])):!xe||(Le=!/\bMinefield\b/i.test(we)&&/\b(?:Firefox|Safari)\b/.exec(xe))?(xe&&!je&&/[\/,]|^[^(]+?\)/.test(we.slice(we.indexOf(Le+"/")+8))&&(xe=null),(Le=je||_e||ot)&&(je||_e||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ot))&&(xe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ot)?ot:Le)+" Browser")):xe=="Electron"&&(Le=(/\bChrome\/([\d.]+)\b/.exec(we)||0)[1])&&Ee.push("Chromium "+Le),Xe||(Xe=xt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",pe(xe),"(?:Firefox|Minefield|NetFront)"])),(Le=Ce=="iCab"&&parseFloat(Xe)>3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(we)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(we)&&!/^(?:Trident|EdgeHTML)$/.test(Ce)&&"WebKit"||!Ce&&/\bMSIE\b/i.test(we)&&(ot=="Mac OS"?"Tasman":"Trident")||Ce=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Ce=[Le]),xe=="IE"&&(Le=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(we)||0)[1])?(xe+=" Mobile",ot="Windows Phone "+(/\+$/.test(Le)?Le:Le+".x"),Ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(we)?(xe="IE Mobile",ot="Windows Phone 8.x",Ee.unshift("desktop mode"),Xe||(Xe=(/\brv:([\d.]+)/.exec(we)||0)[1])):xe!="IE"&&Ce=="Trident"&&(Le=/\brv:([\d.]+)/.exec(we))&&(xe&&Ee.push("identifying as "+xe+(Xe?" "+Xe:"")),xe="IE",Xe=Le[1]),Qe){if(me(Te,"global"))if(ke&&(Le=ke.lang.System,Ke=Le.getProperty("os.arch"),ot=ot||Le.getProperty("os.name")+" "+Le.getProperty("os.version")),Be){try{Xe=Te.require("ringo/engine").version.join("."),xe="RingoJS"}catch(We){(Le=Te.system)&&Le.global.system==Te.system&&(xe="Narwhal",ot||(ot=Le[0].os||null))}xe||(xe="Rhino")}else typeof Te.process=="object"&&!Te.process.browser&&(Le=Te.process)&&(typeof Le.versions=="object"&&(typeof Le.versions.electron=="string"?(Ee.push("Node "+Le.versions.node),xe="Electron",Xe=Le.versions.electron):typeof Le.versions.nw=="string"&&(Ee.push("Chromium "+Xe,"Node "+Le.versions.node),xe="NW.js",Xe=Le.versions.nw)),xe||(xe="Node.js",Ke=Le.arch,ot=Le.platform,Xe=/[\d.]+/.exec(Le.version),Xe=Xe?Xe[0]:null));else ve(Le=Te.runtime)==rt?(xe="Adobe AIR",ot=Le.flash.system.Capabilities.os):ve(Le=Te.phantom)==ze?(xe="PhantomJS",Xe=(Le=Le.version||null)&&Le.major+"."+Le.minor+"."+Le.patch):typeof dt.documentMode=="number"&&(Le=/\bTrident\/(\d+)/i.exec(we))?(Xe=[Xe,dt.documentMode],(Le=+Le[1]+4)!=Xe[1]&&(Ee.push("IE "+Xe[1]+" mode"),Ce&&(Ce[1]=""),Xe[1]=Le),Xe=xe=="IE"?String(Xe[1].toFixed(1)):Xe[0]):typeof dt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Ee.push("masking as "+xe+" "+Xe),xe="IE",Xe="11.0",Ce=["Trident"],ot="Windows");ot=ot&&se(ot)}if(Xe&&(Le=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Xe)||/(?:alpha|beta)(?: ?\d)?/i.exec(we+";"+(Qe&&Fe.appMinorVersion))||/\bMinefield\b/i.test(we)&&"a")&&(Ie=/b/i.test(Le)?"beta":"alpha",Xe=Xe.replace(RegExp(Le+"\\+?$"),"")+(Ie=="beta"?Ye:Je)+(/\d+\+?/.exec(Le)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ot))xe="Firefox Mobile";else if(xe=="Maxthon"&&Xe)Xe=Xe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(je))je=="Xbox 360"&&(ot=null),je=="Xbox 360"&&/\bIEMobile\b/.test(we)&&Ee.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!je&&!/Browser|Mobi/.test(xe))&&(ot=="Windows CE"||/Mobi/i.test(we)))xe+=" Mobile";else if(xe=="IE"&&Qe)try{Te.external===null&&Ee.unshift("platform preview")}catch(We){Ee.unshift("embedded")}else(/\bBlackBerry\b/.test(je)||/\bBB10\b/.test(we))&&(Le=(RegExp(je.replace(/ +/g," *")+"/([.\\d]+)","i").exec(we)||0)[1]||Xe)?(Le=[Le,/BB10/.test(we)],ot=(Le[1]?(je=null,_e="BlackBerry"):"Device Software")+" "+Le[0],Xe=null):this!=fe&&je!="Wii"&&(Qe&&He||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(we)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ot)||xe=="IE"&&(ot&&!/^Win/.test(ot)&&Xe>5.5||/\bWindows XP\b/.test(ot)&&Xe>8||Xe==8&&!/\bTrident\b/.test(we)))&&!ne.test(Le=Pe.call(fe,we.replace(ne,"")+";"))&&Le.name&&(Le="ing as "+Le.name+((Le=Le.version)?" "+Le:""),ne.test(xe)?(/\bIE\b/.test(Le)&&ot=="Mac OS"&&(ot=null),Le="identify"+Le):(Le="mask"+Le,Ue?xe=se(Ue.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Le)&&(ot=null),Qe||(Xe=null)),Ce=["Presto"],Ee.push(Le));(Le=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(we)||0)[1])&&(Le=[parseFloat(Le.replace(/\.(\d)$/,".0$1")),Le],xe=="Safari"&&Le[1].slice(-1)=="+"?(xe="WebKit Nightly",Ie="alpha",Xe=Le[1].slice(0,-1)):(Xe==Le[1]||Xe==(Le[2]=(/\bSafari\/([\d.]+\+?)/i.exec(we)||0)[1]))&&(Xe=null),Le[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(we)||0)[1],Le[0]==537.36&&Le[2]==537.36&&parseFloat(Le[1])>=28&&Ce=="WebKit"&&(Ce=["Blink"]),!Qe||!Re&&!Le[1]?(Ce&&(Ce[1]="like Safari"),Le=(Le=Le[0],Le<400?1:Le<500?2:Le<526?3:Le<533?4:Le<534?"4+":Le<535?5:Le<537?6:Le<538?7:Le<601?8:Le<602?9:Le<604?10:Le<606?11:Le<608?12:"12")):(Ce&&(Ce[1]="like Chrome"),Le=Le[1]||(Le=Le[0],Le<530?1:Le<532?2:Le<532.05?3:Le<533?4:Le<534.03?5:Le<534.07?6:Le<534.1?7:Le<534.13?8:Le<534.16?9:Le<534.24?10:Le<534.3?11:Le<535.01?12:Le<535.02?"13+":Le<535.07?15:Le<535.11?16:Le<535.19?17:Le<536.05?18:Le<536.1?19:Le<537.01?20:Le<537.11?"21+":Le<537.13?23:Le<537.18?24:Le<537.24?25:Le<537.36?26:Ce!="Blink"?"27":"28")),Ce&&(Ce[1]+=" "+(Le+=typeof Le=="number"?".x":/[.+]/.test(Le)?"":"+")),xe=="Safari"&&(!Xe||parseInt(Xe)>45)?Xe=Le:xe=="Chrome"&&/\bHeadlessChrome/i.test(we)&&Ee.unshift("headless")),xe=="Opera"&&(Le=/\bzbov|zvav$/.exec(ot))?(xe+=" ",Ee.unshift("desktop mode"),Le=="zvav"?(xe+="Mini",Xe=null):xe+="Mobile",ot=ot.replace(RegExp(" *"+Le+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Ce&&Ce[1])?(Ee.unshift("desktop mode"),xe="Chrome Mobile",Xe=null,/\bOS X\b/.test(ot)?(_e="Apple",ot="iOS 4.3+"):ot=null):/\bSRWare Iron\b/.test(xe)&&!Xe&&(Xe=xt("Chrome")),Xe&&Xe.indexOf(Le=/[\d.]+$/.exec(ot))==0&&we.indexOf("/"+Le+"-")>-1&&(ot=ye(ot.replace(Le,""))),ot&&ot.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(ot)&&(ot=ot.replace(RegExp(" *"+pe(xe)+" *"),"")),Ce&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(ot)&&/\bSafari\b/.test(Ce[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Ce[1])&&(Le=Ce[Ce.length-1])&&Ee.push(Le),Ee.length&&(Ee=["("+Ee.join("; ")+")"]),_e&&je&&je.indexOf(_e)<0&&Ee.push("on "+_e),je&&Ee.push((/^on /.test(Ee[Ee.length-1])?"":"on ")+je),ot&&(Le=/ ([\d.+]+)$/.exec(ot),Ge=Le&&ot.charAt(ot.length-Le[0].length-1)=="/",ot={architecture:32,family:Le&&!Ge?ot.replace(Le[0],""):ot,version:Le?Le[1]:null,toString:function(){var We=this.version;return this.family+(We&&!Ge?" "+We:"")+(this.architecture==64?" 64-bit":"")}}),(Le=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ke))&&!/\bi686\b/i.test(Ke)?(ot&&(ot.architecture=64,ot.family=ot.family.replace(RegExp(" *"+Le),"")),xe&&(/\bWOW64\b/i.test(we)||Qe&&/\w(?:86|32)$/.test(Fe.cpuClass||Fe.platform)&&!/\bWin64; x64\b/i.test(we))&&Ee.unshift("32-bit")):ot&&/^OS X/.test(ot.family)&&xe=="Chrome"&&parseFloat(Xe)>=39&&(ot.architecture=64),we||(we=null);var Tt={};return Tt.description=we,Tt.layout=Ce&&Ce[0],Tt.manufacturer=_e,Tt.name=xe,Tt.prerelease=Ie,Tt.product=je,Tt.ua=we,Tt.version=xe&&Xe,Tt.os=ot||{architecture:null,family:null,version:null,toString:function(){return"null"}},Tt.parse=Pe,Tt.toString=at,Tt.version&&Ee.unshift(Xe),Tt.name&&Ee.unshift(xe),ot&&xe&&!(ot==String(ot).split(" ")[0]&&(ot==xe.split(" ")[0]||je))&&Ee.push(je?"("+ot+")":"on "+ot),Ee.length&&(Tt.description=Ee.join(" ")),Tt}var Oe=Pe();typeof be=="function"&&typeof be.amd=="object"&&be.amd?(ue.platform=Oe,be(function(){return Oe})):le&&de?fe(Oe,function(we,Te){le[Te]=we}):ue.platform=Oe}).call(this)}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,Se,ge){(function(oe){(function(){"use strict";typeof oe=="undefined"||!oe.version||oe.version.indexOf("v0.")===0||oe.version.indexOf("v1.")===0&&oe.version.indexOf("v1.8.")!==0?Se.exports={nextTick:te}:Se.exports=oe;function te(ue,ce,le,de){if(typeof ue!="function")throw new TypeError('"callback" argument must be a function');var ae=arguments.length,ie,ne;switch(ae){case 0:case 1:return oe.nextTick(ue);case 2:return oe.nextTick(function(){ue.call(null,ce)});case 3:return oe.nextTick(function(){ue.call(null,ce,le)});case 4:return oe.nextTick(function(){ue.call(null,ce,le,de)});default:for(ie=new Array(ae-1),ne=0;ne<ie.length;)ie[ne++]=arguments[ne];return oe.nextTick(function(){ue.apply(null,ie)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,Se,ge){var oe=Se.exports={},te,ue;function ce(){throw new Error("setTimeout has not been defined")}function le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?te=setTimeout:te=ce}catch(re){te=ce}try{typeof clearTimeout=="function"?ue=clearTimeout:ue=le}catch(re){ue=le}})();function de(re){if(te===setTimeout)return setTimeout(re,0);if((te===ce||!te)&&setTimeout)return te=setTimeout,setTimeout(re,0);try{return te(re,0)}catch(se){try{return te.call(null,re,0)}catch(fe){return te.call(this,re,0)}}}function ae(re){if(ue===clearTimeout)return clearTimeout(re);if((ue===le||!ue)&&clearTimeout)return ue=clearTimeout,clearTimeout(re);try{return ue(re)}catch(se){try{return ue.call(null,re)}catch(fe){return ue.call(this,re)}}}var ie=[],ne=!1,a,y=-1;function x(){!ne||!a||(ne=!1,a.length?ie=a.concat(ie):y=-1,ie.length&&b())}function b(){if(!ne){var re=de(x);ne=!0;for(var se=ie.length;se;){for(a=ie,ie=[];++y<se;)a&&a[y].run();y=-1,se=ie.length}a=null,ne=!1,ae(re)}}oe.nextTick=function(re){var se=new Array(arguments.length-1);if(arguments.length>1)for(var fe=1;fe<arguments.length;fe++)se[fe-1]=arguments[fe];ie.push(new z(re,se)),ie.length===1&&!ne&&de(b)};function z(re,se){this.fun=re,this.array=se}z.prototype.run=function(){this.fun.apply(null,this.array)},oe.title="browser",oe.browser=!0,oe.env={},oe.argv=[],oe.version="",oe.versions={};function ee(){}oe.on=ee,oe.addListener=ee,oe.once=ee,oe.off=ee,oe.removeListener=ee,oe.removeAllListeners=ee,oe.emit=ee,oe.prependListener=ee,oe.prependOnceListener=ee,oe.listeners=function(re){return[]},oe.binding=function(re){throw new Error("process.binding is not supported")},oe.cwd=function(){return"/"},oe.chdir=function(re){throw new Error("process.chdir is not supported")},oe.umask=function(){return 0}},{}],382:[function(E,Se,ge){(function(oe){(function(){(function(te){var ue=typeof ge=="object"&&ge&&!ge.nodeType&&ge,ce=typeof Se=="object"&&Se&&!Se.nodeType&&Se,le=typeof oe=="object"&&oe;(le.global===le||le.window===le||le.self===le)&&(te=le);var de,ae=2147483647,ie=36,ne=1,a=26,y=38,x=700,b=72,z=128,ee="-",re=/^xn--/,se=/[^\x20-\x7E]/,fe=/[\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=ie-ne,pe=Math.floor,he=String.fromCharCode,ye;function Pe(qe){throw new RangeError(ve[qe])}function Oe(qe,ze){for(var ke=qe.length,Be=[];ke--;)Be[ke]=ze(qe[ke]);return Be}function we(qe,ze){var ke=qe.split("@"),Be="";ke.length>1&&(Be=ke[0]+"@",qe=ke[1]),qe=qe.replace(fe,".");var Je=qe.split("."),Ye=Oe(Je,ze).join(".");return Be+Ye}function Te(qe){for(var ze=[],ke=0,Be=qe.length,Je,Ye;ke<Be;)Je=qe.charCodeAt(ke++),Je>=55296&&Je<=56319&&ke<Be?(Ye=qe.charCodeAt(ke++),(Ye&64512)==56320?ze.push(((Je&1023)<<10)+(Ye&1023)+65536):(ze.push(Je),ke--)):ze.push(Je);return ze}function Me(qe){return Oe(qe,function(ze){var ke="";return ze>65535&&(ze-=65536,ke+=he(ze>>>10&1023|55296),ze=56320|ze&1023),ke+=he(ze),ke}).join("")}function Fe(qe){return qe-48<10?qe-22:qe-65<26?qe-65:qe-97<26?qe-97:ie}function $e(qe,ze){return qe+22+75*(qe<26)-((ze!=0)<<5)}function Ve(qe,ze,ke){var Be=0;for(qe=ke?pe(qe/x):qe>>1,qe+=pe(qe/ze);qe>me*a>>1;Be+=ie)qe=pe(qe/me);return pe(Be+(me+1)*qe/(qe+y))}function Re(qe){var ze=[],ke=qe.length,Be,Je=0,Ye=z,dt=b,He,Ue,Le,Ke,Ee,Ie,Qe,Xe,Ge;for(He=qe.lastIndexOf(ee),He<0&&(He=0),Ue=0;Ue<He;++Ue)qe.charCodeAt(Ue)>=128&&Pe("not-basic"),ze.push(qe.charCodeAt(Ue));for(Le=He>0?He+1:0;Le<ke;){for(Ke=Je,Ee=1,Ie=ie;Le>=ke&&Pe("invalid-input"),Qe=Fe(qe.charCodeAt(Le++)),(Qe>=ie||Qe>pe((ae-Je)/Ee))&&Pe("overflow"),Je+=Qe*Ee,Xe=Ie<=dt?ne:Ie>=dt+a?a:Ie-dt,!(Qe<Xe);Ie+=ie)Ge=ie-Xe,Ee>pe(ae/Ge)&&Pe("overflow"),Ee*=Ge;Be=ze.length+1,dt=Ve(Je-Ke,Be,Ke==0),pe(Je/Be)>ae-Ye&&Pe("overflow"),Ye+=pe(Je/Be),Je%=Be,ze.splice(Je++,0,Ye)}return Me(ze)}function st(qe){var ze,ke,Be,Je,Ye,dt,He,Ue,Le,Ke,Ee,Ie=[],Qe,Xe,Ge,Ce;for(qe=Te(qe),Qe=qe.length,ze=z,ke=0,Ye=b,dt=0;dt<Qe;++dt)Ee=qe[dt],Ee<128&&Ie.push(he(Ee));for(Be=Je=Ie.length,Je&&Ie.push(ee);Be<Qe;){for(He=ae,dt=0;dt<Qe;++dt)Ee=qe[dt],Ee>=ze&&Ee<He&&(He=Ee);for(Xe=Be+1,He-ze>pe((ae-ke)/Xe)&&Pe("overflow"),ke+=(He-ze)*Xe,ze=He,dt=0;dt<Qe;++dt)if(Ee=qe[dt],Ee<ze&&++ke>ae&&Pe("overflow"),Ee==ze){for(Ue=ke,Le=ie;Ke=Le<=Ye?ne:Le>=Ye+a?a:Le-Ye,!(Ue<Ke);Le+=ie)Ce=Ue-Ke,Ge=ie-Ke,Ie.push(he($e(Ke+Ce%Ge,0))),Ue=pe(Ce/Ge);Ie.push(he($e(Ue,0))),Ye=Ve(ke,Xe,Be==Je),ke=0,++Be}++ke,++ze}return Ie.join("")}function rt(qe){return we(qe,function(ze){return re.test(ze)?Re(ze.slice(4).toLowerCase()):ze})}function et(qe){return we(qe,function(ze){return se.test(ze)?"xn--"+st(ze):ze})}if(de={version:"1.4.1",ucs2:{decode:Te,encode:Me},decode:Re,encode:st,toASCII:et,toUnicode:rt},typeof be=="function"&&typeof be.amd=="object"&&be.amd)be("punycode",function(){return de});else if(ue&&ce)if(Se.exports==ue)ce.exports=de;else for(ye in de)de.hasOwnProperty(ye)&&(ue[ye]=de[ye]);else te.punycode=de})(this)}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,Se,ge){"use strict";function oe(ue,ce){return Object.prototype.hasOwnProperty.call(ue,ce)}Se.exports=function(ue,ce,le,de){ce=ce||"&",le=le||"=";var ae={};if(typeof ue!="string"||ue.length===0)return ae;var ie=/\+/g;ue=ue.split(ce);var ne=1e3;de&&typeof de.maxKeys=="number"&&(ne=de.maxKeys);var a=ue.length;ne>0&&a>ne&&(a=ne);for(var y=0;y<a;++y){var x=ue[y].replace(ie,"%20"),b=x.indexOf(le),z,ee,re,se;b>=0?(z=x.substr(0,b),ee=x.substr(b+1)):(z=x,ee=""),re=decodeURIComponent(z),se=decodeURIComponent(ee),oe(ae,re)?te(ae[re])?ae[re].push(se):ae[re]=[ae[re],se]:ae[re]=se}return ae};var te=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"}},{}],384:[function(E,Se,ge){"use strict";var oe=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};Se.exports=function(le,de,ae,ie){return de=de||"&",ae=ae||"=",le===null&&(le=void 0),typeof le=="object"?ue(ce(le),function(ne){var a=encodeURIComponent(oe(ne))+ae;return te(le[ne])?ue(le[ne],function(y){return a+encodeURIComponent(oe(y))}).join(de):a+encodeURIComponent(oe(le[ne]))}).join(de):ie?encodeURIComponent(oe(ie))+ae+encodeURIComponent(oe(le)):""};var te=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function ue(le,de){if(le.map)return le.map(de);for(var ae=[],ie=0;ie<le.length;ie++)ae.push(de(le[ie],ie));return ae}var ce=Object.keys||function(le){var de=[];for(var ae in le)Object.prototype.hasOwnProperty.call(le,ae)&&de.push(ae);return de}},{}],385:[function(E,Se,ge){"use strict";ge.decode=ge.parse=E("./decode"),ge.encode=ge.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,Se,ge){"use strict";var oe=E("process-nextick-args"),te=Object.keys||function(x){var b=[];for(var z in x)b.push(z);return b};Se.exports=ne;var ue=Object.create(E("core-util-is"));ue.inherits=E("inherits");var ce=E("./_stream_readable"),le=E("./_stream_writable");ue.inherits(ne,ce);for(var de=te(le.prototype),ae=0;ae<de.length;ae++){var ie=de[ae];ne.prototype[ie]||(ne.prototype[ie]=le.prototype[ie])}function ne(x){if(!(this instanceof ne))return new ne(x);ce.call(this,x),le.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(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||oe.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(ne.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)}}),ne.prototype._destroy=function(x,b){this.push(null),this.end(),oe.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,Se,ge){"use strict";Se.exports=ue;var oe=E("./_stream_transform"),te=Object.create(E("core-util-is"));te.inherits=E("inherits"),te.inherits(ue,oe);function ue(ce){if(!(this instanceof ue))return new ue(ce);oe.call(this,ce)}ue.prototype._transform=function(ce,le,de){de(null,ce)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,Se,ge){(function(oe,te){(function(){"use strict";var ue=E("process-nextick-args");Se.exports=he;var ce=E("isarray"),le;he.ReadableState=pe;var de=E("events").EventEmitter,ae=function(Ee,Ie){return Ee.listeners(Ie).length},ie=E("./internal/streams/stream"),ne=E("safe-buffer").Buffer,a=te.Uint8Array||function(){};function y(Ee){return ne.from(Ee)}function x(Ee){return ne.isBuffer(Ee)||Ee instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var z=E("util"),ee=void 0;z&&z.debuglog?ee=z.debuglog("stream"):ee=function(){};var re=E("./internal/streams/BufferList"),se=E("./internal/streams/destroy"),fe;b.inherits(he,ie);var ve=["error","close","destroy","pause","resume"];function me(Ee,Ie,Qe){if(typeof Ee.prependListener=="function")return Ee.prependListener(Ie,Qe);!Ee._events||!Ee._events[Ie]?Ee.on(Ie,Qe):ce(Ee._events[Ie])?Ee._events[Ie].unshift(Qe):Ee._events[Ie]=[Qe,Ee._events[Ie]]}function pe(Ee,Ie){le=le||E("./_stream_duplex"),Ee=Ee||{};var Qe=Ie instanceof le;this.objectMode=!!Ee.objectMode,Qe&&(this.objectMode=this.objectMode||!!Ee.readableObjectMode);var Xe=Ee.highWaterMark,Ge=Ee.readableHighWaterMark,Ce=this.objectMode?16:16*1024;Xe||Xe===0?this.highWaterMark=Xe:Qe&&(Ge||Ge===0)?this.highWaterMark=Ge:this.highWaterMark=Ce,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new re,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=Ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ee.encoding&&(fe||(fe=E("string_decoder/").StringDecoder),this.decoder=new fe(Ee.encoding),this.encoding=Ee.encoding)}function he(Ee){if(le=le||E("./_stream_duplex"),!(this instanceof he))return new he(Ee);this._readableState=new pe(Ee,this),this.readable=!0,Ee&&(typeof Ee.read=="function"&&(this._read=Ee.read),typeof Ee.destroy=="function"&&(this._destroy=Ee.destroy)),ie.call(this)}Object.defineProperty(he.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ee){this._readableState&&(this._readableState.destroyed=Ee)}}),he.prototype.destroy=se.destroy,he.prototype._undestroy=se.undestroy,he.prototype._destroy=function(Ee,Ie){this.push(null),Ie(Ee)},he.prototype.push=function(Ee,Ie){var Qe=this._readableState,Xe;return Qe.objectMode?Xe=!0:typeof Ee=="string"&&(Ie=Ie||Qe.defaultEncoding,Ie!==Qe.encoding&&(Ee=ne.from(Ee,Ie),Ie=""),Xe=!0),ye(this,Ee,Ie,!1,Xe)},he.prototype.unshift=function(Ee){return ye(this,Ee,null,!0,!1)};function ye(Ee,Ie,Qe,Xe,Ge){var Ce=Ee._readableState;if(Ie===null)Ce.reading=!1,$e(Ee,Ce);else{var xe;Ge||(xe=Oe(Ce,Ie)),xe?Ee.emit("error",xe):Ce.objectMode||Ie&&Ie.length>0?(typeof Ie!="string"&&!Ce.objectMode&&Object.getPrototypeOf(Ie)!==ne.prototype&&(Ie=y(Ie)),Xe?Ce.endEmitted?Ee.emit("error",new Error("stream.unshift() after end event")):Pe(Ee,Ce,Ie,!0):Ce.ended?Ee.emit("error",new Error("stream.push() after EOF")):(Ce.reading=!1,Ce.decoder&&!Qe?(Ie=Ce.decoder.write(Ie),Ce.objectMode||Ie.length!==0?Pe(Ee,Ce,Ie,!1):st(Ee,Ce)):Pe(Ee,Ce,Ie,!1))):Xe||(Ce.reading=!1)}return we(Ce)}function Pe(Ee,Ie,Qe,Xe){Ie.flowing&&Ie.length===0&&!Ie.sync?(Ee.emit("data",Qe),Ee.read(0)):(Ie.length+=Ie.objectMode?1:Qe.length,Xe?Ie.buffer.unshift(Qe):Ie.buffer.push(Qe),Ie.needReadable&&Ve(Ee)),st(Ee,Ie)}function Oe(Ee,Ie){var Qe;return!x(Ie)&&typeof Ie!="string"&&Ie!==void 0&&!Ee.objectMode&&(Qe=new TypeError("Invalid non-string/buffer chunk")),Qe}function we(Ee){return!Ee.ended&&(Ee.needReadable||Ee.length<Ee.highWaterMark||Ee.length===0)}he.prototype.isPaused=function(){return this._readableState.flowing===!1},he.prototype.setEncoding=function(Ee){return fe||(fe=E("string_decoder/").StringDecoder),this._readableState.decoder=new fe(Ee),this._readableState.encoding=Ee,this};var Te=8388608;function Me(Ee){return Ee>=Te?Ee=Te:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}function Fe(Ee,Ie){return Ee<=0||Ie.length===0&&Ie.ended?0:Ie.objectMode?1:Ee!==Ee?Ie.flowing&&Ie.length?Ie.buffer.head.data.length:Ie.length:(Ee>Ie.highWaterMark&&(Ie.highWaterMark=Me(Ee)),Ee<=Ie.length?Ee:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}he.prototype.read=function(Ee){ee("read",Ee),Ee=parseInt(Ee,10);var Ie=this._readableState,Qe=Ee;if(Ee!==0&&(Ie.emittedReadable=!1),Ee===0&&Ie.needReadable&&(Ie.length>=Ie.highWaterMark||Ie.ended))return ee("read: emitReadable",Ie.length,Ie.ended),Ie.length===0&&Ie.ended?Ue(this):Ve(this),null;if(Ee=Fe(Ee,Ie),Ee===0&&Ie.ended)return Ie.length===0&&Ue(this),null;var Xe=Ie.needReadable;ee("need readable",Xe),(Ie.length===0||Ie.length-Ee<Ie.highWaterMark)&&(Xe=!0,ee("length less than watermark",Xe)),Ie.ended||Ie.reading?(Xe=!1,ee("reading or ended",Xe)):Xe&&(ee("do read"),Ie.reading=!0,Ie.sync=!0,Ie.length===0&&(Ie.needReadable=!0),this._read(Ie.highWaterMark),Ie.sync=!1,Ie.reading||(Ee=Fe(Qe,Ie)));var Ge;return Ee>0?Ge=Je(Ee,Ie):Ge=null,Ge===null?(Ie.needReadable=!0,Ee=0):Ie.length-=Ee,Ie.length===0&&(Ie.ended||(Ie.needReadable=!0),Qe!==Ee&&Ie.ended&&Ue(this)),Ge!==null&&this.emit("data",Ge),Ge};function $e(Ee,Ie){if(!Ie.ended){if(Ie.decoder){var Qe=Ie.decoder.end();Qe&&Qe.length&&(Ie.buffer.push(Qe),Ie.length+=Ie.objectMode?1:Qe.length)}Ie.ended=!0,Ve(Ee)}}function Ve(Ee){var Ie=Ee._readableState;Ie.needReadable=!1,Ie.emittedReadable||(ee("emitReadable",Ie.flowing),Ie.emittedReadable=!0,Ie.sync?ue.nextTick(Re,Ee):Re(Ee))}function Re(Ee){ee("emit readable"),Ee.emit("readable"),Be(Ee)}function st(Ee,Ie){Ie.readingMore||(Ie.readingMore=!0,ue.nextTick(rt,Ee,Ie))}function rt(Ee,Ie){for(var Qe=Ie.length;!Ie.reading&&!Ie.flowing&&!Ie.ended&&Ie.length<Ie.highWaterMark&&(ee("maybeReadMore read 0"),Ee.read(0),Qe!==Ie.length);)Qe=Ie.length;Ie.readingMore=!1}he.prototype._read=function(Ee){this.emit("error",new Error("_read() is not implemented"))},he.prototype.pipe=function(Ee,Ie){var Qe=this,Xe=this._readableState;switch(Xe.pipesCount){case 0:Xe.pipes=Ee;break;case 1:Xe.pipes=[Xe.pipes,Ee];break;default:Xe.pipes.push(Ee);break}Xe.pipesCount+=1,ee("pipe count=%d opts=%j",Xe.pipesCount,Ie);var Ge=(!Ie||Ie.end!==!1)&&Ee!==oe.stdout&&Ee!==oe.stderr,Ce=Ge?je:at;Xe.endEmitted?ue.nextTick(Ce):Qe.once("end",Ce),Ee.on("unpipe",xe);function xe(Tt,We){ee("onunpipe"),Tt===Qe&&We&&We.hasUnpiped===!1&&(We.hasUnpiped=!0,pt())}function je(){ee("onend"),Ee.end()}var _e=et(Qe);Ee.on("drain",_e);var ot=!1;function pt(){ee("cleanup"),Ee.removeListener("close",St),Ee.removeListener("finish",xt),Ee.removeListener("drain",_e),Ee.removeListener("error",ut),Ee.removeListener("unpipe",xe),Qe.removeListener("end",je),Qe.removeListener("end",at),Qe.removeListener("data",tt),ot=!0,Xe.awaitDrain&&(!Ee._writableState||Ee._writableState.needDrain)&&_e()}var mt=!1;Qe.on("data",tt);function tt(Tt){ee("ondata"),mt=!1;var We=Ee.write(Tt);We===!1&&!mt&&((Xe.pipesCount===1&&Xe.pipes===Ee||Xe.pipesCount>1&&Ke(Xe.pipes,Ee)!==-1)&&!ot&&(ee("false write response, pause",Qe._readableState.awaitDrain),Qe._readableState.awaitDrain++,mt=!0),Qe.pause())}function ut(Tt){ee("onerror",Tt),at(),Ee.removeListener("error",ut),ae(Ee,"error")===0&&Ee.emit("error",Tt)}me(Ee,"error",ut);function St(){Ee.removeListener("finish",xt),at()}Ee.once("close",St);function xt(){ee("onfinish"),Ee.removeListener("close",St),at()}Ee.once("finish",xt);function at(){ee("unpipe"),Qe.unpipe(Ee)}return Ee.emit("pipe",Qe),Xe.flowing||(ee("pipe resume"),Qe.resume()),Ee};function et(Ee){return function(){var Ie=Ee._readableState;ee("pipeOnDrain",Ie.awaitDrain),Ie.awaitDrain&&Ie.awaitDrain--,Ie.awaitDrain===0&&ae(Ee,"data")&&(Ie.flowing=!0,Be(Ee))}}he.prototype.unpipe=function(Ee){var Ie=this._readableState,Qe={hasUnpiped:!1};if(Ie.pipesCount===0)return this;if(Ie.pipesCount===1)return Ee&&Ee!==Ie.pipes?this:(Ee||(Ee=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,Ee&&Ee.emit("unpipe",this,Qe),this);if(!Ee){var Xe=Ie.pipes,Ge=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var Ce=0;Ce<Ge;Ce++)Xe[Ce].emit("unpipe",this,Qe);return this}var xe=Ke(Ie.pipes,Ee);return xe===-1?this:(Ie.pipes.splice(xe,1),Ie.pipesCount-=1,Ie.pipesCount===1&&(Ie.pipes=Ie.pipes[0]),Ee.emit("unpipe",this,Qe),this)},he.prototype.on=function(Ee,Ie){var Qe=ie.prototype.on.call(this,Ee,Ie);if(Ee==="data")this._readableState.flowing!==!1&&this.resume();else if(Ee==="readable"){var Xe=this._readableState;!Xe.endEmitted&&!Xe.readableListening&&(Xe.readableListening=Xe.needReadable=!0,Xe.emittedReadable=!1,Xe.reading?Xe.length&&Ve(this):ue.nextTick(qe,this))}return Qe},he.prototype.addListener=he.prototype.on;function qe(Ee){ee("readable nexttick read 0"),Ee.read(0)}he.prototype.resume=function(){var Ee=this._readableState;return Ee.flowing||(ee("resume"),Ee.flowing=!0,ze(this,Ee)),this};function ze(Ee,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,ue.nextTick(ke,Ee,Ie))}function ke(Ee,Ie){Ie.reading||(ee("resume read 0"),Ee.read(0)),Ie.resumeScheduled=!1,Ie.awaitDrain=0,Ee.emit("resume"),Be(Ee),Ie.flowing&&!Ie.reading&&Ee.read(0)}he.prototype.pause=function(){return ee("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ee("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Be(Ee){var Ie=Ee._readableState;for(ee("flow",Ie.flowing);Ie.flowing&&Ee.read()!==null;);}he.prototype.wrap=function(Ee){var Ie=this,Qe=this._readableState,Xe=!1;Ee.on("end",function(){if(ee("wrapped end"),Qe.decoder&&!Qe.ended){var xe=Qe.decoder.end();xe&&xe.length&&Ie.push(xe)}Ie.push(null)}),Ee.on("data",function(xe){if(ee("wrapped data"),Qe.decoder&&(xe=Qe.decoder.write(xe)),!(Qe.objectMode&&xe==null)&&!(!Qe.objectMode&&(!xe||!xe.length))){var je=Ie.push(xe);je||(Xe=!0,Ee.pause())}});for(var Ge in Ee)this[Ge]===void 0&&typeof Ee[Ge]=="function"&&(this[Ge]=function(xe){return function(){return Ee[xe].apply(Ee,arguments)}}(Ge));for(var Ce=0;Ce<ve.length;Ce++)Ee.on(ve[Ce],this.emit.bind(this,ve[Ce]));return this._read=function(xe){ee("wrapped _read",xe),Xe&&(Xe=!1,Ee.resume())},this},Object.defineProperty(he.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),he._fromList=Je;function Je(Ee,Ie){if(Ie.length===0)return null;var Qe;return Ie.objectMode?Qe=Ie.buffer.shift():!Ee||Ee>=Ie.length?(Ie.decoder?Qe=Ie.buffer.join(""):Ie.buffer.length===1?Qe=Ie.buffer.head.data:Qe=Ie.buffer.concat(Ie.length),Ie.buffer.clear()):Qe=Ye(Ee,Ie.buffer,Ie.decoder),Qe}function Ye(Ee,Ie,Qe){var Xe;return Ee<Ie.head.data.length?(Xe=Ie.head.data.slice(0,Ee),Ie.head.data=Ie.head.data.slice(Ee)):Ee===Ie.head.data.length?Xe=Ie.shift():Xe=Qe?dt(Ee,Ie):He(Ee,Ie),Xe}function dt(Ee,Ie){var Qe=Ie.head,Xe=1,Ge=Qe.data;for(Ee-=Ge.length;Qe=Qe.next;){var Ce=Qe.data,xe=Ee>Ce.length?Ce.length:Ee;if(xe===Ce.length?Ge+=Ce:Ge+=Ce.slice(0,Ee),Ee-=xe,Ee===0){xe===Ce.length?(++Xe,Qe.next?Ie.head=Qe.next:Ie.head=Ie.tail=null):(Ie.head=Qe,Qe.data=Ce.slice(xe));break}++Xe}return Ie.length-=Xe,Ge}function He(Ee,Ie){var Qe=ne.allocUnsafe(Ee),Xe=Ie.head,Ge=1;for(Xe.data.copy(Qe),Ee-=Xe.data.length;Xe=Xe.next;){var Ce=Xe.data,xe=Ee>Ce.length?Ce.length:Ee;if(Ce.copy(Qe,Qe.length-Ee,0,xe),Ee-=xe,Ee===0){xe===Ce.length?(++Ge,Xe.next?Ie.head=Xe.next:Ie.head=Ie.tail=null):(Ie.head=Xe,Xe.data=Ce.slice(xe));break}++Ge}return Ie.length-=Ge,Qe}function Ue(Ee){var Ie=Ee._readableState;if(Ie.length>0)throw new Error('"endReadable()" called on non-empty stream');Ie.endEmitted||(Ie.ended=!0,ue.nextTick(Le,Ie,Ee))}function Le(Ee,Ie){!Ee.endEmitted&&Ee.length===0&&(Ee.endEmitted=!0,Ie.readable=!1,Ie.emit("end"))}function Ke(Ee,Ie){for(var Qe=0,Xe=Ee.length;Qe<Xe;Qe++)if(Ee[Qe]===Ie)return Qe;return-1}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){"use strict";Se.exports=ce;var oe=E("./_stream_duplex"),te=Object.create(E("core-util-is"));te.inherits=E("inherits"),te.inherits(ce,oe);function ue(ae,ie){var ne=this._transformState;ne.transforming=!1;var a=ne.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));ne.writechunk=null,ne.writecb=null,ie!=null&&this.push(ie),a(ae);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function ce(ae){if(!(this instanceof ce))return new ce(ae);oe.call(this,ae),this._transformState={afterTransform:ue.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ae&&(typeof ae.transform=="function"&&(this._transform=ae.transform),typeof ae.flush=="function"&&(this._flush=ae.flush)),this.on("prefinish",le)}function le(){var ae=this;typeof this._flush=="function"?this._flush(function(ie,ne){de(ae,ie,ne)}):de(this,null,null)}ce.prototype.push=function(ae,ie){return this._transformState.needTransform=!1,oe.prototype.push.call(this,ae,ie)},ce.prototype._transform=function(ae,ie,ne){throw new Error("_transform() is not implemented")},ce.prototype._write=function(ae,ie,ne){var a=this._transformState;if(a.writecb=ne,a.writechunk=ae,a.writeencoding=ie,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},ce.prototype._read=function(ae){var ie=this._transformState;ie.writechunk!==null&&ie.writecb&&!ie.transforming?(ie.transforming=!0,this._transform(ie.writechunk,ie.writeencoding,ie.afterTransform)):ie.needTransform=!0},ce.prototype._destroy=function(ae,ie){var ne=this;oe.prototype._destroy.call(this,ae,function(a){ie(a),ne.emit("close")})};function de(ae,ie,ne){if(ie)return ae.emit("error",ie);if(ne!=null&&ae.push(ne),ae._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(ae._transformState.transforming)throw new Error("Calling transform done when still transforming");return ae.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,Se,ge){(function(oe,te,ue){(function(){"use strict";var ce=E("process-nextick-args");Se.exports=me;function le(ke,Be,Je){this.chunk=ke,this.encoding=Be,this.callback=Je,this.next=null}function de(ke){var Be=this;this.next=null,this.entry=null,this.finish=function(){ze(Be,ke)}}var ae=!oe.browser&&["v0.10","v0.9."].indexOf(oe.version.slice(0,5))>-1?ue:ce.nextTick,ie;me.WritableState=fe;var ne=Object.create(E("core-util-is"));ne.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z(ke){return x.from(ke)}function ee(ke){return x.isBuffer(ke)||ke instanceof b}var re=E("./internal/streams/destroy");ne.inherits(me,y);function se(){}function fe(ke,Be){ie=ie||E("./_stream_duplex"),ke=ke||{};var Je=Be instanceof ie;this.objectMode=!!ke.objectMode,Je&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Ye=ke.highWaterMark,dt=ke.writableHighWaterMark,He=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:Je&&(dt||dt===0)?this.highWaterMark=dt:this.highWaterMark=He,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 Ue=ke.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Le){Me(Be,Le)},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 de(this)}fe.prototype.getBuffer=function(){for(var Be=this.bufferedRequest,Je=[];Be;)Je.push(Be),Be=Be.next;return Je},function(){try{Object.defineProperty(fe.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 fe}})):ve=function(ke){return ke instanceof this};function me(ke){if(ie=ie||E("./_stream_duplex"),!ve.call(me,this)&&!(this instanceof ie))return new me(ke);this._writableState=new fe(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 pe(ke,Be){var Je=new Error("write after end");ke.emit("error",Je),ce.nextTick(Be,Je)}function he(ke,Be,Je,Ye){var dt=!0,He=!1;return Je===null?He=new TypeError("May not write null values to stream"):typeof Je!="string"&&Je!==void 0&&!Be.objectMode&&(He=new TypeError("Invalid non-string/buffer chunk")),He&&(ke.emit("error",He),ce.nextTick(Ye,He),dt=!1),dt}me.prototype.write=function(ke,Be,Je){var Ye=this._writableState,dt=!1,He=!Ye.objectMode&&ee(ke);return He&&!x.isBuffer(ke)&&(ke=z(ke)),typeof Be=="function"&&(Je=Be,Be=null),He?Be="buffer":Be||(Be=Ye.defaultEncoding),typeof Je!="function"&&(Je=se),Ye.ended?pe(this,Je):(He||he(this,Ye,ke,Je))&&(Ye.pendingcb++,dt=Pe(this,Ye,He,ke,Be,Je)),dt},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&&Ve(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 ye(ke,Be,Je){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Be=="string"&&(Be=x.from(Be,Je)),Be}Object.defineProperty(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Pe(ke,Be,Je,Ye,dt,He){if(!Je){var Ue=ye(Be,Ye,dt);Ye!==Ue&&(Je=!0,dt="buffer",Ye=Ue)}var Le=Be.objectMode?1:Ye.length;Be.length+=Le;var Ke=Be.length<Be.highWaterMark;if(Ke||(Be.needDrain=!0),Be.writing||Be.corked){var Ee=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:Ye,encoding:dt,isBuf:Je,callback:He,next:null},Ee?Ee.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else Oe(ke,Be,!1,Le,Ye,dt,He);return Ke}function Oe(ke,Be,Je,Ye,dt,He,Ue){Be.writelen=Ye,Be.writecb=Ue,Be.writing=!0,Be.sync=!0,Je?ke._writev(dt,Be.onwrite):ke._write(dt,He,Be.onwrite),Be.sync=!1}function we(ke,Be,Je,Ye,dt){--Be.pendingcb,Je?(ce.nextTick(dt,Ye),ce.nextTick(et,ke,Be),ke._writableState.errorEmitted=!0,ke.emit("error",Ye)):(dt(Ye),ke._writableState.errorEmitted=!0,ke.emit("error",Ye),et(ke,Be))}function Te(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Me(ke,Be){var Je=ke._writableState,Ye=Je.sync,dt=Je.writecb;if(Te(Je),Be)we(ke,Je,Ye,Be,dt);else{var He=Re(Je);!He&&!Je.corked&&!Je.bufferProcessing&&Je.bufferedRequest&&Ve(ke,Je),Ye?ae(Fe,ke,Je,He,dt):Fe(ke,Je,He,dt)}}function Fe(ke,Be,Je,Ye){Je||$e(ke,Be),Be.pendingcb--,Ye(),et(ke,Be)}function $e(ke,Be){Be.length===0&&Be.needDrain&&(Be.needDrain=!1,ke.emit("drain"))}function Ve(ke,Be){Be.bufferProcessing=!0;var Je=Be.bufferedRequest;if(ke._writev&&Je&&Je.next){var Ye=Be.bufferedRequestCount,dt=new Array(Ye),He=Be.corkedRequestsFree;He.entry=Je;for(var Ue=0,Le=!0;Je;)dt[Ue]=Je,Je.isBuf||(Le=!1),Je=Je.next,Ue+=1;dt.allBuffers=Le,Oe(ke,Be,!0,Be.length,dt,"",He.finish),Be.pendingcb++,Be.lastBufferedRequest=null,He.next?(Be.corkedRequestsFree=He.next,He.next=null):Be.corkedRequestsFree=new de(Be),Be.bufferedRequestCount=0}else{for(;Je;){var Ke=Je.chunk,Ee=Je.encoding,Ie=Je.callback,Qe=Be.objectMode?1:Ke.length;if(Oe(ke,Be,!1,Qe,Ke,Ee,Ie),Je=Je.next,Be.bufferedRequestCount--,Be.writing)break}Je===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=Je,Be.bufferProcessing=!1}me.prototype._write=function(ke,Be,Je){Je(new Error("_write() is not implemented"))},me.prototype._writev=null,me.prototype.end=function(ke,Be,Je){var Ye=this._writableState;typeof ke=="function"?(Je=ke,ke=null,Be=null):typeof Be=="function"&&(Je=Be,Be=null),ke!=null&&this.write(ke,Be),Ye.corked&&(Ye.corked=1,this.uncork()),!Ye.ending&&!Ye.finished&&qe(this,Ye,Je)};function Re(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function st(ke,Be){ke._final(function(Je){Be.pendingcb--,Je&&ke.emit("error",Je),Be.prefinished=!0,ke.emit("prefinish"),et(ke,Be)})}function rt(ke,Be){!Be.prefinished&&!Be.finalCalled&&(typeof ke._final=="function"?(Be.pendingcb++,Be.finalCalled=!0,ce.nextTick(st,ke,Be)):(Be.prefinished=!0,ke.emit("prefinish")))}function et(ke,Be){var Je=Re(Be);return Je&&(rt(ke,Be),Be.pendingcb===0&&(Be.finished=!0,ke.emit("finish"))),Je}function qe(ke,Be,Je){Be.ending=!0,et(ke,Be),Je&&(Be.finished?ce.nextTick(Je):ke.once("finish",Je)),Be.ended=!0,ke.writable=!1}function ze(ke,Be,Je){var Ye=ke.entry;for(ke.entry=null;Ye;){var dt=Ye.callback;Be.pendingcb--,dt(Je),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=re.destroy,me.prototype._undestroy=re.undestroy,me.prototype._destroy=function(ke,Be){this.end(),Be(ke)}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){"use strict";function oe(le,de){if(!(le instanceof de))throw new TypeError("Cannot call a class as a function")}var te=E("safe-buffer").Buffer,ue=E("util");function ce(le,de,ae){le.copy(de,ae)}Se.exports=function(){function le(){oe(this,le),this.head=null,this.tail=null,this.length=0}return le.prototype.push=function(ae){var ie={data:ae,next:null};this.length>0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},le.prototype.unshift=function(ae){var ie={data:ae,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},le.prototype.shift=function(){if(this.length!==0){var ae=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ae}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(ae){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=ae+ie.data;return ne},le.prototype.concat=function(ae){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(ae>>>0),ne=this.head,a=0;ne;)ce(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},le}(),ue&&ue.inspect&&ue.inspect.custom&&(Se.exports.prototype[ue.inspect.custom]=function(){var le=ue.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(E,Se,ge){"use strict";var oe=E("process-nextick-args");function te(le,de){var ae=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(de?de(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&oe.nextTick(ce,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(a){!de&&a?(oe.nextTick(ce,ae,a),ae._writableState&&(ae._writableState.errorEmitted=!0)):de&&de(a)}),this)}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ce(le,de){le.emit("error",de)}Se.exports={destroy:te,undestroy:ue}},{"process-nextick-args":380}],393:[function(E,Se,ge){Se.exports=E("events").EventEmitter},{events:344}],394:[function(E,Se,ge){ge=Se.exports=E("./lib/_stream_readable.js"),ge.Stream=ge,ge.Readable=ge,ge.Writable=E("./lib/_stream_writable.js"),ge.Duplex=E("./lib/_stream_duplex.js"),ge.Transform=E("./lib/_stream_transform.js"),ge.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,Se,ge){var oe=function(te){"use strict";var ue=Object.prototype,ce=ue.hasOwnProperty,le,de=typeof Symbol=="function"?Symbol:{},ae=de.iterator||"@@iterator",ie=de.asyncIterator||"@@asyncIterator",ne=de.toStringTag||"@@toStringTag";function a(rt,et,qe){return Object.defineProperty(rt,et,{value:qe,enumerable:!0,configurable:!0,writable:!0}),rt[et]}try{a({},"")}catch(rt){a=function(et,qe,ze){return et[qe]=ze}}function y(rt,et,qe,ze){var ke=et&&et.prototype instanceof fe?et:fe,Be=Object.create(ke.prototype),Je=new Ve(ze||[]);return Be._invoke=Te(rt,qe,Je),Be}te.wrap=y;function x(rt,et,qe){try{return{type:"normal",arg:rt.call(et,qe)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",se={};function fe(){}function ve(){}function me(){}var pe={};a(pe,ae,function(){return this});var he=Object.getPrototypeOf,ye=he&&he(he(Re([])));ye&&ye!==ue&&ce.call(ye,ae)&&(pe=ye);var Pe=me.prototype=fe.prototype=Object.create(pe);ve.prototype=me,a(Pe,"constructor",me),a(me,"constructor",ve),ve.displayName=a(me,ne,"GeneratorFunction");function Oe(rt){["next","throw","return"].forEach(function(et){a(rt,et,function(qe){return this._invoke(et,qe)})})}te.isGeneratorFunction=function(rt){var et=typeof rt=="function"&&rt.constructor;return et?et===ve||(et.displayName||et.name)==="GeneratorFunction":!1},te.mark=function(rt){return Object.setPrototypeOf?Object.setPrototypeOf(rt,me):(rt.__proto__=me,a(rt,ne,"GeneratorFunction")),rt.prototype=Object.create(Pe),rt},te.awrap=function(rt){return{__await:rt}};function we(rt,et){function qe(Be,Je,Ye,dt){var He=x(rt[Be],rt,Je);if(He.type==="throw")dt(He.arg);else{var Ue=He.arg,Le=Ue.value;return Le&&typeof Le=="object"&&ce.call(Le,"__await")?et.resolve(Le.__await).then(function(Ke){qe("next",Ke,Ye,dt)},function(Ke){qe("throw",Ke,Ye,dt)}):et.resolve(Le).then(function(Ke){Ue.value=Ke,Ye(Ue)},function(Ke){return qe("throw",Ke,Ye,dt)})}}var ze;function ke(Be,Je){function Ye(){return new et(function(dt,He){qe(Be,Je,dt,He)})}return ze=ze?ze.then(Ye,Ye):Ye()}this._invoke=ke}Oe(we.prototype),a(we.prototype,ie,function(){return this}),te.AsyncIterator=we,te.async=function(rt,et,qe,ze,ke){ke===void 0&&(ke=Promise);var Be=new we(y(rt,et,qe,ze),ke);return te.isGeneratorFunction(et)?Be:Be.next().then(function(Je){return Je.done?Je.value:Be.next()})};function Te(rt,et,qe){var ze=b;return function(Be,Je){if(ze===ee)throw new Error("Generator is already running");if(ze===re){if(Be==="throw")throw Je;return st()}for(qe.method=Be,qe.arg=Je;;){var Ye=qe.delegate;if(Ye){var dt=Me(Ye,qe);if(dt){if(dt===se)continue;return dt}}if(qe.method==="next")qe.sent=qe._sent=qe.arg;else if(qe.method==="throw"){if(ze===b)throw ze=re,qe.arg;qe.dispatchException(qe.arg)}else qe.method==="return"&&qe.abrupt("return",qe.arg);ze=ee;var He=x(rt,et,qe);if(He.type==="normal"){if(ze=qe.done?re:z,He.arg===se)continue;return{value:He.arg,done:qe.done}}else He.type==="throw"&&(ze=re,qe.method="throw",qe.arg=He.arg)}}}function Me(rt,et){var qe=rt.iterator[et.method];if(qe===le){if(et.delegate=null,et.method==="throw"){if(rt.iterator.return&&(et.method="return",et.arg=le,Me(rt,et),et.method==="throw"))return se;et.method="throw",et.arg=new TypeError("The iterator does not provide a 'throw' method")}return se}var ze=x(qe,rt.iterator,et.arg);if(ze.type==="throw")return et.method="throw",et.arg=ze.arg,et.delegate=null,se;var ke=ze.arg;if(!ke)return et.method="throw",et.arg=new TypeError("iterator result is not an object"),et.delegate=null,se;if(ke.done)et[rt.resultName]=ke.value,et.next=rt.nextLoc,et.method!=="return"&&(et.method="next",et.arg=le);else return ke;return et.delegate=null,se}Oe(Pe),a(Pe,ne,"Generator"),a(Pe,ae,function(){return this}),a(Pe,"toString",function(){return"[object Generator]"});function Fe(rt){var et={tryLoc:rt[0]};1 in rt&&(et.catchLoc=rt[1]),2 in rt&&(et.finallyLoc=rt[2],et.afterLoc=rt[3]),this.tryEntries.push(et)}function $e(rt){var et=rt.completion||{};et.type="normal",delete et.arg,rt.completion=et}function Ve(rt){this.tryEntries=[{tryLoc:"root"}],rt.forEach(Fe,this),this.reset(!0)}te.keys=function(rt){var et=[];for(var qe in rt)et.push(qe);return et.reverse(),function ze(){for(;et.length;){var ke=et.pop();if(ke in rt)return ze.value=ke,ze.done=!1,ze}return ze.done=!0,ze}};function Re(rt){if(rt){var et=rt[ae];if(et)return et.call(rt);if(typeof rt.next=="function")return rt;if(!isNaN(rt.length)){var qe=-1,ze=function ke(){for(;++qe<rt.length;)if(ce.call(rt,qe))return ke.value=rt[qe],ke.done=!1,ke;return ke.value=le,ke.done=!0,ke};return ze.next=ze}}return{next:st}}te.values=Re;function st(){return{value:le,done:!0}}return Ve.prototype={constructor:Ve,reset:function(rt){if(this.prev=0,this.next=0,this.sent=this._sent=le,this.done=!1,this.delegate=null,this.method="next",this.arg=le,this.tryEntries.forEach($e),!rt)for(var et in this)et.charAt(0)==="t"&&ce.call(this,et)&&!isNaN(+et.slice(1))&&(this[et]=le)},stop:function(){this.done=!0;var rt=this.tryEntries[0],et=rt.completion;if(et.type==="throw")throw et.arg;return this.rval},dispatchException:function(rt){if(this.done)throw rt;var et=this;function qe(dt,He){return Be.type="throw",Be.arg=rt,et.next=dt,He&&(et.method="next",et.arg=le),!!He}for(var ze=this.tryEntries.length-1;ze>=0;--ze){var ke=this.tryEntries[ze],Be=ke.completion;if(ke.tryLoc==="root")return qe("end");if(ke.tryLoc<=this.prev){var Je=ce.call(ke,"catchLoc"),Ye=ce.call(ke,"finallyLoc");if(Je&&Ye){if(this.prev<ke.catchLoc)return qe(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return qe(ke.finallyLoc)}else if(Je){if(this.prev<ke.catchLoc)return qe(ke.catchLoc,!0)}else if(Ye){if(this.prev<ke.finallyLoc)return qe(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(rt,et){for(var qe=this.tryEntries.length-1;qe>=0;--qe){var ze=this.tryEntries[qe];if(ze.tryLoc<=this.prev&&ce.call(ze,"finallyLoc")&&this.prev<ze.finallyLoc){var ke=ze;break}}ke&&(rt==="break"||rt==="continue")&&ke.tryLoc<=et&&et<=ke.finallyLoc&&(ke=null);var Be=ke?ke.completion:{};return Be.type=rt,Be.arg=et,ke?(this.method="next",this.next=ke.finallyLoc,se):this.complete(Be)},complete:function(rt,et){if(rt.type==="throw")throw rt.arg;return rt.type==="break"||rt.type==="continue"?this.next=rt.arg:rt.type==="return"?(this.rval=this.arg=rt.arg,this.method="return",this.next="end"):rt.type==="normal"&&et&&(this.next=et),se},finish:function(rt){for(var et=this.tryEntries.length-1;et>=0;--et){var qe=this.tryEntries[et];if(qe.finallyLoc===rt)return this.complete(qe.completion,qe.afterLoc),$e(qe),se}},catch:function(rt){for(var et=this.tryEntries.length-1;et>=0;--et){var qe=this.tryEntries[et];if(qe.tryLoc===rt){var ze=qe.completion;if(ze.type==="throw"){var ke=ze.arg;$e(qe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(rt,et,qe){return this.delegate={iterator:Re(rt),resultName:et,nextLoc:qe},this.method==="next"&&(this.arg=le),se}},te}(typeof Se=="object"?Se.exports:{});try{regeneratorRuntime=oe}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=oe:Function("r","regeneratorRuntime = r")(oe)}},{}],396:[function(E,Se,ge){var oe=E("buffer"),te=oe.Buffer;function ue(le,de){for(var ae in le)de[ae]=le[ae]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?Se.exports=oe:(ue(oe,ge),ge.Buffer=ce);function ce(le,de,ae){return te(le,de,ae)}ue(te,ce),ce.from=function(le,de,ae){if(typeof le=="number")throw new TypeError("Argument must not be a number");return te(le,de,ae)},ce.alloc=function(le,de,ae){if(typeof le!="number")throw new TypeError("Argument must be a number");var ie=te(le);return de!==void 0?typeof ae=="string"?ie.fill(de,ae):ie.fill(de):ie.fill(0),ie},ce.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return te(le)},ce.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return oe.SlowBuffer(le)}},{buffer:90}],397:[function(E,Se,ge){(function(oe){(function(){(function(te){te.parser=function(Ue,Le){return new ce(Ue,Le)},te.SAXParser=ce,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var ue=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ce(Ue,Le){if(!(this instanceof ce))return new ce(Ue,Le);var Ke=this;de(Ke),Ke.q=Ke.c="",Ke.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ke.opt=Le||{},Ke.opt.lowercase=Ke.opt.lowercase||Ke.opt.lowercasetags,Ke.looseCase=Ke.opt.lowercase?"toLowerCase":"toUpperCase",Ke.tags=[],Ke.closed=Ke.closedRoot=Ke.sawRoot=!1,Ke.tag=Ke.error=null,Ke.strict=!!Ue,Ke.noscript=!!(Ue||Ke.opt.noscript),Ke.state=we.BEGIN,Ke.strictEntities=Ke.opt.strictEntities,Ke.ENTITIES=Ke.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ke.attribList=[],Ke.opt.xmlns&&(Ke.ns=Object.create(re)),Ke.trackPosition=Ke.opt.position!==!1,Ke.trackPosition&&(Ke.position=Ke.line=Ke.column=0),Me(Ke,"onready")}Object.create||(Object.create=function(Ue){function Le(){}Le.prototype=Ue;var Ke=new Le;return Ke}),Object.keys||(Object.keys=function(Ue){var Le=[];for(var Ke in Ue)Ue.hasOwnProperty(Ke)&&Le.push(Ke);return Le});function le(Ue){for(var Le=Math.max(te.MAX_BUFFER_LENGTH,10),Ke=0,Ee=0,Ie=ue.length;Ee<Ie;Ee++){var Qe=Ue[ue[Ee]].length;if(Qe>Le)switch(ue[Ee]){case"textNode":$e(Ue);break;case"cdata":Fe(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":Fe(Ue,"onscript",Ue.script),Ue.script="";break;default:Re(Ue,"Max buffer length exceeded: "+ue[Ee])}Ke=Math.max(Ke,Qe)}var Xe=te.MAX_BUFFER_LENGTH-Ke;Ue.bufferCheckPosition=Xe+Ue.position}function de(Ue){for(var Le=0,Ke=ue.length;Le<Ke;Le++)Ue[ue[Le]]=""}function ae(Ue){$e(Ue),Ue.cdata!==""&&(Fe(Ue,"oncdata",Ue.cdata),Ue.cdata=""),Ue.script!==""&&(Fe(Ue,"onscript",Ue.script),Ue.script="")}ce.prototype={end:function(){st(this)},write:He,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){ae(this)}};var ie;try{ie=E("stream").Stream}catch(Ue){ie=function(){}}var ne=te.EVENTS.filter(function(Ue){return Ue!=="error"&&Ue!=="end"});function a(Ue,Le){return new y(Ue,Le)}function y(Ue,Le){if(!(this instanceof y))return new y(Ue,Le);ie.apply(this),this._parser=new ce(Ue,Le),this.writable=!0,this.readable=!0;var Ke=this;this._parser.onend=function(){Ke.emit("end")},this._parser.onerror=function(Ee){Ke.emit("error",Ee),Ke._parser.error=null},this._decoder=null,ne.forEach(function(Ee){Object.defineProperty(Ke,"on"+Ee,{get:function(){return Ke._parser["on"+Ee]},set:function(Ie){if(!Ie)return Ke.removeAllListeners(Ee),Ke._parser["on"+Ee]=Ie,Ie;Ke.on(Ee,Ie)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ie.prototype,{constructor:{value:y}}),y.prototype.write=function(Ue){if(typeof oe=="function"&&typeof oe.isBuffer=="function"&&oe.isBuffer(Ue)){if(!this._decoder){var Le=E("string_decoder").StringDecoder;this._decoder=new Le("utf8")}Ue=this._decoder.write(Ue)}return this._parser.write(Ue.toString()),this.emit("data",Ue),!0},y.prototype.end=function(Ue){return Ue&&Ue.length&&this.write(Ue),this._parser.end(),!0},y.prototype.on=function(Ue,Le){var Ke=this;return!Ke._parser["on"+Ue]&&ne.indexOf(Ue)!==-1&&(Ke._parser["on"+Ue]=function(){var Ee=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ee.splice(0,0,Ue),Ke.emit.apply(Ke,Ee)}),ie.prototype.on.call(Ke,Ue,Le)};var x="[CDATA[",b="DOCTYPE",z="http://www.w3.org/XML/1998/namespace",ee="http://www.w3.org/2000/xmlns/",re={xml:z,xmlns:ee},se=/[:_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]/,fe=/[:_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 pe(Ue){return Ue===" "||Ue===`
`||Ue==="\r"||Ue===" "}function he(Ue){return Ue==='"'||Ue==="'"}function ye(Ue){return Ue===">"||pe(Ue)}function Pe(Ue,Le){return Ue.test(Le)}function Oe(Ue,Le){return!Pe(Ue,Le)}var we=0;te.STATE={BEGIN:we++,BEGIN_WHITESPACE:we++,TEXT:we++,TEXT_ENTITY:we++,OPEN_WAKA:we++,SGML_DECL:we++,SGML_DECL_QUOTED:we++,DOCTYPE:we++,DOCTYPE_QUOTED:we++,DOCTYPE_DTD:we++,DOCTYPE_DTD_QUOTED:we++,COMMENT_STARTING:we++,COMMENT:we++,COMMENT_ENDING:we++,COMMENT_ENDED:we++,CDATA:we++,CDATA_ENDING:we++,CDATA_ENDING_2:we++,PROC_INST:we++,PROC_INST_BODY:we++,PROC_INST_ENDING:we++,OPEN_TAG:we++,OPEN_TAG_SLASH:we++,ATTRIB:we++,ATTRIB_NAME:we++,ATTRIB_NAME_SAW_WHITE:we++,ATTRIB_VALUE:we++,ATTRIB_VALUE_QUOTED:we++,ATTRIB_VALUE_CLOSED:we++,ATTRIB_VALUE_UNQUOTED:we++,ATTRIB_VALUE_ENTITY_Q:we++,ATTRIB_VALUE_ENTITY_U:we++,CLOSE_TAG:we++,CLOSE_TAG_SAW_WHITE:we++,SCRIPT:we++,SCRIPT_ENDING:we++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.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(te.ENTITIES).forEach(function(Ue){var Le=te.ENTITIES[Ue],Ke=typeof Le=="number"?String.fromCharCode(Le):Le;te.ENTITIES[Ue]=Ke});for(var Te in te.STATE)te.STATE[te.STATE[Te]]=Te;we=te.STATE;function Me(Ue,Le,Ke){Ue[Le]&&Ue[Le](Ke)}function Fe(Ue,Le,Ke){Ue.textNode&&$e(Ue),Me(Ue,Le,Ke)}function $e(Ue){Ue.textNode=Ve(Ue.opt,Ue.textNode),Ue.textNode&&Me(Ue,"ontext",Ue.textNode),Ue.textNode=""}function Ve(Ue,Le){return Ue.trim&&(Le=Le.trim()),Ue.normalize&&(Le=Le.replace(/\s+/g," ")),Le}function Re(Ue,Le){return $e(Ue),Ue.trackPosition&&(Le+=`
Line: `+Ue.line+`
Column: `+Ue.column+`
Char: `+Ue.c),Le=new Error(Le),Ue.error=Le,Me(Ue,"onerror",Le),Ue}function st(Ue){return Ue.sawRoot&&!Ue.closedRoot&&rt(Ue,"Unclosed root tag"),Ue.state!==we.BEGIN&&Ue.state!==we.BEGIN_WHITESPACE&&Ue.state!==we.TEXT&&Re(Ue,"Unexpected end"),$e(Ue),Ue.c="",Ue.closed=!0,Me(Ue,"onend"),ce.call(Ue,Ue.strict,Ue.opt),Ue}function rt(Ue,Le){if(typeof Ue!="object"||!(Ue instanceof ce))throw new Error("bad call to strictFail");Ue.strict&&Re(Ue,Le)}function et(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var Le=Ue.tags[Ue.tags.length-1]||Ue,Ke=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&(Ke.ns=Le.ns),Ue.attribList.length=0,Fe(Ue,"onopentagstart",Ke)}function qe(Ue,Le){var Ke=Ue.indexOf(":"),Ee=Ke<0?["",Ue]:Ue.split(":"),Ie=Ee[0],Qe=Ee[1];return Le&&Ue==="xmlns"&&(Ie="xmlns",Qe=""),{prefix:Ie,local:Qe}}function ze(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var Le=qe(Ue.attribName,!0),Ke=Le.prefix,Ee=Le.local;if(Ke==="xmlns")if(Ee==="xml"&&Ue.attribValue!==z)rt(Ue,"xml: prefix must be bound to "+z+`
Actual: `+Ue.attribValue);else if(Ee==="xmlns"&&Ue.attribValue!==ee)rt(Ue,"xmlns: prefix must be bound to "+ee+`
Actual: `+Ue.attribValue);else{var Ie=Ue.tag,Qe=Ue.tags[Ue.tags.length-1]||Ue;Ie.ns===Qe.ns&&(Ie.ns=Object.create(Qe.ns)),Ie.ns[Ee]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,Fe(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function ke(Ue,Le){if(Ue.opt.xmlns){var Ke=Ue.tag,Ee=qe(Ue.tagName);Ke.prefix=Ee.prefix,Ke.local=Ee.local,Ke.uri=Ke.ns[Ee.prefix]||"",Ke.prefix&&!Ke.uri&&(rt(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),Ke.uri=Ee.prefix);var Ie=Ue.tags[Ue.tags.length-1]||Ue;Ke.ns&&Ie.ns!==Ke.ns&&Object.keys(Ke.ns).forEach(function(tt){Fe(Ue,"onopennamespace",{prefix:tt,uri:Ke.ns[tt]})});for(var Qe=0,Xe=Ue.attribList.length;Qe<Xe;Qe++){var Ge=Ue.attribList[Qe],Ce=Ge[0],xe=Ge[1],je=qe(Ce,!0),_e=je.prefix,ot=je.local,pt=_e===""?"":Ke.ns[_e]||"",mt={name:Ce,value:xe,prefix:_e,local:ot,uri:pt};_e&&_e!=="xmlns"&&!pt&&(rt(Ue,"Unbound namespace prefix: "+JSON.stringify(_e)),mt.uri=_e),Ue.tag.attributes[Ce]=mt,Fe(Ue,"onattribute",mt)}Ue.attribList.length=0}Ue.tag.isSelfClosing=!!Le,Ue.sawRoot=!0,Ue.tags.push(Ue.tag),Fe(Ue,"onopentag",Ue.tag),Le||(!Ue.noscript&&Ue.tagName.toLowerCase()==="script"?Ue.state=we.SCRIPT:Ue.state=we.TEXT,Ue.tag=null,Ue.tagName=""),Ue.attribName=Ue.attribValue="",Ue.attribList.length=0}function Be(Ue){if(!Ue.tagName){rt(Ue,"Weird empty close tag."),Ue.textNode+="</>",Ue.state=we.TEXT;return}if(Ue.script){if(Ue.tagName!=="script"){Ue.script+="</"+Ue.tagName+">",Ue.tagName="",Ue.state=we.SCRIPT;return}Fe(Ue,"onscript",Ue.script),Ue.script=""}var Le=Ue.tags.length,Ke=Ue.tagName;Ue.strict||(Ke=Ke[Ue.looseCase]());for(var Ee=Ke;Le--;){var Ie=Ue.tags[Le];if(Ie.name!==Ee)rt(Ue,"Unexpected close tag");else break}if(Le<0){rt(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="</"+Ue.tagName+">",Ue.state=we.TEXT;return}Ue.tagName=Ke;for(var Qe=Ue.tags.length;Qe-- >Le;){var Xe=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,Fe(Ue,"onclosetag",Ue.tagName);var Ge={};for(var Ce in Xe.ns)Ge[Ce]=Xe.ns[Ce];var xe=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&Xe.ns!==xe.ns&&Object.keys(Xe.ns).forEach(function(je){var _e=Xe.ns[je];Fe(Ue,"onclosenamespace",{prefix:je,uri:_e})})}Le===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=we.TEXT}function Je(Ue){var Le=Ue.entity,Ke=Le.toLowerCase(),Ee,Ie="";return Ue.ENTITIES[Le]?Ue.ENTITIES[Le]:Ue.ENTITIES[Ke]?Ue.ENTITIES[Ke]:(Le=Ke,Le.charAt(0)==="#"&&(Le.charAt(1)==="x"?(Le=Le.slice(2),Ee=parseInt(Le,16),Ie=Ee.toString(16)):(Le=Le.slice(1),Ee=parseInt(Le,10),Ie=Ee.toString(10))),Le=Le.replace(/^0+/,""),isNaN(Ee)||Ie.toLowerCase()!==Le?(rt(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Ee))}function Ye(Ue,Le){Le==="<"?(Ue.state=we.OPEN_WAKA,Ue.startTagPosition=Ue.position):pe(Le)||(rt(Ue,"Non-whitespace before first tag."),Ue.textNode=Le,Ue.state=we.TEXT)}function dt(Ue,Le){var Ke="";return Le<Ue.length&&(Ke=Ue.charAt(Le)),Ke}function He(Ue){var Le=this;if(this.error)throw this.error;if(Le.closed)return Re(Le,"Cannot write after close. Assign an onready handler.");if(Ue===null)return st(Le);typeof Ue=="object"&&(Ue=Ue.toString());for(var Ke=0,Ee="";Ee=dt(Ue,Ke++),Le.c=Ee,!!Ee;)switch(Le.trackPosition&&(Le.position++,Ee===`
`?(Le.line++,Le.column=0):Le.column++),Le.state){case we.BEGIN:if(Le.state=we.BEGIN_WHITESPACE,Ee==="\uFEFF")continue;Ye(Le,Ee);continue;case we.BEGIN_WHITESPACE:Ye(Le,Ee);continue;case we.TEXT:if(Le.sawRoot&&!Le.closedRoot){for(var Ie=Ke-1;Ee&&Ee!=="<"&&Ee!=="&";)Ee=dt(Ue,Ke++),Ee&&Le.trackPosition&&(Le.position++,Ee===`
`?(Le.line++,Le.column=0):Le.column++);Le.textNode+=Ue.substring(Ie,Ke-1)}Ee==="<"&&!(Le.sawRoot&&Le.closedRoot&&!Le.strict)?(Le.state=we.OPEN_WAKA,Le.startTagPosition=Le.position):(!pe(Ee)&&(!Le.sawRoot||Le.closedRoot)&&rt(Le,"Text data outside of root node."),Ee==="&"?Le.state=we.TEXT_ENTITY:Le.textNode+=Ee);continue;case we.SCRIPT:Ee==="<"?Le.state=we.SCRIPT_ENDING:Le.script+=Ee;continue;case we.SCRIPT_ENDING:Ee==="/"?Le.state=we.CLOSE_TAG:(Le.script+="<"+Ee,Le.state=we.SCRIPT);continue;case we.OPEN_WAKA:if(Ee==="!")Le.state=we.SGML_DECL,Le.sgmlDecl="";else if(!pe(Ee))if(Pe(se,Ee))Le.state=we.OPEN_TAG,Le.tagName=Ee;else if(Ee==="/")Le.state=we.CLOSE_TAG,Le.tagName="";else if(Ee==="?")Le.state=we.PROC_INST,Le.procInstName=Le.procInstBody="";else{if(rt(Le,"Unencoded <"),Le.startTagPosition+1<Le.position){var Qe=Le.position-Le.startTagPosition;Ee=new Array(Qe).join(" ")+Ee}Le.textNode+="<"+Ee,Le.state=we.TEXT}continue;case we.SGML_DECL:(Le.sgmlDecl+Ee).toUpperCase()===x?(Fe(Le,"onopencdata"),Le.state=we.CDATA,Le.sgmlDecl="",Le.cdata=""):Le.sgmlDecl+Ee==="--"?(Le.state=we.COMMENT,Le.comment="",Le.sgmlDecl=""):(Le.sgmlDecl+Ee).toUpperCase()===b?(Le.state=we.DOCTYPE,(Le.doctype||Le.sawRoot)&&rt(Le,"Inappropriately located doctype declaration"),Le.doctype="",Le.sgmlDecl=""):Ee===">"?(Fe(Le,"onsgmldeclaration",Le.sgmlDecl),Le.sgmlDecl="",Le.state=we.TEXT):(he(Ee)&&(Le.state=we.SGML_DECL_QUOTED),Le.sgmlDecl+=Ee);continue;case we.SGML_DECL_QUOTED:Ee===Le.q&&(Le.state=we.SGML_DECL,Le.q=""),Le.sgmlDecl+=Ee;continue;case we.DOCTYPE:Ee===">"?(Le.state=we.TEXT,Fe(Le,"ondoctype",Le.doctype),Le.doctype=!0):(Le.doctype+=Ee,Ee==="["?Le.state=we.DOCTYPE_DTD:he(Ee)&&(Le.state=we.DOCTYPE_QUOTED,Le.q=Ee));continue;case we.DOCTYPE_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.q="",Le.state=we.DOCTYPE);continue;case we.DOCTYPE_DTD:Le.doctype+=Ee,Ee==="]"?Le.state=we.DOCTYPE:he(Ee)&&(Le.state=we.DOCTYPE_DTD_QUOTED,Le.q=Ee);continue;case we.DOCTYPE_DTD_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.state=we.DOCTYPE_DTD,Le.q="");continue;case we.COMMENT:Ee==="-"?Le.state=we.COMMENT_ENDING:Le.comment+=Ee;continue;case we.COMMENT_ENDING:Ee==="-"?(Le.state=we.COMMENT_ENDED,Le.comment=Ve(Le.opt,Le.comment),Le.comment&&Fe(Le,"oncomment",Le.comment),Le.comment=""):(Le.comment+="-"+Ee,Le.state=we.COMMENT);continue;case we.COMMENT_ENDED:Ee!==">"?(rt(Le,"Malformed comment"),Le.comment+="--"+Ee,Le.state=we.COMMENT):Le.state=we.TEXT;continue;case we.CDATA:Ee==="]"?Le.state=we.CDATA_ENDING:Le.cdata+=Ee;continue;case we.CDATA_ENDING:Ee==="]"?Le.state=we.CDATA_ENDING_2:(Le.cdata+="]"+Ee,Le.state=we.CDATA);continue;case we.CDATA_ENDING_2:Ee===">"?(Le.cdata&&Fe(Le,"oncdata",Le.cdata),Fe(Le,"onclosecdata"),Le.cdata="",Le.state=we.TEXT):Ee==="]"?Le.cdata+="]":(Le.cdata+="]]"+Ee,Le.state=we.CDATA);continue;case we.PROC_INST:Ee==="?"?Le.state=we.PROC_INST_ENDING:pe(Ee)?Le.state=we.PROC_INST_BODY:Le.procInstName+=Ee;continue;case we.PROC_INST_BODY:if(!Le.procInstBody&&pe(Ee))continue;Ee==="?"?Le.state=we.PROC_INST_ENDING:Le.procInstBody+=Ee;continue;case we.PROC_INST_ENDING:Ee===">"?(Fe(Le,"onprocessinginstruction",{name:Le.procInstName,body:Le.procInstBody}),Le.procInstName=Le.procInstBody="",Le.state=we.TEXT):(Le.procInstBody+="?"+Ee,Le.state=we.PROC_INST_BODY);continue;case we.OPEN_TAG:Pe(fe,Ee)?Le.tagName+=Ee:(et(Le),Ee===">"?ke(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:(pe(Ee)||rt(Le,"Invalid character in tag name"),Le.state=we.ATTRIB));continue;case we.OPEN_TAG_SLASH:Ee===">"?(ke(Le,!0),Be(Le)):(rt(Le,"Forward-slash in opening tag not followed by >"),Le.state=we.ATTRIB);continue;case we.ATTRIB:if(pe(Ee))continue;Ee===">"?ke(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:Pe(se,Ee)?(Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):rt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME:Ee==="="?Le.state=we.ATTRIB_VALUE:Ee===">"?(rt(Le,"Attribute without value"),Le.attribValue=Le.attribName,ze(Le),ke(Le)):pe(Ee)?Le.state=we.ATTRIB_NAME_SAW_WHITE:Pe(fe,Ee)?Le.attribName+=Ee:rt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME_SAW_WHITE:if(Ee==="=")Le.state=we.ATTRIB_VALUE;else{if(pe(Ee))continue;rt(Le,"Attribute without value"),Le.tag.attributes[Le.attribName]="",Le.attribValue="",Fe(Le,"onattribute",{name:Le.attribName,value:""}),Le.attribName="",Ee===">"?ke(Le):Pe(se,Ee)?(Le.attribName=Ee,Le.state=we.ATTRIB_NAME):(rt(Le,"Invalid attribute name"),Le.state=we.ATTRIB)}continue;case we.ATTRIB_VALUE:if(pe(Ee))continue;he(Ee)?(Le.q=Ee,Le.state=we.ATTRIB_VALUE_QUOTED):(rt(Le,"Unquoted attribute value"),Le.state=we.ATTRIB_VALUE_UNQUOTED,Le.attribValue=Ee);continue;case we.ATTRIB_VALUE_QUOTED:if(Ee!==Le.q){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_Q:Le.attribValue+=Ee;continue}ze(Le),Le.q="",Le.state=we.ATTRIB_VALUE_CLOSED;continue;case we.ATTRIB_VALUE_CLOSED:pe(Ee)?Le.state=we.ATTRIB:Ee===">"?ke(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:Pe(se,Ee)?(rt(Le,"No whitespace between attributes"),Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):rt(Le,"Invalid attribute name");continue;case we.ATTRIB_VALUE_UNQUOTED:if(!ye(Ee)){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_U:Le.attribValue+=Ee;continue}ze(Le),Ee===">"?ke(Le):Le.state=we.ATTRIB;continue;case we.CLOSE_TAG:if(Le.tagName)Ee===">"?Be(Le):Pe(fe,Ee)?Le.tagName+=Ee:Le.script?(Le.script+="</"+Le.tagName,Le.tagName="",Le.state=we.SCRIPT):(pe(Ee)||rt(Le,"Invalid tagname in closing tag"),Le.state=we.CLOSE_TAG_SAW_WHITE);else{if(pe(Ee))continue;Oe(se,Ee)?Le.script?(Le.script+="</"+Ee,Le.state=we.SCRIPT):rt(Le,"Invalid tagname in closing tag."):Le.tagName=Ee}continue;case we.CLOSE_TAG_SAW_WHITE:if(pe(Ee))continue;Ee===">"?Be(Le):rt(Le,"Invalid characters in closing tag");continue;case we.TEXT_ENTITY:case we.ATTRIB_VALUE_ENTITY_Q:case we.ATTRIB_VALUE_ENTITY_U:var Xe,Ge;switch(Le.state){case we.TEXT_ENTITY:Xe=we.TEXT,Ge="textNode";break;case we.ATTRIB_VALUE_ENTITY_Q:Xe=we.ATTRIB_VALUE_QUOTED,Ge="attribValue";break;case we.ATTRIB_VALUE_ENTITY_U:Xe=we.ATTRIB_VALUE_UNQUOTED,Ge="attribValue";break}Ee===";"?(Le[Ge]+=Je(Le),Le.entity="",Le.state=Xe):Pe(Le.entity.length?me:ve,Ee)?Le.entity+=Ee:(rt(Le,"Invalid character in entity name"),Le[Ge]+="&"+Le.entity+Ee,Le.entity="",Le.state=Xe);continue;default:throw new Error(Le,"Unknown state: "+Le.state)}return Le.position>=Le.bufferCheckPosition&&le(Le),Le}String.fromCodePoint||function(){var Ue=String.fromCharCode,Le=Math.floor,Ke=function(){var Ee=16384,Ie=[],Qe,Xe,Ge=-1,Ce=arguments.length;if(!Ce)return"";for(var xe="";++Ge<Ce;){var je=Number(arguments[Ge]);if(!isFinite(je)||je<0||je>1114111||Le(je)!==je)throw RangeError("Invalid code point: "+je);je<=65535?Ie.push(je):(je-=65536,Qe=(je>>10)+55296,Xe=je%1024+56320,Ie.push(Qe,Xe)),(Ge+1===Ce||Ie.length>Ee)&&(xe+=Ue.apply(null,Ie),Ie.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ke,configurable:!0,writable:!0}):String.fromCodePoint=Ke}()})(typeof ge=="undefined"?this.sax={}:ge)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,Se,ge){Se.exports=ue;var oe=E("events").EventEmitter,te=E("inherits");te(ue,oe),ue.Readable=E("readable-stream/lib/_stream_readable.js"),ue.Writable=E("readable-stream/lib/_stream_writable.js"),ue.Duplex=E("readable-stream/lib/_stream_duplex.js"),ue.Transform=E("readable-stream/lib/_stream_transform.js"),ue.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ue.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ue.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ue.Stream=ue;function ue(){oe.call(this)}ue.prototype.pipe=function(ce,le){var de=this;function ae(z){ce.writable&&ce.write(z)===!1&&de.pause&&de.pause()}de.on("data",ae);function ie(){de.readable&&de.resume&&de.resume()}ce.on("drain",ie),!ce._isStdio&&(!le||le.end!==!1)&&(de.on("end",a),de.on("close",y));var ne=!1;function a(){ne||(ne=!0,ce.end())}function y(){ne||(ne=!0,typeof ce.destroy=="function"&&ce.destroy())}function x(z){if(b(),oe.listenerCount(this,"error")===0)throw z}de.on("error",x),ce.on("error",x);function b(){de.removeListener("data",ae),ce.removeListener("drain",ie),de.removeListener("end",a),de.removeListener("close",y),de.removeListener("error",x),ce.removeListener("error",x),de.removeListener("end",b),de.removeListener("close",b),ce.removeListener("close",b)}return de.on("end",b),de.on("close",b),ce.on("close",b),ce.emit("pipe",de),ce}},{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,Se,ge){"use strict";function oe(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function ue(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var x=function(b){oe(z,b);function z(ee,re,se){return b.call(this,y(ee,re,se))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ie,te[ie]=x}function ce(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function le(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function de(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function ae(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}ue("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),ue("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&le(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var x;if(de(ie," argument"))x="The ".concat(ie," ").concat(y," ").concat(ce(ne,"type"));else{var b=ae(ie,".")?"property":"argument";x='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(ce(ne,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ue("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ue("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),ue("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ue("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),ue("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ue("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ue("ERR_STREAM_WRITE_AFTER_END","write after end"),ue("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ue("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),ue("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Se.exports.codes=te},{}],400:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};Se.exports=ie;var ue=E("./_stream_readable"),ce=E("./_stream_writable");E("inherits")(ie,ue);for(var le=te(ce.prototype),de=0;de<le.length;de++){var ae=le[de];ie.prototype[ae]||(ie.prototype[ae]=ce.prototype[ae])}function ie(y){if(!(this instanceof ie))return new ie(y);ue.call(this,y),ce.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",ne)))}Object.defineProperty(ie.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ie.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ie.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ne(){this._writableState.ended||oe.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ie.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,Se,ge){"use strict";Se.exports=te;var oe=E("./_stream_transform");E("inherits")(te,oe);function te(ue){if(!(this instanceof te))return new te(ue);oe.call(this,ue)}te.prototype._transform=function(ue,ce,le){le(null,ue)}},{"./_stream_transform":403,inherits:364}],402:[function(E,Se,ge){(function(oe,te){(function(){"use strict";Se.exports=Fe;var ue;Fe.ReadableState=Me;var ce=E("events").EventEmitter,le=function(Ce,xe){return Ce.listeners(xe).length},de=E("./internal/streams/stream"),ae=E("buffer").Buffer,ie=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ne(Ge){return ae.from(Ge)}function a(Ge){return ae.isBuffer(Ge)||Ge instanceof ie}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),z=E("./internal/streams/destroy"),ee=E("./internal/streams/state"),re=ee.getHighWaterMark,se=E("../errors").codes,fe=se.ERR_INVALID_ARG_TYPE,ve=se.ERR_STREAM_PUSH_AFTER_EOF,me=se.ERR_METHOD_NOT_IMPLEMENTED,pe=se.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,he,ye,Pe;E("inherits")(Fe,de);var Oe=z.errorOrDestroy,we=["error","close","destroy","pause","resume"];function Te(Ge,Ce,xe){if(typeof Ge.prependListener=="function")return Ge.prependListener(Ce,xe);!Ge._events||!Ge._events[Ce]?Ge.on(Ce,xe):Array.isArray(Ge._events[Ce])?Ge._events[Ce].unshift(xe):Ge._events[Ce]=[xe,Ge._events[Ce]]}function Me(Ge,Ce,xe){ue=ue||E("./_stream_duplex"),Ge=Ge||{},typeof xe!="boolean"&&(xe=Ce instanceof ue),this.objectMode=!!Ge.objectMode,xe&&(this.objectMode=this.objectMode||!!Ge.readableObjectMode),this.highWaterMark=re(this,Ge,"readableHighWaterMark",xe),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=Ge.emitClose!==!1,this.autoDestroy=!!Ge.autoDestroy,this.destroyed=!1,this.defaultEncoding=Ge.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ge.encoding&&(he||(he=E("string_decoder/").StringDecoder),this.decoder=new he(Ge.encoding),this.encoding=Ge.encoding)}function Fe(Ge){if(ue=ue||E("./_stream_duplex"),!(this instanceof Fe))return new Fe(Ge);var Ce=this instanceof ue;this._readableState=new Me(Ge,this,Ce),this.readable=!0,Ge&&(typeof Ge.read=="function"&&(this._read=Ge.read),typeof Ge.destroy=="function"&&(this._destroy=Ge.destroy)),de.call(this)}Object.defineProperty(Fe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ce){this._readableState&&(this._readableState.destroyed=Ce)}}),Fe.prototype.destroy=z.destroy,Fe.prototype._undestroy=z.undestroy,Fe.prototype._destroy=function(Ge,Ce){Ce(Ge)},Fe.prototype.push=function(Ge,Ce){var xe=this._readableState,je;return xe.objectMode?je=!0:typeof Ge=="string"&&(Ce=Ce||xe.defaultEncoding,Ce!==xe.encoding&&(Ge=ae.from(Ge,Ce),Ce=""),je=!0),$e(this,Ge,Ce,!1,je)},Fe.prototype.unshift=function(Ge){return $e(this,Ge,null,!0,!1)};function $e(Ge,Ce,xe,je,_e){x("readableAddChunk",Ce);var ot=Ge._readableState;if(Ce===null)ot.reading=!1,qe(Ge,ot);else{var pt;if(_e||(pt=Re(ot,Ce)),pt)Oe(Ge,pt);else if(ot.objectMode||Ce&&Ce.length>0)if(typeof Ce!="string"&&!ot.objectMode&&Object.getPrototypeOf(Ce)!==ae.prototype&&(Ce=ne(Ce)),je)ot.endEmitted?Oe(Ge,new pe):Ve(Ge,ot,Ce,!0);else if(ot.ended)Oe(Ge,new ve);else{if(ot.destroyed)return!1;ot.reading=!1,ot.decoder&&!xe?(Ce=ot.decoder.write(Ce),ot.objectMode||Ce.length!==0?Ve(Ge,ot,Ce,!1):Be(Ge,ot)):Ve(Ge,ot,Ce,!1)}else je||(ot.reading=!1,Be(Ge,ot))}return!ot.ended&&(ot.length<ot.highWaterMark||ot.length===0)}function Ve(Ge,Ce,xe,je){Ce.flowing&&Ce.length===0&&!Ce.sync?(Ce.awaitDrain=0,Ge.emit("data",xe)):(Ce.length+=Ce.objectMode?1:xe.length,je?Ce.buffer.unshift(xe):Ce.buffer.push(xe),Ce.needReadable&&ze(Ge)),Be(Ge,Ce)}function Re(Ge,Ce){var xe;return!a(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!Ge.objectMode&&(xe=new fe("chunk",["string","Buffer","Uint8Array"],Ce)),xe}Fe.prototype.isPaused=function(){return this._readableState.flowing===!1},Fe.prototype.setEncoding=function(Ge){he||(he=E("string_decoder/").StringDecoder);var Ce=new he(Ge);this._readableState.decoder=Ce,this._readableState.encoding=this._readableState.decoder.encoding;for(var xe=this._readableState.buffer.head,je="";xe!==null;)je+=Ce.write(xe.data),xe=xe.next;return this._readableState.buffer.clear(),je!==""&&this._readableState.buffer.push(je),this._readableState.length=je.length,this};var st=1073741824;function rt(Ge){return Ge>=st?Ge=st:(Ge--,Ge|=Ge>>>1,Ge|=Ge>>>2,Ge|=Ge>>>4,Ge|=Ge>>>8,Ge|=Ge>>>16,Ge++),Ge}function et(Ge,Ce){return Ge<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:Ge!==Ge?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(Ge>Ce.highWaterMark&&(Ce.highWaterMark=rt(Ge)),Ge<=Ce.length?Ge:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}Fe.prototype.read=function(Ge){x("read",Ge),Ge=parseInt(Ge,10);var Ce=this._readableState,xe=Ge;if(Ge!==0&&(Ce.emittedReadable=!1),Ge===0&&Ce.needReadable&&((Ce.highWaterMark!==0?Ce.length>=Ce.highWaterMark:Ce.length>0)||Ce.ended))return x("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?Ie(this):ze(this),null;if(Ge=et(Ge,Ce),Ge===0&&Ce.ended)return Ce.length===0&&Ie(this),null;var je=Ce.needReadable;x("need readable",je),(Ce.length===0||Ce.length-Ge<Ce.highWaterMark)&&(je=!0,x("length less than watermark",je)),Ce.ended||Ce.reading?(je=!1,x("reading or ended",je)):je&&(x("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(Ge=et(xe,Ce)));var _e;return Ge>0?_e=Ee(Ge,Ce):_e=null,_e===null?(Ce.needReadable=Ce.length<=Ce.highWaterMark,Ge=0):(Ce.length-=Ge,Ce.awaitDrain=0),Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),xe!==Ge&&Ce.ended&&Ie(this)),_e!==null&&this.emit("data",_e),_e};function qe(Ge,Ce){if(x("onEofChunk"),!Ce.ended){if(Ce.decoder){var xe=Ce.decoder.end();xe&&xe.length&&(Ce.buffer.push(xe),Ce.length+=Ce.objectMode?1:xe.length)}Ce.ended=!0,Ce.sync?ze(Ge):(Ce.needReadable=!1,Ce.emittedReadable||(Ce.emittedReadable=!0,ke(Ge)))}}function ze(Ge){var Ce=Ge._readableState;x("emitReadable",Ce.needReadable,Ce.emittedReadable),Ce.needReadable=!1,Ce.emittedReadable||(x("emitReadable",Ce.flowing),Ce.emittedReadable=!0,oe.nextTick(ke,Ge))}function ke(Ge){var Ce=Ge._readableState;x("emitReadable_",Ce.destroyed,Ce.length,Ce.ended),!Ce.destroyed&&(Ce.length||Ce.ended)&&(Ge.emit("readable"),Ce.emittedReadable=!1),Ce.needReadable=!Ce.flowing&&!Ce.ended&&Ce.length<=Ce.highWaterMark,Ke(Ge)}function Be(Ge,Ce){Ce.readingMore||(Ce.readingMore=!0,oe.nextTick(Je,Ge,Ce))}function Je(Ge,Ce){for(;!Ce.reading&&!Ce.ended&&(Ce.length<Ce.highWaterMark||Ce.flowing&&Ce.length===0);){var xe=Ce.length;if(x("maybeReadMore read 0"),Ge.read(0),xe===Ce.length)break}Ce.readingMore=!1}Fe.prototype._read=function(Ge){Oe(this,new me("_read()"))},Fe.prototype.pipe=function(Ge,Ce){var xe=this,je=this._readableState;switch(je.pipesCount){case 0:je.pipes=Ge;break;case 1:je.pipes=[je.pipes,Ge];break;default:je.pipes.push(Ge);break}je.pipesCount+=1,x("pipe count=%d opts=%j",je.pipesCount,Ce);var _e=(!Ce||Ce.end!==!1)&&Ge!==oe.stdout&&Ge!==oe.stderr,ot=_e?mt:ct;je.endEmitted?oe.nextTick(ot):xe.once("end",ot),Ge.on("unpipe",pt);function pt(ht,vt){x("onunpipe"),ht===xe&&vt&&vt.hasUnpiped===!1&&(vt.hasUnpiped=!0,St())}function mt(){x("onend"),Ge.end()}var tt=Ye(xe);Ge.on("drain",tt);var ut=!1;function St(){x("cleanup"),Ge.removeListener("close",Tt),Ge.removeListener("finish",We),Ge.removeListener("drain",tt),Ge.removeListener("error",at),Ge.removeListener("unpipe",pt),xe.removeListener("end",mt),xe.removeListener("end",ct),xe.removeListener("data",xt),ut=!0,je.awaitDrain&&(!Ge._writableState||Ge._writableState.needDrain)&&tt()}xe.on("data",xt);function xt(ht){x("ondata");var vt=Ge.write(ht);x("dest.write",vt),vt===!1&&((je.pipesCount===1&&je.pipes===Ge||je.pipesCount>1&&Xe(je.pipes,Ge)!==-1)&&!ut&&(x("false write response, pause",je.awaitDrain),je.awaitDrain++),xe.pause())}function at(ht){x("onerror",ht),ct(),Ge.removeListener("error",at),le(Ge,"error")===0&&Oe(Ge,ht)}Te(Ge,"error",at);function Tt(){Ge.removeListener("finish",We),ct()}Ge.once("close",Tt);function We(){x("onfinish"),Ge.removeListener("close",Tt),ct()}Ge.once("finish",We);function ct(){x("unpipe"),xe.unpipe(Ge)}return Ge.emit("pipe",xe),je.flowing||(x("pipe resume"),xe.resume()),Ge};function Ye(Ge){return function(){var xe=Ge._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&le(Ge,"data")&&(xe.flowing=!0,Ke(Ge))}}Fe.prototype.unpipe=function(Ge){var Ce=this._readableState,xe={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return Ge&&Ge!==Ce.pipes?this:(Ge||(Ge=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,Ge&&Ge.emit("unpipe",this,xe),this);if(!Ge){var je=Ce.pipes,_e=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var ot=0;ot<_e;ot++)je[ot].emit("unpipe",this,{hasUnpiped:!1});return this}var pt=Xe(Ce.pipes,Ge);return pt===-1?this:(Ce.pipes.splice(pt,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),Ge.emit("unpipe",this,xe),this)},Fe.prototype.on=function(Ge,Ce){var xe=de.prototype.on.call(this,Ge,Ce),je=this._readableState;return Ge==="data"?(je.readableListening=this.listenerCount("readable")>0,je.flowing!==!1&&this.resume()):Ge==="readable"&&!je.endEmitted&&!je.readableListening&&(je.readableListening=je.needReadable=!0,je.flowing=!1,je.emittedReadable=!1,x("on readable",je.length,je.reading),je.length?ze(this):je.reading||oe.nextTick(He,this)),xe},Fe.prototype.addListener=Fe.prototype.on,Fe.prototype.removeListener=function(Ge,Ce){var xe=de.prototype.removeListener.call(this,Ge,Ce);return Ge==="readable"&&oe.nextTick(dt,this),xe},Fe.prototype.removeAllListeners=function(Ge){var Ce=de.prototype.removeAllListeners.apply(this,arguments);return(Ge==="readable"||Ge===void 0)&&oe.nextTick(dt,this),Ce};function dt(Ge){var Ce=Ge._readableState;Ce.readableListening=Ge.listenerCount("readable")>0,Ce.resumeScheduled&&!Ce.paused?Ce.flowing=!0:Ge.listenerCount("data")>0&&Ge.resume()}function He(Ge){x("readable nexttick read 0"),Ge.read(0)}Fe.prototype.resume=function(){var Ge=this._readableState;return Ge.flowing||(x("resume"),Ge.flowing=!Ge.readableListening,Ue(this,Ge)),Ge.paused=!1,this};function Ue(Ge,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,oe.nextTick(Le,Ge,Ce))}function Le(Ge,Ce){x("resume",Ce.reading),Ce.reading||Ge.read(0),Ce.resumeScheduled=!1,Ge.emit("resume"),Ke(Ge),Ce.flowing&&!Ce.reading&&Ge.read(0)}Fe.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 Ke(Ge){var Ce=Ge._readableState;for(x("flow",Ce.flowing);Ce.flowing&&Ge.read()!==null;);}Fe.prototype.wrap=function(Ge){var Ce=this,xe=this._readableState,je=!1;Ge.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var pt=xe.decoder.end();pt&&pt.length&&Ce.push(pt)}Ce.push(null)}),Ge.on("data",function(pt){if(x("wrapped data"),xe.decoder&&(pt=xe.decoder.write(pt)),!(xe.objectMode&&pt==null)&&!(!xe.objectMode&&(!pt||!pt.length))){var mt=Ce.push(pt);mt||(je=!0,Ge.pause())}});for(var _e in Ge)this[_e]===void 0&&typeof Ge[_e]=="function"&&(this[_e]=function(mt){return function(){return Ge[mt].apply(Ge,arguments)}}(_e));for(var ot=0;ot<we.length;ot++)Ge.on(we[ot],this.emit.bind(this,we[ot]));return this._read=function(pt){x("wrapped _read",pt),je&&(je=!1,Ge.resume())},this},typeof Symbol=="function"&&(Fe.prototype[Symbol.asyncIterator]=function(){return ye===void 0&&(ye=E("./internal/streams/async_iterator")),ye(this)}),Object.defineProperty(Fe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Fe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Fe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ce){this._readableState&&(this._readableState.flowing=Ce)}}),Fe._fromList=Ee,Object.defineProperty(Fe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ee(Ge,Ce){if(Ce.length===0)return null;var xe;return Ce.objectMode?xe=Ce.buffer.shift():!Ge||Ge>=Ce.length?(Ce.decoder?xe=Ce.buffer.join(""):Ce.buffer.length===1?xe=Ce.buffer.first():xe=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):xe=Ce.buffer.consume(Ge,Ce.decoder),xe}function Ie(Ge){var Ce=Ge._readableState;x("endReadable",Ce.endEmitted),Ce.endEmitted||(Ce.ended=!0,oe.nextTick(Qe,Ce,Ge))}function Qe(Ge,Ce){if(x("endReadableNT",Ge.endEmitted,Ge.length),!Ge.endEmitted&&Ge.length===0&&(Ge.endEmitted=!0,Ce.readable=!1,Ce.emit("end"),Ge.autoDestroy)){var xe=Ce._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Ce.destroy()}}typeof Symbol=="function"&&(Fe.from=function(Ge,Ce){return Pe===void 0&&(Pe=E("./internal/streams/from")),Pe(Fe,Ge,Ce)});function Xe(Ge,Ce){for(var xe=0,je=Ge.length;xe<je;xe++)if(Ge[xe]===Ce)return xe;return-1}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){"use strict";Se.exports=ie;var oe=E("../errors").codes,te=oe.ERR_METHOD_NOT_IMPLEMENTED,ue=oe.ERR_MULTIPLE_CALLBACK,ce=oe.ERR_TRANSFORM_ALREADY_TRANSFORMING,le=oe.ERR_TRANSFORM_WITH_LENGTH_0,de=E("./_stream_duplex");E("inherits")(ie,de);function ae(y,x){var b=this._transformState;b.transforming=!1;var z=b.writecb;if(z===null)return this.emit("error",new ue);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),z(y);var ee=this._readableState;ee.reading=!1,(ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}function ie(y){if(!(this instanceof ie))return new ie(y);de.call(this,y),this._transformState={afterTransform:ae.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",ne)}function ne(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}ie.prototype.push=function(y,x){return this._transformState.needTransform=!1,de.prototype.push.call(this,y,x)},ie.prototype._transform=function(y,x,b){b(new te("_transform()"))},ie.prototype._write=function(y,x,b){var z=this._transformState;if(z.writecb=b,z.writechunk=y,z.writeencoding=x,!z.transforming){var ee=this._readableState;(z.needTransform||ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}},ie.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},ie.prototype._destroy=function(y,x){de.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 le;if(y._transformState.transforming)throw new ce;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,Se,ge){(function(oe,te){(function(){"use strict";Se.exports=Me;function ue(Ke,Ee,Ie){this.chunk=Ke,this.encoding=Ee,this.callback=Ie,this.next=null}function ce(Ke){var Ee=this;this.next=null,this.entry=null,this.finish=function(){Le(Ee,Ke)}}var le;Me.WritableState=we;var de={deprecate:E("util-deprecate")},ae=E("./internal/streams/stream"),ie=E("buffer").Buffer,ne=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ke){return ie.from(Ke)}function y(Ke){return ie.isBuffer(Ke)||Ke instanceof ne}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),z=b.getHighWaterMark,ee=E("../errors").codes,re=ee.ERR_INVALID_ARG_TYPE,se=ee.ERR_METHOD_NOT_IMPLEMENTED,fe=ee.ERR_MULTIPLE_CALLBACK,ve=ee.ERR_STREAM_CANNOT_PIPE,me=ee.ERR_STREAM_DESTROYED,pe=ee.ERR_STREAM_NULL_VALUES,he=ee.ERR_STREAM_WRITE_AFTER_END,ye=ee.ERR_UNKNOWN_ENCODING,Pe=x.errorOrDestroy;E("inherits")(Me,ae);function Oe(){}function we(Ke,Ee,Ie){le=le||E("./_stream_duplex"),Ke=Ke||{},typeof Ie!="boolean"&&(Ie=Ee instanceof le),this.objectMode=!!Ke.objectMode,Ie&&(this.objectMode=this.objectMode||!!Ke.writableObjectMode),this.highWaterMark=z(this,Ke,"writableHighWaterMark",Ie),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Qe=Ke.decodeStrings===!1;this.decodeStrings=!Qe,this.defaultEncoding=Ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Xe){qe(Ee,Xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ke.emitClose!==!1,this.autoDestroy=!!Ke.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ce(this)}we.prototype.getBuffer=function(){for(var Ee=this.bufferedRequest,Ie=[];Ee;)Ie.push(Ee),Ee=Ee.next;return Ie},function(){try{Object.defineProperty(we.prototype,"buffer",{get:de.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ke){}}();var Te;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Te=Function.prototype[Symbol.hasInstance],Object.defineProperty(Me,Symbol.hasInstance,{value:function(Ee){return Te.call(this,Ee)?!0:this!==Me?!1:Ee&&Ee._writableState instanceof we}})):Te=function(Ee){return Ee instanceof this};function Me(Ke){le=le||E("./_stream_duplex");var Ee=this instanceof le;if(!Ee&&!Te.call(Me,this))return new Me(Ke);this._writableState=new we(Ke,this,Ee),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)),ae.call(this)}Me.prototype.pipe=function(){Pe(this,new ve)};function Fe(Ke,Ee){var Ie=new he;Pe(Ke,Ie),oe.nextTick(Ee,Ie)}function $e(Ke,Ee,Ie,Qe){var Xe;return Ie===null?Xe=new pe:typeof Ie!="string"&&!Ee.objectMode&&(Xe=new re("chunk",["string","Buffer"],Ie)),Xe?(Pe(Ke,Xe),oe.nextTick(Qe,Xe),!1):!0}Me.prototype.write=function(Ke,Ee,Ie){var Qe=this._writableState,Xe=!1,Ge=!Qe.objectMode&&y(Ke);return Ge&&!ie.isBuffer(Ke)&&(Ke=a(Ke)),typeof Ee=="function"&&(Ie=Ee,Ee=null),Ge?Ee="buffer":Ee||(Ee=Qe.defaultEncoding),typeof Ie!="function"&&(Ie=Oe),Qe.ending?Fe(this,Ie):(Ge||$e(this,Qe,Ke,Ie))&&(Qe.pendingcb++,Xe=Re(this,Qe,Ge,Ke,Ee,Ie)),Xe},Me.prototype.cork=function(){this._writableState.corked++},Me.prototype.uncork=function(){var Ke=this._writableState;Ke.corked&&(Ke.corked--,!Ke.writing&&!Ke.corked&&!Ke.bufferProcessing&&Ke.bufferedRequest&&Be(this,Ke))},Me.prototype.setDefaultEncoding=function(Ee){if(typeof Ee=="string"&&(Ee=Ee.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ee+"").toLowerCase())>-1))throw new ye(Ee);return this._writableState.defaultEncoding=Ee,this},Object.defineProperty(Me.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ve(Ke,Ee,Ie){return!Ke.objectMode&&Ke.decodeStrings!==!1&&typeof Ee=="string"&&(Ee=ie.from(Ee,Ie)),Ee}Object.defineProperty(Me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Re(Ke,Ee,Ie,Qe,Xe,Ge){if(!Ie){var Ce=Ve(Ee,Qe,Xe);Qe!==Ce&&(Ie=!0,Xe="buffer",Qe=Ce)}var xe=Ee.objectMode?1:Qe.length;Ee.length+=xe;var je=Ee.length<Ee.highWaterMark;if(je||(Ee.needDrain=!0),Ee.writing||Ee.corked){var _e=Ee.lastBufferedRequest;Ee.lastBufferedRequest={chunk:Qe,encoding:Xe,isBuf:Ie,callback:Ge,next:null},_e?_e.next=Ee.lastBufferedRequest:Ee.bufferedRequest=Ee.lastBufferedRequest,Ee.bufferedRequestCount+=1}else st(Ke,Ee,!1,xe,Qe,Xe,Ge);return je}function st(Ke,Ee,Ie,Qe,Xe,Ge,Ce){Ee.writelen=Qe,Ee.writecb=Ce,Ee.writing=!0,Ee.sync=!0,Ee.destroyed?Ee.onwrite(new me("write")):Ie?Ke._writev(Xe,Ee.onwrite):Ke._write(Xe,Ge,Ee.onwrite),Ee.sync=!1}function rt(Ke,Ee,Ie,Qe,Xe){--Ee.pendingcb,Ie?(oe.nextTick(Xe,Qe),oe.nextTick(He,Ke,Ee),Ke._writableState.errorEmitted=!0,Pe(Ke,Qe)):(Xe(Qe),Ke._writableState.errorEmitted=!0,Pe(Ke,Qe),He(Ke,Ee))}function et(Ke){Ke.writing=!1,Ke.writecb=null,Ke.length-=Ke.writelen,Ke.writelen=0}function qe(Ke,Ee){var Ie=Ke._writableState,Qe=Ie.sync,Xe=Ie.writecb;if(typeof Xe!="function")throw new fe;if(et(Ie),Ee)rt(Ke,Ie,Qe,Ee,Xe);else{var Ge=Je(Ie)||Ke.destroyed;!Ge&&!Ie.corked&&!Ie.bufferProcessing&&Ie.bufferedRequest&&Be(Ke,Ie),Qe?oe.nextTick(ze,Ke,Ie,Ge,Xe):ze(Ke,Ie,Ge,Xe)}}function ze(Ke,Ee,Ie,Qe){Ie||ke(Ke,Ee),Ee.pendingcb--,Qe(),He(Ke,Ee)}function ke(Ke,Ee){Ee.length===0&&Ee.needDrain&&(Ee.needDrain=!1,Ke.emit("drain"))}function Be(Ke,Ee){Ee.bufferProcessing=!0;var Ie=Ee.bufferedRequest;if(Ke._writev&&Ie&&Ie.next){var Qe=Ee.bufferedRequestCount,Xe=new Array(Qe),Ge=Ee.corkedRequestsFree;Ge.entry=Ie;for(var Ce=0,xe=!0;Ie;)Xe[Ce]=Ie,Ie.isBuf||(xe=!1),Ie=Ie.next,Ce+=1;Xe.allBuffers=xe,st(Ke,Ee,!0,Ee.length,Xe,"",Ge.finish),Ee.pendingcb++,Ee.lastBufferedRequest=null,Ge.next?(Ee.corkedRequestsFree=Ge.next,Ge.next=null):Ee.corkedRequestsFree=new ce(Ee),Ee.bufferedRequestCount=0}else{for(;Ie;){var je=Ie.chunk,_e=Ie.encoding,ot=Ie.callback,pt=Ee.objectMode?1:je.length;if(st(Ke,Ee,!1,pt,je,_e,ot),Ie=Ie.next,Ee.bufferedRequestCount--,Ee.writing)break}Ie===null&&(Ee.lastBufferedRequest=null)}Ee.bufferedRequest=Ie,Ee.bufferProcessing=!1}Me.prototype._write=function(Ke,Ee,Ie){Ie(new se("_write()"))},Me.prototype._writev=null,Me.prototype.end=function(Ke,Ee,Ie){var Qe=this._writableState;return typeof Ke=="function"?(Ie=Ke,Ke=null,Ee=null):typeof Ee=="function"&&(Ie=Ee,Ee=null),Ke!=null&&this.write(Ke,Ee),Qe.corked&&(Qe.corked=1,this.uncork()),Qe.ending||Ue(this,Qe,Ie),this},Object.defineProperty(Me.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Je(Ke){return Ke.ending&&Ke.length===0&&Ke.bufferedRequest===null&&!Ke.finished&&!Ke.writing}function Ye(Ke,Ee){Ke._final(function(Ie){Ee.pendingcb--,Ie&&Pe(Ke,Ie),Ee.prefinished=!0,Ke.emit("prefinish"),He(Ke,Ee)})}function dt(Ke,Ee){!Ee.prefinished&&!Ee.finalCalled&&(typeof Ke._final=="function"&&!Ee.destroyed?(Ee.pendingcb++,Ee.finalCalled=!0,oe.nextTick(Ye,Ke,Ee)):(Ee.prefinished=!0,Ke.emit("prefinish")))}function He(Ke,Ee){var Ie=Je(Ee);if(Ie&&(dt(Ke,Ee),Ee.pendingcb===0&&(Ee.finished=!0,Ke.emit("finish"),Ee.autoDestroy))){var Qe=Ke._readableState;(!Qe||Qe.autoDestroy&&Qe.endEmitted)&&Ke.destroy()}return Ie}function Ue(Ke,Ee,Ie){Ee.ending=!0,He(Ke,Ee),Ie&&(Ee.finished?oe.nextTick(Ie):Ke.once("finish",Ie)),Ee.ended=!0,Ke.writable=!1}function Le(Ke,Ee,Ie){var Qe=Ke.entry;for(Ke.entry=null;Qe;){var Xe=Qe.callback;Ee.pendingcb--,Xe(Ie),Qe=Qe.next}Ee.corkedRequestsFree.next=Ke}Object.defineProperty(Me.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ee){this._writableState&&(this._writableState.destroyed=Ee)}}),Me.prototype.destroy=x.destroy,Me.prototype._undestroy=x.undestroy,Me.prototype._destroy=function(Ke,Ee){Ee(Ke)}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){(function(oe){(function(){"use strict";var te;function ue(pe,he,ye){return he=ce(he),he in pe?Object.defineProperty(pe,he,{value:ye,enumerable:!0,configurable:!0,writable:!0}):pe[he]=ye,pe}function ce(pe){var he=le(pe,"string");return typeof he=="symbol"?he:String(he)}function le(pe,he){if(typeof pe!="object"||pe===null)return pe;var ye=pe[Symbol.toPrimitive];if(ye!==void 0){var Pe=ye.call(pe,he||"default");if(typeof Pe!="object")return Pe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(he==="string"?String:Number)(pe)}var de=E("./end-of-stream"),ae=Symbol("lastResolve"),ie=Symbol("lastReject"),ne=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function z(pe,he){return{value:pe,done:he}}function ee(pe){var he=pe[ae];if(he!==null){var ye=pe[b].read();ye!==null&&(pe[y]=null,pe[ae]=null,pe[ie]=null,he(z(ye,!1)))}}function re(pe){oe.nextTick(ee,pe)}function se(pe,he){return function(ye,Pe){pe.then(function(){if(he[a]){ye(z(void 0,!0));return}he[x](ye,Pe)},Pe)}}var fe=Object.getPrototypeOf(function(){}),ve=Object.setPrototypeOf((te={get stream(){return this[b]},next:function(){var he=this,ye=this[ne];if(ye!==null)return Promise.reject(ye);if(this[a])return Promise.resolve(z(void 0,!0));if(this[b].destroyed)return new Promise(function(Te,Me){oe.nextTick(function(){he[ne]?Me(he[ne]):Te(z(void 0,!0))})});var Pe=this[y],Oe;if(Pe)Oe=new Promise(se(Pe,this));else{var we=this[b].read();if(we!==null)return Promise.resolve(z(we,!1));Oe=new Promise(this[x])}return this[y]=Oe,Oe}},ue(te,Symbol.asyncIterator,function(){return this}),ue(te,"return",function(){var he=this;return new Promise(function(ye,Pe){he[b].destroy(null,function(Oe){if(Oe){Pe(Oe);return}ye(z(void 0,!0))})})}),te),fe),me=function(he){var ye,Pe=Object.create(ve,(ye={},ue(ye,b,{value:he,writable:!0}),ue(ye,ae,{value:null,writable:!0}),ue(ye,ie,{value:null,writable:!0}),ue(ye,ne,{value:null,writable:!0}),ue(ye,a,{value:he._readableState.endEmitted,writable:!0}),ue(ye,x,{value:function(we,Te){var Me=Pe[b].read();Me?(Pe[y]=null,Pe[ae]=null,Pe[ie]=null,we(z(Me,!1))):(Pe[ae]=we,Pe[ie]=Te)},writable:!0}),ye));return Pe[y]=null,de(he,function(Oe){if(Oe&&Oe.code!=="ERR_STREAM_PREMATURE_CLOSE"){var we=Pe[ie];we!==null&&(Pe[y]=null,Pe[ae]=null,Pe[ie]=null,we(Oe)),Pe[ne]=Oe;return}var Te=Pe[ae];Te!==null&&(Pe[y]=null,Pe[ae]=null,Pe[ie]=null,Te(z(void 0,!0))),Pe[a]=!0}),he.on("readable",re.bind(null,Pe)),Pe};Se.exports=me}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,Se,ge){"use strict";function oe(ee,re){var se=Object.keys(ee);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);re&&(fe=fe.filter(function(ve){return Object.getOwnPropertyDescriptor(ee,ve).enumerable})),se.push.apply(se,fe)}return se}function te(ee){for(var re=1;re<arguments.length;re++){var se=arguments[re]!=null?arguments[re]:{};re%2?oe(Object(se),!0).forEach(function(fe){ue(ee,fe,se[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ee,Object.getOwnPropertyDescriptors(se)):oe(Object(se)).forEach(function(fe){Object.defineProperty(ee,fe,Object.getOwnPropertyDescriptor(se,fe))})}return ee}function ue(ee,re,se){return re=ae(re),re in ee?Object.defineProperty(ee,re,{value:se,enumerable:!0,configurable:!0,writable:!0}):ee[re]=se,ee}function ce(ee,re){if(!(ee instanceof re))throw new TypeError("Cannot call a class as a function")}function le(ee,re){for(var se=0;se<re.length;se++){var fe=re[se];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(ee,ae(fe.key),fe)}}function de(ee,re,se){return re&&le(ee.prototype,re),se&&le(ee,se),Object.defineProperty(ee,"prototype",{writable:!1}),ee}function ae(ee){var re=ie(ee,"string");return typeof re=="symbol"?re:String(re)}function ie(ee,re){if(typeof ee!="object"||ee===null)return ee;var se=ee[Symbol.toPrimitive];if(se!==void 0){var fe=se.call(ee,re||"default");if(typeof fe!="object")return fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(re==="string"?String:Number)(ee)}var ne=E("buffer"),a=ne.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function z(ee,re,se){a.prototype.copy.call(ee,re,se)}Se.exports=function(){function ee(){ce(this,ee),this.head=null,this.tail=null,this.length=0}return de(ee,[{key:"push",value:function(se){var fe={data:se,next:null};this.length>0?this.tail.next=fe:this.head=fe,this.tail=fe,++this.length}},{key:"unshift",value:function(se){var fe={data:se,next:this.head};this.length===0&&(this.tail=fe),this.head=fe,++this.length}},{key:"shift",value:function(){if(this.length!==0){var se=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,se}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(se){if(this.length===0)return"";for(var fe=this.head,ve=""+fe.data;fe=fe.next;)ve+=se+fe.data;return ve}},{key:"concat",value:function(se){if(this.length===0)return a.alloc(0);for(var fe=a.allocUnsafe(se>>>0),ve=this.head,me=0;ve;)z(ve.data,fe,me),me+=ve.data.length,ve=ve.next;return fe}},{key:"consume",value:function(se,fe){var ve;return se<this.head.data.length?(ve=this.head.data.slice(0,se),this.head.data=this.head.data.slice(se)):se===this.head.data.length?ve=this.shift():ve=fe?this._getString(se):this._getBuffer(se),ve}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(se){var fe=this.head,ve=1,me=fe.data;for(se-=me.length;fe=fe.next;){var pe=fe.data,he=se>pe.length?pe.length:se;if(he===pe.length?me+=pe:me+=pe.slice(0,se),se-=he,se===0){he===pe.length?(++ve,fe.next?this.head=fe.next:this.head=this.tail=null):(this.head=fe,fe.data=pe.slice(he));break}++ve}return this.length-=ve,me}},{key:"_getBuffer",value:function(se){var fe=a.allocUnsafe(se),ve=this.head,me=1;for(ve.data.copy(fe),se-=ve.data.length;ve=ve.next;){var pe=ve.data,he=se>pe.length?pe.length:se;if(pe.copy(fe,fe.length-se,0,he),se-=he,se===0){he===pe.length?(++me,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=pe.slice(he));break}++me}return this.length-=me,fe}},{key:b,value:function(se,fe){return x(this,te(te({},fe),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(E,Se,ge){(function(oe){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(de,this,ie)):oe.nextTick(de,this,ie)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ie||null,function(b){!ne&&b?a._writableState?a._writableState.errorEmitted?oe.nextTick(ce,a):(a._writableState.errorEmitted=!0,oe.nextTick(ue,a,b)):oe.nextTick(ue,a,b):ne?(oe.nextTick(ce,a),ne(b)):oe.nextTick(ce,a)}),this)}function ue(ie,ne){de(ie,ne),ce(ie)}function ce(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function le(){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 de(ie,ne){ie.emit("error",ne)}function ae(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}Se.exports={destroy:te,undestroy:le,errorOrDestroy:ae}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,Se,ge){"use strict";var oe=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(de){var ae=!1;return function(){if(!ae){ae=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a<ie;a++)ne[a]=arguments[a];de.apply(this,ne)}}}function ue(){}function ce(de){return de.setHeader&&typeof de.abort=="function"}function le(de,ae,ie){if(typeof ae=="function")return le(de,null,ae);ae||(ae={}),ie=te(ie||ue);var ne=ae.readable||ae.readable!==!1&&de.readable,a=ae.writable||ae.writable!==!1&&de.writable,y=function(){de.writable||b()},x=de._writableState&&de._writableState.finished,b=function(){a=!1,x=!0,ne||ie.call(de)},z=de._readableState&&de._readableState.endEmitted,ee=function(){ne=!1,z=!0,a||ie.call(de)},re=function(me){ie.call(de,me)},se=function(){var me;if(ne&&!z)return(!de._readableState||!de._readableState.ended)&&(me=new oe),ie.call(de,me);if(a&&!x)return(!de._writableState||!de._writableState.ended)&&(me=new oe),ie.call(de,me)},fe=function(){de.req.on("finish",b)};return ce(de)?(de.on("complete",b),de.on("abort",se),de.req?fe():de.on("request",fe)):a&&!de._writableState&&(de.on("end",y),de.on("close",y)),de.on("end",ee),de.on("finish",b),ae.error!==!1&&de.on("error",re),de.on("close",se),function(){de.removeListener("complete",b),de.removeListener("abort",se),de.removeListener("request",fe),de.req&&de.req.removeListener("finish",b),de.removeListener("end",y),de.removeListener("close",y),de.removeListener("finish",b),de.removeListener("end",ee),de.removeListener("error",re),de.removeListener("close",se)}}Se.exports=le},{"../../../errors":399}],409:[function(E,Se,ge){Se.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,Se,ge){"use strict";var oe;function te(b){var z=!1;return function(){z||(z=!0,b.apply(void 0,arguments))}}var ue=E("../../../errors").codes,ce=ue.ERR_MISSING_ARGS,le=ue.ERR_STREAM_DESTROYED;function de(b){if(b)throw b}function ae(b){return b.setHeader&&typeof b.abort=="function"}function ie(b,z,ee,re){re=te(re);var se=!1;b.on("close",function(){se=!0}),oe===void 0&&(oe=E("./end-of-stream")),oe(b,{readable:z,writable:ee},function(ve){if(ve)return re(ve);se=!0,re()});var fe=!1;return function(ve){if(!se&&!fe){if(fe=!0,ae(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();re(ve||new le("pipe"))}}}function ne(b){b()}function a(b,z){return b.pipe(z)}function y(b){return!b.length||typeof b[b.length-1]!="function"?de:b.pop()}function x(){for(var b=arguments.length,z=new Array(b),ee=0;ee<b;ee++)z[ee]=arguments[ee];var re=y(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new ce("streams");var se,fe=z.map(function(ve,me){var pe=me<z.length-1,he=me>0;return ie(ve,pe,he,function(ye){se||(se=ye),ye&&fe.forEach(ne),!pe&&(fe.forEach(ne),re(se))})});return z.reduce(a)}Se.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,Se,ge){"use strict";var oe=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(ce,le,de){return ce.highWaterMark!=null?ce.highWaterMark:le?ce[de]:null}function ue(ce,le,de,ae){var ie=te(le,ae,de);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=ae?de:"highWaterMark";throw new oe(ne,ie)}return Math.floor(ie)}return ce.objectMode?16:16*1024}Se.exports={getHighWaterMark:ue}},{"../../../errors":399}],412:[function(E,Se,ge){arguments[4][393][0].apply(ge,arguments)},{dup:393,events:344}],413:[function(E,Se,ge){"use strict";var oe=E("safe-buffer").Buffer,te=oe.isEncoding||function(fe){switch(fe=""+fe,fe&&fe.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 ue(fe){if(!fe)return"utf8";for(var ve;;)switch(fe){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 fe;default:if(ve)return;fe=(""+fe).toLowerCase(),ve=!0}}function ce(fe){var ve=ue(fe);if(typeof ve!="string"&&(oe.isEncoding===te||!te(fe)))throw new Error("Unknown encoding: "+fe);return ve||fe}ge.StringDecoder=le;function le(fe){this.encoding=ce(fe);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=se;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oe.allocUnsafe(ve)}le.prototype.write=function(fe){if(fe.length===0)return"";var ve,me;if(this.lastNeed){if(ve=this.fillLast(fe),ve===void 0)return"";me=this.lastNeed,this.lastNeed=0}else me=0;return me<fe.length?ve?ve+this.text(fe,me):this.text(fe,me):ve||""},le.prototype.end=y,le.prototype.text=a,le.prototype.fillLast=function(fe){if(this.lastNeed<=fe.length)return fe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);fe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,fe.length),this.lastNeed-=fe.length};function de(fe){return fe<=127?0:fe>>5===6?2:fe>>4===14?3:fe>>3===30?4:fe>>6===2?-1:-2}function ae(fe,ve,me){var pe=ve.length-1;if(pe<me)return 0;var he=de(ve[pe]);return he>=0?(he>0&&(fe.lastNeed=he-1),he):--pe<me||he===-2?0:(he=de(ve[pe]),he>=0?(he>0&&(fe.lastNeed=he-2),he):--pe<me||he===-2?0:(he=de(ve[pe]),he>=0?(he>0&&(he===2?he=0:fe.lastNeed=he-3),he):0))}function ie(fe,ve,me){if((ve[0]&192)!==128)return fe.lastNeed=0,"\uFFFD";if(fe.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return fe.lastNeed=1,"\uFFFD";if(fe.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return fe.lastNeed=2,"\uFFFD"}}function ne(fe){var ve=this.lastTotal-this.lastNeed,me=ie(this,fe,ve);if(me!==void 0)return me;if(this.lastNeed<=fe.length)return fe.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);fe.copy(this.lastChar,ve,0,fe.length),this.lastNeed-=fe.length}function a(fe,ve){var me=ae(this,fe,ve);if(!this.lastNeed)return fe.toString("utf8",ve);this.lastTotal=me;var pe=fe.length-(me-this.lastNeed);return fe.copy(this.lastChar,0,pe),fe.toString("utf8",ve,pe)}function y(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+"\uFFFD":ve}function x(fe,ve){if((fe.length-ve)%2===0){var me=fe.toString("utf16le",ve);if(me){var pe=me.charCodeAt(me.length-1);if(pe>=55296&&pe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1],me.slice(0,-1)}return me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=fe[fe.length-1],fe.toString("utf16le",ve,fe.length-1)}function b(fe){var ve=fe&&fe.length?this.write(fe):"";if(this.lastNeed){var me=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,me)}return ve}function z(fe,ve){var me=(fe.length-ve)%3;return me===0?fe.toString("base64",ve):(this.lastNeed=3-me,this.lastTotal=3,me===1?this.lastChar[0]=fe[fe.length-1]:(this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1]),fe.toString("base64",ve,fe.length-me))}function ee(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(fe){return fe.toString(this.encoding)}function se(fe){return fe&&fe.length?this.write(fe):""}},{"safe-buffer":396}],414:[function(E,Se,ge){(function(oe,te){(function(){var ue=E("process/browser.js").nextTick,ce=Function.prototype.apply,le=Array.prototype.slice,de={},ae=0;ge.setTimeout=function(){return new ie(ce.call(setTimeout,window,arguments),clearTimeout)},ge.setInterval=function(){return new ie(ce.call(setInterval,window,arguments),clearInterval)},ge.clearTimeout=ge.clearInterval=function(ne){ne.close()};function ie(ne,a){this._id=ne,this._clearFn=a}ie.prototype.unref=ie.prototype.ref=function(){},ie.prototype.close=function(){this._clearFn.call(window,this._id)},ge.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},ge.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},ge._unrefActive=ge.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},ge.setImmediate=typeof oe=="function"?oe:function(ne){var a=ae++,y=arguments.length<2?!1:le.call(arguments,1);return de[a]=!0,ue(function(){de[a]&&(y?ne.apply(null,y):ne.call(null),ge.clearImmediate(a))}),a},ge.clearImmediate=typeof te=="function"?te:function(ne){delete de[ne]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,Se,ge){var oe=E("buffer").Buffer;Se.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(oe.isBuffer(te)){for(var ue=new Uint8Array(te.length),ce=te.length,le=0;le<ce;le++)ue[le]=te[le];return ue.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,Se,ge){(function(oe){(function(){Se.exports=te;function te(ce,le){if(ue("noDeprecation"))return ce;var de=!1;function ae(){if(!de){if(ue("throwDeprecation"))throw new Error(le);ue("traceDeprecation")?console.trace(le):console.warn(le),de=!0}return ce.apply(this,arguments)}return ae}function ue(ce){try{if(!oe.localStorage)return!1}catch(de){return!1}var le=oe.localStorage[ce];return le==null?!1:String(le).toLowerCase()==="true"}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,Se,ge){arguments[4][84][0].apply(ge,arguments)},{dup:84}],418:[function(E,Se,ge){"use strict";var oe=E("is-arguments"),te=E("is-generator-function"),ue=E("which-typed-array"),ce=E("is-typed-array");function le(_e){return _e.call.bind(_e)}var de=typeof BigInt!="undefined",ae=typeof Symbol!="undefined",ie=le(Object.prototype.toString),ne=le(Number.prototype.valueOf),a=le(String.prototype.valueOf),y=le(Boolean.prototype.valueOf);if(de)var x=le(BigInt.prototype.valueOf);if(ae)var b=le(Symbol.prototype.valueOf);function z(_e,ot){if(typeof _e!="object")return!1;try{return ot(_e),!0}catch(pt){return!1}}ge.isArgumentsObject=oe,ge.isGeneratorFunction=te,ge.isTypedArray=ce;function ee(_e){return typeof Promise!="undefined"&&_e instanceof Promise||_e!==null&&typeof _e=="object"&&typeof _e.then=="function"&&typeof _e.catch=="function"}ge.isPromise=ee;function re(_e){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(_e):ce(_e)||Be(_e)}ge.isArrayBufferView=re;function se(_e){return ue(_e)==="Uint8Array"}ge.isUint8Array=se;function fe(_e){return ue(_e)==="Uint8ClampedArray"}ge.isUint8ClampedArray=fe;function ve(_e){return ue(_e)==="Uint16Array"}ge.isUint16Array=ve;function me(_e){return ue(_e)==="Uint32Array"}ge.isUint32Array=me;function pe(_e){return ue(_e)==="Int8Array"}ge.isInt8Array=pe;function he(_e){return ue(_e)==="Int16Array"}ge.isInt16Array=he;function ye(_e){return ue(_e)==="Int32Array"}ge.isInt32Array=ye;function Pe(_e){return ue(_e)==="Float32Array"}ge.isFloat32Array=Pe;function Oe(_e){return ue(_e)==="Float64Array"}ge.isFloat64Array=Oe;function we(_e){return ue(_e)==="BigInt64Array"}ge.isBigInt64Array=we;function Te(_e){return ue(_e)==="BigUint64Array"}ge.isBigUint64Array=Te;function Me(_e){return ie(_e)==="[object Map]"}Me.working=typeof Map!="undefined"&&Me(new Map);function Fe(_e){return typeof Map=="undefined"?!1:Me.working?Me(_e):_e instanceof Map}ge.isMap=Fe;function $e(_e){return ie(_e)==="[object Set]"}$e.working=typeof Set!="undefined"&&$e(new Set);function Ve(_e){return typeof Set=="undefined"?!1:$e.working?$e(_e):_e instanceof Set}ge.isSet=Ve;function Re(_e){return ie(_e)==="[object WeakMap]"}Re.working=typeof WeakMap!="undefined"&&Re(new WeakMap);function st(_e){return typeof WeakMap=="undefined"?!1:Re.working?Re(_e):_e instanceof WeakMap}ge.isWeakMap=st;function rt(_e){return ie(_e)==="[object WeakSet]"}rt.working=typeof WeakSet!="undefined"&&rt(new WeakSet);function et(_e){return rt(_e)}ge.isWeakSet=et;function qe(_e){return ie(_e)==="[object ArrayBuffer]"}qe.working=typeof ArrayBuffer!="undefined"&&qe(new ArrayBuffer);function ze(_e){return typeof ArrayBuffer=="undefined"?!1:qe.working?qe(_e):_e instanceof ArrayBuffer}ge.isArrayBuffer=ze;function ke(_e){return ie(_e)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function Be(_e){return typeof DataView=="undefined"?!1:ke.working?ke(_e):_e instanceof DataView}ge.isDataView=Be;var Je=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Ye(_e){return ie(_e)==="[object SharedArrayBuffer]"}function dt(_e){return typeof Je=="undefined"?!1:(typeof Ye.working=="undefined"&&(Ye.working=Ye(new Je)),Ye.working?Ye(_e):_e instanceof Je)}ge.isSharedArrayBuffer=dt;function He(_e){return ie(_e)==="[object AsyncFunction]"}ge.isAsyncFunction=He;function Ue(_e){return ie(_e)==="[object Map Iterator]"}ge.isMapIterator=Ue;function Le(_e){return ie(_e)==="[object Set Iterator]"}ge.isSetIterator=Le;function Ke(_e){return ie(_e)==="[object Generator]"}ge.isGeneratorObject=Ke;function Ee(_e){return ie(_e)==="[object WebAssembly.Module]"}ge.isWebAssemblyCompiledModule=Ee;function Ie(_e){return z(_e,ne)}ge.isNumberObject=Ie;function Qe(_e){return z(_e,a)}ge.isStringObject=Qe;function Xe(_e){return z(_e,y)}ge.isBooleanObject=Xe;function Ge(_e){return de&&z(_e,x)}ge.isBigIntObject=Ge;function Ce(_e){return ae&&z(_e,b)}ge.isSymbolObject=Ce;function xe(_e){return Ie(_e)||Qe(_e)||Xe(_e)||Ge(_e)||Ce(_e)}ge.isBoxedPrimitive=xe;function je(_e){return typeof Uint8Array!="undefined"&&(ze(_e)||dt(_e))}ge.isAnyArrayBuffer=je,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(_e){Object.defineProperty(ge,_e,{enumerable:!1,value:function(){throw new Error(_e+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,Se,ge){(function(oe){(function(){var te=Object.getOwnPropertyDescriptors||function(Je){for(var Ye=Object.keys(Je),dt={},He=0;He<Ye.length;He++)dt[Ye[He]]=Object.getOwnPropertyDescriptor(Je,Ye[He]);return dt},ue=/%[sdj%]/g;ge.format=function(Be){if(!he(Be)){for(var Je=[],Ye=0;Ye<arguments.length;Ye++)Je.push(ae(arguments[Ye]));return Je.join(" ")}for(var Ye=1,dt=arguments,He=dt.length,Ue=String(Be).replace(ue,function(Ke){if(Ke==="%%")return"%";if(Ye>=He)return Ke;switch(Ke){case"%s":return String(dt[Ye++]);case"%d":return Number(dt[Ye++]);case"%j":try{return JSON.stringify(dt[Ye++])}catch(Ee){return"[Circular]"}default:return Ke}}),Le=dt[Ye];Ye<He;Le=dt[++Ye])ve(Le)||!we(Le)?Ue+=" "+Le:Ue+=" "+ae(Le);return Ue},ge.deprecate=function(Be,Je){if(typeof oe!="undefined"&&oe.noDeprecation===!0)return Be;if(typeof oe=="undefined")return function(){return ge.deprecate(Be,Je).apply(this,arguments)};var Ye=!1;function dt(){if(!Ye){if(oe.throwDeprecation)throw new Error(Je);oe.traceDeprecation?console.trace(Je):console.error(Je),Ye=!0}return Be.apply(this,arguments)}return dt};var ce={},le=/^$/;if(oe.env.NODE_DEBUG){var de=oe.env.NODE_DEBUG;de=de.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+de+"$","i")}ge.debuglog=function(Be){if(Be=Be.toUpperCase(),!ce[Be])if(le.test(Be)){var Je=oe.pid;ce[Be]=function(){var Ye=ge.format.apply(ge,arguments);console.error("%s %d: %s",Be,Je,Ye)}}else ce[Be]=function(){};return ce[Be]};function ae(Be,Je){var Ye={seen:[],stylize:ne};return arguments.length>=3&&(Ye.depth=arguments[2]),arguments.length>=4&&(Ye.colors=arguments[3]),fe(Je)?Ye.showHidden=Je:Je&&ge._extend(Ye,Je),Pe(Ye.showHidden)&&(Ye.showHidden=!1),Pe(Ye.depth)&&(Ye.depth=2),Pe(Ye.colors)&&(Ye.colors=!1),Pe(Ye.customInspect)&&(Ye.customInspect=!0),Ye.colors&&(Ye.stylize=ie),y(Ye,Be,Ye.depth)}ge.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 ie(Be,Je){var Ye=ae.styles[Je];return Ye?"\x1B["+ae.colors[Ye][0]+"m"+Be+"\x1B["+ae.colors[Ye][1]+"m":Be}function ne(Be,Je){return Be}function a(Be){var Je={};return Be.forEach(function(Ye,dt){Je[Ye]=!0}),Je}function y(Be,Je,Ye){if(Be.customInspect&&Je&&Fe(Je.inspect)&&Je.inspect!==ge.inspect&&!(Je.constructor&&Je.constructor.prototype===Je)){var dt=Je.inspect(Ye,Be);return he(dt)||(dt=y(Be,dt,Ye)),dt}var He=x(Be,Je);if(He)return He;var Ue=Object.keys(Je),Le=a(Ue);if(Be.showHidden&&(Ue=Object.getOwnPropertyNames(Je)),Me(Je)&&(Ue.indexOf("message")>=0||Ue.indexOf("description")>=0))return b(Je);if(Ue.length===0){if(Fe(Je)){var Ke=Je.name?": "+Je.name:"";return Be.stylize("[Function"+Ke+"]","special")}if(Oe(Je))return Be.stylize(RegExp.prototype.toString.call(Je),"regexp");if(Te(Je))return Be.stylize(Date.prototype.toString.call(Je),"date");if(Me(Je))return b(Je)}var Ee="",Ie=!1,Qe=["{","}"];if(se(Je)&&(Ie=!0,Qe=["[","]"]),Fe(Je)){var Xe=Je.name?": "+Je.name:"";Ee=" [Function"+Xe+"]"}if(Oe(Je)&&(Ee=" "+RegExp.prototype.toString.call(Je)),Te(Je)&&(Ee=" "+Date.prototype.toUTCString.call(Je)),Me(Je)&&(Ee=" "+b(Je)),Ue.length===0&&(!Ie||Je.length==0))return Qe[0]+Ee+Qe[1];if(Ye<0)return Oe(Je)?Be.stylize(RegExp.prototype.toString.call(Je),"regexp"):Be.stylize("[Object]","special");Be.seen.push(Je);var Ge;return Ie?Ge=z(Be,Je,Ye,Le,Ue):Ge=Ue.map(function(Ce){return ee(Be,Je,Ye,Le,Ce,Ie)}),Be.seen.pop(),re(Ge,Ee,Qe)}function x(Be,Je){if(Pe(Je))return Be.stylize("undefined","undefined");if(he(Je)){var Ye="'"+JSON.stringify(Je).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Ye,"string")}if(pe(Je))return Be.stylize(""+Je,"number");if(fe(Je))return Be.stylize(""+Je,"boolean");if(ve(Je))return Be.stylize("null","null")}function b(Be){return"["+Error.prototype.toString.call(Be)+"]"}function z(Be,Je,Ye,dt,He){for(var Ue=[],Le=0,Ke=Je.length;Le<Ke;++Le)et(Je,String(Le))?Ue.push(ee(Be,Je,Ye,dt,String(Le),!0)):Ue.push("");return He.forEach(function(Ee){Ee.match(/^\d+$/)||Ue.push(ee(Be,Je,Ye,dt,Ee,!0))}),Ue}function ee(Be,Je,Ye,dt,He,Ue){var Le,Ke,Ee;if(Ee=Object.getOwnPropertyDescriptor(Je,He)||{value:Je[He]},Ee.get?Ee.set?Ke=Be.stylize("[Getter/Setter]","special"):Ke=Be.stylize("[Getter]","special"):Ee.set&&(Ke=Be.stylize("[Setter]","special")),et(dt,He)||(Le="["+He+"]"),Ke||(Be.seen.indexOf(Ee.value)<0?(ve(Ye)?Ke=y(Be,Ee.value,null):Ke=y(Be,Ee.value,Ye-1),Ke.indexOf(`
`)>-1&&(Ue?Ke=Ke.split(`
`).map(function(Ie){return" "+Ie}).join(`
`).slice(2):Ke=`
`+Ke.split(`
`).map(function(Ie){return" "+Ie}).join(`
`))):Ke=Be.stylize("[Circular]","special")),Pe(Le)){if(Ue&&He.match(/^\d+$/))return Ke;Le=JSON.stringify(""+He),Le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Le=Le.slice(1,-1),Le=Be.stylize(Le,"name")):(Le=Le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Le=Be.stylize(Le,"string"))}return Le+": "+Ke}function re(Be,Je,Ye){var dt=0,He=Be.reduce(function(Ue,Le){return dt++,Le.indexOf(`
`)>=0&&dt++,Ue+Le.replace(/\u001b\[\d\d?m/g,"").length+1},0);return He>60?Ye[0]+(Je===""?"":Je+`
`)+" "+Be.join(`,
`)+" "+Ye[1]:Ye[0]+Je+" "+Be.join(", ")+" "+Ye[1]}ge.types=E("./support/types");function se(Be){return Array.isArray(Be)}ge.isArray=se;function fe(Be){return typeof Be=="boolean"}ge.isBoolean=fe;function ve(Be){return Be===null}ge.isNull=ve;function me(Be){return Be==null}ge.isNullOrUndefined=me;function pe(Be){return typeof Be=="number"}ge.isNumber=pe;function he(Be){return typeof Be=="string"}ge.isString=he;function ye(Be){return typeof Be=="symbol"}ge.isSymbol=ye;function Pe(Be){return Be===void 0}ge.isUndefined=Pe;function Oe(Be){return we(Be)&&Ve(Be)==="[object RegExp]"}ge.isRegExp=Oe,ge.types.isRegExp=Oe;function we(Be){return typeof Be=="object"&&Be!==null}ge.isObject=we;function Te(Be){return we(Be)&&Ve(Be)==="[object Date]"}ge.isDate=Te,ge.types.isDate=Te;function Me(Be){return we(Be)&&(Ve(Be)==="[object Error]"||Be instanceof Error)}ge.isError=Me,ge.types.isNativeError=Me;function Fe(Be){return typeof Be=="function"}ge.isFunction=Fe;function $e(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}ge.isPrimitive=$e,ge.isBuffer=E("./support/isBuffer");function Ve(Be){return Object.prototype.toString.call(Be)}function Re(Be){return Be<10?"0"+Be.toString(10):Be.toString(10)}var st=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rt(){var Be=new Date,Je=[Re(Be.getHours()),Re(Be.getMinutes()),Re(Be.getSeconds())].join(":");return[Be.getDate(),st[Be.getMonth()],Je].join(" ")}ge.log=function(){console.log("%s - %s",rt(),ge.format.apply(ge,arguments))},ge.inherits=E("inherits"),ge._extend=function(Be,Je){if(!Je||!we(Je))return Be;for(var Ye=Object.keys(Je),dt=Ye.length;dt--;)Be[Ye[dt]]=Je[Ye[dt]];return Be};function et(Be,Je){return Object.prototype.hasOwnProperty.call(Be,Je)}var qe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;ge.promisify=function(Je){if(typeof Je!="function")throw new TypeError('The "original" argument must be of type Function');if(qe&&Je[qe]){var Ye=Je[qe];if(typeof Ye!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ye,qe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Ye}function Ye(){for(var dt,He,Ue=new Promise(function(Ee,Ie){dt=Ee,He=Ie}),Le=[],Ke=0;Ke<arguments.length;Ke++)Le.push(arguments[Ke]);Le.push(function(Ee,Ie){Ee?He(Ee):dt(Ie)});try{Je.apply(this,Le)}catch(Ee){He(Ee)}return Ue}return Object.setPrototypeOf(Ye,Object.getPrototypeOf(Je)),qe&&Object.defineProperty(Ye,qe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Ye,te(Je))},ge.promisify.custom=qe;function ze(Be,Je){if(!Be){var Ye=new Error("Promise was rejected with a falsy value");Ye.reason=Be,Be=Ye}return Je(Be)}function ke(Be){if(typeof Be!="function")throw new TypeError('The "original" argument must be of type Function');function Je(){for(var Ye=[],dt=0;dt<arguments.length;dt++)Ye.push(arguments[dt]);var He=Ye.pop();if(typeof He!="function")throw new TypeError("The last argument must be of type Function");var Ue=this,Le=function(){return He.apply(Ue,arguments)};Be.apply(this,Ye).then(function(Ke){oe.nextTick(Le.bind(null,null,Ke))},function(Ke){oe.nextTick(ze.bind(null,Ke,Le))})}return Object.setPrototypeOf(Je,Object.getPrototypeOf(Be)),Object.defineProperties(Je,te(Be)),Je}ge.callbackify=ke}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=E("for-each"),ue=E("available-typed-arrays"),ce=E("call-bind"),le=E("call-bind/callBound"),de=E("gopd"),ae=le("Object.prototype.toString"),ie=E("has-tostringtag/shams")(),ne=typeof globalThis=="undefined"?oe:globalThis,a=ue(),y=le("String.prototype.slice"),x=Object.getPrototypeOf,b=le("Array.prototype.indexOf",!0)||function(fe,ve){for(var me=0;me<fe.length;me+=1)if(fe[me]===ve)return me;return-1},z={__proto__:null};ie&&de&&x?te(a,function(se){var fe=new ne[se];if(Symbol.toStringTag in fe){var ve=x(fe),me=de(ve,Symbol.toStringTag);if(!me){var pe=x(ve);me=de(pe,Symbol.toStringTag)}z["$"+se]=ce(me.get)}}):te(a,function(se){var fe=new ne[se];z["$"+se]=ce(fe.slice)});var ee=function(fe){var ve=!1;return te(z,function(me,pe){if(!ve)try{"$"+me(fe)===pe&&(ve=y(pe,1))}catch(he){}}),ve},re=function(fe){var ve=!1;return te(z,function(me,pe){if(!ve)try{me(fe),ve=y(pe,1)}catch(he){}}),ve};Se.exports=function(fe){if(!fe||typeof fe!="object")return!1;if(!ie){var ve=y(ae(fe),8,-1);return b(a,ve)>-1?ve:ve!=="Object"?!1:re(fe)}return de?ee(fe):null}}).call(this)}).call(this,typeof Pt!="undefined"?Pt: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,Se,ge){(function(){"use strict";ge.stripBOM=function(oe){return oe[0]==="\uFEFF"?oe.substring(1):oe}}).call(this)},{}],422:[function(E,Se,ge){(function(){"use strict";var oe,te,ue,ce,le,de={}.hasOwnProperty;oe=E("xmlbuilder"),te=E("./defaults").defaults,ce=function(ae){return typeof ae=="string"&&(ae.indexOf("&")>=0||ae.indexOf(">")>=0||ae.indexOf("<")>=0)},le=function(ae){return"<![CDATA["+ue(ae)+"]]>"},ue=function(ae){return ae.replace("]]>","]]]]><![CDATA[>")},ge.Builder=function(){function ae(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)de.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)de.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return ae.prototype.buildObject=function(ie){var ne,a,y,x,b;return ne=this.options.attrkey,a=this.options.charkey,Object.keys(ie).length===1&&this.options.rootName===te["0.2"].rootName?(b=Object.keys(ie)[0],ie=ie[b]):b=this.options.rootName,y=function(z){return function(ee,re){var se,fe,ve,me,pe,he;if(typeof re!="object")z.options.cdata&&ce(re)?ee.raw(le(re)):ee.txt(re);else if(Array.isArray(re)){for(me in re)if(de.call(re,me)){fe=re[me];for(pe in fe)ve=fe[pe],ee=y(ee.ele(pe),ve).up()}}else for(pe in re)if(de.call(re,pe))if(fe=re[pe],pe===ne){if(typeof fe=="object")for(se in fe)he=fe[se],ee=ee.att(se,he)}else if(pe===a)z.options.cdata&&ce(fe)?ee=ee.raw(le(fe)):ee=ee.txt(fe);else if(Array.isArray(fe))for(me in fe)de.call(fe,me)&&(ve=fe[me],typeof ve=="string"?z.options.cdata&&ce(ve)?ee=ee.ele(pe).raw(le(ve)).up():ee=ee.ele(pe,ve).up():ee=y(ee.ele(pe),ve).up());else typeof fe=="object"?ee=y(ee.ele(pe),fe).up():typeof fe=="string"&&z.options.cdata&&ce(fe)?ee=ee.ele(pe).raw(le(fe)).up():(fe==null&&(fe=""),ee=ee.ele(pe,fe.toString()).up());return ee}}(this),x=oe.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ie).end(this.options.renderOpts)},ae}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,Se,ge){(function(){ge.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,Se,ge){(function(){"use strict";var oe,te,ue,ce,le,de,ae,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)x.call(z,ee)&&(b[ee]=z[ee]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b},x={}.hasOwnProperty;ie=E("sax"),ce=E("events"),oe=E("./bom"),ae=E("./processors"),ne=E("timers").setImmediate,te=E("./defaults").defaults,le=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},de=function(b,z,ee){var re,se,fe;for(re=0,se=b.length;re<se;re++)fe=b[re],z=fe(z,ee);return z},ue=function(b,z,ee){var re;return re=Object.create(null),re.value=ee,re.writable=!0,re.enumerable=!0,re.configurable=!0,Object.defineProperty(b,z,re)},ge.Parser=function(b){y(z,b);function z(ee){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 re,se,fe;if(!(this instanceof ge.Parser))return new ge.Parser(ee);this.options={},se=te["0.2"];for(re in se)x.call(se,re)&&(fe=se[re],this.options[re]=fe);for(re in ee)x.call(ee,re)&&(fe=ee[re],this.options[re]=fe);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(ae.normalize)),this.reset()}return z.prototype.processAsync=function(){var ee,re;try{return this.remaining.length<=this.options.chunkSize?(ee=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ee),this.saxParser.close()):(ee=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ee),ne(this.processAsync))}catch(se){if(re=se,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(re)}},z.prototype.assignOrPush=function(ee,re,se){return re in ee?(ee[re]instanceof Array||ue(ee,re,[ee[re]]),ee[re].push(se)):this.options.explicitArray?ue(ee,re,[se]):ue(ee,re,se)},z.prototype.reset=function(){var ee,re,se,fe;return this.removeAllListeners(),this.saxParser=ie.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,fe=[],ee=this.options.attrkey,re=this.options.charkey,this.saxParser.onopentag=function(ve){return function(me){var pe,he,ye,Pe,Oe;if(ye={},ye[re]="",!ve.options.ignoreAttrs){Oe=me.attributes;for(pe in Oe)x.call(Oe,pe)&&(!(ee in ye)&&!ve.options.mergeAttrs&&(ye[ee]={}),he=ve.options.attrValueProcessors?de(ve.options.attrValueProcessors,me.attributes[pe],pe):me.attributes[pe],Pe=ve.options.attrNameProcessors?de(ve.options.attrNameProcessors,pe):pe,ve.options.mergeAttrs?ve.assignOrPush(ye,Pe,he):ue(ye[ee],Pe,he))}return ye["#name"]=ve.options.tagNameProcessors?de(ve.options.tagNameProcessors,me.name):me.name,ve.options.xmlns&&(ye[ve.options.xmlnskey]={uri:me.uri,local:me.local}),fe.push(ye)}}(this),this.saxParser.onclosetag=function(ve){return function(){var me,pe,he,ye,Pe,Oe,we,Te,Me,Fe;if(Oe=fe.pop(),Pe=Oe["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete Oe["#name"],Oe.cdata===!0&&(me=Oe.cdata,delete Oe.cdata),Me=fe[fe.length-1],Oe[re].match(/^\s*$/)&&!me?(pe=Oe[re],delete Oe[re]):(ve.options.trim&&(Oe[re]=Oe[re].trim()),ve.options.normalize&&(Oe[re]=Oe[re].replace(/\s{2,}/g," ").trim()),Oe[re]=ve.options.valueProcessors?de(ve.options.valueProcessors,Oe[re],Pe):Oe[re],Object.keys(Oe).length===1&&re in Oe&&!ve.EXPLICIT_CHARKEY&&(Oe=Oe[re])),le(Oe)&&(typeof ve.options.emptyTag=="function"?Oe=ve.options.emptyTag():Oe=ve.options.emptyTag!==""?ve.options.emptyTag:pe),ve.options.validator!=null&&(Fe="/"+function(){var $e,Ve,Re;for(Re=[],$e=0,Ve=fe.length;$e<Ve;$e++)ye=fe[$e],Re.push(ye["#name"]);return Re}().concat(Pe).join("/"),function(){var $e;try{return Oe=ve.options.validator(Fe,Me&&Me[Pe],Oe)}catch(Ve){return $e=Ve,ve.emit("error",$e)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof Oe=="object"){if(!ve.options.preserveChildrenOrder)ye={},ve.options.attrkey in Oe&&(ye[ve.options.attrkey]=Oe[ve.options.attrkey],delete Oe[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in Oe&&(ye[ve.options.charkey]=Oe[ve.options.charkey],delete Oe[ve.options.charkey]),Object.getOwnPropertyNames(Oe).length>0&&(ye[ve.options.childkey]=Oe),Oe=ye;else if(Me){Me[ve.options.childkey]=Me[ve.options.childkey]||[],we={};for(he in Oe)x.call(Oe,he)&&ue(we,he,Oe[he]);Me[ve.options.childkey].push(we),delete Oe["#name"],Object.keys(Oe).length===1&&re in Oe&&!ve.EXPLICIT_CHARKEY&&(Oe=Oe[re])}}return fe.length>0?ve.assignOrPush(Me,Pe,Oe):(ve.options.explicitRoot&&(Te=Oe,Oe={},ue(Oe,Pe,Te)),ve.resultObject=Oe,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),se=function(ve){return function(me){var pe,he;if(he=fe[fe.length-1],he)return he[re]+=me,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||me.replace(/\\n/g,"").trim()!=="")&&(he[ve.options.childkey]=he[ve.options.childkey]||[],pe={"#name":"__text__"},pe[re]=me,ve.options.normalize&&(pe[re]=pe[re].replace(/\s{2,}/g," ").trim()),he[ve.options.childkey].push(pe)),he}}(this),this.saxParser.ontext=se,this.saxParser.oncdata=function(ve){return function(me){var pe;if(pe=se(me),pe)return pe.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var se;re!=null&&typeof re=="function"&&(this.on("end",function(fe){return this.reset(),re(null,fe)}),this.on("error",function(fe){return this.reset(),re(fe)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=oe.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(fe){if(se=fe,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw se}else return this.emit("error",se),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(se,fe){return re.parseString(ee,function(ve,me){return ve?fe(ve):se(me)})}}(this))},z}(ce),ge.parseString=function(b,z,ee){var re,se,fe;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(se=z)):(typeof z=="function"&&(re=z),se={}),fe=new ge.Parser(se),fe.parseString(b,re)},ge.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new ge.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,Se,ge){(function(){"use strict";var oe;oe=new RegExp(/(?!xmlns)^.*:/),ge.normalize=function(te){return te.toLowerCase()},ge.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},ge.stripPrefix=function(te){return te.replace(oe,"")},ge.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},ge.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(E,Se,ge){(function(){"use strict";var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;te=E("./defaults"),oe=E("./builder"),ue=E("./parser"),ce=E("./processors"),ge.defaults=te.defaults,ge.processors=ce,ge.ValidationError=function(ae){le(ie,ae);function ie(ne){this.message=ne}return ie}(Error),ge.Builder=oe.Builder,ge.Parser=ue.Parser,ge.parseString=ue.parseString,ge.parseStringPromise=ue.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,Se,ge){(function(){Se.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,Se,ge){(function(){Se.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,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie=[].slice,ne={}.hasOwnProperty;oe=function(){var a,y,x,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a<x;a++)if(b=z[a],b!=null)for(y in b)ne.call(b,y)&&(ee[y]=b[y]);return ee},le=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},de=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ue=function(a){return le(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},ce=function(a){var y;if(ue(a))return!a.length;for(y in a)if(ne.call(a,y))return!1;return!0},ae=function(a){var y,x;return de(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},te=function(a){return le(a.valueOf)?a.valueOf():a},Se.exports.assign=oe,Se.exports.isFunction=le,Se.exports.isObject=de,Se.exports.isArray=ue,Se.exports.isEmpty=ce,Se.exports.isPlainObject=ae,Se.exports.getValue=te}).call(this)},{}],430:[function(E,Se,ge){(function(){Se.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,Se,ge){(function(){var oe,te,ue;oe=E("./NodeType"),ue=E("./XMLNode"),Se.exports=te=function(){function ce(le,de,ae){if(this.parent=le,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),de==null)throw new Error("Missing attribute name. "+this.debugInfo(de));this.name=this.stringify.name(de),this.value=this.stringify.attValue(ae),this.type=oe.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(ce.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ce.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(ce.prototype,"textContent",{get:function(){return this.value},set:function(le){return this.value=le||""}}),Object.defineProperty(ce.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(ce.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(ce.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(ce.prototype,"specified",{get:function(){return!0}}),ce.prototype.clone=function(){return Object.create(this)},ce.prototype.toString=function(le){return this.options.writer.attribute(this,this.options.writer.filterOptions(le))},ce.prototype.debugInfo=function(le){return le=le||this.name,le==null?"parent: <"+this.parent.name+">":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},ce.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},ce}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),ue=E("./XMLCharacterData"),Se.exports=te=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=oe.CData,this.value=this.stringify.cdata(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,Se,ge){(function(){var oe,te,ue=function(le,de){for(var ae in de)ce.call(de,ae)&&(le[ae]=de[ae]);function ie(){this.constructor=le}return ie.prototype=de.prototype,le.prototype=new ie,le.__super__=de.prototype,le},ce={}.hasOwnProperty;te=E("./XMLNode"),Se.exports=oe=function(le){ue(de,le);function de(ae){de.__super__.constructor.call(this,ae),this.value=""}return Object.defineProperty(de.prototype,"data",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),Object.defineProperty(de.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(de.prototype,"textContent",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),de.prototype.clone=function(){return Object.create(this)},de.prototype.substringData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.appendData=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.insertData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.deleteData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.replaceData=function(ae,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.isEqualNode=function(ae){return!(!de.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.data!==this.data)},de}(te)}).call(this)},{"./XMLNode":450}],434:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),Se.exports=ue=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=oe.Comment,this.value=this.stringify.comment(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,Se,ge){(function(){var oe,te,ue;te=E("./XMLDOMErrorHandler"),ue=E("./XMLDOMStringList"),Se.exports=oe=function(){function ce(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,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=le=Object.create(this.defaultParams)}return Object.defineProperty(ce.prototype,"parameterNames",{get:function(){return new ue(Object.keys(this.defaultParams))}}),ce.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},ce.prototype.canSetParameter=function(le,de){return!0},ce.prototype.setParameter=function(le,de){return de!=null?this.params[le]=de:delete this.params[le]},ce}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,Se,ge){(function(){var oe;Se.exports=oe=function(){function te(){}return te.prototype.handleError=function(ue){throw new Error(ue)},te}()}).call(this)},{}],437:[function(E,Se,ge){(function(){var oe;Se.exports=oe=function(){function te(){}return te.prototype.hasFeature=function(ue,ce){return!0},te.prototype.createDocumentType=function(ue,ce,le){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(ue,ce,le){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(ue,ce){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(E,Se,ge){(function(){var oe;Se.exports=oe=function(){function te(ue){this.arr=ue||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(ue){return this.arr[ue]||null},te.prototype.contains=function(ue){return this.arr.indexOf(ue)!==-1},te}()}).call(this)},{}],439:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(de){ce(ae,de);function ae(ie,ne,a,y,x,b){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ne));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ne));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));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(ne));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ne));this.elementName=this.stringify.name(ne),this.type=oe.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ae.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(de){ce(ae,de);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ne),this.type=oe.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return ae.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,Se,ge){(function(){var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;ce=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){if(ie.__super__.constructor.call(this,ne),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=oe.EntityDeclaration,!ce(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(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ie.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ie.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlVersion",{get:function(){return null}}),ie.prototype.toString=function(ne){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(de){ce(ae,de);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ne));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ne));this.name=this.stringify.name(ne),this.type=oe.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),ae.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,Se,ge){(function(){var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;ce=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){var b;ie.__super__.constructor.call(this,ne),ce(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=oe.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility").isObject,ie=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLDTDAttList"),ce=E("./XMLDTDEntity"),ue=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),ae=E("./XMLNamedNodeMap"),Se.exports=de=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,me,pe,he;if(b.__super__.constructor.call(this,z),this.type=oe.DocType,z.children){for(me=z.children,fe=0,ve=me.length;fe<ve;fe++)if(se=me[fe],se.type===oe.Element){this.name=se.name;break}}this.documentObject=z,ne(ee)&&(pe=ee,ee=pe.pubID,re=pe.sysID),re==null&&(he=[ee,re],re=he[0],ee=he[1]),ee!=null&&(this.pubID=this.stringify.dtdPubID(ee)),re!=null&&(this.sysID=this.stringify.dtdSysID(re))}return Object.defineProperty(b.prototype,"entities",{get:function(){var z,ee,re,se,fe;for(se={},fe=this.children,ee=0,re=fe.length;ee<re;ee++)z=fe[ee],z.type===oe.EntityDeclaration&&!z.pe&&(se[z.name]=z);return new ae(se)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var z,ee,re,se,fe;for(se={},fe=this.children,ee=0,re=fe.length;ee<re;ee++)z=fe[ee],z.type===oe.NotationDeclaration&&(se[z.name]=z);return new ae(se)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(z,ee){var re;return re=new ue(this,z,ee),this.children.push(re),this},b.prototype.attList=function(z,ee,re,se,fe){var ve;return ve=new te(this,z,ee,re,se,fe),this.children.push(ve),this},b.prototype.entity=function(z,ee){var re;return re=new ce(this,!1,z,ee),this.children.push(re),this},b.prototype.pEntity=function(z,ee){var re;return re=new ce(this,!0,z,ee),this.children.push(re),this},b.prototype.notation=function(z,ee){var re;return re=new le(this,z,ee),this.children.push(re),this},b.prototype.toString=function(z){return this.options.writer.docType(this,this.options.writer.filterOptions(z))},b.prototype.ele=function(z,ee){return this.element(z,ee)},b.prototype.att=function(z,ee,re,se,fe){return this.attList(z,ee,re,se,fe)},b.prototype.ent=function(z,ee){return this.entity(z,ee)},b.prototype.pent=function(z,ee){return this.pEntity(z,ee)},b.prototype.not=function(z,ee){return this.notation(z,ee)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(z){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.name!==this.name||z.publicId!==this.publicId||z.systemId!==this.systemId)},b}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function z(){this.constructor=y}return z.prototype=x.prototype,y.prototype=new z,y.__super__=x.prototype,y},a={}.hasOwnProperty;ie=E("./Utility").isPlainObject,ue=E("./XMLDOMImplementation"),te=E("./XMLDOMConfiguration"),le=E("./XMLNode"),oe=E("./NodeType"),ae=E("./XMLStringifier"),de=E("./XMLStringWriter"),Se.exports=ce=function(y){ne(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=oe.Document,this.documentURI=null,this.domConfig=new te,b||(b={}),b.writer||(b.writer=new de),this.options=b,this.stringify=new ae(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ue}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,z,ee,re;for(re=this.children,z=0,ee=re.length;z<ee;z++)if(b=re[z],b.type===oe.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===oe.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===oe.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===oe.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var z;return z={},b?ie(b)&&(z=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(z))},x.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},x.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createProcessingInstruction=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.importNode=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.renameNode=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a,y,x,b,z,ee,re,se,fe,ve,me,pe,he,ye,Pe,Oe={}.hasOwnProperty;Pe=E("./Utility"),he=Pe.isObject,pe=Pe.isFunction,ye=Pe.isPlainObject,me=Pe.getValue,oe=E("./NodeType"),x=E("./XMLDocument"),z=E("./XMLElement"),ce=E("./XMLCData"),le=E("./XMLComment"),re=E("./XMLRaw"),ve=E("./XMLText"),ee=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),de=E("./XMLDTDAttList"),ie=E("./XMLDTDEntity"),ae=E("./XMLDTDElement"),ne=E("./XMLDTDNotation"),ue=E("./XMLAttribute"),fe=E("./XMLStringifier"),se=E("./XMLStringWriter"),te=E("./WriterState"),Se.exports=b=function(){function we(Te,Me,Fe){var $e;this.name="?xml",this.type=oe.Document,Te||(Te={}),$e={},Te.writer?ye(Te.writer)&&($e=Te.writer,Te.writer=new se):Te.writer=new se,this.options=Te,this.writer=Te.writer,this.writerOptions=this.writer.filterOptions($e),this.stringify=new fe(Te),this.onDataCallback=Me||function(){},this.onEndCallback=Fe||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return we.prototype.createChildNode=function(Te){var Me,Fe,$e,Ve,Re,st,rt,et;switch(Te.type){case oe.CData:this.cdata(Te.value);break;case oe.Comment:this.comment(Te.value);break;case oe.Element:$e={},rt=Te.attribs;for(Fe in rt)Oe.call(rt,Fe)&&(Me=rt[Fe],$e[Fe]=Me.value);this.node(Te.name,$e);break;case oe.Dummy:this.dummy();break;case oe.Raw:this.raw(Te.value);break;case oe.Text:this.text(Te.value);break;case oe.ProcessingInstruction:this.instruction(Te.target,Te.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Te.constructor.name)}for(et=Te.children,Re=0,st=et.length;Re<st;Re++)Ve=et[Re],this.createChildNode(Ve),Ve.type===oe.Element&&this.up();return this},we.prototype.dummy=function(){return this},we.prototype.node=function(Te,Me,Fe){var $e;if(Te==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Te));return this.openCurrent(),Te=me(Te),Me==null&&(Me={}),Me=me(Me),he(Me)||($e=[Me,Fe],Fe=$e[0],Me=$e[1]),this.currentNode=new z(this,Te,Me),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Fe!=null&&this.text(Fe),this},we.prototype.element=function(Te,Me,Fe){var $e,Ve,Re,st,rt,et;if(this.currentNode&&this.currentNode.type===oe.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Te)||he(Te)||pe(Te))for(st=this.options.noValidation,this.options.noValidation=!0,et=new x(this.options).element("TEMP_ROOT"),et.element(Te),this.options.noValidation=st,rt=et.children,Ve=0,Re=rt.length;Ve<Re;Ve++)$e=rt[Ve],this.createChildNode($e),$e.type===oe.Element&&this.up();else this.node(Te,Me,Fe);return this},we.prototype.attribute=function(Te,Me){var Fe,$e;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Te));if(Te!=null&&(Te=me(Te)),he(Te))for(Fe in Te)Oe.call(Te,Fe)&&($e=Te[Fe],this.attribute(Fe,$e));else pe(Me)&&(Me=Me.apply()),this.options.keepNullAttributes&&Me==null?this.currentNode.attribs[Te]=new ue(this,Te,""):Me!=null&&(this.currentNode.attribs[Te]=new ue(this,Te,Me));return this},we.prototype.text=function(Te){var Me;return this.openCurrent(),Me=new ve(this,Te),this.onData(this.writer.text(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.cdata=function(Te){var Me;return this.openCurrent(),Me=new ce(this,Te),this.onData(this.writer.cdata(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.comment=function(Te){var Me;return this.openCurrent(),Me=new le(this,Te),this.onData(this.writer.comment(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.raw=function(Te){var Me;return this.openCurrent(),Me=new re(this,Te),this.onData(this.writer.raw(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.instruction=function(Te,Me){var Fe,$e,Ve,Re,st;if(this.openCurrent(),Te!=null&&(Te=me(Te)),Me!=null&&(Me=me(Me)),Array.isArray(Te))for(Fe=0,Re=Te.length;Fe<Re;Fe++)$e=Te[Fe],this.instruction($e);else if(he(Te))for($e in Te)Oe.call(Te,$e)&&(Ve=Te[$e],this.instruction($e,Ve));else pe(Me)&&(Me=Me.apply()),st=new ee(this,Te,Me),this.onData(this.writer.processingInstruction(st,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},we.prototype.declaration=function(Te,Me,Fe){var $e;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return $e=new a(this,Te,Me,Fe),this.onData(this.writer.declaration($e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.doctype=function(Te,Me,Fe){if(this.openCurrent(),Te==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new y(this,Me,Fe),this.currentNode.rootNodeName=Te,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},we.prototype.dtdElement=function(Te,Me){var Fe;return this.openCurrent(),Fe=new ae(this,Te,Me),this.onData(this.writer.dtdElement(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.attList=function(Te,Me,Fe,$e,Ve){var Re;return this.openCurrent(),Re=new de(this,Te,Me,Fe,$e,Ve),this.onData(this.writer.dtdAttList(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.entity=function(Te,Me){var Fe;return this.openCurrent(),Fe=new ie(this,!1,Te,Me),this.onData(this.writer.dtdEntity(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.pEntity=function(Te,Me){var Fe;return this.openCurrent(),Fe=new ie(this,!0,Te,Me),this.onData(this.writer.dtdEntity(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.notation=function(Te,Me){var Fe;return this.openCurrent(),Fe=new ne(this,Te,Me),this.onData(this.writer.dtdNotation(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.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},we.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},we.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},we.prototype.openNode=function(Te){var Me,Fe,$e,Ve;if(!Te.isOpen){if(!this.root&&this.currentLevel===0&&Te.type===oe.Element&&(this.root=Te),Fe="",Te.type===oe.Element){this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<"+Te.name,Ve=Te.attribs;for($e in Ve)Oe.call(Ve,$e)&&(Me=Ve[$e],Fe+=this.writer.attribute(Me,this.writerOptions,this.currentLevel));Fe+=(Te.children?">":"/>")+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Te.rootNodeName,Te.pubID&&Te.sysID?Fe+=' PUBLIC "'+Te.pubID+'" "'+Te.sysID+'"':Te.sysID&&(Fe+=' SYSTEM "'+Te.sysID+'"'),Te.children?(Fe+=" [",this.writerOptions.state=te.InsideTag):(this.writerOptions.state=te.CloseTag,Fe+=">"),Fe+=this.writer.endline(Te,this.writerOptions,this.currentLevel);return this.onData(Fe,this.currentLevel),Te.isOpen=!0}},we.prototype.closeNode=function(Te){var Me;if(!Te.isClosed)return Me="",this.writerOptions.state=te.CloseTag,Te.type===oe.Element?Me=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"</"+Te.name+">"+this.writer.endline(Te,this.writerOptions,this.currentLevel):Me=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Me,this.currentLevel),Te.isClosed=!0},we.prototype.onData=function(Te,Me){return this.documentStarted=!0,this.onDataCallback(Te,Me+1)},we.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},we.prototype.debugInfo=function(Te){return Te==null?"":"node: <"+Te+">"},we.prototype.ele=function(){return this.element.apply(this,arguments)},we.prototype.nod=function(Te,Me,Fe){return this.node(Te,Me,Fe)},we.prototype.txt=function(Te){return this.text(Te)},we.prototype.dat=function(Te){return this.cdata(Te)},we.prototype.com=function(Te){return this.comment(Te)},we.prototype.ins=function(Te,Me){return this.instruction(Te,Me)},we.prototype.dec=function(Te,Me,Fe){return this.declaration(Te,Me,Fe)},we.prototype.dtd=function(Te,Me,Fe){return this.doctype(Te,Me,Fe)},we.prototype.e=function(Te,Me,Fe){return this.element(Te,Me,Fe)},we.prototype.n=function(Te,Me,Fe){return this.node(Te,Me,Fe)},we.prototype.t=function(Te){return this.text(Te)},we.prototype.d=function(Te){return this.cdata(Te)},we.prototype.c=function(Te){return this.comment(Te)},we.prototype.r=function(Te){return this.raw(Te)},we.prototype.i=function(Te,Me){return this.instruction(Te,Me)},we.prototype.att=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.a=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.ent=function(Te,Me){return this.entity(Te,Me)},we.prototype.pent=function(Te,Me){return this.pEntity(Te,Me)},we.prototype.not=function(Te,Me){return this.notation(Te,Me)},we}()}).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,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(de){ce(ae,de);function ae(ie){ae.__super__.constructor.call(this,ie),this.type=oe.Dummy}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return""},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility"),ie=ne.isObject,ae=ne.isFunction,de=ne.getValue,le=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLAttribute"),ce=E("./XMLNamedNodeMap"),Se.exports=ue=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,me;if(b.__super__.constructor.call(this,z),ee==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ee),this.type=oe.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===oe.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(me=z.children,fe=0,ve=me.length;fe<ve;fe++)if(se=me[fe],se.type===oe.DocType){se.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 ce(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var z,ee,re,se;re=Object.create(this),re.isRoot&&(re.documentObject=null),re.attribs={},se=this.attribs;for(ee in se)y.call(se,ee)&&(z=se[ee],re.attribs[ee]=z.clone());return re.children=[],this.children.forEach(function(fe){var ve;return ve=fe.clone(),ve.parent=re,re.children.push(ve)}),re},b.prototype.attribute=function(z,ee){var re,se;if(z!=null&&(z=de(z)),ie(z))for(re in z)y.call(z,re)&&(se=z[re],this.attribute(re,se));else ae(ee)&&(ee=ee.apply()),this.options.keepNullAttributes&&ee==null?this.attribs[z]=new te(this,z,""):ee!=null&&(this.attribs[z]=new te(this,z,ee));return this},b.prototype.removeAttribute=function(z){var ee,re,se;if(z==null)throw new Error("Missing attribute name. "+this.debugInfo());if(z=de(z),Array.isArray(z))for(re=0,se=z.length;re<se;re++)ee=z[re],delete this.attribs[ee];else delete this.attribs[z];return this},b.prototype.toString=function(z){return this.options.writer.element(this,this.options.writer.filterOptions(z))},b.prototype.att=function(z,ee){return this.attribute(z,ee)},b.prototype.a=function(z,ee){return this.attribute(z,ee)},b.prototype.getAttribute=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z].value:null},b.prototype.setAttribute=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z]:null},b.prototype.setAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(z){return this.attribs.hasOwnProperty(z)},b.prototype.hasAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(z,ee){return this.attribs.hasOwnProperty(z)?this.attribs[z].isId:ee},b.prototype.setIdAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(z){var ee,re,se;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.namespaceURI!==this.namespaceURI||z.prefix!==this.prefix||z.localName!==this.localName||z.attribs.length!==this.attribs.length)return!1;for(ee=re=0,se=this.attribs.length-1;0<=se?re<=se:re>=se;ee=0<=se?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,Se,ge){(function(){var oe;Se.exports=oe=function(){function te(ue){this.nodes=ue}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(ue){return this.nodes[ue]},te.prototype.setNamedItem=function(ue){var ce;return ce=this.nodes[ue.nodeName],this.nodes[ue.nodeName]=ue,ce||null},te.prototype.removeNamedItem=function(ue){var ce;return ce=this.nodes[ue],delete this.nodes[ue],ce||null},te.prototype.item=function(ue){return this.nodes[Object.keys(this.nodes)[ue]]||null},te.prototype.getNamedItemNS=function(ue,ce){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(ue,ce){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a,y,x,b,z,ee,re,se,fe,ve,me={}.hasOwnProperty;ve=E("./Utility"),fe=ve.isObject,se=ve.isFunction,re=ve.isEmpty,ee=ve.getValue,ie=null,ue=null,ce=null,le=null,de=null,b=null,z=null,x=null,ae=null,te=null,y=null,ne=null,oe=null,Se.exports=a=function(){function pe(he){this.parent=he,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=E("./XMLElement"),ue=E("./XMLCData"),ce=E("./XMLComment"),le=E("./XMLDeclaration"),de=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),ae=E("./XMLDummy"),te=E("./NodeType"),y=E("./XMLNodeList"),ne=E("./XMLNamedNodeMap"),oe=E("./DocumentPosition"))}return Object.defineProperty(pe.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(pe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(pe.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(pe.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(pe.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(pe.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(pe.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(pe.prototype,"previousSibling",{get:function(){var he;return he=this.parent.children.indexOf(this),this.parent.children[he-1]||null}}),Object.defineProperty(pe.prototype,"nextSibling",{get:function(){var he;return he=this.parent.children.indexOf(this),this.parent.children[he+1]||null}}),Object.defineProperty(pe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(pe.prototype,"textContent",{get:function(){var he,ye,Pe,Oe,we;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(we="",Oe=this.children,ye=0,Pe=Oe.length;ye<Pe;ye++)he=Oe[ye],he.textContent&&(we+=he.textContent);return we}else return null},set:function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),pe.prototype.setParent=function(he){var ye,Pe,Oe,we,Te;for(this.parent=he,he&&(this.options=he.options,this.stringify=he.stringify),we=this.children,Te=[],Pe=0,Oe=we.length;Pe<Oe;Pe++)ye=we[Pe],Te.push(ye.setParent(this));return Te},pe.prototype.element=function(he,ye,Pe){var Oe,we,Te,Me,Fe,$e,Ve,Re,st,rt,et;if($e=null,ye===null&&Pe==null&&(st=[{},null],ye=st[0],Pe=st[1]),ye==null&&(ye={}),ye=ee(ye),fe(ye)||(rt=[ye,Pe],Pe=rt[0],ye=rt[1]),he!=null&&(he=ee(he)),Array.isArray(he))for(Te=0,Ve=he.length;Te<Ve;Te++)we=he[Te],$e=this.element(we);else if(se(he))$e=this.element(he.apply());else if(fe(he)){for(Fe in he)if(me.call(he,Fe))if(et=he[Fe],se(et)&&(et=et.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Fe.indexOf(this.stringify.convertAttKey)===0)$e=this.attribute(Fe.substr(this.stringify.convertAttKey.length),et);else if(!this.options.separateArrayItems&&Array.isArray(et)&&re(et))$e=this.dummy();else if(fe(et)&&re(et))$e=this.element(Fe);else if(!this.options.keepNullNodes&&et==null)$e=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(et))for(Me=0,Re=et.length;Me<Re;Me++)we=et[Me],Oe={},Oe[Fe]=we,$e=this.element(Oe);else fe(et)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Fe.indexOf(this.stringify.convertTextKey)===0?$e=this.element(et):($e=this.element(Fe),$e.element(et)):$e=this.element(Fe,et)}else!this.options.keepNullNodes&&Pe===null?$e=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&he.indexOf(this.stringify.convertTextKey)===0?$e=this.text(Pe):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&he.indexOf(this.stringify.convertCDataKey)===0?$e=this.cdata(Pe):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&he.indexOf(this.stringify.convertCommentKey)===0?$e=this.comment(Pe):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&he.indexOf(this.stringify.convertRawKey)===0?$e=this.raw(Pe):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&he.indexOf(this.stringify.convertPIKey)===0?$e=this.instruction(he.substr(this.stringify.convertPIKey.length),Pe):$e=this.node(he,ye,Pe);if($e==null)throw new Error("Could not create any elements with: "+he+". "+this.debugInfo());return $e},pe.prototype.insertBefore=function(he,ye,Pe){var Oe,we,Te,Me,Fe;if(he!=null&&he.type)return Te=he,Me=ye,Te.setParent(this),Me?(we=children.indexOf(Me),Fe=children.splice(we),children.push(Te),Array.prototype.push.apply(children,Fe)):children.push(Te),Te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(he));return we=this.parent.children.indexOf(this),Fe=this.parent.children.splice(we),Oe=this.parent.element(he,ye,Pe),Array.prototype.push.apply(this.parent.children,Fe),Oe},pe.prototype.insertAfter=function(he,ye,Pe){var Oe,we,Te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(he));return we=this.parent.children.indexOf(this),Te=this.parent.children.splice(we+1),Oe=this.parent.element(he,ye,Pe),Array.prototype.push.apply(this.parent.children,Te),Oe},pe.prototype.remove=function(){var he,ye;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return he=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[he,he-he+1].concat(ye=[])),this.parent},pe.prototype.node=function(he,ye,Pe){var Oe,we;return he!=null&&(he=ee(he)),ye||(ye={}),ye=ee(ye),fe(ye)||(we=[ye,Pe],Pe=we[0],ye=we[1]),Oe=new ie(this,he,ye),Pe!=null&&Oe.text(Pe),this.children.push(Oe),Oe},pe.prototype.text=function(he){var ye;return fe(he)&&this.element(he),ye=new z(this,he),this.children.push(ye),this},pe.prototype.cdata=function(he){var ye;return ye=new ue(this,he),this.children.push(ye),this},pe.prototype.comment=function(he){var ye;return ye=new ce(this,he),this.children.push(ye),this},pe.prototype.commentBefore=function(he){var ye,Pe,Oe;return Pe=this.parent.children.indexOf(this),Oe=this.parent.children.splice(Pe),ye=this.parent.comment(he),Array.prototype.push.apply(this.parent.children,Oe),this},pe.prototype.commentAfter=function(he){var ye,Pe,Oe;return Pe=this.parent.children.indexOf(this),Oe=this.parent.children.splice(Pe+1),ye=this.parent.comment(he),Array.prototype.push.apply(this.parent.children,Oe),this},pe.prototype.raw=function(he){var ye;return ye=new b(this,he),this.children.push(ye),this},pe.prototype.dummy=function(){var he;return he=new ae(this),he},pe.prototype.instruction=function(he,ye){var Pe,Oe,we,Te,Me;if(he!=null&&(he=ee(he)),ye!=null&&(ye=ee(ye)),Array.isArray(he))for(Te=0,Me=he.length;Te<Me;Te++)Pe=he[Te],this.instruction(Pe);else if(fe(he))for(Pe in he)me.call(he,Pe)&&(Oe=he[Pe],this.instruction(Pe,Oe));else se(ye)&&(ye=ye.apply()),we=new x(this,he,ye),this.children.push(we);return this},pe.prototype.instructionBefore=function(he,ye){var Pe,Oe,we;return Oe=this.parent.children.indexOf(this),we=this.parent.children.splice(Oe),Pe=this.parent.instruction(he,ye),Array.prototype.push.apply(this.parent.children,we),this},pe.prototype.instructionAfter=function(he,ye){var Pe,Oe,we;return Oe=this.parent.children.indexOf(this),we=this.parent.children.splice(Oe+1),Pe=this.parent.instruction(he,ye),Array.prototype.push.apply(this.parent.children,we),this},pe.prototype.declaration=function(he,ye,Pe){var Oe,we;return Oe=this.document(),we=new le(Oe,he,ye,Pe),Oe.children.length===0?Oe.children.unshift(we):Oe.children[0].type===te.Declaration?Oe.children[0]=we:Oe.children.unshift(we),Oe.root()||Oe},pe.prototype.dtd=function(he,ye){var Pe,Oe,we,Te,Me,Fe,$e,Ve,Re,st;for(Oe=this.document(),we=new de(Oe,he,ye),Re=Oe.children,Te=Me=0,$e=Re.length;Me<$e;Te=++Me)if(Pe=Re[Te],Pe.type===te.DocType)return Oe.children[Te]=we,we;for(st=Oe.children,Te=Fe=0,Ve=st.length;Fe<Ve;Te=++Fe)if(Pe=st[Te],Pe.isRoot)return Oe.children.splice(Te,0,we),we;return Oe.children.push(we),we},pe.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},pe.prototype.root=function(){var he;for(he=this;he;){if(he.type===te.Document)return he.rootObject;if(he.isRoot)return he;he=he.parent}},pe.prototype.document=function(){var he;for(he=this;he;){if(he.type===te.Document)return he;he=he.parent}},pe.prototype.end=function(he){return this.document().end(he)},pe.prototype.prev=function(){var he;if(he=this.parent.children.indexOf(this),he<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[he-1]},pe.prototype.next=function(){var he;if(he=this.parent.children.indexOf(this),he===-1||he===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[he+1]},pe.prototype.importDocument=function(he){var ye;return ye=he.root().clone(),ye.parent=this,ye.isRoot=!1,this.children.push(ye),this},pe.prototype.debugInfo=function(he){var ye,Pe;return he=he||this.name,he==null&&!((ye=this.parent)!=null&&ye.name)?"":he==null?"parent: <"+this.parent.name+">":(Pe=this.parent)!=null&&Pe.name?"node: <"+he+">, parent: <"+this.parent.name+">":"node: <"+he+">"},pe.prototype.ele=function(he,ye,Pe){return this.element(he,ye,Pe)},pe.prototype.nod=function(he,ye,Pe){return this.node(he,ye,Pe)},pe.prototype.txt=function(he){return this.text(he)},pe.prototype.dat=function(he){return this.cdata(he)},pe.prototype.com=function(he){return this.comment(he)},pe.prototype.ins=function(he,ye){return this.instruction(he,ye)},pe.prototype.doc=function(){return this.document()},pe.prototype.dec=function(he,ye,Pe){return this.declaration(he,ye,Pe)},pe.prototype.e=function(he,ye,Pe){return this.element(he,ye,Pe)},pe.prototype.n=function(he,ye,Pe){return this.node(he,ye,Pe)},pe.prototype.t=function(he){return this.text(he)},pe.prototype.d=function(he){return this.cdata(he)},pe.prototype.c=function(he){return this.comment(he)},pe.prototype.r=function(he){return this.raw(he)},pe.prototype.i=function(he,ye){return this.instruction(he,ye)},pe.prototype.u=function(){return this.up()},pe.prototype.importXMLBuilder=function(he){return this.importDocument(he)},pe.prototype.replaceChild=function(he,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.removeChild=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.appendChild=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.hasChildNodes=function(){return this.children.length!==0},pe.prototype.cloneNode=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isSupported=function(he,ye){return!0},pe.prototype.hasAttributes=function(){return this.attribs.length!==0},pe.prototype.compareDocumentPosition=function(he){var ye,Pe;return ye=this,ye===he?0:this.document()!==he.document()?(Pe=oe.Disconnected|oe.ImplementationSpecific,Math.random()<.5?Pe|=oe.Preceding:Pe|=oe.Following,Pe):ye.isAncestor(he)?oe.Contains|oe.Preceding:ye.isDescendant(he)?oe.Contains|oe.Following:ye.isPreceding(he)?oe.Preceding:oe.Following},pe.prototype.isSameNode=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupPrefix=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isDefaultNamespace=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupNamespaceURI=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isEqualNode=function(he){var ye,Pe,Oe;if(he.nodeType!==this.nodeType||he.children.length!==this.children.length)return!1;for(ye=Pe=0,Oe=this.children.length-1;0<=Oe?Pe<=Oe:Pe>=Oe;ye=0<=Oe?++Pe:--Pe)if(!this.children[ye].isEqualNode(he.children[ye]))return!1;return!0},pe.prototype.getFeature=function(he,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.setUserData=function(he,ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.getUserData=function(he){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.contains=function(he){return he?he===this||this.isDescendant(he):!1},pe.prototype.isDescendant=function(he){var ye,Pe,Oe,we,Te;for(Te=this.children,Oe=0,we=Te.length;Oe<we;Oe++)if(ye=Te[Oe],he===ye||(Pe=ye.isDescendant(he),Pe))return!0;return!1},pe.prototype.isAncestor=function(he){return he.isDescendant(this)},pe.prototype.isPreceding=function(he){var ye,Pe;return ye=this.treePosition(he),Pe=this.treePosition(this),ye===-1||Pe===-1?!1:ye<Pe},pe.prototype.isFollowing=function(he){var ye,Pe;return ye=this.treePosition(he),Pe=this.treePosition(this),ye===-1||Pe===-1?!1:ye>Pe},pe.prototype.treePosition=function(he){var ye,Pe;return Pe=0,ye=!1,this.foreachTreeNode(this.document(),function(Oe){if(Pe++,!ye&&Oe===he)return ye=!0}),ye?Pe:-1},pe.prototype.foreachTreeNode=function(he,ye){var Pe,Oe,we,Te,Me;for(he||(he=this.document()),Te=he.children,Oe=0,we=Te.length;Oe<we;Oe++){if(Pe=Te[Oe],Me=ye(Pe))return Me;if(Me=this.foreachTreeNode(Pe,ye),Me)return Me}},pe}()}).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,Se,ge){(function(){var oe;Se.exports=oe=function(){function te(ue){this.nodes=ue}return Object.defineProperty(te.prototype,"length",{get:function(){return this.nodes.length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.item=function(ue){return this.nodes[ue]||null},te}()}).call(this)},{}],452:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),Se.exports=ue=function(de){ce(ae,de);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=oe.ProcessingInstruction,this.target=this.stringify.insTarget(ne),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ie))},ae.prototype.isEqualNode=function(ie){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(ie)||ie.target!==this.target)},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLNode"),Se.exports=ue=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=oe.Raw,this.value=this.stringify.raw(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.raw(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,Se,ge){(function(){var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;oe=E("./NodeType"),ce=E("./XMLWriterBase"),te=E("./WriterState"),Se.exports=ue=function(ae){le(ie,ae);function ie(ne,a){this.stream=ne,ie.__super__.constructor.call(this,a)}return ie.prototype.endline=function(ne,a,y){return ne.isLastRootNode&&a.state===te.CloseTag?"":ie.__super__.endline.call(this,ne,a,y)},ie.prototype.document=function(ne,a){var y,x,b,z,ee,re,se,fe,ve;for(se=ne.children,x=b=0,ee=se.length;b<ee;x=++b)y=se[x],y.isLastRootNode=x===ne.children.length-1;for(a=this.filterOptions(a),fe=ne.children,ve=[],z=0,re=fe.length;z<re;z++)y=fe[z],ve.push(this.writeChildNode(y,a,0));return ve},ie.prototype.attribute=function(ne,a,y){return this.stream.write(ie.__super__.attribute.call(this,ne,a,y))},ie.prototype.cdata=function(ne,a,y){return this.stream.write(ie.__super__.cdata.call(this,ne,a,y))},ie.prototype.comment=function(ne,a,y){return this.stream.write(ie.__super__.comment.call(this,ne,a,y))},ie.prototype.declaration=function(ne,a,y){return this.stream.write(ie.__super__.declaration.call(this,ne,a,y))},ie.prototype.docType=function(ne,a,y){var x,b,z,ee;if(y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)),this.stream.write("<!DOCTYPE "+ne.root().name),ne.pubID&&ne.sysID?this.stream.write(' PUBLIC "'+ne.pubID+'" "'+ne.sysID+'"'):ne.sysID&&this.stream.write(' SYSTEM "'+ne.sysID+'"'),ne.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b<z;b++)x=ee[b],this.writeChildNode(x,a,y+1);a.state=te.CloseTag,this.stream.write("]")}return a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var x,b,z,ee,re,se,fe,ve,me,pe;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),me=ne.attribs;for(fe in me)de.call(me,fe)&&(x=me[fe],this.attribute(x,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(he){return(he.type===oe.Text||he.type===oe.Raw)&&he.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("</"+ne.name+">")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===oe.Text||ee.type===oe.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("</"+ne.name+">");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,pe=ne.children,re=0,se=pe.length;re<se;re++)b=pe[re],this.writeChildNode(b,a,y+1);a.state=te.CloseTag,this.stream.write(this.indent(ne,a,y)+"</"+ne.name+">")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(ce)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,Se,ge){(function(){var oe,te,ue=function(le,de){for(var ae in de)ce.call(de,ae)&&(le[ae]=de[ae]);function ie(){this.constructor=le}return ie.prototype=de.prototype,le.prototype=new ie,le.__super__=de.prototype,le},ce={}.hasOwnProperty;te=E("./XMLWriterBase"),Se.exports=oe=function(le){ue(de,le);function de(ae){de.__super__.constructor.call(this,ae)}return de.prototype.document=function(ae,ie){var ne,a,y,x,b;for(ie=this.filterOptions(ie),x="",b=ae.children,a=0,y=b.length;a<y;a++)ne=b[a],x+=this.writeChildNode(ne,ie,0);return ie.pretty&&x.slice(-ie.newline.length)===ie.newline&&(x=x.slice(0,-ie.newline.length)),x},de}(te)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,Se,ge){(function(){var oe,te=function(ce,le){return function(){return ce.apply(le,arguments)}},ue={}.hasOwnProperty;Se.exports=oe=function(){function ce(le){this.assertLegalName=te(this.assertLegalName,this),this.assertLegalChar=te(this.assertLegalChar,this);var de,ae,ie;le||(le={}),this.options=le,this.options.version||(this.options.version="1.0"),ae=le.stringify||{};for(de in ae)ue.call(ae,de)&&(ie=ae[de],this[de]=ie)}return ce.prototype.name=function(le){return this.options.noValidation?le:this.assertLegalName(""+le||"")},ce.prototype.text=function(le){return this.options.noValidation?le:this.assertLegalChar(this.textEscape(""+le||""))},ce.prototype.cdata=function(le){return this.options.noValidation?le:(le=""+le||"",le=le.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(le))},ce.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},ce.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},ce.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},ce.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},ce.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},ce.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},ce.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},ce.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.convertAttKey="@",ce.prototype.convertPIKey="?",ce.prototype.convertTextKey="#text",ce.prototype.convertCDataKey="#cdata",ce.prototype.convertCommentKey="#comment",ce.prototype.convertRawKey="#raw",ce.prototype.assertLegalChar=function(le){var de,ae;if(this.options.noValidation)return le;if(de="",this.options.version==="1.0"){if(de=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(de))throw new Error("Invalid character in string: "+le+" at index "+ae.index)}else if(this.options.version==="1.1"&&(de=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(de)))throw new Error("Invalid character in string: "+le+" at index "+ae.index);return le},ce.prototype.assertLegalName=function(le){var de;if(this.options.noValidation)return le;if(this.assertLegalChar(le),de=/^([: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])*$/,!le.match(de))throw new Error("Invalid character in name");return le},ce.prototype.textEscape=function(le){var de;return this.options.noValidation?le:(de=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(de,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},ce.prototype.attEscape=function(le){var de;return this.options.noValidation?le:(de=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(de,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},ce}()}).call(this)},{}],457:[function(E,Se,ge){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),Se.exports=ue=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=oe.Text,this.value=this.stringify.text(ne)}return Object.defineProperty(ae.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(ae.prototype,"wholeText",{get:function(){var ie,ne,a;for(a="",ne=this.previousSibling;ne;)a=ne.data+a,ne=ne.previousSibling;for(a+=this.data,ie=this.nextSibling;ie;)a=a+ie.data,ie=ie.nextSibling;return a}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.text(this,this.options.writer.filterOptions(ie))},ae.prototype.splitText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceWholeText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a,y,x,b,z,ee,re,se,fe={}.hasOwnProperty;se=E("./Utility").assign,oe=E("./NodeType"),ne=E("./XMLDeclaration"),a=E("./XMLDocType"),ue=E("./XMLCData"),ce=E("./XMLComment"),x=E("./XMLElement"),z=E("./XMLRaw"),ee=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),le=E("./XMLDTDAttList"),de=E("./XMLDTDElement"),ae=E("./XMLDTDEntity"),ie=E("./XMLDTDNotation"),te=E("./WriterState"),Se.exports=re=function(){function ve(me){var pe,he,ye;me||(me={}),this.options=me,he=me.writer||{};for(pe in he)fe.call(he,pe)&&(ye=he[pe],this["_"+pe]=this[pe],this[pe]=ye)}return ve.prototype.filterOptions=function(me){var pe,he,ye,Pe,Oe,we,Te,Me;return me||(me={}),me=se({},this.options,me),pe={writer:this},pe.pretty=me.pretty||!1,pe.allowEmpty=me.allowEmpty||!1,pe.indent=(he=me.indent)!=null?he:" ",pe.newline=(ye=me.newline)!=null?ye:`
`,pe.offset=(Pe=me.offset)!=null?Pe:0,pe.dontPrettyTextNodes=(Oe=(we=me.dontPrettyTextNodes)!=null?we:me.dontprettytextnodes)!=null?Oe:0,pe.spaceBeforeSlash=(Te=(Me=me.spaceBeforeSlash)!=null?Me:me.spacebeforeslash)!=null?Te:"",pe.spaceBeforeSlash===!0&&(pe.spaceBeforeSlash=" "),pe.suppressPrettyCount=0,pe.user={},pe.state=te.None,pe},ve.prototype.indent=function(me,pe,he){var ye;return!pe.pretty||pe.suppressPrettyCount?"":pe.pretty&&(ye=(he||0)+pe.offset+1,ye>0)?new Array(ye).join(pe.indent):""},ve.prototype.endline=function(me,pe,he){return!pe.pretty||pe.suppressPrettyCount?"":pe.newline},ve.prototype.attribute=function(me,pe,he){var ye;return this.openAttribute(me,pe,he),ye=" "+me.name+'="'+me.value+'"',this.closeAttribute(me,pe,he),ye},ve.prototype.cdata=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<![CDATA[",pe.state=te.InsideTag,ye+=me.value,pe.state=te.CloseTag,ye+="]]>"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.comment=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<!-- ",pe.state=te.InsideTag,ye+=me.value,pe.state=te.CloseTag,ye+=" -->"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.declaration=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<?xml",pe.state=te.InsideTag,ye+=' version="'+me.version+'"',me.encoding!=null&&(ye+=' encoding="'+me.encoding+'"'),me.standalone!=null&&(ye+=' standalone="'+me.standalone+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+"?>",ye+=this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.docType=function(me,pe,he){var ye,Pe,Oe,we,Te;if(he||(he=0),this.openNode(me,pe,he),pe.state=te.OpenTag,we=this.indent(me,pe,he),we+="<!DOCTYPE "+me.root().name,me.pubID&&me.sysID?we+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(we+=' SYSTEM "'+me.sysID+'"'),me.children.length>0){for(we+=" [",we+=this.endline(me,pe,he),pe.state=te.InsideTag,Te=me.children,Pe=0,Oe=Te.length;Pe<Oe;Pe++)ye=Te[Pe],we+=this.writeChildNode(ye,pe,he+1);pe.state=te.CloseTag,we+="]"}return pe.state=te.CloseTag,we+=pe.spaceBeforeSlash+">",we+=this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),we},ve.prototype.element=function(me,pe,he){var ye,Pe,Oe,we,Te,Me,Fe,$e,Ve,Re,st,rt,et,qe;he||(he=0),Re=!1,st="",this.openNode(me,pe,he),pe.state=te.OpenTag,st+=this.indent(me,pe,he)+"<"+me.name,rt=me.attribs;for(Ve in rt)fe.call(rt,Ve)&&(ye=rt[Ve],st+=this.attribute(ye,pe,he));if(Oe=me.children.length,we=Oe===0?null:me.children[0],Oe===0||me.children.every(function(ze){return(ze.type===oe.Text||ze.type===oe.Raw)&&ze.value===""}))pe.allowEmpty?(st+=">",pe.state=te.CloseTag,st+="</"+me.name+">"+this.endline(me,pe,he)):(pe.state=te.CloseTag,st+=pe.spaceBeforeSlash+"/>"+this.endline(me,pe,he));else if(pe.pretty&&Oe===1&&(we.type===oe.Text||we.type===oe.Raw)&&we.value!=null)st+=">",pe.state=te.InsideTag,pe.suppressPrettyCount++,Re=!0,st+=this.writeChildNode(we,pe,he+1),pe.suppressPrettyCount--,Re=!1,pe.state=te.CloseTag,st+="</"+me.name+">"+this.endline(me,pe,he);else{if(pe.dontPrettyTextNodes){for(et=me.children,Te=0,Fe=et.length;Te<Fe;Te++)if(Pe=et[Te],(Pe.type===oe.Text||Pe.type===oe.Raw)&&Pe.value!=null){pe.suppressPrettyCount++,Re=!0;break}}for(st+=">"+this.endline(me,pe,he),pe.state=te.InsideTag,qe=me.children,Me=0,$e=qe.length;Me<$e;Me++)Pe=qe[Me],st+=this.writeChildNode(Pe,pe,he+1);pe.state=te.CloseTag,st+=this.indent(me,pe,he)+"</"+me.name+">",Re&&pe.suppressPrettyCount--,st+=this.endline(me,pe,he),pe.state=te.None}return this.closeNode(me,pe,he),st},ve.prototype.writeChildNode=function(me,pe,he){switch(me.type){case oe.CData:return this.cdata(me,pe,he);case oe.Comment:return this.comment(me,pe,he);case oe.Element:return this.element(me,pe,he);case oe.Raw:return this.raw(me,pe,he);case oe.Text:return this.text(me,pe,he);case oe.ProcessingInstruction:return this.processingInstruction(me,pe,he);case oe.Dummy:return"";case oe.Declaration:return this.declaration(me,pe,he);case oe.DocType:return this.docType(me,pe,he);case oe.AttributeDeclaration:return this.dtdAttList(me,pe,he);case oe.ElementDeclaration:return this.dtdElement(me,pe,he);case oe.EntityDeclaration:return this.dtdEntity(me,pe,he);case oe.NotationDeclaration:return this.dtdNotation(me,pe,he);default:throw new Error("Unknown XML node type: "+me.constructor.name)}},ve.prototype.processingInstruction=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<?",pe.state=te.InsideTag,ye+=me.target,me.value&&(ye+=" "+me.value),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+"?>",ye+=this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.raw=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he),pe.state=te.InsideTag,ye+=me.value,pe.state=te.CloseTag,ye+=this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.text=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he),pe.state=te.InsideTag,ye+=me.value,pe.state=te.CloseTag,ye+=this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.dtdAttList=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<!ATTLIST",pe.state=te.InsideTag,ye+=" "+me.elementName+" "+me.attributeName+" "+me.attributeType,me.defaultValueType!=="#DEFAULT"&&(ye+=" "+me.defaultValueType),me.defaultValue&&(ye+=' "'+me.defaultValue+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.dtdElement=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<!ELEMENT",pe.state=te.InsideTag,ye+=" "+me.name+" "+me.value,pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.dtdEntity=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<!ENTITY",pe.state=te.InsideTag,me.pe&&(ye+=" %"),ye+=" "+me.name,me.value?ye+=' "'+me.value+'"':(me.pubID&&me.sysID?ye+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(ye+=' SYSTEM "'+me.sysID+'"'),me.nData&&(ye+=" NDATA "+me.nData)),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.dtdNotation=function(me,pe,he){var ye;return this.openNode(me,pe,he),pe.state=te.OpenTag,ye=this.indent(me,pe,he)+"<!NOTATION",pe.state=te.InsideTag,ye+=" "+me.name,me.pubID&&me.sysID?ye+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.pubID?ye+=' PUBLIC "'+me.pubID+'"':me.sysID&&(ye+=' SYSTEM "'+me.sysID+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(me,pe,he),pe.state=te.None,this.closeNode(me,pe,he),ye},ve.prototype.openNode=function(me,pe,he){},ve.prototype.closeNode=function(me,pe,he){},ve.prototype.openAttribute=function(me,pe,he){},ve.prototype.closeAttribute=function(me,pe,he){},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,Se,ge){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a;a=E("./Utility"),ie=a.assign,ne=a.isFunction,ue=E("./XMLDOMImplementation"),ce=E("./XMLDocument"),le=E("./XMLDocumentCB"),ae=E("./XMLStringWriter"),de=E("./XMLStreamWriter"),oe=E("./NodeType"),te=E("./WriterState"),Se.exports.create=function(y,x,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},x,b,z),ee=new ce(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},Se.exports.begin=function(y,x,b){var z;return ne(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new le(y,x,b):new ce(y)},Se.exports.stringWriter=function(y){return new ae(y)},Se.exports.streamWriter=function(y,x){return new de(y,x)},Se.exports.implementation=new ue,Se.exports.nodeType=oe,Se.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,Se,ge){Se.exports=te;var oe=Object.prototype.hasOwnProperty;function te(){for(var ue={},ce=0;ce<arguments.length;ce++){var le=arguments[ce];for(var de in le)oe.call(le,de)&&(ue[de]=le[de])}return ue}},{}],461:[function(E,Se,ge){"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 oe=E("buffer").Buffer,te=E("./sha"),ue=E("./md5"),ce={sha1:te,md5:ue},le=64,de=oe.alloc(le);de.fill(0);function ae(a,y,x){oe.isBuffer(y)||(y=oe.from(y)),oe.isBuffer(x)||(x=oe.from(x)),y.length>le?y=a(y):y.length<le&&(y=oe.concat([y,de],le));for(var b=oe.alloc(le),z=oe.alloc(le),ee=0;ee<le;ee++)b[ee]=y[ee]^54,z[ee]=y[ee]^92;var re=a(oe.concat([b,x]));return a(oe.concat([z,re]))}function ie(a,y){a=a||"sha1";var x=ce[a],b=[],z=0;return x||ne("algorithm:",a,"is not yet supported"),{update:function(re){return oe.isBuffer(re)||(re=oe.from(re)),b.push(re),z+=re.length,this},digest:function(re){var se=oe.concat(b),fe=y?ae(x,y,se):x(se);return b=null,re?fe.toString(re):fe}}}function ne(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}ge.createHash=function(a){return ie(a)},ge.createHmac=function(a,y){return ie(a,y)},ge.createCredentials=function(){ne("sorry,createCredentials is not implemented yet")},ge.createCipher=function(){ne("sorry,createCipher is not implemented yet")},ge.createCipheriv=function(){ne("sorry,createCipheriv is not implemented yet")},ge.createDecipher=function(){ne("sorry,createDecipher is not implemented yet")},ge.createDecipheriv=function(){ne("sorry,createDecipheriv is not implemented yet")},ge.createSign=function(){ne("sorry,createSign is not implemented yet")},ge.createVerify=function(){ne("sorry,createVerify is not implemented yet")},ge.createDiffieHellman=function(){ne("sorry,createDiffieHellman is not implemented yet")},ge.pbkdf2=function(){ne("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,Se,ge){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var oe=E("buffer").Buffer,te=4,ue=oe.alloc(te);ue.fill(0);var ce=8;function le(ie,ne){if(ie.length%te!==0){var a=ie.length+(te-ie.length%te);ie=oe.concat([ie,ue],a)}for(var y=[],x=ne?ie.readInt32BE:ie.readInt32LE,b=0;b<ie.length;b+=te)y.push(x.call(ie,b));return y}function de(ie,ne,a){for(var y=oe.alloc(ne),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ie.length;b++)x.call(y,ie[b],b*4,!0);return y}function ae(ie,ne,a,y){oe.isBuffer(ie)||(ie=oe.from(ie));var x=ne(le(ie,y),ie.length*ce);return de(x,a,y)}Se.exports={hash:ae}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,Se,ge){"use strict";var oe=E("./helpers");function te(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ue(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,se=0;se<y.length;se+=16){var fe=b,ve=z,me=ee,pe=re;b=le(b,z,ee,re,y[se+0],7,-680876936),re=le(re,b,z,ee,y[se+1],12,-389564586),ee=le(ee,re,b,z,y[se+2],17,606105819),z=le(z,ee,re,b,y[se+3],22,-1044525330),b=le(b,z,ee,re,y[se+4],7,-176418897),re=le(re,b,z,ee,y[se+5],12,1200080426),ee=le(ee,re,b,z,y[se+6],17,-1473231341),z=le(z,ee,re,b,y[se+7],22,-45705983),b=le(b,z,ee,re,y[se+8],7,1770035416),re=le(re,b,z,ee,y[se+9],12,-1958414417),ee=le(ee,re,b,z,y[se+10],17,-42063),z=le(z,ee,re,b,y[se+11],22,-1990404162),b=le(b,z,ee,re,y[se+12],7,1804603682),re=le(re,b,z,ee,y[se+13],12,-40341101),ee=le(ee,re,b,z,y[se+14],17,-1502002290),z=le(z,ee,re,b,y[se+15],22,1236535329),b=de(b,z,ee,re,y[se+1],5,-165796510),re=de(re,b,z,ee,y[se+6],9,-1069501632),ee=de(ee,re,b,z,y[se+11],14,643717713),z=de(z,ee,re,b,y[se+0],20,-373897302),b=de(b,z,ee,re,y[se+5],5,-701558691),re=de(re,b,z,ee,y[se+10],9,38016083),ee=de(ee,re,b,z,y[se+15],14,-660478335),z=de(z,ee,re,b,y[se+4],20,-405537848),b=de(b,z,ee,re,y[se+9],5,568446438),re=de(re,b,z,ee,y[se+14],9,-1019803690),ee=de(ee,re,b,z,y[se+3],14,-187363961),z=de(z,ee,re,b,y[se+8],20,1163531501),b=de(b,z,ee,re,y[se+13],5,-1444681467),re=de(re,b,z,ee,y[se+2],9,-51403784),ee=de(ee,re,b,z,y[se+7],14,1735328473),z=de(z,ee,re,b,y[se+12],20,-1926607734),b=ae(b,z,ee,re,y[se+5],4,-378558),re=ae(re,b,z,ee,y[se+8],11,-2022574463),ee=ae(ee,re,b,z,y[se+11],16,1839030562),z=ae(z,ee,re,b,y[se+14],23,-35309556),b=ae(b,z,ee,re,y[se+1],4,-1530992060),re=ae(re,b,z,ee,y[se+4],11,1272893353),ee=ae(ee,re,b,z,y[se+7],16,-155497632),z=ae(z,ee,re,b,y[se+10],23,-1094730640),b=ae(b,z,ee,re,y[se+13],4,681279174),re=ae(re,b,z,ee,y[se+0],11,-358537222),ee=ae(ee,re,b,z,y[se+3],16,-722521979),z=ae(z,ee,re,b,y[se+6],23,76029189),b=ae(b,z,ee,re,y[se+9],4,-640364487),re=ae(re,b,z,ee,y[se+12],11,-421815835),ee=ae(ee,re,b,z,y[se+15],16,530742520),z=ae(z,ee,re,b,y[se+2],23,-995338651),b=ie(b,z,ee,re,y[se+0],6,-198630844),re=ie(re,b,z,ee,y[se+7],10,1126891415),ee=ie(ee,re,b,z,y[se+14],15,-1416354905),z=ie(z,ee,re,b,y[se+5],21,-57434055),b=ie(b,z,ee,re,y[se+12],6,1700485571),re=ie(re,b,z,ee,y[se+3],10,-1894986606),ee=ie(ee,re,b,z,y[se+10],15,-1051523),z=ie(z,ee,re,b,y[se+1],21,-2054922799),b=ie(b,z,ee,re,y[se+8],6,1873313359),re=ie(re,b,z,ee,y[se+15],10,-30611744),ee=ie(ee,re,b,z,y[se+6],15,-1560198380),z=ie(z,ee,re,b,y[se+13],21,1309151649),b=ie(b,z,ee,re,y[se+4],6,-145523070),re=ie(re,b,z,ee,y[se+11],10,-1120210379),ee=ie(ee,re,b,z,y[se+2],15,718787259),z=ie(z,ee,re,b,y[se+9],21,-343485551),b=ne(b,fe),z=ne(z,ve),ee=ne(ee,me),re=ne(re,pe)}return Array(b,z,ee,re)}function ce(y,x,b,z,ee,re){return ne(a(ne(ne(x,y),ne(z,re)),ee),b)}function le(y,x,b,z,ee,re,se){return ce(x&b|~x&z,y,x,ee,re,se)}function de(y,x,b,z,ee,re,se){return ce(x&z|b&~z,y,x,ee,re,se)}function ae(y,x,b,z,ee,re,se){return ce(x^b^z,y,x,ee,re,se)}function ie(y,x,b,z,ee,re,se){return ce(b^(x|~z),y,x,ee,re,se)}function ne(y,x){var b=(y&65535)+(x&65535),z=(y>>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}Se.exports=function(x){return oe.hash(x,ue,16)}},{"./helpers":462}],464:[function(E,Se,ge){"use strict";var oe=E("./helpers");function te(ae,ie){ae[ie>>5]|=128<<24-ie%32,ae[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,ee=0;ee<ae.length;ee+=16){for(var re=a,se=y,fe=x,ve=b,me=z,pe=0;pe<80;pe++){pe<16?ne[pe]=ae[ee+pe]:ne[pe]=de(ne[pe-3]^ne[pe-8]^ne[pe-14]^ne[pe-16],1);var he=le(le(de(a,5),ue(pe,y,x,b)),le(le(z,ne[pe]),ce(pe)));z=b,b=x,x=de(y,30),y=a,a=he}a=le(a,re),y=le(y,se),x=le(x,fe),b=le(b,ve),z=le(z,me)}return Array(a,y,x,b,z)}function ue(ae,ie,ne,a){return ae<20?ie&ne|~ie&a:ae<40?ie^ne^a:ae<60?ie&ne|ie&a|ne&a:ie^ne^a}function ce(ae){return ae<20?1518500249:ae<40?1859775393:ae<60?-1894007588:-899497514}function le(ae,ie){var ne=(ae&65535)+(ie&65535),a=(ae>>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function de(ae,ie){return ae<<ie|ae>>>32-ie}Se.exports=function(ie){return oe.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(E,Se,ge){"use strict";Se.exports=function(){return function(){}}},{}],466:[function(E,Se,ge){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/helpers/typeof")),ce=E("stream"),le=ce.Stream,de=E("../lib/common/utils/isArray"),ae=de.isArray;Se.exports.string=function(a){return typeof a=="string"},Se.exports.array=ae,Se.exports.buffer=oe.isBuffer;function ie(ne){return ne instanceof le}Se.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,ue.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,Se,ge){"use strict";var oe=E("immediate"),te=Se.exports={};te.nextTick=oe,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function ue(){}te.on=ue,te.addListener=ue,te.once=ue,te.off=ue,te.removeListener=ue,te.removeAllListeners=ue,te.emit=ue,te.prependListener=ue,te.prependOnceListener=ue,te.listeners=function(ce){return[]},te.binding=function(ce){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(ce){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(E,Se,ge){(function(oe){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var te=E("./lib/request"),ue=E("./lib/response"),ce=E("xtend"),le=E("builtin-status-codes"),de=E("url"),ae=ge;ae.request=function(ie,ne){typeof ie=="string"?ie=de.parse(ie):ie=ce(ie);var a=oe.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,x=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ie.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ie.method=(ie.method||"GET").toUpperCase(),ie.headers=ie.headers||{};var ee=new te(ie);return ne&&ee.on("response",ne),ee},ae.get=function(ne,a){var y=ae.request(ne,a);return y.end(),y},ae.ClientRequest=te,ae.IncomingMessage=ue.IncomingMessage,ae.Agent=function(){},ae.Agent.defaultMaxSockets=4,ae.globalAgent=new ae.Agent,ae.STATUS_CODES=le,ae.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 Pt!="undefined"?Pt: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,Se,ge){(function(oe){(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"),ge.fetch=ae(oe.fetch)&&ae(oe.ReadableStream),ge.writableStream=ae(oe.WritableStream),ge.abortController=ae(oe.AbortController),ge.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),ge.blobConstructor=!0}catch(ie){}var te;function ue(){if(te!==void 0)return te;if(oe.XMLHttpRequest){te=new oe.XMLHttpRequest;try{te.open("GET",oe.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function ce(ie){var ne=ue();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var le=typeof oe.ArrayBuffer!="undefined",de=le&&ae(oe.ArrayBuffer.prototype.slice);ge.arraybuffer=ge.fetch||le&&ce("arraybuffer"),ge.msstream=!ge.fetch&&de&&ce("ms-stream"),ge.mozchunkedarraybuffer=!ge.fetch&&le&&ce("moz-chunked-arraybuffer"),ge.overrideMimeType=ge.fetch||(ue()?ae(ue().overrideMimeType):!1),ge.vbArray=ae(oe.VBArray);function ae(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof Pt!="undefined"?Pt: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,Se,ge){(function(oe,te,ue){(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 ce=E("./capability"),le=E("inherits"),de=E("./response"),ae=E("readable-stream"),ie=E("to-arraybuffer"),ne=de.IncomingMessage,a=de.readyStates;function y(ee,re){return ce.fetch&&re?"fetch":ce.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ce.msstream?"ms-stream":ce.arraybuffer&&ee?"arraybuffer":ce.vbArray&&ee?"text:vbarray":"text"}var x=Se.exports=function(ee){var re=this;ae.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new ue(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(ve){re.setHeader(ve,ee.headers[ve])});var se,fe=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!ce.abortController)fe=!1,se=!0;else if(ee.mode==="prefer-streaming")se=!1;else if(ee.mode==="allow-wrong-content-type")se=!ce.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")se=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(se,fe),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};le(x,ae.Writable),x.prototype.setHeader=function(ee,re){var se=this,fe=ee.toLowerCase();z.indexOf(fe)===-1&&(se._headers[fe]={name:ee,value:re})},x.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},x.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},x.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,se=ee._headers,fe=null;re.method!=="GET"&&re.method!=="HEAD"&&(ce.arraybuffer?fe=ie(ue.concat(ee._body)):ce.blobConstructor?fe=new te.Blob(ee._body.map(function(Pe){return ie(Pe)}),{type:(se["content-type"]||{}).value||""}):fe=ue.concat(ee._body).toString());var ve=[];if(Object.keys(se).forEach(function(Pe){var Oe=se[Pe].name,we=se[Pe].value;Array.isArray(we)?we.forEach(function(Te){ve.push([Oe,Te])}):ve.push([Oe,we])}),ee._mode==="fetch"){var me=null,pe=null;if(ce.abortController){var he=new AbortController;me=he.signal,ee._fetchAbortController=he,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:fe||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:me}).then(function(Pe){ee._fetchResponse=Pe,ee._connect()},function(Pe){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",Pe)})}else{var ye=ee._xhr=new te.XMLHttpRequest;try{ye.open(ee._opts.method,ee._opts.url,!0)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}"responseType"in ye&&(ye.responseType=ee._mode.split(":")[0]),"withCredentials"in ye&&(ye.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in ye&&ye.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(ye.timeout=re.requestTimeout,ye.ontimeout=function(){ee.emit("requestTimeout")}),ve.forEach(function(Pe){ye.setRequestHeader(Pe[0],Pe[1])}),ee._response=null,ye.onreadystatechange=function(){switch(ye.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(ye.onprogress=function(){ee._onXHRProgress()}),ye.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{ye.send(fe)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(se){return!1}}x.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},x.prototype._connect=function(){var ee=this;ee._destroyed||(ee._response=new ne(ee._xhr,ee._fetchResponse,ee._mode,ee._fetchTimer),ee._response.on("error",function(re){ee.emit("error",re)}),ee.emit("response",ee._response))},x.prototype._write=function(ee,re,se){var fe=this;fe._body.push(ee),se()},x.prototype.abort=x.prototype.destroy=function(){var ee=this;ee._destroyed=!0,te.clearTimeout(ee._fetchTimer),ee._response&&(ee._response._destroyed=!0),ee._xhr?ee._xhr.abort():ee._fetchAbortController&&ee._fetchAbortController.abort()},x.prototype.end=function(ee,re,se){var fe=this;typeof ee=="function"&&(se=ee,ee=void 0),ae.Writable.prototype.end.call(fe,ee,re,se)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){(function(oe,te,ue){(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 ce=E("./capability"),le=E("inherits"),de=E("readable-stream"),ae=ge.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=ge.IncomingMessage=function(ne,a,y,x){var b=this;if(de.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){oe.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function me(){re.read().then(function(pe){if(!b._destroyed){if(pe.done){te.clearTimeout(x),b.push(null);return}b.push(new ue(pe.value)),me()}}).catch(function(pe){te.clearTimeout(x),b._destroyed||b.emit("error",pe)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(me,pe){b.headers[pe.toLowerCase()]=me,b.rawHeaders.push(pe,me)}),ce.writableStream){var ee=new WritableStream({write:function(pe){return new Promise(function(he,ye){b._destroyed?ye():b.push(new ue(pe))?he():b._resumeFetch=he})},close:function(){te.clearTimeout(x),b._destroyed||b.push(null)},abort:function(pe){b._destroyed||b.emit("error",pe)}});try{a.body.pipeTo(ee).catch(function(me){te.clearTimeout(x),b._destroyed||b.emit("error",me)});return}catch(me){}}var re=a.body.getReader();z()}else{b._xhr=ne,b._pos=0,b.url=ne.responseURL,b.statusCode=ne.status,b.statusMessage=ne.statusText;var se=ne.getAllResponseHeaders().split(/\r?\n/);if(se.forEach(function(me){var pe=me.match(/^([^:]+):\s*(.*)/);if(pe){var he=pe[1].toLowerCase();he==="set-cookie"?(b.headers[he]===void 0&&(b.headers[he]=[]),b.headers[he].push(pe[2])):b.headers[he]!==void 0?b.headers[he]+=", "+pe[2]:b.headers[he]=pe[2],b.rawHeaders.push(pe[1],pe[2])}}),b._charset="x-user-defined",!ce.overrideMimeType){var fe=b.rawHeaders["mime-type"];if(fe){var ve=fe.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};le(ie,de.Readable),ie.prototype._read=function(){var ne=this,a=ne._resumeFetch;a&&(ne._resumeFetch=null,a())},ie.prototype._onXHRProgress=function(){var ne=this,a=ne._xhr,y=null;switch(ne._mode){case"text:vbarray":if(a.readyState!==ae.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new ue(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var x=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new ue(x.length),z=0;z<x.length;z++)b[z]=x.charCodeAt(z)&255;ne.push(b)}else ne.push(x,ne._charset);ne._pos=y.length}break;case"arraybuffer":if(a.readyState!==ae.DONE||!a.response)break;y=a.response,ne.push(new ue(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==ae.LOADING||!y)break;ne.push(new ue(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==ae.LOADING)break;var ee=new te.MSStreamReader;ee.onprogress=function(){ee.result.byteLength>ne._pos&&(ne.push(new ue(new Uint8Array(ee.result.slice(ne._pos)))),ne._pos=ee.result.byteLength)},ee.onload=function(){ne.push(null)},ee.readAsArrayBuffer(y);break}ne._xhr.readyState===ae.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,E("_process"),typeof Pt!="undefined"?Pt: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,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=E("punycode"),ce=E("./util");ge.parse=pe,ge.resolve=ye,ge.resolveObject=Pe,ge.format=he,ge.Url=le;function le(){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 de=/^([a-z0-9.+-]+:)/i,ae=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",`
`," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,se={javascript:!0,"javascript:":!0},fe={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 pe(Oe,we,Te){if(Oe&&ce.isObject(Oe)&&Oe instanceof le)return Oe;var Me=new le;return Me.parse(Oe,we,Te),Me}le.prototype.parse=function(Oe,we,Te){if(!ce.isString(Oe))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Oe));var Me=Oe.indexOf("?"),Fe=Me!==-1&&Me<Oe.indexOf("#")?"?":"#",$e=Oe.split(Fe),Ve=/\\/g;$e[0]=$e[0].replace(Ve,"/"),Oe=$e.join(Fe);var Re=Oe;if(Re=Re.trim(),!Te&&Oe.split("#").length===1){var st=ie.exec(Re);if(st)return this.path=Re,this.href=Re,this.pathname=st[1],st[2]?(this.search=st[2],we?this.query=me.parse(this.search.substr(1)):this.query=this.search.substr(1)):we&&(this.search="",this.query={}),this}var rt=de.exec(Re);if(rt){rt=rt[0];var et=rt.toLowerCase();this.protocol=et,Re=Re.substr(rt.length)}if(Te||rt||Re.match(/^\/\/[^@\/]+@[^@\/]+/)){var qe=Re.substr(0,2)==="//";qe&&!(rt&&fe[rt])&&(Re=Re.substr(2),this.slashes=!0)}if(!fe[rt]&&(qe||rt&&!ve[rt])){for(var ze=-1,ke=0;ke<b.length;ke++){var Be=Re.indexOf(b[ke]);Be!==-1&&(ze===-1||Be<ze)&&(ze=Be)}var Je,Ye;ze===-1?Ye=Re.lastIndexOf("@"):Ye=Re.lastIndexOf("@",ze),Ye!==-1&&(Je=Re.slice(0,Ye),Re=Re.slice(Ye+1),this.auth=decodeURIComponent(Je)),ze=-1;for(var ke=0;ke<x.length;ke++){var Be=Re.indexOf(x[ke]);Be!==-1&&(ze===-1||Be<ze)&&(ze=Be)}ze===-1&&(ze=Re.length),this.host=Re.slice(0,ze),Re=Re.slice(ze),this.parseHost(),this.hostname=this.hostname||"";var dt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!dt)for(var He=this.hostname.split("."),ke=0,Ue=He.length;ke<Ue;ke++){var Le=He[ke];if(Le&&!Le.match(ee)){for(var Ke="",Ee=0,Ie=Le.length;Ee<Ie;Ee++)Le.charCodeAt(Ee)>127?Ke+="x":Ke+=Le[Ee];if(!Ke.match(ee)){var Qe=He.slice(0,ke),Xe=He.slice(ke+1),Ge=Le.match(re);Ge&&(Qe.push(Ge[1]),Xe.unshift(Ge[2])),Xe.length&&(Re="/"+Xe.join(".")+Re),this.hostname=Qe.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),dt||(this.hostname=ue.toASCII(this.hostname));var Ce=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Ce,this.href+=this.host,dt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Re[0]!=="/"&&(Re="/"+Re))}if(!se[et])for(var ke=0,Ue=y.length;ke<Ue;ke++){var je=y[ke];if(Re.indexOf(je)!==-1){var _e=encodeURIComponent(je);_e===je&&(_e=escape(je)),Re=Re.split(je).join(_e)}}var ot=Re.indexOf("#");ot!==-1&&(this.hash=Re.substr(ot),Re=Re.slice(0,ot));var pt=Re.indexOf("?");if(pt!==-1?(this.search=Re.substr(pt),this.query=Re.substr(pt+1),we&&(this.query=me.parse(this.query)),Re=Re.slice(0,pt)):we&&(this.search="",this.query={}),Re&&(this.pathname=Re),ve[et]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ce=this.pathname||"",mt=this.search||"";this.path=Ce+mt}return this.href=this.format(),this};function he(Oe){return ce.isString(Oe)&&(Oe=pe(Oe)),Oe instanceof le?Oe.format():le.prototype.format.call(Oe)}le.prototype.format=function(){var Oe=this.auth||"";Oe&&(Oe=encodeURIComponent(Oe),Oe=Oe.replace(/%3A/i,":"),Oe+="@");var we=this.protocol||"",Te=this.pathname||"",Me=this.hash||"",Fe=!1,$e="";this.host?Fe=Oe+this.host:this.hostname&&(Fe=Oe+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Fe+=":"+this.port)),this.query&&ce.isObject(this.query)&&Object.keys(this.query).length&&($e=me.stringify(this.query));var Ve=this.search||$e&&"?"+$e||"";return we&&we.substr(-1)!==":"&&(we+=":"),this.slashes||(!we||ve[we])&&Fe!==!1?(Fe="//"+(Fe||""),Te&&Te.charAt(0)!=="/"&&(Te="/"+Te)):Fe||(Fe=""),Me&&Me.charAt(0)!=="#"&&(Me="#"+Me),Ve&&Ve.charAt(0)!=="?"&&(Ve="?"+Ve),Te=Te.replace(/[?#]/g,function(Re){return encodeURIComponent(Re)}),Ve=Ve.replace("#","%23"),we+Fe+Te+Ve+Me};function ye(Oe,we){return pe(Oe,!1,!0).resolve(we)}le.prototype.resolve=function(Oe){return this.resolveObject(pe(Oe,!1,!0)).format()};function Pe(Oe,we){return Oe?pe(Oe,!1,!0).resolveObject(we):we}le.prototype.resolveObject=function(Oe){if(ce.isString(Oe)){var we=new le;we.parse(Oe,!1,!0),Oe=we}for(var Te=new le,Me=Object.keys(this),Fe=0;Fe<Me.length;Fe++){var $e=Me[Fe];Te[$e]=this[$e]}if(Te.hash=Oe.hash,Oe.href==="")return Te.href=Te.format(),Te;if(Oe.slashes&&!Oe.protocol){for(var Ve=Object.keys(Oe),Re=0;Re<Ve.length;Re++){var st=Ve[Re];st!=="protocol"&&(Te[st]=Oe[st])}return ve[Te.protocol]&&Te.hostname&&!Te.pathname&&(Te.path=Te.pathname="/"),Te.href=Te.format(),Te}if(Oe.protocol&&Oe.protocol!==Te.protocol){if(!ve[Oe.protocol]){for(var rt=Object.keys(Oe),et=0;et<rt.length;et++){var qe=rt[et];Te[qe]=Oe[qe]}return Te.href=Te.format(),Te}if(Te.protocol=Oe.protocol,!Oe.host&&!fe[Oe.protocol]){for(var Ue=(Oe.pathname||"").split("/");Ue.length&&!(Oe.host=Ue.shift()););Oe.host||(Oe.host=""),Oe.hostname||(Oe.hostname=""),Ue[0]!==""&&Ue.unshift(""),Ue.length<2&&Ue.unshift(""),Te.pathname=Ue.join("/")}else Te.pathname=Oe.pathname;if(Te.search=Oe.search,Te.query=Oe.query,Te.host=Oe.host||"",Te.auth=Oe.auth,Te.hostname=Oe.hostname||Oe.host,Te.port=Oe.port,Te.pathname||Te.search){var ze=Te.pathname||"",ke=Te.search||"";Te.path=ze+ke}return Te.slashes=Te.slashes||Oe.slashes,Te.href=Te.format(),Te}var Be=Te.pathname&&Te.pathname.charAt(0)==="/",Je=Oe.host||Oe.pathname&&Oe.pathname.charAt(0)==="/",Ye=Je||Be||Te.host&&Oe.pathname,dt=Ye,He=Te.pathname&&Te.pathname.split("/")||[],Ue=Oe.pathname&&Oe.pathname.split("/")||[],Le=Te.protocol&&!ve[Te.protocol];if(Le&&(Te.hostname="",Te.port=null,Te.host&&(He[0]===""?He[0]=Te.host:He.unshift(Te.host)),Te.host="",Oe.protocol&&(Oe.hostname=null,Oe.port=null,Oe.host&&(Ue[0]===""?Ue[0]=Oe.host:Ue.unshift(Oe.host)),Oe.host=null),Ye=Ye&&(Ue[0]===""||He[0]==="")),Je)Te.host=Oe.host||Oe.host===""?Oe.host:Te.host,Te.hostname=Oe.hostname||Oe.hostname===""?Oe.hostname:Te.hostname,Te.search=Oe.search,Te.query=Oe.query,He=Ue;else if(Ue.length)He||(He=[]),He.pop(),He=He.concat(Ue),Te.search=Oe.search,Te.query=Oe.query;else if(!ce.isNullOrUndefined(Oe.search)){if(Le){Te.hostname=Te.host=He.shift();var Ke=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;Ke&&(Te.auth=Ke.shift(),Te.host=Te.hostname=Ke.shift())}return Te.search=Oe.search,Te.query=Oe.query,(!ce.isNull(Te.pathname)||!ce.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.href=Te.format(),Te}if(!He.length)return Te.pathname=null,Te.search?Te.path="/"+Te.search:Te.path=null,Te.href=Te.format(),Te;for(var Ee=He.slice(-1)[0],Ie=(Te.host||Oe.host||He.length>1)&&(Ee==="."||Ee==="..")||Ee==="",Qe=0,Xe=He.length;Xe>=0;Xe--)Ee=He[Xe],Ee==="."?He.splice(Xe,1):Ee===".."?(He.splice(Xe,1),Qe++):Qe&&(He.splice(Xe,1),Qe--);if(!Ye&&!dt)for(;Qe--;Qe)He.unshift("..");Ye&&He[0]!==""&&(!He[0]||He[0].charAt(0)!=="/")&&He.unshift(""),Ie&&He.join("/").substr(-1)!=="/"&&He.push("");var Ge=He[0]===""||He[0]&&He[0].charAt(0)==="/";if(Le){Te.hostname=Te.host=Ge?"":He.length?He.shift():"";var Ke=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;Ke&&(Te.auth=Ke.shift(),Te.host=Te.hostname=Ke.shift())}return Ye=Ye||Te.host&&He.length,Ye&&!Ge&&He.unshift(""),He.length?Te.pathname=He.join("/"):(Te.pathname=null,Te.path=null),(!ce.isNull(Te.pathname)||!ce.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.auth=Oe.auth||Te.auth,Te.slashes=Te.slashes||Oe.slashes,Te.href=Te.format(),Te},le.prototype.parseHost=function(){var Oe=this.host,we=ae.exec(Oe);we&&(we=we[0],we!==":"&&(this.port=we.substr(1)),Oe=Oe.substr(0,Oe.length-we.length)),Oe&&(this.hostname=Oe)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,Se,ge){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));Se.exports={isString:function(ce){return typeof ce=="string"},isObject:function(ce){return(0,te.default)(ce)==="object"&&ce!==null},isNull:function(ce){return ce===null},isNullOrUndefined:function(ce){return ce==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,Se,ge){"use strict";E("core-js/modules/es.number.constructor.js"),ge.encodeURIComponent=function(oe){try{return encodeURIComponent(oe)}catch(te){return oe}},ge.escape=E("escape-html"),ge.timestamp=function(te){if(te){var ue=te;return typeof ue=="string"&&(ue=Number(ue)),String(te).length===10&&(ue*=1e3),new Date(ue)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,Se,ge){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),ce=ue(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 le=E("util"),de=E("url"),ae=E("http"),ie=E("https"),ne=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(fe,ve){return fe===void 0?ve:fe}function ee(fe){return fe?fe.split(";")[0].trim().toLowerCase():""}function re(fe,ve){return function(me,pe,he){if(me)return ve(me);fe({data:pe,status:he.statusCode,headers:he.headers,res:he})}}ge.TIMEOUTS=[a("300s"),a("300s")];var se=["json","text"];ge.request=function(ve,me,pe){return arguments.length===2&&typeof me=="function"&&(pe=me,me=null),typeof pe=="function"?ge.requestWithCallback(ve,me,pe):new Promise(function(he,ye){ge.requestWithCallback(ve,me,re(he,ye))})},ge.requestWithCallback=function(ve,me,pe){if(!ve||typeof ve!="string"&&(0,ce.default)(ve)!=="object"){var he=le.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(he)}arguments.length===2&&typeof me=="function"&&(pe=me,me=null),me=me||{},y>=x&&(y=0);var ye=++y;me.requestUrls=me.requestUrls||[];var Pe={requestId:ye,url:ve,args:me,ctx:me.ctx};me.emitter&&me.emitter.emit("request",Pe),me.timeout=me.timeout||ge.TIMEOUTS,me.maxRedirects=me.maxRedirects||10,me.streaming=me.streaming||me.customResponse;var Oe=Date.now(),we;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),we=de.parse(ve)):we=ve;var Te=(me.type||me.method||we.method||"GET").toUpperCase(),Me=we.port||80,Fe=ae,$e=z(me.agent,ge.agent),Ve=me.fixJSONCtlChars;we.protocol==="https:"&&(Fe=ie,$e=z(me.httpsAgent,ge.httpsAgent),we.port||(Me=443));var Re={host:we.hostname||we.host||"localhost",path:we.path||"/",method:Te,port:Me,agent:$e,headers:me.headers||{},lookup:me.lookup};Array.isArray(me.timeout)?Re.requestTimeout=me.timeout[me.timeout.length-1]:typeof me.timeout!="undefined"&&(Re.requestTimeout=me.timeout);var st=me.auth||we.auth;st&&(Re.auth=st);var rt=me.content||me.data,et=Te==="GET"||Te==="HEAD"||me.dataAsQueryString;if(!me.content&&rt&&!(typeof rt=="string"||te.isBuffer(rt)))if(et)rt=me.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt);else{var qe=Re.headers["Content-Type"]||Re.headers["content-type"];qe||(me.contentType==="json"?qe="application/json":qe="application/x-www-form-urlencoded",Re.headers["Content-Type"]=qe),ee(qe)==="application/json"?rt=JSON.stringify(rt):rt=me.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt)}et&&rt&&(Re.path+=(we.query?"&":"?")+rt,rt=null);var ze=0;if(rt){var ke=rt.length;te.isBuffer(rt)||(ke=te.byteLength(rt)),ze=Re.headers["Content-Length"]=ke}me.dataType==="json"&&(Re.headers.Accept="application/json"),typeof me.beforeRequest=="function"&&me.beforeRequest(Re);var Be=null,Je=null,Ye=null,dt=!1,He=!1,Ue=0,Le=-1,Ke=!1,Ee="",Ie="",Qe=null;me.timing&&(Qe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Xe(){Be&&(clearTimeout(Be),Be=null)}function Ge(){Je&&(clearTimeout(Je),Je=null)}function Ce(at,Tt,We){if(Ge(),!pe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),ye,oe.pid,Re.method,ve),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),ye,oe.pid,at.name,at.message,at.stack);return}var ct=pe;pe=null;var ht={};We&&(Le=We.statusCode,ht=We.headers);var vt=Date.now()-Oe;Qe&&(Qe.contentDownload=vt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",vt,Ue,Le,Re.method,Re.host,Re.path,He,Qe);var Ot={status:Le,statusCode:Le,headers:ht,size:Ue,aborted:Ke,rt:vt,keepAliveSocket:He,data:Tt,requestUrls:me.requestUrls,timing:Qe,remoteAddress:Ee,remotePort:Ie};if(at){var Bt="";$e&&typeof $e.getCurrentStatus=="function"&&(Bt=", agent status: "+JSON.stringify($e.getCurrentStatus())),at.message+=", "+Re.method+" "+ve+" "+Le+" (connected: "+dt+", keepalive socket: "+He+Bt+`)
headers: `+JSON.stringify(ht),at.data=Tt,at.path=Re.path,at.status=Le,at.headers=ht,at.res=Ot}ct(at,Tt,me.streaming?We:Ot),me.emitter&&(Pe.url=ve,Pe.socket=St&&St.connection,Pe.options=Re,Pe.size=ze,me.emitter.emit("response",{requestId:ye,error:at,ctx:me.ctx,req:Pe,res:Ot}))}function xe(at){var Tt=null;if(me.followRedirect&&statuses.redirect[at.statusCode]){me._followRedirectCount=(me._followRedirectCount||0)+1;var We=at.headers.location;if(!We)Tt=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Tt.name="FollowRedirectError";else if(me._followRedirectCount>me.maxRedirects)Tt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Tt.name="MaxRedirectError";else{var ct=me.formatRedirectUrl?me.formatRedirectUrl(ve,We):de.resolve(ve,We);ne("Request#%d %s: `redirected` from %s to %s",ye,Re.path,ve,ct),Ge(),me.headers&&me.headers.Host&&b.test(We)&&(me.headers.Host=null);var ht=pe;return pe=null,ge.requestWithCallback(ct,me,ht),{redirect:!0,error:null}}}return{redirect:!1,error:Tt}}me.gzip&&!Re.headers["Accept-Encoding"]&&!Re.headers["accept-encoding"]&&(Re.headers["Accept-Encoding"]="gzip");function je(at,Tt,We){var ct=at.headers["content-encoding"];return We(null,Tt,ct)}var _e=me.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",ye,Te,ve,Re.headers,Re.path),me.requestUrls.push(ve);function ot(at){if(Qe&&(Qe.waiting=Date.now()-Oe),ne("Request#%d %s `req response` event emit: status %d, headers: %j",ye,ve,at.statusCode,at.headers),me.streaming){var Tt=xe(at);if(Tt.redirect){at.resume();return}return Tt.error?(at.resume(),Ce(Tt.error,null,at)):Ce(null,null,at)}if(at.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",ye,ve,Ue)}),at.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",ye,ve,Ue)}),at.on("aborted",function(){Ke=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",ye,ve,Ue)}),_e){var We=xe(at);if(We.redirect){at.resume();return}return We.error?(at.resume(),_e.end(),Ce(We.error,null,at)):(me.consumeWriteStream===!1?at.on("end",Ce.bind(null,null,null,at)):_e.on("close",function(){ne("Request#%d %s: writeStream close event emitted",ye,ve),Ce(Ye||null,null,at)}),at.pipe(_e))}var ct=[];at.on("data",function(ht){ne("Request#%d %s: `res data` event emit, size %d",ye,ve,ht.length),Ue+=ht.length,ct.push(ht)}),at.on("end",function(){var ht=te.concat(ct,Ue);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",ye,ve,Ue,at._dumped),Ye)return Ce(Ye,ht,at);var vt=xe(at);if(vt.error)return Ce(vt.error,ht,at);vt.redirect||je(at,ht,function(Ot,Bt,Zt){if(Ot)return Ce(Ot,ht,at);if(!Zt&&se.indexOf(me.dataType)>=0){try{Bt=decodeBodyByCharset(Bt,at)}catch(nn){return ne("decodeBodyByCharset error: %s",nn),Ce(null,Bt,at)}if(me.dataType==="json")if(Ue===0)Bt=null;else{var Yt=parseJSON(Bt,Ve);Yt.error?Ot=Yt.error:Bt=Yt.data}}Ke&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",ye,ve),Ce(Ot,Bt,at)})})}var pt,mt;Array.isArray(me.timeout)?(pt=a(me.timeout[0]),mt=a(me.timeout[1])):pt=mt=a(me.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",pt,mt);function tt(){ne("Connect timer ticking, timeout: %d",pt),Be=setTimeout(function(){Be=null,Le===-1&&(Le=-2);var at="Connect timeout for "+pt+"ms",Tt="ConnectionTimeoutError";St.socket||(Tt="SocketAssignTimeoutError",at+=", working sockets is full"),Ye=new Error(at),Ye.name=Tt,Ye.requestId=ye,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,Ye.name,at,dt),xt()},pt)}function ut(){ne("Response timer ticking, timeout: %d",mt),Je=setTimeout(function(){Je=null;var at="Response timeout for "+mt+"ms",Tt="ResponseTimeoutError";Ye=new Error(at),Ye.name=Tt,Ye.requestId=ye,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,Ye.name,at,dt),xt()},mt)}var St;Re.mode=me.mode?me.mode:"";try{St=Fe.request(Re,ot)}catch(at){return Ce(at)}typeof window=="undefined"?tt():St.on("requestTimeout",function(){Le===-1&&(Le=-2);var at="Connect timeout for "+pt+"ms",Tt="ConnectionTimeoutError";Ye=new Error(at),Ye.name=Tt,Ye.requestId=ye,xt()});function xt(){ne("Request#%d %s abort, connected: %s",ye,ve,dt),St.socket||(Ye.noSocket=!0,Ce(Ye)),St.abort()}return Qe&&St.on("finish",function(){Qe.requestSent=Date.now()-Oe}),St.once("socket",function(at){Qe&&(Qe.queuing=Date.now()-Oe);var Tt=at.readyState;if(Tt==="opening"){at.once("lookup",function(We,ct,ht){ne("Request#%d %s lookup: %s, %s, %s",ye,ve,We,ct,ht),Qe&&(Qe.dnslookup=Date.now()-Oe),ct&&(Ee=ct)}),at.once("connect",function(){Qe&&(Qe.connected=Date.now()-Oe),Xe(),ut(),ne("Request#%d %s new socket connected",ye,ve),dt=!0,Ee||(Ee=at.remoteAddress),Ie=at.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",ye,ve,Tt),dt=!0,He=!0,Ee||(Ee=at.remoteAddress),Ie=at.remotePort,Xe(),ut()}),St.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=dt?"ResponseError":"RequestError"),at.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",ye,ve,at.name,at.message),Ce(Ye||at)}),_e&&_e.once("error",function(at){at.message+=' (writeStream "error")',Ye=at,ne("Request#%d %s `writeStream error` event emit, %s: %s",ye,ve,at.name,at.message),xt()}),me.stream?(me.stream.pipe(St),me.stream.once("error",function(at){at.message+=' (stream "error")',Ye=at,ne("Request#%d %s `readStream error` event emit, %s: %s",ye,ve,at.name,at.message),xt()})):St.end(rt),St.requestId=ye,St}}).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(jt,Pt){"use strict";function be(){const Ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ze=1;Ze<arguments.length;Ze++){const E=Ze<0||arguments.length<=Ze?void 0:arguments[Ze];E&&Object.keys(E).forEach(Se=>{const ge=E[Se];ge!==void 0&&(Ae[Se]=ge)})}return Ae}Pt.Z=be},81643:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Ae}});const Ae=Ze=>Ze?typeof Ze=="function"?Ze():Ze:null},66367:function(jt,Pt,be){"use strict";be.d(Pt,{F:function(){return Ae},Z:function(){return Ze}});function Ae(E){return E!=null&&E===E.window}function Ze(E,Se){var ge,oe;if(typeof window=="undefined")return 0;const te=Se?"scrollTop":"scrollLeft";let ue=0;return Ae(E)?ue=E[Se?"pageYOffset":"pageXOffset"]:E instanceof Document?ue=E.documentElement[te]:(E instanceof HTMLElement||E)&&(ue=E[te]),E&&!Ae(E)&&typeof ue!="number"&&(ue=(oe=((ge=E.ownerDocument)!==null&&ge!==void 0?ge:E).documentElement)===null||oe===void 0?void 0:oe[te]),ue}},57838:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Ze}});var Ae=be(67294);function Ze(){const[,E]=Ae.useReducer(Se=>Se+1,0);return E}},58375:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Se}});var Ae=be(96523);function Ze(ge,oe,te,ue){const ce=te-oe;return ge/=ue/2,ge<1?ce/2*ge*ge*ge+oe:ce/2*((ge-=2)*ge*ge+2)+oe}var E=be(66367);function Se(ge){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:ue,duration:ce=450}=oe,le=te(),de=(0,E.Z)(le,!0),ae=Date.now(),ie=()=>{const a=Date.now()-ae,y=Ze(a>ce?ce:a,de,ge,ce);(0,E.F)(le)?le.scrollTo(window.pageXOffset,y):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=y:le.scrollTop=y,a<ce?(0,Ae.Z)(ie):typeof ue=="function"&&ue()};(0,Ae.Z)(ie)}},84567:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return ve}});var Ae=be(94184),Ze=be.n(Ae),E=be(95860),Se=be(67294),ge=be(53124),oe=be(98866),te=be(65223),ce=Se.createContext(null),le=be(63185),de=be(45353),ae=be(92429),ie=function(me,pe){var he={};for(var ye in me)Object.prototype.hasOwnProperty.call(me,ye)&&pe.indexOf(ye)<0&&(he[ye]=me[ye]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(me);Pe<ye.length;Pe++)pe.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(me,ye[Pe])&&(he[ye[Pe]]=me[ye[Pe]]);return he};const ne=(me,pe)=>{var he;const{prefixCls:ye,className:Pe,rootClassName:Oe,children:we,indeterminate:Te=!1,style:Me,onMouseEnter:Fe,onMouseLeave:$e,skipGroup:Ve=!1,disabled:Re}=me,st=ie(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:rt,direction:et,checkbox:qe}=Se.useContext(ge.E_),ze=Se.useContext(ce),{isFormItemInput:ke}=Se.useContext(te.aM),Be=Se.useContext(oe.Z),Je=(he=(ze==null?void 0:ze.disabled)||Re)!==null&&he!==void 0?he:Be,Ye=Se.useRef(st.value);Se.useEffect(()=>{ze==null||ze.registerValue(st.value)},[]),Se.useEffect(()=>{if(!Ve)return st.value!==Ye.current&&(ze==null||ze.cancelValue(Ye.current),ze==null||ze.registerValue(st.value),Ye.current=st.value),()=>ze==null?void 0:ze.cancelValue(st.value)},[st.value]);const dt=rt("checkbox",ye),[He,Ue]=(0,le.ZP)(dt),Le=Object.assign({},st);ze&&!Ve&&(Le.onChange=function(){st.onChange&&st.onChange.apply(st,arguments),ze.toggleOption&&ze.toggleOption({label:we,value:st.value})},Le.name=ze.name,Le.checked=ze.value.includes(st.value));const Ke=Ze()(`${dt}-wrapper`,{[`${dt}-rtl`]:et==="rtl",[`${dt}-wrapper-checked`]:Le.checked,[`${dt}-wrapper-disabled`]:Je,[`${dt}-wrapper-in-form-item`]:ke},qe==null?void 0:qe.className,Pe,Oe,Ue),Ee=Ze()({[`${dt}-indeterminate`]:Te},ae.A,Ue),Ie=Te?"mixed":void 0;return He(Se.createElement(de.Z,{component:"Checkbox",disabled:Je},Se.createElement("label",{className:Ke,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),Me),onMouseEnter:Fe,onMouseLeave:$e},Se.createElement(E.Z,Object.assign({"aria-checked":Ie},Le,{prefixCls:dt,className:Ee,disabled:Je,ref:pe})),we!==void 0&&Se.createElement("span",null,we))))};var y=Se.forwardRef(ne),x=be(74902),b=be(10366),z=function(me,pe){var he={};for(var ye in me)Object.prototype.hasOwnProperty.call(me,ye)&&pe.indexOf(ye)<0&&(he[ye]=me[ye]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(me);Pe<ye.length;Pe++)pe.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(me,ye[Pe])&&(he[ye[Pe]]=me[ye[Pe]]);return he};const ee=(me,pe)=>{const{defaultValue:he,children:ye,options:Pe=[],prefixCls:Oe,className:we,rootClassName:Te,style:Me,onChange:Fe}=me,$e=z(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ve,direction:Re}=Se.useContext(ge.E_),[st,rt]=Se.useState($e.value||he||[]),[et,qe]=Se.useState([]);Se.useEffect(()=>{"value"in $e&&rt($e.value||[])},[$e.value]);const ze=Se.useMemo(()=>Pe.map(Qe=>typeof Qe=="string"||typeof Qe=="number"?{label:Qe,value:Qe}:Qe),[Pe]),ke=Qe=>{qe(Xe=>Xe.filter(Ge=>Ge!==Qe))},Be=Qe=>{qe(Xe=>[].concat((0,x.Z)(Xe),[Qe]))},Je=Qe=>{const Xe=st.indexOf(Qe.value),Ge=(0,x.Z)(st);Xe===-1?Ge.push(Qe.value):Ge.splice(Xe,1),"value"in $e||rt(Ge),Fe==null||Fe(Ge.filter(Ce=>et.includes(Ce)).sort((Ce,xe)=>{const je=ze.findIndex(ot=>ot.value===Ce),_e=ze.findIndex(ot=>ot.value===xe);return je-_e}))},Ye=Ve("checkbox",Oe),dt=`${Ye}-group`,[He,Ue]=(0,le.ZP)(Ye),Le=(0,b.Z)($e,["value","disabled"]),Ke=Pe.length?ze.map(Qe=>Se.createElement(y,{prefixCls:Ye,key:Qe.value.toString(),disabled:"disabled"in Qe?Qe.disabled:$e.disabled,value:Qe.value,checked:st.includes(Qe.value),onChange:Qe.onChange,className:`${dt}-item`,style:Qe.style,title:Qe.title},Qe.label)):ye,Ee={toggleOption:Je,value:st,disabled:$e.disabled,name:$e.name,registerValue:Be,cancelValue:ke},Ie=Ze()(dt,{[`${dt}-rtl`]:Re==="rtl"},we,Te,Ue);return He(Se.createElement("div",Object.assign({className:Ie,style:Me},Le,{ref:pe}),Se.createElement(ce.Provider,{value:Ee},Ke)))},re=Se.forwardRef(ee);var se=Se.memo(re);const fe=y;fe.Group=se,fe.__ANT_CHECKBOX=!0;var ve=fe},63185:function(jt,Pt,be){"use strict";be.d(Pt,{C2:function(){return ge}});var Ae=be(14747),Ze=be(45503),E=be(67968);const Se=oe=>{const{checkboxCls:te}=oe,ue=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,Ae.Wf)(oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:oe.marginXS,[`> ${oe.antCls}-row`]:{flex:1}}),[ue]:Object.assign(Object.assign({},(0,Ae.Wf)(oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ue}`]:{marginInlineStart:0},[`&${ue}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,Ae.Wf)(oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:oe.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,Ae.oN)(oe))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:oe.checkboxSize,height:oe.checkboxSize,direction:"ltr",backgroundColor:oe.colorBgContainer,border:`${oe.lineWidth}px ${oe.lineType} ${oe.colorBorder}`,borderRadius:oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:oe.checkboxSize/14*5,height:oe.checkboxSize/14*8,border:`${oe.lineWidthBold}px solid ${oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${oe.motionDurationFast} ${oe.motionEaseInBack}, opacity ${oe.motionDurationFast}`}},"& + span":{paddingInlineStart:oe.paddingXS,paddingInlineEnd:oe.paddingXS}})},{[`
${ue}:not(${ue}-disabled),
${te}:not(${te}-disabled)
`]:{[`&:hover ${te}-inner`]:{borderColor:oe.colorPrimary}},[`${ue}:not(${ue}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:oe.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:oe.colorPrimary,borderColor:oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${oe.motionDurationMid} ${oe.motionEaseOutBack} ${oe.motionDurationFast}`}}},[`
${ue}-checked:not(${ue}-disabled),
${te}-checked:not(${te}-disabled)
`]:{[`&:hover ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:oe.colorBgContainer,borderColor:oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:oe.fontSizeLG/2,height:oe.fontSizeLG/2,backgroundColor:oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ue}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:oe.colorBgContainerDisabled,borderColor:oe.colorBorder,"&:after":{borderColor:oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:oe.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:oe.colorTextDisabled}}}]};function ge(oe,te){const ue=(0,Ze.TS)(te,{checkboxCls:`.${oe}`,checkboxSize:te.controlInteractiveSize});return[Se(ue)]}Pt.ZP=(0,E.Z)("Checkbox",(oe,te)=>{let{prefixCls:ue}=te;return[ge(ue,oe)]})},47221:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return Le}});var Ae=be(91034),Ze=be(94184),E=be.n(Ze),Se=be(97685),ge=be(74902),oe=be(71002),te=be(21770),ue=be(80334),ce=be(67294),le=be(87462),de=be(45987),ae=be(50344),ie=be(4942),ne=be(62874),a=be(15105),y=ce.forwardRef(function(Ke,Ee){var Ie,Qe=Ke.prefixCls,Xe=Ke.forceRender,Ge=Ke.className,Ce=Ke.style,xe=Ke.children,je=Ke.isActive,_e=Ke.role,ot=ce.useState(je||Xe),pt=(0,Se.Z)(ot,2),mt=pt[0],tt=pt[1];return ce.useEffect(function(){(Xe||je)&&tt(!0)},[Xe,je]),mt?ce.createElement("div",{ref:Ee,className:E()("".concat(Qe,"-content"),(Ie={},(0,ie.Z)(Ie,"".concat(Qe,"-content-active"),je),(0,ie.Z)(Ie,"".concat(Qe,"-content-inactive"),!je),Ie),Ge),style:Ce,role:_e},ce.createElement("div",{className:"".concat(Qe,"-content-box")},xe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=ce.forwardRef(function(Ke,Ee){var Ie,Qe,Xe=Ke.showArrow,Ge=Xe===void 0?!0:Xe,Ce=Ke.headerClass,xe=Ke.isActive,je=Ke.onItemClick,_e=Ke.forceRender,ot=Ke.className,pt=Ke.prefixCls,mt=Ke.collapsible,tt=Ke.accordion,ut=Ke.panelKey,St=Ke.extra,xt=Ke.header,at=Ke.expandIcon,Tt=Ke.openMotion,We=Ke.destroyInactivePanel,ct=Ke.children,ht=(0,de.Z)(Ke,b),vt=mt==="disabled",Ot=mt==="header",Bt=mt==="icon",Zt=St!=null&&typeof St!="boolean",Yt=function(){je==null||je(ut)},nn=function(Nr){(Nr.key==="Enter"||Nr.keyCode===a.Z.ENTER||Nr.which===a.Z.ENTER)&&Yt()},En=typeof at=="function"?at(Ke):ce.createElement("i",{className:"arrow"});En&&(En=ce.createElement("div",{className:"".concat(pt,"-expand-icon"),onClick:["header","icon"].includes(mt)?Yt:void 0},En));var jn=E()((Ie={},(0,ie.Z)(Ie,"".concat(pt,"-item"),!0),(0,ie.Z)(Ie,"".concat(pt,"-item-active"),xe),(0,ie.Z)(Ie,"".concat(pt,"-item-disabled"),vt),Ie),ot),zn=E()(Ce,(Qe={},(0,ie.Z)(Qe,"".concat(pt,"-header"),!0),(0,ie.Z)(Qe,"".concat(pt,"-header-collapsible-only"),Ot),(0,ie.Z)(Qe,"".concat(pt,"-icon-collapsible-only"),Bt),Qe)),Vn={className:zn,"aria-expanded":xe,"aria-disabled":vt,onKeyDown:nn};return!Ot&&!Bt&&(Vn.onClick=Yt,Vn.role=tt?"tab":"button",Vn.tabIndex=vt?-1:0),ce.createElement("div",(0,le.Z)({},ht,{ref:Ee,className:jn}),ce.createElement("div",Vn,Ge&&En,ce.createElement("span",{className:"".concat(pt,"-header-text"),onClick:mt==="header"?Yt:void 0},xt),Zt&&ce.createElement("div",{className:"".concat(pt,"-extra")},St)),ce.createElement(ne.Z,(0,le.Z)({visible:xe,leavedClassName:"".concat(pt,"-content-hidden")},Tt,{forceRender:_e,removeOnLeave:We}),function(xr,Nr){var Lr=xr.className,hr=xr.style;return ce.createElement(x,{ref:Nr,prefixCls:pt,className:Lr,style:hr,isActive:xe,forceRender:_e,role:tt?"tabpanel":void 0},ct)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Ee,Ie){var Qe=Ie.prefixCls,Xe=Ie.accordion,Ge=Ie.collapsible,Ce=Ie.destroyInactivePanel,xe=Ie.onItemClick,je=Ie.activeKey,_e=Ie.openMotion,ot=Ie.expandIcon;return Ee.map(function(pt,mt){var tt=pt.children,ut=pt.label,St=pt.key,xt=pt.collapsible,at=pt.onItemClick,Tt=pt.destroyInactivePanel,We=(0,de.Z)(pt,re),ct=String(St!=null?St:mt),ht=xt!=null?xt:Ge,vt=Tt!=null?Tt:Ce,Ot=function(Yt){ht!=="disabled"&&(xe(Yt),at==null||at(Yt))},Bt=!1;return Xe?Bt=je[0]===ct:Bt=je.indexOf(ct)>-1,ce.createElement(ee,(0,le.Z)({},We,{prefixCls:Qe,key:ct,panelKey:ct,isActive:Bt,accordion:Xe,openMotion:_e,expandIcon:ot,header:ut,collapsible:ht,onItemClick:Ot,destroyInactivePanel:vt}),tt)})},fe=function(Ee,Ie,Qe){if(!Ee)return null;var Xe=Qe.prefixCls,Ge=Qe.accordion,Ce=Qe.collapsible,xe=Qe.destroyInactivePanel,je=Qe.onItemClick,_e=Qe.activeKey,ot=Qe.openMotion,pt=Qe.expandIcon,mt=Ee.key||String(Ie),tt=Ee.props,ut=tt.header,St=tt.headerClass,xt=tt.destroyInactivePanel,at=tt.collapsible,Tt=tt.onItemClick,We=!1;Ge?We=_e[0]===mt:We=_e.indexOf(mt)>-1;var ct=at!=null?at:Ce,ht=function(Bt){ct!=="disabled"&&(je(Bt),Tt==null||Tt(Bt))},vt={key:mt,panelKey:mt,header:ut,headerClass:St,isActive:We,prefixCls:Xe,destroyInactivePanel:xt!=null?xt:xe,openMotion:ot,accordion:Ge,children:Ee.props.children,onItemClick:ht,expandIcon:pt,collapsible:ct};return typeof Ee.type=="string"?Ee:(Object.keys(vt).forEach(function(Ot){typeof vt[Ot]=="undefined"&&delete vt[Ot]}),ce.cloneElement(Ee,vt))};function ve(Ke,Ee,Ie){return Array.isArray(Ke)?se(Ke,Ie):(0,ae.Z)(Ee).map(function(Qe,Xe){return fe(Qe,Xe,Ie)})}var me=ve;function pe(Ke){var Ee=Ke;if(!Array.isArray(Ee)){var Ie=(0,oe.Z)(Ee);Ee=Ie==="number"||Ie==="string"?[Ee]:[]}return Ee.map(function(Qe){return String(Qe)})}var he=ce.forwardRef(function(Ke,Ee){var Ie=Ke.prefixCls,Qe=Ie===void 0?"rc-collapse":Ie,Xe=Ke.destroyInactivePanel,Ge=Xe===void 0?!1:Xe,Ce=Ke.style,xe=Ke.accordion,je=Ke.className,_e=Ke.children,ot=Ke.collapsible,pt=Ke.openMotion,mt=Ke.expandIcon,tt=Ke.activeKey,ut=Ke.defaultActiveKey,St=Ke.onChange,xt=Ke.items,at=E()(Qe,je),Tt=(0,te.Z)([],{value:tt,onChange:function(Zt){return St==null?void 0:St(Zt)},defaultValue:ut,postState:pe}),We=(0,Se.Z)(Tt,2),ct=We[0],ht=We[1],vt=function(Zt){return ht(function(){if(xe)return ct[0]===Zt?[]:[Zt];var Yt=ct.indexOf(Zt),nn=Yt>-1;return nn?ct.filter(function(En){return En!==Zt}):[].concat((0,ge.Z)(ct),[Zt])})};(0,ue.ZP)(!_e,"`children` will be removed in next major version. Please use `items` instead.");var Ot=me(xt,_e,{prefixCls:Qe,accordion:xe,openMotion:pt,expandIcon:mt,collapsible:ot,destroyInactivePanel:Ge,onItemClick:vt,activeKey:ct});return ce.createElement("div",{ref:Ee,className:at,style:Ce,role:xe?"tablist":void 0},Ot)}),ye=Object.assign(he,{Panel:ee}),Pe=ye,Oe=ye.Panel,we=be(37419),Te=be(10366),Me=be(33603),Fe=be(96159),$e=be(53124),Ve=be(98675),st=ce.forwardRef((Ke,Ee)=>{const{getPrefixCls:Ie}=ce.useContext($e.E_),{prefixCls:Qe,className:Xe,showArrow:Ge=!0}=Ke,Ce=Ie("collapse",Qe),xe=E()({[`${Ce}-no-arrow`]:!Ge},Xe);return ce.createElement(Pe.Panel,Object.assign({ref:Ee},Ke,{prefixCls:Ce,className:xe}))}),rt=be(14747),et=be(33507),qe=be(67968),ze=be(45503);const ke=Ke=>{const{componentCls:Ee,contentBg:Ie,padding:Qe,headerBg:Xe,headerPadding:Ge,collapseHeaderPaddingSM:Ce,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:je,lineWidth:_e,lineType:ot,colorBorder:pt,colorText:mt,colorTextHeading:tt,colorTextDisabled:ut,fontSize:St,fontSizeLG:xt,lineHeight:at,marginSM:Tt,paddingSM:We,paddingLG:ct,paddingXS:ht,motionDurationSlow:vt,fontSizeIcon:Ot,contentPadding:Bt}=Ke,Zt=`${_e}px ${ot} ${pt}`;return{[Ee]:Object.assign(Object.assign({},(0,rt.Wf)(Ke)),{backgroundColor:Xe,border:Zt,borderBottom:0,borderRadius:`${je}px`,"&-rtl":{direction:"rtl"},[`& > ${Ee}-item`]:{borderBottom:Zt,"&:last-child":{[`
&,
& > ${Ee}-header`]:{borderRadius:`0 0 ${je}px ${je}px`}},[`> ${Ee}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Ge,color:tt,lineHeight:at,cursor:"pointer",transition:`all ${vt}, visibility 0s`,[`> ${Ee}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ee}-expand-icon`]:{height:St*at,display:"flex",alignItems:"center",paddingInlineEnd:Tt},[`${Ee}-arrow`]:Object.assign(Object.assign({},(0,rt.Ro)()),{fontSize:Ot,svg:{transition:`transform ${vt}`}}),[`${Ee}-header-text`]:{marginInlineEnd:"auto"}},[`${Ee}-header-collapsible-only`]:{cursor:"default",[`${Ee}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ee}-icon-collapsible-only`]:{cursor:"default",[`${Ee}-expand-icon`]:{cursor:"pointer"}}},[`${Ee}-content`]:{color:mt,backgroundColor:Ie,borderTop:Zt,[`& > ${Ee}-content-box`]:{padding:Bt},"&-hidden":{display:"none"}},"&-small":{[`> ${Ee}-item`]:{[`> ${Ee}-header`]:{padding:Ce,paddingInlineStart:ht,[`> ${Ee}-expand-icon`]:{marginInlineStart:We-ht}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:We}}},"&-large":{[`> ${Ee}-item`]:{fontSize:xt,[`> ${Ee}-header`]:{padding:xe,paddingInlineStart:Qe,[`> ${Ee}-expand-icon`]:{height:xt*at,marginInlineStart:ct-Qe}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:ct}}},[`${Ee}-item:last-child`]:{[`> ${Ee}-content`]:{borderRadius:`0 0 ${je}px ${je}px`}},[`& ${Ee}-item-disabled > ${Ee}-header`]:{"\n &,\n & > .arrow\n ":{color:ut,cursor:"not-allowed"}},[`&${Ee}-icon-position-end`]:{[`& > ${Ee}-item`]:{[`> ${Ee}-header`]:{[`${Ee}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Tt}}}}})}},Be=Ke=>{const{componentCls:Ee}=Ke,Ie=`> ${Ee}-item > ${Ee}-header ${Ee}-arrow svg`;return{[`${Ee}-rtl`]:{[Ie]:{transform:"rotate(180deg)"}}}},Je=Ke=>{const{componentCls:Ee,headerBg:Ie,paddingXXS:Qe,colorBorder:Xe}=Ke;return{[`${Ee}-borderless`]:{backgroundColor:Ie,border:0,[`> ${Ee}-item`]:{borderBottom:`1px solid ${Xe}`},[`
> ${Ee}-item:last-child,
> ${Ee}-item:last-child ${Ee}-header
`]:{borderRadius:0},[`> ${Ee}-item:last-child`]:{borderBottom:0},[`> ${Ee}-item > ${Ee}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ee}-item > ${Ee}-content > ${Ee}-content-box`]:{paddingTop:Qe}}}},Ye=Ke=>{const{componentCls:Ee,paddingSM:Ie}=Ke;return{[`${Ee}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-item`]:{borderBottom:0,[`> ${Ee}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-content-box`]:{paddingBlock:Ie}}}}}};var dt=(0,qe.Z)("Collapse",Ke=>{const Ee=(0,ze.TS)(Ke,{collapseHeaderPaddingSM:`${Ke.paddingXS}px ${Ke.paddingSM}px`,collapseHeaderPaddingLG:`${Ke.padding}px ${Ke.paddingLG}px`,collapsePanelBorderRadius:Ke.borderRadiusLG});return[ke(Ee),Je(Ee),Ye(Ee),Be(Ee),(0,et.Z)(Ee)]},Ke=>({headerPadding:`${Ke.paddingSM}px ${Ke.padding}px`,headerBg:Ke.colorFillAlter,contentPadding:`${Ke.padding}px 16px`,contentBg:Ke.colorBgContainer})),Ue=Object.assign(ce.forwardRef((Ke,Ee)=>{const{getPrefixCls:Ie,direction:Qe,collapse:Xe}=ce.useContext($e.E_),{prefixCls:Ge,className:Ce,rootClassName:xe,style:je,bordered:_e=!0,ghost:ot,size:pt,expandIconPosition:mt="start",children:tt,expandIcon:ut}=Ke,St=(0,Ve.Z)(Zt=>{var Yt;return(Yt=pt!=null?pt:Zt)!==null&&Yt!==void 0?Yt:"middle"}),xt=Ie("collapse",Ge),at=Ie(),[Tt,We]=dt(xt),ct=ce.useMemo(()=>mt==="left"?"start":mt==="right"?"end":mt,[mt]),ht=function(){let Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Yt=ut?ut(Zt):ce.createElement(Ae.Z,{rotate:Zt.isActive?90:void 0});return(0,Fe.Tm)(Yt,()=>({className:E()(Yt.props.className,`${xt}-arrow`)}))},vt=E()(`${xt}-icon-position-${ct}`,{[`${xt}-borderless`]:!_e,[`${xt}-rtl`]:Qe==="rtl",[`${xt}-ghost`]:!!ot,[`${xt}-${St}`]:St!=="middle"},Xe==null?void 0:Xe.className,Ce,xe,We),Ot=Object.assign(Object.assign({},(0,Me.Z)(at)),{motionAppear:!1,leavedClassName:`${xt}-content-hidden`}),Bt=ce.useMemo(()=>tt?(0,we.Z)(tt).map((Zt,Yt)=>{var nn,En;if(!((nn=Zt.props)===null||nn===void 0)&&nn.disabled){const jn=(En=Zt.key)!==null&&En!==void 0?En:String(Yt),{disabled:zn,collapsible:Vn}=Zt.props,xr=Object.assign(Object.assign({},(0,Te.Z)(Zt.props,["disabled"])),{key:jn,collapsible:Vn!=null?Vn:zn?"disabled":void 0});return(0,Fe.Tm)(Zt,xr)}return Zt}):null,[tt]);return Tt(ce.createElement(Pe,Object.assign({ref:Ee,openMotion:Ot},(0,Te.Z)(Ke,["rootClassName"]),{expandIcon:ht,prefixCls:xt,className:vt,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),je)}),Bt))}),{Panel:st}),Le=Ue},72565:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return ma}});var Ae=be(94184),Ze=be.n(Ae),E=be(1413),Se=be(97685),ge=be(67294),oe=be(73935);function te(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ue={};function ce(Et,wt){}function le(Et,wt){}function de(){ue={}}function ae(Et,wt,Wt){!wt&&!ue[Wt]&&(Et(!1,Wt),ue[Wt]=!0)}function ie(Et,wt){ae(ce,Et,wt)}function ne(Et,wt){ae(le,Et,wt)}var a=null,y=be(71002),x=be(18459);function b(Et,wt,Wt){var qt=ge.useRef({});return(!("value"in qt.current)||Wt(qt.current.condition,wt))&&(qt.current.value=Et(),qt.current.condition=wt),qt.current.value}function z(Et,wt){typeof Et=="function"?Et(wt):(0,y.Z)(Et)==="object"&&Et&&"current"in Et&&(Et.current=wt)}function ee(){for(var Et=arguments.length,wt=new Array(Et),Wt=0;Wt<Et;Wt++)wt[Wt]=arguments[Wt];var qt=wt.filter(function(mn){return mn});return qt.length<=1?qt[0]:function(mn){wt.forEach(function(Bn){z(Bn,mn)})}}function re(){for(var Et=arguments.length,wt=new Array(Et),Wt=0;Wt<Et;Wt++)wt[Wt]=arguments[Wt];return b(function(){return ee.apply(void 0,wt)},wt,function(qt,mn){return qt.length===mn.length&&qt.every(function(Bn,nr){return Bn===mn[nr]})})}function se(Et){var wt,Wt,qt=(0,x.isMemo)(Et)?Et.type.type:Et.type;return!(typeof qt=="function"&&!((wt=qt.prototype)!==null&&wt!==void 0&&wt.render)||typeof Et=="function"&&!((Wt=Et.prototype)!==null&&Wt!==void 0&&Wt.render))}var fe=ge.createContext(null),ve=fe,me=be(74902),pe=te()?ge.useLayoutEffect:ge.useEffect,he=pe,ye=function(wt,Wt){var qt=React.useRef(!0);pe(function(){if(!qt.current)return wt()},Wt),pe(function(){return qt.current=!1,function(){qt.current=!0}},[])},Pe=[];function Oe(Et,wt){var Wt=ge.useState(function(){if(!te())return null;var yt=document.createElement("div");return yt}),qt=(0,Se.Z)(Wt,1),mn=qt[0],Bn=ge.useRef(!1),nr=ge.useContext(ve),fr=ge.useState(Pe),vr=(0,Se.Z)(fr,2),_r=vr[0],Rr=vr[1],ea=nr||(Bn.current?void 0:function(yt){Rr(function(Rt){var lt=[yt].concat((0,me.Z)(Rt));return lt})});function ir(){mn.parentElement||document.body.appendChild(mn),Bn.current=!0}function Nt(){var yt;(yt=mn.parentElement)===null||yt===void 0||yt.removeChild(mn),Bn.current=!1}return he(function(){return Et?nr?nr(ir):ir():Nt(),Nt},[Et]),he(function(){_r.length&&(_r.forEach(function(yt){return yt()}),Rr(Pe))},[_r]),[mn,ea]}function we(Et,wt){if(!Et)return!1;if(Et.contains)return Et.contains(wt);for(var Wt=wt;Wt;){if(Wt===Et)return!0;Wt=Wt.parentNode}return!1}var Te="data-rc-order",Me="rc-util-key",Fe=new Map;function $e(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},wt=Et.mark;return wt?wt.startsWith("data-")?wt:"data-".concat(wt):Me}function Ve(Et){if(Et.attachTo)return Et.attachTo;var wt=document.querySelector("head");return wt||document.body}function Re(Et){return Et==="queue"?"prependQueue":Et?"prepend":"append"}function st(Et){return Array.from((Fe.get(Et)||Et).children).filter(function(wt){return wt.tagName==="STYLE"})}function rt(Et){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!te())return null;var Wt=wt.csp,qt=wt.prepend,mn=document.createElement("style");mn.setAttribute(Te,Re(qt)),Wt!=null&&Wt.nonce&&(mn.nonce=Wt==null?void 0:Wt.nonce),mn.innerHTML=Et;var Bn=Ve(wt),nr=Bn.firstChild;if(qt){if(qt==="queue"){var fr=st(Bn).filter(function(vr){return["prepend","prependQueue"].includes(vr.getAttribute(Te))});if(fr.length)return Bn.insertBefore(mn,fr[fr.length-1].nextSibling),mn}Bn.insertBefore(mn,nr)}else Bn.appendChild(mn);return mn}function et(Et){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wt=Ve(wt);return st(Wt).find(function(qt){return qt.getAttribute($e(wt))===Et})}function qe(Et){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wt=et(Et,wt);if(Wt){var qt=Ve(wt);qt.removeChild(Wt)}}function ze(Et,wt){var Wt=Fe.get(Et);if(!Wt||!we(document,Wt)){var qt=rt("",wt),mn=qt.parentNode;Fe.set(Et,mn),Et.removeChild(qt)}}function ke(){Fe.clear()}function Be(Et,wt){var Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},qt=Ve(Wt);ze(qt,Wt);var mn=et(wt,Wt);if(mn){var Bn,nr;if((Bn=Wt.csp)!==null&&Bn!==void 0&&Bn.nonce&&mn.nonce!==((nr=Wt.csp)===null||nr===void 0?void 0:nr.nonce)){var fr;mn.nonce=(fr=Wt.csp)===null||fr===void 0?void 0:fr.nonce}return mn.innerHTML!==Et&&(mn.innerHTML=Et),mn}var vr=rt(Et,Wt);return vr.setAttribute($e(Wt),wt),vr}var Je;function Ye(Et){if(typeof document=="undefined")return 0;if(Et||Je===void 0){var wt=document.createElement("div");wt.style.width="100%",wt.style.height="200px";var Wt=document.createElement("div"),qt=Wt.style;qt.position="absolute",qt.top="0",qt.left="0",qt.pointerEvents="none",qt.visibility="hidden",qt.width="200px",qt.height="150px",qt.overflow="hidden",Wt.appendChild(wt),document.body.appendChild(Wt);var mn=wt.offsetWidth;Wt.style.overflow="scroll";var Bn=wt.offsetWidth;mn===Bn&&(Bn=Wt.clientWidth),document.body.removeChild(Wt),Je=mn-Bn}return Je}function dt(Et){var wt=Et.match(/^(.*)px$/),Wt=Number(wt==null?void 0:wt[1]);return Number.isNaN(Wt)?Ye():Wt}function He(Et){if(typeof document=="undefined"||!Et||!(Et instanceof Element))return{width:0,height:0};var wt=getComputedStyle(Et,"::-webkit-scrollbar"),Wt=wt.width,qt=wt.height;return{width:dt(Wt),height:dt(qt)}}function Ue(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Le="rc-util-locker-".concat(Date.now()),Ke=0;function Ee(Et){var wt=!!Et,Wt=ge.useState(function(){return Ke+=1,"".concat(Le,"_").concat(Ke)}),qt=(0,Se.Z)(Wt,1),mn=qt[0];he(function(){if(wt){var Bn=He(document.body).width,nr=Ue();Be(`
html body {
overflow-y: hidden;
`.concat(nr?"width: calc(100% - ".concat(Bn,"px);"):"",`
}`),mn)}else qe(mn);return function(){qe(mn)}},[wt,mn])}var Ie=!1;function Qe(Et){return typeof Et=="boolean"&&(Ie=Et),Ie}var Xe=function(wt){return wt===!1?!1:!te()||!wt?null:typeof wt=="string"?document.querySelector(wt):typeof wt=="function"?wt():wt},Ge=ge.forwardRef(function(Et,wt){var Wt=Et.open,qt=Et.autoLock,mn=Et.getContainer,Bn=Et.debug,nr=Et.autoDestroy,fr=nr===void 0?!0:nr,vr=Et.children,_r=ge.useState(Wt),Rr=(0,Se.Z)(_r,2),ea=Rr[0],ir=Rr[1],Nt=ea||Wt;ge.useEffect(function(){(fr||Wt)&&ir(Wt)},[Wt,fr]);var yt=ge.useState(function(){return Xe(mn)}),Rt=(0,Se.Z)(yt,2),lt=Rt[0],_t=Rt[1];ge.useEffect(function(){var qn=Xe(mn);_t(qn!=null?qn:null)});var Jt=Oe(Nt&&!lt,Bn),un=(0,Se.Z)(Jt,2),Dt=un[0],$t=un[1],kt=lt!=null?lt:Dt;Ee(qt&&Wt&&te()&&(kt===Dt||kt===document.body));var cn=null;if(vr&&se(vr)&&wt){var On=vr;cn=On.ref}var wn=re(cn,wt);if(!Nt||!te()||lt===void 0)return null;var Nn=kt===!1||Qe(),Kn=vr;return wt&&(Kn=ge.cloneElement(vr,{ref:wn})),ge.createElement(ve.Provider,{value:$t},Nn?Kn:(0,oe.createPortal)(Kn,kt))}),Ce=Ge,xe=Ce;function je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var _e=je()?ge.useLayoutEffect:ge.useEffect,ot=function(wt,Wt){var qt=ge.useRef(!0);_e(function(){return wt(qt.current)},Wt),_e(function(){return qt.current=!1,function(){qt.current=!0}},[])},pt=function(wt,Wt){ot(function(qt){if(!qt)return wt()},Wt)},mt=ot,tt=ge.createContext(null),ut=ge.createContext({}),St=tt,xt=be(4942),at=be(87462),Tt=be(62874),We={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(wt){var Wt=wt.keyCode;if(wt.altKey&&!wt.ctrlKey||wt.metaKey||Wt>=We.F1&&Wt<=We.F12)return!1;switch(Wt){case We.ALT:case We.CAPS_LOCK:case We.CONTEXT_MENU:case We.CTRL:case We.DOWN:case We.END:case We.ESC:case We.HOME:case We.INSERT:case We.LEFT:case We.MAC_FF_META:case We.META:case We.NUMLOCK:case We.NUM_CENTER:case We.PAGE_DOWN:case We.PAGE_UP:case We.PAUSE:case We.PRINT_SCREEN:case We.RIGHT:case We.SHIFT:case We.UP:case We.WIN_KEY:case We.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(wt){if(wt>=We.ZERO&&wt<=We.NINE||wt>=We.NUM_ZERO&&wt<=We.NUM_MULTIPLY||wt>=We.A&&wt<=We.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&wt===0)return!0;switch(wt){case We.SPACE:case We.QUESTION_MARK:case We.NUM_PLUS:case We.NUM_MINUS:case We.NUM_PERIOD:case We.NUM_DIVISION:case We.SEMICOLON:case We.DASH:case We.EQUALS:case We.COMMA:case We.PERIOD:case We.SLASH:case We.APOSTROPHE:case We.SINGLE_QUOTE:case We.OPEN_SQUARE_BRACKET:case We.BACKSLASH:case We.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ct=We,ht=`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`,vt=`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`,Ot="".concat(ht," ").concat(vt).split(/[\s\n]+/),Bt="aria-",Zt="data-";function Yt(Et,wt){return Et.indexOf(wt)===0}function nn(Et){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wt;wt===!1?Wt={aria:!0,data:!0,attr:!0}:wt===!0?Wt={aria:!0}:Wt=(0,E.Z)({},wt);var qt={};return Object.keys(Et).forEach(function(mn){(Wt.aria&&(mn==="role"||Yt(mn,Bt))||Wt.data&&Yt(mn,Zt)||Wt.attr&&Ot.includes(mn))&&(qt[mn]=Et[mn])}),qt}function En(Et){var wt=React.useRef();wt.current=Et;var Wt=React.useCallback(function(){for(var qt,mn=arguments.length,Bn=new Array(mn),nr=0;nr<mn;nr++)Bn[nr]=arguments[nr];return(qt=wt.current)===null||qt===void 0?void 0:qt.call.apply(qt,[wt].concat(Bn))},[]);return Wt}function jn(Et){var wt=React.useRef(!1),Wt=React.useState(Et),qt=_slicedToArray(Wt,2),mn=qt[0],Bn=qt[1];React.useEffect(function(){return wt.current=!1,function(){wt.current=!0}},[]);function nr(fr,vr){vr&&wt.current||Bn(fr)}return[mn,nr]}function zn(Et){return Et!==void 0}function Vn(Et,wt){var Wt=wt||{},qt=Wt.defaultValue,mn=Wt.value,Bn=Wt.onChange,nr=Wt.postState,fr=useState(function(){return zn(mn)?mn:zn(qt)?typeof qt=="function"?qt():qt:typeof Et=="function"?Et():Et}),vr=_slicedToArray(fr,2),_r=vr[0],Rr=vr[1],ea=mn!==void 0?mn:_r,ir=nr?nr(ea):ea,Nt=useEvent(Bn),yt=useState([ea]),Rt=_slicedToArray(yt,2),lt=Rt[0],_t=Rt[1];useLayoutUpdateEffect(function(){var un=lt[0];_r!==un&&Nt(_r,un)},[lt]),useLayoutUpdateEffect(function(){zn(mn)||Rr(mn)},[mn]);var Jt=useEvent(function(un,Dt){Rr(un,Dt),_t([ea],Dt)});return[ir,Jt]}var xr=be(33993);function Nr(Et,wt,Wt){var qt=ge.useRef({});return(!("value"in qt.current)||Wt(qt.current.condition,wt))&&(qt.current.value=Et(),qt.current.condition=wt),qt.current.value}function Lr(Et,wt){typeof Et=="function"?Et(wt):(0,y.Z)(Et)==="object"&&Et&&"current"in Et&&(Et.current=wt)}function hr(){for(var Et=arguments.length,wt=new Array(Et),Wt=0;Wt<Et;Wt++)wt[Wt]=arguments[Wt];var qt=wt.filter(function(mn){return mn});return qt.length<=1?qt[0]:function(mn){wt.forEach(function(Bn){Lr(Bn,mn)})}}function Dr(){for(var Et=arguments.length,wt=new Array(Et),Wt=0;Wt<Et;Wt++)wt[Wt]=arguments[Wt];return Nr(function(){return hr.apply(void 0,wt)},wt,function(qt,mn){return qt.length!==mn.length||qt.every(function(Bn,nr){return Bn!==mn[nr]})})}function kr(Et){var wt,Wt,qt=isMemo(Et)?Et.type.type:Et.type;return!(typeof qt=="function"&&!((wt=qt.prototype)!==null&&wt!==void 0&&wt.render)||typeof Et=="function"&&!((Wt=Et.prototype)!==null&&Wt!==void 0&&Wt.render))}function mr(Et){return!isValidElement(Et)||isFragment(Et)?!1:kr(Et)}function rn(Et,wt,Wt,qt){if(!wt.length)return Wt;var mn=_toArray(wt),Bn=mn[0],nr=mn.slice(1),fr;return!Et&&typeof Bn=="number"?fr=[]:Array.isArray(Et)?fr=_toConsumableArray(Et):fr=_objectSpread({},Et),qt&&Wt===void 0&&nr.length===1?delete fr[Bn][nr[0]]:fr[Bn]=rn(fr[Bn],nr,Wt,qt),fr}function yn(Et,wt,Wt){var qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return wt.length&&qt&&Wt===void 0&&!get(Et,wt.slice(0,-1))?Et:rn(Et,wt,Wt,qt)}function Cn(Et){return _typeof(Et)==="object"&&Et!==null&&Object.getPrototypeOf(Et)===Object.prototype}function _n(Et){return Array.isArray(Et)?[]:{}}var Pr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function jr(){for(var Et=arguments.length,wt=new Array(Et),Wt=0;Wt<Et;Wt++)wt[Wt]=arguments[Wt];var qt=_n(wt[0]);return wt.forEach(function(mn){function Bn(nr,fr){var vr=new Set(fr),_r=get(mn,nr),Rr=Array.isArray(_r);if(Rr||Cn(_r)){if(!vr.has(_r)){vr.add(_r);var ea=get(qt,nr);Rr?qt=yn(qt,nr,[]):(!ea||_typeof(ea)!=="object")&&(qt=yn(qt,nr,_n(_r))),Pr(_r).forEach(function(ir){Bn([].concat(_toConsumableArray(nr),[ir]),vr)})}}else qt=yn(qt,nr,_r)}Bn([])}),qt}var bt={},Mt=[],At=function(wt){Mt.push(wt)};function on(Et,wt){if(0)var Wt}function Pn(Et,wt){if(0)var Wt}function In(){bt={}}function Cr(Et,wt,Wt){!wt&&!bt[Wt]&&(Et(!1,Wt),bt[Wt]=!0)}function Er(Et,wt){Cr(on,Et,wt)}function Qn(Et,wt){Cr(Pn,Et,wt)}Er.preMessage=At,Er.resetWarned=In,Er.noteOnce=Qn;var ar=Er,Xr=function(wt){var Wt=wt.prefixCls,qt=wt.className,mn=wt.style,Bn=wt.children,nr=wt.containerRef,fr=wt.id,vr=wt.onMouseEnter,_r=wt.onMouseOver,Rr=wt.onMouseLeave,ea=wt.onClick,ir=wt.onKeyDown,Nt=wt.onKeyUp,yt={onMouseEnter:vr,onMouseOver:_r,onMouseLeave:Rr,onClick:ea,onKeyDown:ir,onKeyUp:Nt},Rt=ge.useContext(ut),lt=Rt.panel,_t=Dr(lt,nr);return ge.createElement(ge.Fragment,null,ge.createElement("div",(0,at.Z)({id:fr,className:Ze()("".concat(Wt,"-content"),qt),style:(0,E.Z)({},mn),"aria-modal":"true",role:"dialog",ref:_t},yt),Bn))},qr=Xr;function Sn(Et){return typeof Et=="string"&&String(Number(Et))===Et?(ar(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Et)):Et}function ur(Et){warning(!("wrapperClassName"in Et),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Et.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ct={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function zt(Et,wt){var Wt,qt,mn,Bn,nr=Et.prefixCls,fr=Et.open,vr=Et.placement,_r=Et.inline,Rr=Et.push,ea=Et.forceRender,ir=Et.autoFocus,Nt=Et.keyboard,yt=Et.rootClassName,Rt=Et.rootStyle,lt=Et.zIndex,_t=Et.className,Jt=Et.id,un=Et.style,Dt=Et.motion,$t=Et.width,kt=Et.height,cn=Et.children,On=Et.contentWrapperStyle,wn=Et.mask,Nn=Et.maskClosable,Kn=Et.maskMotion,qn=Et.maskClassName,yr=Et.maskStyle,Ht=Et.afterOpenChange,en=Et.onClose,ln=Et.onMouseEnter,dn=Et.onMouseOver,Gn=Et.onMouseLeave,er=Et.onClick,Tr=Et.onKeyDown,rr=Et.onKeyUp,xn=ge.useRef(),Mn=ge.useRef(),Zn=ge.useRef();ge.useImperativeHandle(wt,function(){return xn.current});var Wn=function(Ma){var za=Ma.keyCode,so=Ma.shiftKey;switch(za){case ct.TAB:{if(za===ct.TAB){if(!so&&document.activeElement===Zn.current){var Xa;(Xa=Mn.current)===null||Xa===void 0||Xa.focus({preventScroll:!0})}else if(so&&document.activeElement===Mn.current){var xo;(xo=Zn.current)===null||xo===void 0||xo.focus({preventScroll:!0})}}break}case ct.ESC:{en&&Nt&&(Ma.stopPropagation(),en(Ma));break}}};ge.useEffect(function(){if(fr&&ir){var va;(va=xn.current)===null||va===void 0||va.focus({preventScroll:!0})}},[fr]);var gr=ge.useState(!1),Ur=(0,Se.Z)(gr,2),Hr=Ur[0],sa=Ur[1],Ir=ge.useContext(St),Ea;Rr===!1?Ea={distance:0}:Rr===!0?Ea={}:Ea=Rr||{};var Zr=(Wt=(qt=(mn=Ea)===null||mn===void 0?void 0:mn.distance)!==null&&qt!==void 0?qt:Ir==null?void 0:Ir.pushDistance)!==null&&Wt!==void 0?Wt:180,Va=ge.useMemo(function(){return{pushDistance:Zr,push:function(){sa(!0)},pull:function(){sa(!1)}}},[Zr]);ge.useEffect(function(){if(fr){var va;Ir==null||(va=Ir.push)===null||va===void 0||va.call(Ir)}else{var Ma;Ir==null||(Ma=Ir.pull)===null||Ma===void 0||Ma.call(Ir)}},[fr]),ge.useEffect(function(){return function(){var va;Ir==null||(va=Ir.pull)===null||va===void 0||va.call(Ir)}},[]);var uo=wn&&ge.createElement(Tt.Z,(0,at.Z)({key:"mask"},Kn,{visible:fr}),function(va,Ma){var za=va.className,so=va.style;return ge.createElement("div",{className:Ze()("".concat(nr,"-mask"),za,qn),style:(0,E.Z)((0,E.Z)({},so),yr),onClick:Nn&&fr?en:void 0,ref:Ma})}),io=typeof Dt=="function"?Dt(vr):Dt,ka={};if(Hr&&Zr)switch(vr){case"top":ka.transform="translateY(".concat(Zr,"px)");break;case"bottom":ka.transform="translateY(".concat(-Zr,"px)");break;case"left":ka.transform="translateX(".concat(Zr,"px)");break;default:ka.transform="translateX(".concat(-Zr,"px)");break}vr==="left"||vr==="right"?ka.width=Sn($t):ka.height=Sn(kt);var Ka={onMouseEnter:ln,onMouseOver:dn,onMouseLeave:Gn,onClick:er,onKeyDown:Tr,onKeyUp:rr},_a=ge.createElement(Tt.Z,(0,at.Z)({key:"panel"},io,{visible:fr,forceRender:ea,onVisibleChanged:function(Ma){Ht==null||Ht(Ma)},removeOnLeave:!1,leavedClassName:"".concat(nr,"-content-wrapper-hidden")}),function(va,Ma){var za=va.className,so=va.style;return ge.createElement("div",(0,at.Z)({className:Ze()("".concat(nr,"-content-wrapper"),za),style:(0,E.Z)((0,E.Z)((0,E.Z)({},ka),so),On)},nn(Et,{data:!0})),ge.createElement(qr,(0,at.Z)({id:Jt,containerRef:Ma,prefixCls:nr,className:_t,style:un},Ka),cn))}),co=(0,E.Z)({},Rt);return lt&&(co.zIndex=lt),ge.createElement(St.Provider,{value:Va},ge.createElement("div",{className:Ze()(nr,"".concat(nr,"-").concat(vr),yt,(Bn={},(0,xt.Z)(Bn,"".concat(nr,"-open"),fr),(0,xt.Z)(Bn,"".concat(nr,"-inline"),_r),Bn)),style:co,tabIndex:-1,ref:xn,onKeyDown:Wn},uo,ge.createElement("div",{tabIndex:0,ref:Mn,style:Ct,"aria-hidden":"true","data-sentinel":"start"}),_a,ge.createElement("div",{tabIndex:0,ref:Zn,style:Ct,"aria-hidden":"true","data-sentinel":"end"})))}var Kt=ge.forwardRef(zt),Qt=Kt,vn=function(wt){var Wt=wt.open,qt=Wt===void 0?!1:Wt,mn=wt.prefixCls,Bn=mn===void 0?"rc-drawer":mn,nr=wt.placement,fr=nr===void 0?"right":nr,vr=wt.autoFocus,_r=vr===void 0?!0:vr,Rr=wt.keyboard,ea=Rr===void 0?!0:Rr,ir=wt.width,Nt=ir===void 0?378:ir,yt=wt.mask,Rt=yt===void 0?!0:yt,lt=wt.maskClosable,_t=lt===void 0?!0:lt,Jt=wt.getContainer,un=wt.forceRender,Dt=wt.afterOpenChange,$t=wt.destroyOnClose,kt=wt.onMouseEnter,cn=wt.onMouseOver,On=wt.onMouseLeave,wn=wt.onClick,Nn=wt.onKeyDown,Kn=wt.onKeyUp,qn=wt.panelRef,yr=ge.useState(!1),Ht=(0,Se.Z)(yr,2),en=Ht[0],ln=Ht[1],dn=ge.useState(!1),Gn=(0,Se.Z)(dn,2),er=Gn[0],Tr=Gn[1];mt(function(){Tr(!0)},[]);var rr=er?qt:!1,xn=ge.useRef(),Mn=ge.useRef();mt(function(){rr&&(Mn.current=document.activeElement)},[rr]);var Zn=function(sa){var Ir;if(ln(sa),Dt==null||Dt(sa),!sa&&Mn.current&&!((Ir=xn.current)!==null&&Ir!==void 0&&Ir.contains(Mn.current))){var Ea;(Ea=Mn.current)===null||Ea===void 0||Ea.focus({preventScroll:!0})}},Wn=ge.useMemo(function(){return{panel:qn}},[qn]);if(!un&&!en&&!rr&&$t)return null;var gr={onMouseEnter:kt,onMouseOver:cn,onMouseLeave:On,onClick:wn,onKeyDown:Nn,onKeyUp:Kn},Ur=(0,E.Z)((0,E.Z)({},wt),{},{open:rr,prefixCls:Bn,placement:fr,autoFocus:_r,keyboard:ea,width:Nt,mask:Rt,maskClosable:_t,inline:Jt===!1,afterOpenChange:Zn,ref:xn},gr);return ge.createElement(ut.Provider,{value:Wn},ge.createElement(xe,{open:rr||un||en,autoDestroy:!1,getContainer:Jt,autoLock:Rt&&(rr||en)},ge.createElement(Qt,Ur)))},Xt=vn,sn=Xt,tn=be(33603),Rn=be(53124),bn=be(65223),Xn=be(69760),an=Et=>{const{prefixCls:wt,title:Wt,footer:qt,extra:mn,closeIcon:Bn,closable:nr,onClose:fr,headerStyle:vr,drawerStyle:_r,bodyStyle:Rr,footerStyle:ea,children:ir}=Et,Nt=ge.useCallback(Jt=>ge.createElement("button",{type:"button",onClick:fr,"aria-label":"Close",className:`${wt}-close`},Jt),[fr]),[yt,Rt]=(0,Xn.Z)(nr,Bn,Nt,void 0,!0),lt=ge.useMemo(()=>!Wt&&!yt?null:ge.createElement("div",{style:vr,className:Ze()(`${wt}-header`,{[`${wt}-header-close-only`]:yt&&!Wt&&!mn})},ge.createElement("div",{className:`${wt}-header-title`},Rt,Wt&&ge.createElement("div",{className:`${wt}-title`},Wt)),mn&&ge.createElement("div",{className:`${wt}-extra`},mn)),[yt,Rt,mn,vr,wt,Wt]),_t=ge.useMemo(()=>{if(!qt)return null;const Jt=`${wt}-footer`;return ge.createElement("div",{className:Jt,style:ea},qt)},[qt,ea,wt]);return ge.createElement("div",{className:`${wt}-wrapper-body`,style:_r},lt,ge.createElement("div",{className:`${wt}-body`,style:Rr},ir),_t)},Jr=be(4173),ya=be(67968),ba=be(45503),pa=Et=>{const{componentCls:wt,motionDurationSlow:Wt}=Et,qt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Wt}`}}};return{[wt]:{[`${wt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Wt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${wt}-panel-motion`]:{"&-left":[qt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[qt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[qt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[qt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const hn=Et=>{const{componentCls:wt,zIndexPopup:Wt,colorBgMask:qt,colorBgElevated:mn,motionDurationSlow:Bn,motionDurationMid:nr,padding:fr,paddingLG:vr,fontSizeLG:_r,lineHeightLG:Rr,lineWidth:ea,lineType:ir,colorSplit:Nt,marginSM:yt,colorIcon:Rt,colorIconHover:lt,colorText:_t,fontWeightStrong:Jt,footerPaddingBlock:un,footerPaddingInline:Dt}=Et,$t=`${wt}-content-wrapper`;return{[wt]:{position:"fixed",inset:0,zIndex:Wt,pointerEvents:"none","&-pure":{position:"relative",background:mn,[`&${wt}-left`]:{boxShadow:Et.boxShadowDrawerLeft},[`&${wt}-right`]:{boxShadow:Et.boxShadowDrawerRight},[`&${wt}-top`]:{boxShadow:Et.boxShadowDrawerUp},[`&${wt}-bottom`]:{boxShadow:Et.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${wt}-mask`]:{position:"absolute",inset:0,zIndex:Wt,background:qt,pointerEvents:"auto"},[$t]:{position:"absolute",zIndex:Wt,maxWidth:"100vw",transition:`all ${Bn}`,"&-hidden":{display:"none"}},[`&-left > ${$t}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Et.boxShadowDrawerLeft},[`&-right > ${$t}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Et.boxShadowDrawerRight},[`&-top > ${$t}`]:{top:0,insetInline:0,boxShadow:Et.boxShadowDrawerUp},[`&-bottom > ${$t}`]:{bottom:0,insetInline:0,boxShadow:Et.boxShadowDrawerDown},[`${wt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:mn,pointerEvents:"auto"},[`${wt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${wt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fr}px ${vr}px`,fontSize:_r,lineHeight:Rr,borderBottom:`${ea}px ${ir} ${Nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${wt}-extra`]:{flex:"none"},[`${wt}-close`]:{display:"inline-block",marginInlineEnd:yt,color:Rt,fontWeight:Jt,fontSize:_r,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${nr}`,textRendering:"auto","&:focus, &:hover":{color:lt,textDecoration:"none"}},[`${wt}-title`]:{flex:1,margin:0,color:_t,fontWeight:Et.fontWeightStrong,fontSize:_r,lineHeight:Rr},[`${wt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:vr,overflow:"auto"},[`${wt}-footer`]:{flexShrink:0,padding:`${un}px ${Dt}px`,borderTop:`${ea}px ${ir} ${Nt}`},"&-rtl":{direction:"rtl"}}}};var Fn=(0,ya.Z)("Drawer",Et=>{const wt=(0,ba.TS)(Et,{});return[hn(wt),pa(wt)]},Et=>({zIndexPopup:Et.zIndexPopupBase,footerPaddingBlock:Et.paddingXS,footerPaddingInline:Et.padding})),Hn=be(16569),An=function(Et,wt){var Wt={};for(var qt in Et)Object.prototype.hasOwnProperty.call(Et,qt)&&wt.indexOf(qt)<0&&(Wt[qt]=Et[qt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mn=0,qt=Object.getOwnPropertySymbols(Et);mn<qt.length;mn++)wt.indexOf(qt[mn])<0&&Object.prototype.propertyIsEnumerable.call(Et,qt[mn])&&(Wt[qt[mn]]=Et[qt[mn]]);return Wt};const Qr=null,Wr={distance:180},ha=Et=>{var wt;const{rootClassName:Wt,width:qt,height:mn,size:Bn="default",mask:nr=!0,push:fr=Wr,open:vr,afterOpenChange:_r,onClose:Rr,prefixCls:ea,getContainer:ir,style:Nt,className:yt,visible:Rt,afterVisibleChange:lt}=Et,_t=An(Et,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Jt,getPrefixCls:un,direction:Dt,drawer:$t}=ge.useContext(Rn.E_),kt=un("drawer",ea),[cn,On]=Fn(kt),wn=ir===void 0&&Jt?()=>Jt(document.body):ir,Nn=Ze()({"no-mask":!nr,[`${kt}-rtl`]:Dt==="rtl"},Wt,On),Kn=ge.useMemo(()=>qt!=null?qt:Bn==="large"?736:378,[qt,Bn]),qn=ge.useMemo(()=>mn!=null?mn:Bn==="large"?736:378,[mn,Bn]),yr={motionName:(0,tn.m)(kt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Ht=ln=>({motionName:(0,tn.m)(kt,`panel-motion-${ln}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),en=(0,Hn.H)();return cn(ge.createElement(Jr.BR,null,ge.createElement(bn.Ux,{status:!0,override:!0},ge.createElement(sn,Object.assign({prefixCls:kt,onClose:Rr,maskMotion:yr,motion:Ht},_t,{open:vr!=null?vr:Rt,mask:nr,push:fr,width:Kn,height:qn,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),Nt),className:Ze()($t==null?void 0:$t.className,yt),rootClassName:Nn,getContainer:wn,afterOpenChange:_r!=null?_r:lt,panelRef:en}),ge.createElement(an,Object.assign({prefixCls:kt},_t,{onClose:Rr}))))))},da=Et=>{const{prefixCls:wt,style:Wt,className:qt,placement:mn="right"}=Et,Bn=An(Et,["prefixCls","style","className","placement"]),{getPrefixCls:nr}=ge.useContext(Rn.E_),fr=nr("drawer",wt),[vr,_r]=Fn(fr),Rr=Ze()(fr,`${fr}-pure`,`${fr}-${mn}`,_r,qt);return vr(ge.createElement("div",{className:Rr,style:Wt},ge.createElement(an,Object.assign({prefixCls:fr},Bn))))};ha._InternalPanelDoNotUseOrYouWillBeFired=da;var ma=ha},35874:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Xe}});var Ae=be(67294),Ze=be(91034),E=be(94184),Se=be.n(E),ge=be(87462),oe=be(4942),te=be(97685),ue=be(45987),ce=be(62709),le=be(71002),de=be(12060);function ae(Ge,Ce,xe){var je=React.useRef({});return(!("value"in je.current)||xe(je.current.condition,Ce))&&(je.current.value=Ge(),je.current.condition=Ce),je.current.value}function ie(Ge,Ce){typeof Ge=="function"?Ge(Ce):(0,le.Z)(Ge)==="object"&&Ge&&"current"in Ge&&(Ge.current=Ce)}function ne(){for(var Ge=arguments.length,Ce=new Array(Ge),xe=0;xe<Ge;xe++)Ce[xe]=arguments[xe];var je=Ce.filter(function(_e){return _e});return je.length<=1?je[0]:function(_e){Ce.forEach(function(ot){ie(ot,_e)})}}function a(){for(var Ge=arguments.length,Ce=new Array(Ge),xe=0;xe<Ge;xe++)Ce[xe]=arguments[xe];return useMemo(function(){return ne.apply(void 0,Ce)},Ce,function(je,_e){return je.length===_e.length&&je.every(function(ot,pt){return ot===_e[pt]})})}function y(Ge){var Ce,xe,je=(0,de.isMemo)(Ge)?Ge.type.type:Ge.type;return!(typeof je=="function"&&!((Ce=je.prototype)!==null&&Ce!==void 0&&Ce.render)||typeof Ge=="function"&&!((xe=Ge.prototype)!==null&&xe!==void 0&&xe.render))}var x={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ce){var xe=Ce.keyCode;if(Ce.altKey&&!Ce.ctrlKey||Ce.metaKey||xe>=x.F1&&xe<=x.F12)return!1;switch(xe){case x.ALT:case x.CAPS_LOCK:case x.CONTEXT_MENU:case x.CTRL:case x.DOWN:case x.END:case x.ESC:case x.HOME:case x.INSERT:case x.LEFT:case x.MAC_FF_META:case x.META:case x.NUMLOCK:case x.NUM_CENTER:case x.PAGE_DOWN:case x.PAGE_UP:case x.PAUSE:case x.PRINT_SCREEN:case x.RIGHT:case x.SHIFT:case x.UP:case x.WIN_KEY:case x.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ce){if(Ce>=x.ZERO&&Ce<=x.NINE||Ce>=x.NUM_ZERO&&Ce<=x.NUM_MULTIPLY||Ce>=x.A&&Ce<=x.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ce===0)return!0;switch(Ce){case x.SPACE:case x.QUESTION_MARK:case x.NUM_PLUS:case x.NUM_MINUS:case x.NUM_PERIOD:case x.NUM_DIVISION:case x.SEMICOLON:case x.DASH:case x.EQUALS:case x.COMMA:case x.PERIOD:case x.SLASH:case x.APOSTROPHE:case x.SINGLE_QUOTE:case x.OPEN_SQUARE_BRACKET:case x.BACKSLASH:case x.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},b=x,z=function(Ce){return+setTimeout(Ce,16)},ee=function(Ce){return clearTimeout(Ce)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(z=function(Ce){return window.requestAnimationFrame(Ce)},ee=function(Ce){return window.cancelAnimationFrame(Ce)});var re=0,se=new Map;function fe(Ge){se.delete(Ge)}var ve=function(Ce){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;re+=1;var je=re;function _e(ot){if(ot===0)fe(je),Ce();else{var pt=z(function(){_e(ot-1)});se.set(je,pt)}}return _e(xe),je};ve.cancel=function(Ge){var Ce=se.get(Ge);return fe(Ce),ee(Ce)};var me=ve,pe=b.ESC,he=b.TAB;function ye(Ge){var Ce=Ge.visible,xe=Ge.triggerRef,je=Ge.onVisibleChange,_e=Ge.autoFocus,ot=Ge.overlayRef,pt=Ae.useRef(!1),mt=function(){if(Ce){var xt,at;(xt=xe.current)===null||xt===void 0||(at=xt.focus)===null||at===void 0||at.call(xt),je==null||je(!1)}},tt=function(){var xt;return(xt=ot.current)!==null&&xt!==void 0&&xt.focus?(ot.current.focus(),pt.current=!0,!0):!1},ut=function(xt){switch(xt.keyCode){case pe:mt();break;case he:{var at=!1;pt.current||(at=tt()),at?xt.preventDefault():mt();break}}};Ae.useEffect(function(){return Ce?(window.addEventListener("keydown",ut),_e&&me(tt,3),function(){window.removeEventListener("keydown",ut),pt.current=!1}):function(){pt.current=!1}},[Ce])}var Pe=(0,Ae.forwardRef)(function(Ge,Ce){var xe=Ge.overlay,je=Ge.arrow,_e=Ge.prefixCls,ot=(0,Ae.useMemo)(function(){var mt;return typeof xe=="function"?mt=xe():mt=xe,mt},[xe]),pt=ne(Ce,ot==null?void 0:ot.ref);return Ae.createElement(Ae.Fragment,null,je&&Ae.createElement("div",{className:"".concat(_e,"-arrow")}),Ae.cloneElement(ot,{ref:y(ot)?pt:void 0}))}),Oe=Pe,we={adjustX:1,adjustY:1},Te=[0,0],Me={topLeft:{points:["bl","tl"],overflow:we,offset:[0,-4],targetOffset:Te},top:{points:["bc","tc"],overflow:we,offset:[0,-4],targetOffset:Te},topRight:{points:["br","tr"],overflow:we,offset:[0,-4],targetOffset:Te},bottomLeft:{points:["tl","bl"],overflow:we,offset:[0,4],targetOffset:Te},bottom:{points:["tc","bc"],overflow:we,offset:[0,4],targetOffset:Te},bottomRight:{points:["tr","br"],overflow:we,offset:[0,4],targetOffset:Te}},Fe=Me,$e=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ve(Ge,Ce){var xe,je=Ge.arrow,_e=je===void 0?!1:je,ot=Ge.prefixCls,pt=ot===void 0?"rc-dropdown":ot,mt=Ge.transitionName,tt=Ge.animation,ut=Ge.align,St=Ge.placement,xt=St===void 0?"bottomLeft":St,at=Ge.placements,Tt=at===void 0?Fe:at,We=Ge.getPopupContainer,ct=Ge.showAction,ht=Ge.hideAction,vt=Ge.overlayClassName,Ot=Ge.overlayStyle,Bt=Ge.visible,Zt=Ge.trigger,Yt=Zt===void 0?["hover"]:Zt,nn=Ge.autoFocus,En=Ge.overlay,jn=Ge.children,zn=Ge.onVisibleChange,Vn=(0,ue.Z)(Ge,$e),xr=Ae.useState(),Nr=(0,te.Z)(xr,2),Lr=Nr[0],hr=Nr[1],Dr="visible"in Ge?Bt:Lr,kr=Ae.useRef(null),mr=Ae.useRef(null),rn=Ae.useRef(null);Ae.useImperativeHandle(Ce,function(){return kr.current});var yn=function(Pn){hr(Pn),zn==null||zn(Pn)};ye({visible:Dr,triggerRef:rn,onVisibleChange:yn,autoFocus:nn,overlayRef:mr});var Cn=function(Pn){var In=Ge.onOverlayClick;hr(!1),In&&In(Pn)},_n=function(){return Ae.createElement(Oe,{ref:mr,overlay:En,prefixCls:pt,arrow:_e})},Pr=function(){return typeof En=="function"?_n:_n()},jr=function(){var Pn=Ge.minOverlayWidthMatchTrigger,In=Ge.alignPoint;return"minOverlayWidthMatchTrigger"in Ge?Pn:!In},bt=function(){var Pn=Ge.openClassName;return Pn!==void 0?Pn:"".concat(pt,"-open")},Mt=Ae.cloneElement(jn,{className:Se()((xe=jn.props)===null||xe===void 0?void 0:xe.className,Dr&&bt()),ref:y(jn)?ne(rn,jn.ref):void 0}),At=ht;return!At&&Yt.indexOf("contextMenu")!==-1&&(At=["click"]),Ae.createElement(ce.Z,(0,ge.Z)({builtinPlacements:Tt},Vn,{prefixCls:pt,ref:kr,popupClassName:Se()(vt,(0,oe.Z)({},"".concat(pt,"-show-arrow"),_e)),popupStyle:Ot,action:Yt,showAction:ct,hideAction:At,popupPlacement:xt,popupAlign:ut,popupTransitionName:mt,popupAnimation:tt,popupVisible:Dr,stretch:jr()?"minWidth":"",popup:Pr(),onPopupVisibleChange:yn,onPopupClick:Cn,getPopupContainer:We}),Mt)}var Re=Ae.forwardRef(Ve),st=Re,rt=be(60276),et=be(5663),qe=be(10366),ze=be(80636),ke=be(8745),Be=be(96159),Je=be(53124),Ye=be(68508),dt=be(76529),He=be(46605),Ue=be(66748);const Le=null,Ke=Ge=>{const{menu:Ce,arrow:xe,prefixCls:je,children:_e,trigger:ot,disabled:pt,dropdownRender:mt,getPopupContainer:tt,overlayClassName:ut,rootClassName:St,open:xt,onOpenChange:at,visible:Tt,onVisibleChange:We,mouseEnterDelay:ct=.15,mouseLeaveDelay:ht=.1,autoAdjustOverflow:vt=!0,placement:Ot="",overlay:Bt,transitionName:Zt}=Ge,{getPopupContainer:Yt,getPrefixCls:nn,direction:En}=Ae.useContext(Je.E_),jn=Ae.useMemo(()=>{const Mt=nn();return Zt!==void 0?Zt:Ot.includes("top")?`${Mt}-slide-down`:`${Mt}-slide-up`},[nn,Ot,Zt]),zn=Ae.useMemo(()=>Ot?Ot.includes("Center")?Ot.slice(0,Ot.indexOf("Center")):Ot:En==="rtl"?"bottomRight":"bottomLeft",[Ot,En]),Vn=nn("dropdown",je),[xr,Nr]=(0,Ue.Z)(Vn),[,Lr]=(0,He.Z)(),hr=Ae.Children.only(_e),Dr=(0,Be.Tm)(hr,{className:Se()(`${Vn}-trigger`,{[`${Vn}-rtl`]:En==="rtl"},hr.props.className),disabled:pt}),kr=pt?[]:ot;let mr;kr&&kr.includes("contextMenu")&&(mr=!0);const[rn,yn]=(0,et.Z)(!1,{value:xt!=null?xt:Tt}),Cn=(0,rt.useEvent)(Mt=>{at==null||at(Mt),We==null||We(Mt),yn(Mt)}),_n=Se()(ut,St,Nr,{[`${Vn}-rtl`]:En==="rtl"}),Pr=(0,ze.Z)({arrowPointAtCenter:typeof xe=="object"&&xe.pointAtCenter,autoAdjustOverflow:vt,offset:Lr.marginXXS,arrowWidth:xe?Lr.sizePopupArrow:0,borderRadius:Lr.borderRadius}),jr=Ae.useCallback(()=>{yn(!1)},[]),bt=()=>{let Mt;return Ce!=null&&Ce.items?Mt=Ae.createElement(Ye.default,Object.assign({},Ce)):typeof Bt=="function"?Mt=Bt():Mt=Bt,mt&&(Mt=mt(Mt)),Mt=Ae.Children.only(typeof Mt=="string"?Ae.createElement("span",null,Mt):Mt),Ae.createElement(dt.J,{prefixCls:`${Vn}-menu`,expandIcon:Ae.createElement("span",{className:`${Vn}-menu-submenu-arrow`},Ae.createElement(Ze.Z,{className:`${Vn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jr,validator:At=>{let{mode:on}=At}},Mt)};return xr(Ae.createElement(st,Object.assign({alignPoint:mr},(0,qe.Z)(Ge,["rootClassName"]),{mouseEnterDelay:ct,mouseLeaveDelay:ht,visible:rn,builtinPlacements:Pr,arrow:!!xe,overlayClassName:_n,prefixCls:Vn,getPopupContainer:tt||Yt,transitionName:jn,trigger:kr,overlay:bt,placement:zn,onVisibleChange:Cn}),Dr))};function Ee(Ge){return Object.assign(Object.assign({},Ge),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ie=(0,ke.Z)(Ke,"dropdown",Ge=>Ge,Ee),Qe=Ge=>Ae.createElement(Ie,Object.assign({},Ge),Ae.createElement("span",null));Ke._InternalPanelDoNotUseOrYouWillBeFired=Qe;var Xe=Ke},85418:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return a}});var Ae=be(35874),Ze=be(94184),E=be.n(Ze),Se=be(67294),ge=be(25877),oe=be(71577),te=be(53124),ue=be(93421),ce=be(4173),le=be(66748),de=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(y);ee<z.length;ee++)x.indexOf(z[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,z[ee])&&(b[z[ee]]=y[z[ee]]);return b};const ae=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:z}=Se.useContext(te.E_),{prefixCls:ee,type:re="default",danger:se,disabled:fe,loading:ve,onClick:me,htmlType:pe,children:he,className:ye,menu:Pe,arrow:Oe,autoFocus:we,overlay:Te,trigger:Me,align:Fe,open:$e,onOpenChange:Ve,placement:Re,getPopupContainer:st,href:rt,icon:et=Se.createElement(ge.Z,null),title:qe,buttonsRender:ze=pt=>pt,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:Je,overlayStyle:Ye,destroyPopupOnHide:dt,dropdownRender:He}=y,Ue=de(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"]),Le=b("dropdown",ee),Ke=`${Le}-button`,[Ee,Ie]=(0,le.Z)(Le),Qe={menu:Pe,arrow:Oe,autoFocus:we,align:Fe,disabled:fe,trigger:fe?[]:Me,onOpenChange:Ve,getPopupContainer:st||x,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:Je,overlayStyle:Ye,destroyPopupOnHide:dt,dropdownRender:He},{compactSize:Xe,compactItemClassnames:Ge}=(0,ce.ri)(Le,z),Ce=E()(Ke,Ge,ye,Ie);"overlay"in y&&(Qe.overlay=Te),"open"in y&&(Qe.open=$e),"placement"in y?Qe.placement=Re:Qe.placement=z==="rtl"?"bottomLeft":"bottomRight";const xe=Se.createElement(oe.ZP,{type:re,danger:se,disabled:fe,loading:ve,onClick:me,htmlType:pe,href:rt,title:qe},he),je=Se.createElement(oe.ZP,{type:re,danger:se,icon:et}),[_e,ot]=ze([xe,je]);return Ee(Se.createElement(ue.Z.Compact,Object.assign({className:Ce,size:Xe,block:!0},Ue),_e,Se.createElement(Ae.Z,Object.assign({},Qe),ot)))};ae.__ANT_BUTTON=!0;var ie=ae;const ne=Ae.Z;ne.Button=ie;var a=ne},66748:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return de}});var Ae=be(14747),Ze=be(67771),E=be(33297),Se=be(50438),ge=be(97414),oe=be(67968),te=be(45503),ce=ae=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=ae,x=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const le=ae=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:se,dropdownEdgeChildPadding:fe,colorTextDisabled:ve,fontSizeIcon:me,controlPaddingHorizontal:pe,colorBgElevated:he}=ae;return[{[ie]:Object.assign(Object.assign({},(0,Ae.Wf)(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:me}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:me},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ie}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomRight`]:{animationName:Ze.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topRight`]:{animationName:Ze.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomRight`]:{animationName:Ze.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topRight`]:{animationName:Ze.ly}})},(0,ge.ZP)(ae,{colorBg:he,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ie} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ie}, ${ie}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:fe,listStyleType:"none",backgroundColor:he,backgroundClip:"padding-box",borderRadius:ae.borderRadiusLG,outline:"none",boxShadow:ae.boxShadowSecondary},(0,Ae.Qy)(ae)),{[`${ne}-item-group-title`]:{padding:`${re}px ${pe}px`,color:ae.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:se,marginInlineEnd:ae.marginXS,fontSize:ae.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${pe}px`,color:ae.colorText,fontWeight:"normal",fontSize:se,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:ae.controlItemBgHover}},(0,Ae.Qy)(ae)),{"&-selected":{color:ae.colorPrimary,backgroundColor:ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:ae.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:he,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ae.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ae.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ae.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${ae.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:pe+ae.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:he,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:ae.colorPrimary}})}},[(0,Ze.oN)(ae,"slide-up"),(0,Ze.oN)(ae,"slide-down"),(0,E.Fm)(ae,"move-up"),(0,E.Fm)(ae,"move-down"),(0,Se._y)(ae,"zoom-big")]]};var de=(0,oe.Z)("Dropdown",(ae,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:se}=ae,fe=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,ge.fS)({contentRadius:se}),me=(0,te.TS)(ae,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:fe,dropdownEdgeChildPadding:ee});return[le(me),ce(me)]},ae=>({zIndexPopup:ae.zIndexPopupBase+50}))},25378:function(jt,Pt,be){"use strict";var Ae=be(67294),Ze=be(14075),E=be(57838),Se=be(74443);function ge(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,Ae.useRef)({}),ue=(0,E.Z)(),ce=(0,Se.ZP)();return(0,Ze.Z)(()=>{const le=ce.subscribe(de=>{te.current=de,oe&&ue()});return()=>ce.unsubscribe(le)},[]),te.current}Pt.Z=ge},71322:function(jt,Pt,be){"use strict";be.d(Pt,{D:function(){return z},Z:function(){return se}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ve,me){return Ze.createElement(ge.Z,(0,Ae.Z)({},ve,{ref:me,icon:Se}))},te=Ze.forwardRef(oe),ue=be(22751),ce=be(91034),le=be(94184),de=be.n(le),ae=be(10366),ne=fe=>!isNaN(parseFloat(fe))&&isFinite(fe),a=be(53124),y=be(84321),x=function(fe,ve){var me={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&ve.indexOf(pe)<0&&(me[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,pe=Object.getOwnPropertySymbols(fe);he<pe.length;he++)ve.indexOf(pe[he])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[he])&&(me[pe[he]]=fe[pe[he]]);return me};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=Ze.createContext({}),ee=(()=>{let fe=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe+=1,`${ve}${fe}`}})();var se=Ze.forwardRef((fe,ve)=>{const{prefixCls:me,className:pe,trigger:he,children:ye,defaultCollapsed:Pe=!1,theme:Oe="dark",style:we={},collapsible:Te=!1,reverseArrow:Me=!1,width:Fe=200,collapsedWidth:$e=80,zeroWidthTriggerStyle:Ve,breakpoint:Re,onCollapse:st,onBreakpoint:rt}=fe,et=x(fe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:qe}=(0,Ze.useContext)(y.Gs),[ze,ke]=(0,Ze.useState)("collapsed"in fe?fe.collapsed:Pe),[Be,Je]=(0,Ze.useState)(!1);(0,Ze.useEffect)(()=>{"collapsed"in fe&&ke(fe.collapsed)},[fe.collapsed]);const Ye=(Ee,Ie)=>{"collapsed"in fe||ke(Ee),st==null||st(Ee,Ie)},dt=(0,Ze.useRef)();dt.current=Ee=>{Je(Ee.matches),rt==null||rt(Ee.matches),ze!==Ee.matches&&Ye(Ee.matches,"responsive")},(0,Ze.useEffect)(()=>{function Ee(Qe){return dt.current(Qe)}let Ie;if(typeof window!="undefined"){const{matchMedia:Qe}=window;if(Qe&&Re&&Re in b){Ie=Qe(`(max-width: ${b[Re]})`);try{Ie.addEventListener("change",Ee)}catch(Xe){Ie.addListener(Ee)}Ee(Ie)}}return()=>{try{Ie==null||Ie.removeEventListener("change",Ee)}catch(Qe){Ie==null||Ie.removeListener(Ee)}}},[Re]),(0,Ze.useEffect)(()=>{const Ee=ee("ant-sider-");return qe.addSider(Ee),()=>qe.removeSider(Ee)},[]);const He=()=>{Ye(!ze,"clickTrigger")},{getPrefixCls:Ue}=(0,Ze.useContext)(a.E_),Le=()=>{const Ee=Ue("layout-sider",me),Ie=(0,ae.Z)(et,["collapsed"]),Qe=ze?$e:Fe,Xe=ne(Qe)?`${Qe}px`:String(Qe),Ge=parseFloat(String($e||0))===0?Ze.createElement("span",{onClick:He,className:de()(`${Ee}-zero-width-trigger`,`${Ee}-zero-width-trigger-${Me?"right":"left"}`),style:Ve},he||Ze.createElement(te,null)):null,je={expanded:Me?Ze.createElement(ce.Z,null):Ze.createElement(ue.Z,null),collapsed:Me?Ze.createElement(ue.Z,null):Ze.createElement(ce.Z,null)}[ze?"collapsed":"expanded"],_e=he!==null?Ge||Ze.createElement("div",{className:`${Ee}-trigger`,onClick:He,style:{width:Xe}},he||je):null,ot=Object.assign(Object.assign({},we),{flex:`0 0 ${Xe}`,maxWidth:Xe,minWidth:Xe,width:Xe}),pt=de()(Ee,`${Ee}-${Oe}`,{[`${Ee}-collapsed`]:!!ze,[`${Ee}-has-trigger`]:Te&&he!==null&&!Ge,[`${Ee}-below`]:!!Be,[`${Ee}-zero-width`]:parseFloat(Xe)===0},pe);return Ze.createElement("aside",Object.assign({className:pt},Ie,{style:ot,ref:ve}),Ze.createElement("div",{className:`${Ee}-children`},ye),Te||Be&&Ge?_e:null)},Ke=Ze.useMemo(()=>({siderCollapsed:ze}),[ze]);return Ze.createElement(z.Provider,{value:Ke},Le())})},84321:function(jt,Pt,be){"use strict";be.d(Pt,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var Ae=be(74902),Ze=be(94184),E=be.n(Ze),Se=be(10366),ge=be(67294),oe=be(53124),te=be(67968),ce=se=>{const{componentCls:fe,bodyBg:ve,lightSiderBg:me,lightTriggerBg:pe,lightTriggerColor:he}=se;return{[`${fe}-sider-light`]:{background:me,[`${fe}-sider-trigger`]:{color:he,background:pe},[`${fe}-sider-zero-width-trigger`]:{color:he,background:pe,border:`1px solid ${ve}`,borderInlineStart:0}}}};const le=se=>{const{antCls:fe,componentCls:ve,colorText:me,triggerColor:pe,footerBg:he,triggerBg:ye,headerHeight:Pe,headerPadding:Oe,headerColor:we,footerPadding:Te,triggerHeight:Me,zeroTriggerHeight:Fe,zeroTriggerWidth:$e,motionDurationMid:Ve,motionDurationSlow:Re,fontSize:st,borderRadius:rt,bodyBg:et,headerBg:qe,siderBg:ze}=se;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:et,"&, *":{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 ${Ve}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${fe}-menu${fe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Me},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Me,color:pe,lineHeight:`${Me}px`,textAlign:"center",background:ye,cursor:"pointer",transition:`all ${Ve}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Pe,insetInlineEnd:-$e,zIndex:1,width:$e,height:Fe,color:pe,fontSize:se.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Re} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Re}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-$e,borderStartStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:rt}}}}},ce(se)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:Pe,padding:Oe,color:we,lineHeight:`${Pe}px`,background:qe,[`${fe}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Te,color:me,fontSize:st,background:he},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var de=(0,te.Z)("Layout",se=>[le(se)],se=>{const{colorBgLayout:fe,controlHeight:ve,controlHeightLG:me,colorText:pe,controlHeightSM:he,marginXXS:ye,colorTextLightSolid:Pe,colorBgContainer:Oe}=se,we=me*1.25;return{colorBgHeader:"#001529",colorBgBody:fe,colorBgTrigger:"#002140",bodyBg:fe,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${we}px`,headerColor:pe,footerPadding:`${he}px ${we}px`,footerBg:fe,siderBg:"#001529",triggerHeight:me+ye*2,triggerBg:"#002140",triggerColor:Pe,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Oe,lightTriggerBg:Oe,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ae=function(se,fe){var ve={};for(var me in se)Object.prototype.hasOwnProperty.call(se,me)&&fe.indexOf(me)<0&&(ve[me]=se[me]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,me=Object.getOwnPropertySymbols(se);pe<me.length;pe++)fe.indexOf(me[pe])<0&&Object.prototype.propertyIsEnumerable.call(se,me[pe])&&(ve[me[pe]]=se[me[pe]]);return ve};const ie=ge.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ne(se){let{suffixCls:fe,tagName:ve,displayName:me}=se;return pe=>ge.forwardRef((ye,Pe)=>ge.createElement(pe,Object.assign({ref:Pe,suffixCls:fe,tagName:ve},ye)))}const a=ge.forwardRef((se,fe)=>{const{prefixCls:ve,suffixCls:me,className:pe,tagName:he}=se,ye=ae(se,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Pe}=ge.useContext(oe.E_),Oe=Pe("layout",ve),[we,Te]=de(Oe),Me=me?`${Oe}-${me}`:Oe;return we(ge.createElement(he,Object.assign({className:E()(ve||Me,pe,Te),ref:fe},ye)))}),y=ge.forwardRef((se,fe)=>{const{direction:ve}=ge.useContext(oe.E_),[me,pe]=ge.useState([]),{prefixCls:he,className:ye,rootClassName:Pe,children:Oe,hasSider:we,tagName:Te,style:Me}=se,Fe=ae(se,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),$e=(0,Se.Z)(Fe,["suffixCls"]),{getPrefixCls:Ve,layout:Re}=ge.useContext(oe.E_),st=Ve("layout",he),[rt,et]=de(st),qe=E()(st,{[`${st}-has-sider`]:typeof we=="boolean"?we:me.length>0,[`${st}-rtl`]:ve==="rtl"},Re==null?void 0:Re.className,ye,Pe,et),ze=ge.useMemo(()=>({siderHook:{addSider:ke=>{pe(Be=>[].concat((0,Ae.Z)(Be),[ke]))},removeSider:ke=>{pe(Be=>Be.filter(Je=>Je!==ke))}}}),[]);return rt(ge.createElement(ie.Provider,{value:ze},ge.createElement(Te,Object.assign({ref:fe,className:qe,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Me)},$e),Oe)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},76529:function(jt,Pt,be){"use strict";be.d(Pt,{J:function(){return oe}});var Ae=be(67294),Ze=be(4173),E=be(60276),Se=function(te,ue){var ce={};for(var le in te)Object.prototype.hasOwnProperty.call(te,le)&&ue.indexOf(le)<0&&(ce[le]=te[le]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,le=Object.getOwnPropertySymbols(te);de<le.length;de++)ue.indexOf(le[de])<0&&Object.prototype.propertyIsEnumerable.call(te,le[de])&&(ce[le[de]]=te[le[de]]);return ce};const ge=Ae.createContext(null),oe=Ae.forwardRef((te,ue)=>{const{children:ce}=te,le=Se(te,["children"]),de=Ae.useContext(ge),ae=Ae.useMemo(()=>Object.assign(Object.assign({},de),le),[de,le.prefixCls,le.mode,le.selectable]);return Ae.createElement(ge.Provider,{value:ae},Ae.createElement(Ze.BR,null,(0,E.supportNodeRef)(ce)?Ae.cloneElement(ce,{ref:ue}):ce))});Pt.Z=ge},68508:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return Ee}});var Ae=be(78595),Ze=be(67294),E=be(71322),Se=be(94184),ge=be.n(Se),oe=be(53124),te=function(Ie,Qe){var Xe={};for(var Ge in Ie)Object.prototype.hasOwnProperty.call(Ie,Ge)&&Qe.indexOf(Ge)<0&&(Xe[Ge]=Ie[Ge]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ge=Object.getOwnPropertySymbols(Ie);Ce<Ge.length;Ce++)Qe.indexOf(Ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ge[Ce])&&(Xe[Ge[Ce]]=Ie[Ge[Ce]]);return Xe},ce=Ie=>{const{prefixCls:Qe,className:Xe,dashed:Ge}=Ie,Ce=te(Ie,["prefixCls","className","dashed"]),{getPrefixCls:xe}=Ze.useContext(oe.E_),je=xe("menu",Qe),_e=ge()({[`${je}-item-divider-dashed`]:!!Ge},Xe);return Ze.createElement(Ae.iz,Object.assign({className:_e},Ce))},le=be(37419),de=be(10366),ae=be(83062),ie=be(96159),a=(0,Ze.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ie=>{var Qe;const{className:Xe,children:Ge,icon:Ce,title:xe,danger:je}=Ie,{prefixCls:_e,firstLevel:ot,direction:pt,disableMenuItemTitleTooltip:mt,inlineCollapsed:tt}=Ze.useContext(a),ut=ct=>{const ht=Ze.createElement("span",{className:`${_e}-title-content`},Ge);return(!Ce||(0,ie.l$)(Ge)&&Ge.type==="span")&&Ge&&ct&&ot&&typeof Ge=="string"?Ze.createElement("div",{className:`${_e}-inline-collapsed-noicon`},Ge.charAt(0)):ht},{siderCollapsed:St}=Ze.useContext(E.D);let xt=xe;typeof xe=="undefined"?xt=ot?Ge:"":xe===!1&&(xt="");const at={title:xt};!St&&!tt&&(at.title=null,at.open=!1);const Tt=(0,le.Z)(Ge).length;let We=Ze.createElement(Ae.ck,Object.assign({},(0,de.Z)(Ie,["title","icon","danger"]),{className:ge()({[`${_e}-item-danger`]:je,[`${_e}-item-only-child`]:(Ce?Tt+1:Tt)===1},Xe),title:typeof xe=="string"?xe:void 0}),(0,ie.Tm)(Ce,{className:ge()((0,ie.l$)(Ce)?(Qe=Ce.props)===null||Qe===void 0?void 0:Qe.className:"",`${_e}-item-icon`)}),ut(tt));return mt||(We=Ze.createElement(ae.Z,Object.assign({},at,{placement:pt==="rtl"?"left":"right",overlayClassName:`${_e}-inline-collapsed-tooltip`}),We)),We},z=Ie=>{var Qe;const{popupClassName:Xe,icon:Ge,title:Ce,theme:xe}=Ie,je=Ze.useContext(a),{prefixCls:_e,inlineCollapsed:ot,theme:pt}=je,mt=(0,Ae.Xl)();let tt;if(!Ge)tt=ot&&!mt.length&&Ce&&typeof Ce=="string"?Ze.createElement("div",{className:`${_e}-inline-collapsed-noicon`},Ce.charAt(0)):Ze.createElement("span",{className:`${_e}-title-content`},Ce);else{const St=(0,ie.l$)(Ce)&&Ce.type==="span";tt=Ze.createElement(Ze.Fragment,null,(0,ie.Tm)(Ge,{className:ge()((0,ie.l$)(Ge)?(Qe=Ge.props)===null||Qe===void 0?void 0:Qe.className:"",`${_e}-item-icon`)}),St?Ce:Ze.createElement("span",{className:`${_e}-title-content`},Ce))}const ut=Ze.useMemo(()=>Object.assign(Object.assign({},je),{firstLevel:!1}),[je]);return Ze.createElement(a.Provider,{value:ut},Ze.createElement(Ae.Wd,Object.assign({},(0,de.Z)(Ie,["icon"]),{title:tt,popupClassName:ge()(_e,Xe,`${_e}-${xe||pt}`)})))},ee=be(25877),re=be(60276),se=be(33603),fe=be(76529),ve=function(Ie,Qe){var Xe={};for(var Ge in Ie)Object.prototype.hasOwnProperty.call(Ie,Ge)&&Qe.indexOf(Ge)<0&&(Xe[Ge]=Ie[Ge]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ge=Object.getOwnPropertySymbols(Ie);Ce<Ge.length;Ce++)Qe.indexOf(Ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ge[Ce])&&(Xe[Ge[Ce]]=Ie[Ge[Ce]]);return Xe};function me(Ie){return(Ie||[]).map((Qe,Xe)=>{if(Qe&&typeof Qe=="object"){const Ge=Qe,{label:Ce,children:xe,key:je,type:_e}=Ge,ot=ve(Ge,["label","children","key","type"]),pt=je!=null?je:`tmp-${Xe}`;return xe||_e==="group"?_e==="group"?Ze.createElement(Ae.BW,Object.assign({key:pt},ot,{title:Ce}),me(xe)):Ze.createElement(z,Object.assign({key:pt},ot,{title:Ce}),me(xe)):_e==="divider"?Ze.createElement(ce,Object.assign({key:pt},ot)):Ze.createElement(x,Object.assign({key:pt},ot),Ce)}return null}).filter(Qe=>Qe)}function pe(Ie){return Ze.useMemo(()=>Ie&&me(Ie),[Ie])}var he=be(84780),ye=be(14747),Pe=be(33507),Oe=be(67771),we=be(50438),Te=be(67968),Me=be(45503),$e=Ie=>{const{componentCls:Qe,motionDurationSlow:Xe,horizontalLineHeight:Ge,colorSplit:Ce,lineWidth:xe,lineType:je,itemPaddingInline:_e}=Ie;return{[`${Qe}-horizontal`]:{lineHeight:Ge,border:0,borderBottom:`${xe}px ${je} ${Ce}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Qe}-item, ${Qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:_e},[`> ${Qe}-item:hover,
> ${Qe}-item-active,
> ${Qe}-submenu ${Qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Qe}-item, ${Qe}-submenu-title`]:{transition:[`border-color ${Xe}`,`background ${Xe}`].join(",")},[`${Qe}-submenu-arrow`]:{display:"none"}}}},Re=Ie=>{let{componentCls:Qe,menuArrowOffset:Xe}=Ie;return{[`${Qe}-rtl`]:{direction:"rtl"},[`${Qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Qe}-rtl${Qe}-vertical,
${Qe}-submenu-rtl ${Qe}-vertical`]:{[`${Qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Xe})`},"&::after":{transform:`rotate(45deg) translateY(${Xe})`}}}}};const st=Ie=>Object.assign({},(0,ye.oN)(Ie));var et=(Ie,Qe)=>{const{componentCls:Xe,itemColor:Ge,itemSelectedColor:Ce,groupTitleColor:xe,itemBg:je,subMenuItemBg:_e,itemSelectedBg:ot,activeBarHeight:pt,activeBarWidth:mt,activeBarBorderWidth:tt,motionDurationSlow:ut,motionEaseInOut:St,motionEaseOut:xt,itemPaddingInline:at,motionDurationMid:Tt,itemHoverColor:We,lineType:ct,colorSplit:ht,itemDisabledColor:vt,dangerItemColor:Ot,dangerItemHoverColor:Bt,dangerItemSelectedColor:Zt,dangerItemActiveBg:Yt,dangerItemSelectedBg:nn,itemHoverBg:En,itemActiveBg:jn,menuSubMenuBg:zn,horizontalItemSelectedColor:Vn,horizontalItemSelectedBg:xr,horizontalItemBorderRadius:Nr,horizontalItemHoverBg:Lr,popupBg:hr}=Ie;return{[`${Xe}-${Qe}, ${Xe}-${Qe} > ${Xe}`]:{color:Ge,background:je,[`&${Xe}-root:focus-visible`]:Object.assign({},st(Ie)),[`${Xe}-item-group-title`]:{color:xe},[`${Xe}-submenu-selected`]:{[`> ${Xe}-submenu-title`]:{color:Ce}},[`${Xe}-item-disabled, ${Xe}-submenu-disabled`]:{color:`${vt} !important`},[`${Xe}-item:not(${Xe}-item-selected):not(${Xe}-submenu-selected)`]:{[`&:hover, > ${Xe}-submenu-title:hover`]:{color:We}},[`&:not(${Xe}-horizontal)`]:{[`${Xe}-item:not(${Xe}-item-selected)`]:{"&:hover":{backgroundColor:En},"&:active":{backgroundColor:jn}},[`${Xe}-submenu-title`]:{"&:hover":{backgroundColor:En},"&:active":{backgroundColor:jn}}},[`${Xe}-item-danger`]:{color:Ot,[`&${Xe}-item:hover`]:{[`&:not(${Xe}-item-selected):not(${Xe}-submenu-selected)`]:{color:Bt}},[`&${Xe}-item:active`]:{background:Yt}},[`${Xe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Xe}-item-selected`]:{color:Ce,[`&${Xe}-item-danger`]:{color:Zt},"a, a:hover":{color:"inherit"}},[`& ${Xe}-item-selected`]:{backgroundColor:ot,[`&${Xe}-item-danger`]:{backgroundColor:nn}},[`${Xe}-item, ${Xe}-submenu-title`]:{[`&:not(${Xe}-item-disabled):focus-visible`]:Object.assign({},st(Ie))},[`&${Xe}-submenu > ${Xe}`]:{backgroundColor:zn},[`&${Xe}-popup > ${Xe}`]:{backgroundColor:hr},[`&${Xe}-horizontal`]:Object.assign(Object.assign({},Qe==="dark"?{borderBottom:0}:{}),{[`> ${Xe}-item, > ${Xe}-submenu`]:{top:tt,marginTop:-tt,marginBottom:0,borderRadius:Nr,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${pt}px solid transparent`,transition:`border-color ${ut} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:Lr,"&::after":{borderBottomWidth:pt,borderBottomColor:Vn}},"&-selected":{color:Vn,backgroundColor:xr,"&:hover":{backgroundColor:xr},"&::after":{borderBottomWidth:pt,borderBottomColor:Vn}}}}),[`&${Xe}-root`]:{[`&${Xe}-inline, &${Xe}-vertical`]:{borderInlineEnd:`${tt}px ${ct} ${ht}`}},[`&${Xe}-inline`]:{[`${Xe}-sub${Xe}-inline`]:{background:_e},[`${Xe}-item, ${Xe}-submenu-title`]:tt&&mt?{width:`calc(100% + ${tt}px)`}:{},[`${Xe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${mt}px solid ${Ce}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Tt} ${xt}`,`opacity ${Tt} ${xt}`].join(","),content:'""'},[`&${Xe}-item-danger`]:{"&::after":{borderInlineEndColor:Zt}}},[`${Xe}-selected, ${Xe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Tt} ${St}`,`opacity ${Tt} ${St}`].join(",")}}}}}};const qe=Ie=>{const{componentCls:Qe,itemHeight:Xe,itemMarginInline:Ge,padding:Ce,menuArrowSize:xe,marginXS:je,itemMarginBlock:_e}=Ie,ot=Ce+xe+je;return{[`${Qe}-item`]:{position:"relative",overflow:"hidden"},[`${Qe}-item, ${Qe}-submenu-title`]:{height:Xe,lineHeight:`${Xe}px`,paddingInline:Ce,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ge,marginBlock:_e,width:`calc(100% - ${Ge*2}px)`},[`> ${Qe}-item,
> ${Qe}-submenu > ${Qe}-submenu-title`]:{height:Xe,lineHeight:`${Xe}px`},[`${Qe}-item-group-list ${Qe}-submenu-title,
${Qe}-submenu-title`]:{paddingInlineEnd:ot}}};var ke=Ie=>{const{componentCls:Qe,iconCls:Xe,itemHeight:Ge,colorTextLightSolid:Ce,dropdownWidth:xe,controlHeightLG:je,motionDurationMid:_e,motionEaseOut:ot,paddingXL:pt,itemMarginInline:mt,fontSizeLG:tt,motionDurationSlow:ut,paddingXS:St,boxShadowSecondary:xt,collapsedWidth:at,collapsedIconSize:Tt}=Ie,We={height:Ge,lineHeight:`${Ge}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Qe]:{"&-inline, &-vertical":Object.assign({[`&${Qe}-root`]:{boxShadow:"none"}},qe(Ie))},[`${Qe}-submenu-popup`]:{[`${Qe}-vertical`]:Object.assign(Object.assign({},qe(Ie)),{boxShadow:xt})}},{[`${Qe}-submenu-popup ${Qe}-vertical${Qe}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${je*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Qe}-inline`]:{width:"100%",[`&${Qe}-root`]:{[`${Qe}-item, ${Qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ut}`,`background ${ut}`,`padding ${_e} ${ot}`].join(","),[`> ${Qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Qe}-sub${Qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Qe}-submenu > ${Qe}-submenu-title`]:We,[`& ${Qe}-item-group-title`]:{paddingInlineStart:pt}},[`${Qe}-item`]:We}},{[`${Qe}-inline-collapsed`]:{width:at,[`&${Qe}-root`]:{[`${Qe}-item, ${Qe}-submenu ${Qe}-submenu-title`]:{[`> ${Qe}-inline-collapsed-noicon`]:{fontSize:tt,textAlign:"center"}}},[`> ${Qe}-item,
> ${Qe}-item-group > ${Qe}-item-group-list > ${Qe}-item,
> ${Qe}-item-group > ${Qe}-item-group-list > ${Qe}-submenu > ${Qe}-submenu-title,
> ${Qe}-submenu > ${Qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${tt/2}px - ${mt}px)`,textOverflow:"clip",[`
${Qe}-submenu-arrow,
${Qe}-submenu-expand-icon
`]:{opacity:0},[`${Qe}-item-icon, ${Xe}`]:{margin:0,fontSize:Tt,lineHeight:`${Ge}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Qe}-item-icon, ${Xe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Qe}-item-icon, ${Xe}`]:{display:"none"},"a, a:hover":{color:Ce}},[`${Qe}-item-group-title`]:Object.assign(Object.assign({},ye.vS),{paddingInline:St})}}]};const Be=Ie=>{const{componentCls:Qe,motionDurationSlow:Xe,motionDurationMid:Ge,motionEaseInOut:Ce,motionEaseOut:xe,iconCls:je,iconSize:_e,iconMarginInlineEnd:ot}=Ie;return{[`${Qe}-item, ${Qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Xe}`,`background ${Xe}`,`padding ${Xe} ${Ce}`].join(","),[`${Qe}-item-icon, ${je}`]:{minWidth:_e,fontSize:_e,transition:[`font-size ${Ge} ${xe}`,`margin ${Xe} ${Ce}`,`color ${Xe}`].join(","),"+ span":{marginInlineStart:ot,opacity:1,transition:[`opacity ${Xe} ${Ce}`,`margin ${Xe}`,`color ${Xe}`].join(",")}},[`${Qe}-item-icon`]:Object.assign({},(0,ye.Ro)()),[`&${Qe}-item-only-child`]:{[`> ${je}, > ${Qe}-item-icon`]:{marginInlineEnd:0}}},[`${Qe}-item-disabled, ${Qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Je=Ie=>{const{componentCls:Qe,motionDurationSlow:Xe,motionEaseInOut:Ge,borderRadius:Ce,menuArrowSize:xe,menuArrowOffset:je}=Ie;return{[`${Qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Xe} ${Ge}, opacity ${Xe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xe*.6,height:xe*.15,backgroundColor:"currentcolor",borderRadius:Ce,transition:[`background ${Xe} ${Ge}`,`transform ${Xe} ${Ge}`,`top ${Xe} ${Ge}`,`color ${Xe} ${Ge}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${je})`},"&::after":{transform:`rotate(-45deg) translateY(${je})`}}}}},Ye=Ie=>{const{antCls:Qe,componentCls:Xe,fontSize:Ge,motionDurationSlow:Ce,motionDurationMid:xe,motionEaseInOut:je,paddingXS:_e,padding:ot,colorSplit:pt,lineWidth:mt,zIndexPopup:tt,borderRadiusLG:ut,subMenuItemBorderRadius:St,menuArrowSize:xt,menuArrowOffset:at,lineType:Tt,menuPanelMaskInset:We,groupTitleLineHeight:ct,groupTitleFontSize:ht}=Ie;return[{"":{[`${Xe}`]:Object.assign(Object.assign({},(0,ye.dF)()),{"&-hidden":{display:"none"}})},[`${Xe}-submenu-hidden`]:{display:"none"}},{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(Ie)),(0,ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ge,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ce} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Xe}-item`]:{flex:"none"}},[`${Xe}-item, ${Xe}-submenu, ${Xe}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${Xe}-item-group-title`]:{padding:`${_e}px ${ot}px`,fontSize:ht,lineHeight:ct,transition:`all ${Ce}`},[`&-horizontal ${Xe}-submenu`]:{transition:[`border-color ${Ce} ${je}`,`background ${Ce} ${je}`].join(",")},[`${Xe}-submenu, ${Xe}-submenu-inline`]:{transition:[`border-color ${Ce} ${je}`,`background ${Ce} ${je}`,`padding ${xe} ${je}`].join(",")},[`${Xe}-submenu ${Xe}-sub`]:{cursor:"initial",transition:[`background ${Ce} ${je}`,`padding ${Ce} ${je}`].join(",")},[`${Xe}-title-content`]:{transition:`color ${Ce}`},[`${Xe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Xe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:pt,borderStyle:Tt,borderWidth:0,borderTopWidth:mt,marginBlock:mt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Be(Ie)),{[`${Xe}-item-group`]:{[`${Xe}-item-group-list`]:{margin:0,padding:0,[`${Xe}-item, ${Xe}-submenu-title`]:{paddingInline:`${Ge*2}px ${ot}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:tt,borderRadius:ut,boxShadow:"none",transformOrigin:"0 0",[`&${Xe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${We}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:We},"\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:Ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ie.paddingXS},[`> ${Xe}`]:Object.assign(Object.assign(Object.assign({borderRadius:ut},Be(Ie)),Je(Ie)),{[`${Xe}-item, ${Xe}-submenu > ${Xe}-submenu-title`]:{borderRadius:St},[`${Xe}-submenu-title::after`]:{transition:`transform ${Ce} ${je}`}})}}),Je(Ie)),{[`&-inline-collapsed ${Xe}-submenu-arrow,
&-inline ${Xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Xe}-submenu-open${Xe}-submenu-inline > ${Xe}-submenu-title > ${Xe}-submenu-arrow`]:{transform:`translateY(-${xt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${Qe}-layout-header`]:{[Xe]:{lineHeight:"inherit"}}}]};var dt=(Ie,Qe)=>(0,Te.Z)("Menu",Ge=>{if(Qe===!1)return[];const{colorBgElevated:Ce,colorPrimary:xe,colorTextLightSolid:je,controlHeightLG:_e,fontSize:ot,darkItemColor:pt,darkDangerItemColor:mt,darkItemBg:tt,darkSubMenuItemBg:ut,darkItemSelectedColor:St,darkItemSelectedBg:xt,darkDangerItemSelectedBg:at,darkItemHoverBg:Tt,darkGroupTitleColor:We,darkItemHoverColor:ct,darkItemDisabledColor:ht,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:Ot,darkDangerItemActiveBg:Bt}=Ge,Zt=ot/7*5,Yt=(0,Me.TS)(Ge,{menuArrowSize:Zt,menuHorizontalHeight:_e*1.15,menuArrowOffset:`${Zt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ce}),nn=(0,Me.TS)(Yt,{itemColor:pt,itemHoverColor:ct,groupTitleColor:We,itemSelectedColor:St,itemBg:tt,popupBg:tt,subMenuItemBg:ut,itemActiveBg:"transparent",itemSelectedBg:xt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Tt,itemDisabledColor:ht,dangerItemColor:mt,dangerItemHoverColor:vt,dangerItemSelectedColor:Ot,dangerItemActiveBg:Bt,dangerItemSelectedBg:at,menuSubMenuBg:ut,horizontalItemSelectedColor:je,horizontalItemSelectedBg:xe});return[Ye(Yt),$e(Yt),ke(Yt),et(Yt,"light"),et(nn,"dark"),Re(Yt),(0,Pe.Z)(Yt),(0,Oe.oN)(Yt,"slide-up"),(0,Oe.oN)(Yt,"slide-down"),(0,we._y)(Yt,"zoom-big")]},Ge=>{const{colorPrimary:Ce,colorError:xe,colorTextDisabled:je,colorErrorBg:_e,colorText:ot,colorTextDescription:pt,colorBgContainer:mt,colorFillAlter:tt,colorFillContent:ut,lineWidth:St,lineWidthBold:xt,controlItemBgActive:at,colorBgTextHover:Tt,controlHeightLG:We,lineHeight:ct,colorBgElevated:ht,marginXXS:vt,padding:Ot,fontSize:Bt,controlHeightSM:Zt,fontSizeLG:Yt,colorTextLightSolid:nn,colorErrorHover:En}=Ge,jn=new he.C(nn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ge.zIndexPopupBase+50,radiusItem:Ge.borderRadiusLG,itemBorderRadius:Ge.borderRadiusLG,radiusSubMenuItem:Ge.borderRadiusSM,subMenuItemBorderRadius:Ge.borderRadiusSM,colorItemText:ot,itemColor:ot,colorItemTextHover:ot,itemHoverColor:ot,colorItemTextHoverHorizontal:Ce,horizontalItemHoverColor:Ce,colorGroupTitle:pt,groupTitleColor:pt,colorItemTextSelected:Ce,itemSelectedColor:Ce,colorItemTextSelectedHorizontal:Ce,horizontalItemSelectedColor:Ce,colorItemBg:mt,itemBg:mt,colorItemBgHover:Tt,itemHoverBg:Tt,colorItemBgActive:ut,itemActiveBg:at,colorSubItemBg:tt,subMenuItemBg:tt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:xt,activeBarHeight:xt,colorActiveBarBorderSize:St,activeBarBorderWidth:St,colorItemTextDisabled:je,itemDisabledColor:je,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:_e,dangerItemActiveBg:_e,colorDangerItemBgSelected:_e,dangerItemSelectedBg:_e,itemMarginInline:Ge.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:We,groupTitleLineHeight:ct,collapsedWidth:We*2,popupBg:ht,itemMarginBlock:vt,itemPaddingInline:Ot,horizontalLineHeight:`${We*1.15}px`,iconSize:Bt,iconMarginInlineEnd:Zt-Bt,collapsedIconSize:Yt,groupTitleFontSize:Bt,darkItemDisabledColor:new he.C(nn).setAlpha(.25).toRgbString(),darkItemColor:jn,darkDangerItemColor:xe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:nn,darkItemSelectedBg:Ce,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:jn,darkItemHoverColor:nn,darkDangerItemHoverColor:En,darkDangerItemSelectedColor:nn,darkDangerItemActiveBg:xe}},{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"]]})(Ie),He=function(Ie,Qe){var Xe={};for(var Ge in Ie)Object.prototype.hasOwnProperty.call(Ie,Ge)&&Qe.indexOf(Ge)<0&&(Xe[Ge]=Ie[Ge]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ge=Object.getOwnPropertySymbols(Ie);Ce<Ge.length;Ce++)Qe.indexOf(Ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ge[Ce])&&(Xe[Ge[Ce]]=Ie[Ge[Ce]]);return Xe},Le=(0,Ze.forwardRef)((Ie,Qe)=>{var Xe,Ge;const Ce=Ze.useContext(fe.Z),xe=Ce||{},{getPrefixCls:je,getPopupContainer:_e,direction:ot,menu:pt}=Ze.useContext(oe.E_),mt=je(),{prefixCls:tt,className:ut,style:St,theme:xt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Tt,inlineCollapsed:We,siderCollapsed:ct,items:ht,children:vt,rootClassName:Ot,mode:Bt,selectable:Zt,onClick:Yt,overflowedIndicatorPopupClassName:nn}=Ie,En=He(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),jn=(0,de.Z)(En,["collapsedWidth"]),zn=pe(ht)||vt;(Xe=xe.validator)===null||Xe===void 0||Xe.call(xe,{mode:Bt});const Vn=(0,re.useEvent)(function(){var _n;Yt==null||Yt.apply(void 0,arguments),(_n=xe.onClick)===null||_n===void 0||_n.call(xe)}),xr=xe.mode||Bt,Nr=Zt!=null?Zt:xe.selectable,Lr=Ze.useMemo(()=>ct!==void 0?ct:We,[We,ct]),hr={horizontal:{motionName:`${mt}-slide-up`},inline:(0,se.Z)(mt),other:{motionName:`${mt}-zoom-big`}},Dr=je("menu",tt||xe.prefixCls),[kr,mr]=dt(Dr,!Ce),rn=ge()(`${Dr}-${xt}`,pt==null?void 0:pt.className,ut);let yn;if(typeof at=="function")yn=at;else if(at===null||at===!1)yn=null;else if(xe.expandIcon===null||xe.expandIcon===!1)yn=null;else{const _n=at!=null?at:xe.expandIcon;yn=(0,ie.Tm)(_n,{className:ge()(`${Dr}-submenu-expand-icon`,(0,ie.l$)(_n)?(Ge=_n.props)===null||Ge===void 0?void 0:Ge.className:"")})}const Cn=Ze.useMemo(()=>({prefixCls:Dr,inlineCollapsed:Lr||!1,direction:ot,firstLevel:!0,theme:xt,mode:xr,disableMenuItemTitleTooltip:Tt}),[Dr,Lr,ot,Tt,xt]);return kr(Ze.createElement(fe.Z.Provider,{value:null},Ze.createElement(a.Provider,{value:Cn},Ze.createElement(Ae.ZP,Object.assign({getPopupContainer:_e,overflowedIndicator:Ze.createElement(ee.Z,null),overflowedIndicatorPopupClassName:ge()(Dr,`${Dr}-${xt}`,nn),mode:xr,selectable:Nr,onClick:Vn},jn,{inlineCollapsed:Lr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),St),className:rn,prefixCls:Dr,direction:ot,defaultMotions:hr,expandIcon:yn,ref:Qe,rootClassName:ge()(Ot,mr)}),zn))))});const Ke=(0,Ze.forwardRef)((Ie,Qe)=>{const Xe=(0,Ze.useRef)(null),Ge=Ze.useContext(E.D);return(0,Ze.useImperativeHandle)(Qe,()=>({menu:Xe.current,focus:Ce=>{var xe;(xe=Xe.current)===null||xe===void 0||xe.focus(Ce)}})),Ze.createElement(Le,Object.assign({ref:Xe},Ie,Ge))});Ke.Item=x,Ke.SubMenu=z,Ke.Divider=ce,Ke.ItemGroup=Ae.BW;var Ee=Ke},28452:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return mt}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(ut,St){return Ze.createElement(ge.Z,(0,Ae.Z)({},ut,{ref:St,icon:Se}))},te=Ze.forwardRef(oe),ue=be(81893),ce=be(22751),le=be(91034),de=be(94184),ae=be.n(de),ie=be(4942),ne=be(1413),a=be(15671),y=be(43144),x=be(60136),b=be(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,ee=`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`,re="".concat(z," ").concat(ee).split(/[\s\n]+/),se="aria-",fe="data-";function ve(tt,ut){return tt.indexOf(ut)===0}function me(tt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St;ut===!1?St={aria:!0,data:!0,attr:!0}:ut===!0?St={aria:!0}:St=(0,ne.Z)({},ut);var xt={};return Object.keys(tt).forEach(function(at){(St.aria&&(at==="role"||ve(at,se))||St.data&&ve(at,fe)||St.attr&&re.includes(at))&&(xt[at]=tt[at])}),xt}var pe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},he=pe,ye=be(81626),Pe=function(tt){(0,x.Z)(St,tt);var ut=(0,b.Z)(St);function St(){var xt;(0,a.Z)(this,St);for(var at=arguments.length,Tt=new Array(at),We=0;We<at;We++)Tt[We]=arguments[We];return xt=ut.call.apply(ut,[this].concat(Tt)),xt.state={goInputText:""},xt.getValidValue=function(){var ct=xt.state.goInputText;return!ct||Number.isNaN(ct)?void 0:Number(ct)},xt.buildOptionText=function(ct){return"".concat(ct," ").concat(xt.props.locale.items_per_page)},xt.changeSize=function(ct){xt.props.changeSize(Number(ct))},xt.handleChange=function(ct){xt.setState({goInputText:ct.target.value})},xt.handleBlur=function(ct){var ht=xt.props,vt=ht.goButton,Ot=ht.quickGo,Bt=ht.rootPrefixCls,Zt=xt.state.goInputText;vt||Zt===""||(xt.setState({goInputText:""}),!(ct.relatedTarget&&(ct.relatedTarget.className.indexOf("".concat(Bt,"-item-link"))>=0||ct.relatedTarget.className.indexOf("".concat(Bt,"-item"))>=0))&&Ot(xt.getValidValue()))},xt.go=function(ct){var ht=xt.state.goInputText;ht!==""&&(ct.keyCode===he.ENTER||ct.type==="click")&&(xt.setState({goInputText:""}),xt.props.quickGo(xt.getValidValue()))},xt}return(0,y.Z)(St,[{key:"getPageSizeOptions",value:function(){var at=this.props,Tt=at.pageSize,We=at.pageSizeOptions;return We.some(function(ct){return ct.toString()===Tt.toString()})?We:We.concat([Tt.toString()]).sort(function(ct,ht){var vt=Number.isNaN(Number(ct))?0:Number(ct),Ot=Number.isNaN(Number(ht))?0:Number(ht);return vt-Ot})}},{key:"render",value:function(){var at=this,Tt=this.props,We=Tt.pageSize,ct=Tt.locale,ht=Tt.rootPrefixCls,vt=Tt.changeSize,Ot=Tt.quickGo,Bt=Tt.goButton,Zt=Tt.selectComponentClass,Yt=Tt.buildOptionText,nn=Tt.selectPrefixCls,En=Tt.disabled,jn=this.state.goInputText,zn="".concat(ht,"-options"),Vn=Zt,xr=null,Nr=null,Lr=null;if(!vt&&!Ot)return null;var hr=this.getPageSizeOptions();if(vt&&Vn){var Dr=hr.map(function(kr,mr){return Ze.createElement(Vn.Option,{key:mr,value:kr.toString()},(Yt||at.buildOptionText)(kr))});xr=Ze.createElement(Vn,{disabled:En,prefixCls:nn,showSearch:!1,className:"".concat(zn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(We||hr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mr){return mr.parentNode},"aria-label":ct.page_size,defaultOpen:!1},Dr)}return Ot&&(Bt&&(Lr=typeof Bt=="boolean"?Ze.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:En,className:"".concat(zn,"-quick-jumper-button")},ct.jump_to_confirm):Ze.createElement("span",{onClick:this.go,onKeyUp:this.go},Bt)),Nr=Ze.createElement("div",{className:"".concat(zn,"-quick-jumper")},ct.jump_to,Ze.createElement("input",{disabled:En,type:"text",value:jn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,Lr)),Ze.createElement("li",{className:"".concat(zn)},xr,Nr)}}]),St}(Ze.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Oe=Pe,we=function(ut){var St,xt=ut.rootPrefixCls,at=ut.page,Tt=ut.active,We=ut.className,ct=ut.showTitle,ht=ut.onClick,vt=ut.onKeyPress,Ot=ut.itemRender,Bt="".concat(xt,"-item"),Zt=ae()(Bt,"".concat(Bt,"-").concat(at),(St={},(0,ie.Z)(St,"".concat(Bt,"-active"),Tt),(0,ie.Z)(St,"".concat(Bt,"-disabled"),!at),(0,ie.Z)(St,ut.className,We),St)),Yt=function(){ht(at)},nn=function(zn){vt(zn,ht,at)},En=Ot(at,"page",Ze.createElement("a",{rel:"nofollow"},at));return En?Ze.createElement("li",{title:ct?at.toString():null,className:Zt,onClick:Yt,onKeyPress:nn,tabIndex:0},En):null},Te=we;function Me(){}function Fe(tt){var ut=Number(tt);return typeof ut=="number"&&!Number.isNaN(ut)&&isFinite(ut)&&Math.floor(ut)===ut}var $e=function(ut,St,xt){return xt};function Ve(tt,ut,St){var xt=typeof tt=="undefined"?ut.pageSize:tt;return Math.floor((St.total-1)/xt)+1}var Re=function(tt){(0,x.Z)(St,tt);var ut=(0,b.Z)(St);function St(xt){var at;(0,a.Z)(this,St),at=ut.call(this,xt),at.paginationNode=Ze.createRef(),at.getJumpPrevPage=function(){return Math.max(1,at.state.current-(at.props.showLessItems?3:5))},at.getJumpNextPage=function(){return Math.min(Ve(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(vt,Ot){var Bt=at.props.prefixCls,Zt=vt||Ze.createElement("button",{type:"button","aria-label":Ot,className:"".concat(Bt,"-item-link")});return typeof vt=="function"&&(Zt=Ze.createElement(vt,(0,ne.Z)({},at.props))),Zt},at.isValid=function(vt){var Ot=at.props.total;return Fe(vt)&&vt!==at.state.current&&Fe(Ot)&&Ot>0},at.shouldDisplayQuickJumper=function(){var vt=at.props,Ot=vt.showQuickJumper,Bt=vt.total,Zt=at.state.pageSize;return Bt<=Zt?!1:Ot},at.handleKeyDown=function(vt){(vt.keyCode===he.ARROW_UP||vt.keyCode===he.ARROW_DOWN)&&vt.preventDefault()},at.handleKeyUp=function(vt){var Ot=at.getValidValue(vt),Bt=at.state.currentInputValue;Ot!==Bt&&at.setState({currentInputValue:Ot}),vt.keyCode===he.ENTER?at.handleChange(Ot):vt.keyCode===he.ARROW_UP?at.handleChange(Ot-1):vt.keyCode===he.ARROW_DOWN&&at.handleChange(Ot+1)},at.handleBlur=function(vt){var Ot=at.getValidValue(vt);at.handleChange(Ot)},at.changePageSize=function(vt){var Ot=at.state.current,Bt=Ve(vt,at.state,at.props);Ot=Ot>Bt?Bt:Ot,Bt===0&&(Ot=at.state.current),typeof vt=="number"&&("pageSize"in at.props||at.setState({pageSize:vt}),"current"in at.props||at.setState({current:Ot,currentInputValue:Ot})),at.props.onShowSizeChange(Ot,vt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(Ot,vt)},at.handleChange=function(vt){var Ot=at.props,Bt=Ot.disabled,Zt=Ot.onChange,Yt=at.state,nn=Yt.pageSize,En=Yt.current,jn=Yt.currentInputValue;if(at.isValid(vt)&&!Bt){var zn=Ve(void 0,at.state,at.props),Vn=vt;return vt>zn?Vn=zn:vt<1&&(Vn=1),"current"in at.props||at.setState({current:Vn}),Vn!==jn&&at.setState({currentInputValue:Vn}),Zt(Vn,nn),Vn}return En},at.prev=function(){at.hasPrev()&&at.handleChange(at.state.current-1)},at.next=function(){at.hasNext()&&at.handleChange(at.state.current+1)},at.jumpPrev=function(){at.handleChange(at.getJumpPrevPage())},at.jumpNext=function(){at.handleChange(at.getJumpNextPage())},at.hasPrev=function(){return at.state.current>1},at.hasNext=function(){return at.state.current<Ve(void 0,at.state,at.props)},at.runIfEnter=function(vt,Ot){if(vt.key==="Enter"||vt.charCode===13){for(var Bt=arguments.length,Zt=new Array(Bt>2?Bt-2:0),Yt=2;Yt<Bt;Yt++)Zt[Yt-2]=arguments[Yt];Ot.apply(void 0,Zt)}},at.runIfEnterPrev=function(vt){at.runIfEnter(vt,at.prev)},at.runIfEnterNext=function(vt){at.runIfEnter(vt,at.next)},at.runIfEnterJumpPrev=function(vt){at.runIfEnter(vt,at.jumpPrev)},at.runIfEnterJumpNext=function(vt){at.runIfEnter(vt,at.jumpNext)},at.handleGoTO=function(vt){(vt.keyCode===he.ENTER||vt.type==="click")&&at.handleChange(at.state.currentInputValue)},at.renderPrev=function(vt){var Ot=at.props,Bt=Ot.prevIcon,Zt=Ot.itemRender,Yt=Zt(vt,"prev",at.getItemIcon(Bt,"prev page")),nn=!at.hasPrev();return(0,Ze.isValidElement)(Yt)?(0,Ze.cloneElement)(Yt,{disabled:nn}):Yt},at.renderNext=function(vt){var Ot=at.props,Bt=Ot.nextIcon,Zt=Ot.itemRender,Yt=Zt(vt,"next",at.getItemIcon(Bt,"next page")),nn=!at.hasNext();return(0,Ze.isValidElement)(Yt)?(0,Ze.cloneElement)(Yt,{disabled:nn}):Yt};var Tt=xt.onChange!==Me,We="current"in xt;We&&!Tt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ct=xt.defaultCurrent;"current"in xt&&(ct=xt.current);var ht=xt.defaultPageSize;return"pageSize"in xt&&(ht=xt.pageSize),ct=Math.min(ct,Ve(ht,void 0,xt)),at.state={current:ct,currentInputValue:ct,pageSize:ht},at}return(0,y.Z)(St,[{key:"componentDidUpdate",value:function(at,Tt){var We=this.props.prefixCls;if(Tt.current!==this.state.current&&this.paginationNode.current){var ct=this.paginationNode.current.querySelector(".".concat(We,"-item-").concat(Tt.current));if(ct&&document.activeElement===ct){var ht;ct==null||(ht=ct.blur)===null||ht===void 0||ht.call(ct)}}}},{key:"getValidValue",value:function(at){var Tt=at.target.value,We=Ve(void 0,this.state,this.props),ct=this.state.currentInputValue,ht;return Tt===""?ht=Tt:Number.isNaN(Number(Tt))?ht=ct:Tt>=We?ht=We:ht=Number(Tt),ht}},{key:"getShowSizeChanger",value:function(){var at=this.props,Tt=at.showSizeChanger,We=at.total,ct=at.totalBoundaryShowSizeChanger;return typeof Tt!="undefined"?Tt:We>ct}},{key:"render",value:function(){var at=this.props,Tt=at.prefixCls,We=at.className,ct=at.style,ht=at.disabled,vt=at.hideOnSinglePage,Ot=at.total,Bt=at.locale,Zt=at.showQuickJumper,Yt=at.showLessItems,nn=at.showTitle,En=at.showTotal,jn=at.simple,zn=at.itemRender,Vn=at.showPrevNextJumpers,xr=at.jumpPrevIcon,Nr=at.jumpNextIcon,Lr=at.selectComponentClass,hr=at.selectPrefixCls,Dr=at.pageSizeOptions,kr=this.state,mr=kr.current,rn=kr.pageSize,yn=kr.currentInputValue;if(vt===!0&&Ot<=rn)return null;var Cn=Ve(void 0,this.state,this.props),_n=[],Pr=null,jr=null,bt=null,Mt=null,At=null,on=Zt&&Zt.goButton,Pn=Yt?1:2,In=mr-1>0?mr-1:0,Cr=mr+1<Cn?mr+1:Cn,Er=me(this.props,{aria:!0,data:!0}),Qn=En&&Ze.createElement("li",{className:"".concat(Tt,"-total-text")},En(Ot,[Ot===0?0:(mr-1)*rn+1,mr*rn>Ot?Ot:mr*rn]));if(jn){on&&(typeof on=="boolean"?At=Ze.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt.jump_to_confirm):At=Ze.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},on),At=Ze.createElement("li",{title:nn?"".concat(Bt.jump_to).concat(mr,"/").concat(Cn):null,className:"".concat(Tt,"-simple-pager")},At));var ar=this.renderPrev(In);return Ze.createElement("ul",(0,Ae.Z)({className:ae()(Tt,"".concat(Tt,"-simple"),(0,ie.Z)({},"".concat(Tt,"-disabled"),ht),We),style:ct,ref:this.paginationNode},Er),Qn,ar?Ze.createElement("li",{title:nn?Bt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Tt,"-prev"),(0,ie.Z)({},"".concat(Tt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ar):null,Ze.createElement("li",{title:nn?"".concat(mr,"/").concat(Cn):null,className:"".concat(Tt,"-simple-pager")},Ze.createElement("input",{type:"text",value:yn,disabled:ht,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ze.createElement("span",{className:"".concat(Tt,"-slash")},"/"),Cn),Ze.createElement("li",{title:nn?Bt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Tt,"-next"),(0,ie.Z)({},"".concat(Tt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Cr)),At)}if(Cn<=3+Pn*2){var Xr={locale:Bt,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:nn,itemRender:zn};Cn||_n.push(Ze.createElement(Te,(0,Ae.Z)({},Xr,{key:"noPager",page:1,className:"".concat(Tt,"-item-disabled")})));for(var qr=1;qr<=Cn;qr+=1){var Sn=mr===qr;_n.push(Ze.createElement(Te,(0,Ae.Z)({},Xr,{key:qr,page:qr,active:Sn})))}}else{var ur=Yt?Bt.prev_3:Bt.prev_5,Ct=Yt?Bt.next_3:Bt.next_5,zt=zn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(xr,"prev page")),Kt=zn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Nr,"next page"));Vn&&(Pr=zt?Ze.createElement("li",{title:nn?ur:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ae()("".concat(Tt,"-jump-prev"),(0,ie.Z)({},"".concat(Tt,"-jump-prev-custom-icon"),!!xr))},zt):null,jr=Kt?Ze.createElement("li",{title:nn?Ct:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ae()("".concat(Tt,"-jump-next"),(0,ie.Z)({},"".concat(Tt,"-jump-next-custom-icon"),!!Nr))},Kt):null),Mt=Ze.createElement(Te,{locale:Bt,last:!0,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Cn,page:Cn,active:!1,showTitle:nn,itemRender:zn}),bt=Ze.createElement(Te,{locale:Bt,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:nn,itemRender:zn});var Qt=Math.max(1,mr-Pn),vn=Math.min(mr+Pn,Cn);mr-1<=Pn&&(vn=1+Pn*2),Cn-mr<=Pn&&(Qt=Cn-Pn*2);for(var Xt=Qt;Xt<=vn;Xt+=1){var sn=mr===Xt;_n.push(Ze.createElement(Te,{locale:Bt,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Xt,page:Xt,active:sn,showTitle:nn,itemRender:zn}))}mr-1>=Pn*2&&mr!==3&&(_n[0]=(0,Ze.cloneElement)(_n[0],{className:"".concat(Tt,"-item-after-jump-prev")}),_n.unshift(Pr)),Cn-mr>=Pn*2&&mr!==Cn-2&&(_n[_n.length-1]=(0,Ze.cloneElement)(_n[_n.length-1],{className:"".concat(Tt,"-item-before-jump-next")}),_n.push(jr)),Qt!==1&&_n.unshift(bt),vn!==Cn&&_n.push(Mt)}var tn=!this.hasPrev()||!Cn,Rn=!this.hasNext()||!Cn,bn=this.renderPrev(In),Xn=this.renderNext(Cr);return Ze.createElement("ul",(0,Ae.Z)({className:ae()(Tt,We,(0,ie.Z)({},"".concat(Tt,"-disabled"),ht)),style:ct,ref:this.paginationNode},Er),Qn,bn?Ze.createElement("li",{title:nn?Bt.prev_page:null,onClick:this.prev,tabIndex:tn?null:0,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Tt,"-prev"),(0,ie.Z)({},"".concat(Tt,"-disabled"),tn)),"aria-disabled":tn},bn):null,_n,Xn?Ze.createElement("li",{title:nn?Bt.next_page:null,onClick:this.next,tabIndex:Rn?null:0,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Tt,"-next"),(0,ie.Z)({},"".concat(Tt,"-disabled"),Rn)),"aria-disabled":Rn},Xn):null,Ze.createElement(Oe,{disabled:ht,locale:Bt,rootPrefixCls:Tt,selectComponentClass:Lr,selectPrefixCls:hr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mr,pageSize:rn,pageSizeOptions:Dr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:on}))}}],[{key:"getDerivedStateFromProps",value:function(at,Tt){var We={};if("current"in at&&(We.current=at.current,at.current!==Tt.current&&(We.currentInputValue=We.current)),"pageSize"in at&&at.pageSize!==Tt.pageSize){var ct=Tt.current,ht=Ve(at.pageSize,Tt,at);ct=ct>ht?ht:ct,"current"in at||(We.current=ct,We.currentInputValue=ct),We.pageSize=at.pageSize}return We}}]),St}(Ze.Component);Re.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Me,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Me,locale:ye.Z,style:{},itemRender:$e,totalBoundaryShowSizeChanger:50};var st=Re,rt=be(62906),et=be(53124),qe=be(98675),ze=be(25378),ke=be(10110),Be=be(11713);const Je=tt=>Ze.createElement(Be.default,Object.assign({},tt,{showSearch:!0,size:"small"})),Ye=tt=>Ze.createElement(Be.default,Object.assign({},tt,{showSearch:!0,size:"middle"}));Je.Option=Be.default.Option,Ye.Option=Be.default.Option;var dt=be(47673),He=be(14747),Ue=be(67968),Le=be(45503);const Ke=tt=>{const{componentCls:ut}=tt;return{[`${ut}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ut}-item-link`]:{color:tt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ut}-item-link`]:{color:tt.colorTextDisabled,cursor:"not-allowed"}}},[`&${ut}-disabled`]:{cursor:"not-allowed",[`${ut}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:tt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:tt.colorBorder,backgroundColor:tt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:tt.itemActiveBgDisabled},a:{color:tt.itemActiveColorDisabled}}},[`${ut}-item-link`]:{color:tt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ut}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ut}-simple-pager`]:{color:tt.colorTextDisabled},[`${ut}-jump-prev, ${ut}-jump-next`]:{[`${ut}-item-link-icon`]:{opacity:0},[`${ut}-item-ellipsis`]:{opacity:1}}},[`&${ut}-simple`]:{[`${ut}-prev, ${ut}-next`]:{[`&${ut}-disabled ${ut}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ee=tt=>{const{componentCls:ut}=tt;return{[`&${ut}-mini ${ut}-total-text, &${ut}-mini ${ut}-simple-pager`]:{height:tt.itemSizeSM,lineHeight:`${tt.itemSizeSM}px`},[`&${ut}-mini ${ut}-item`]:{minWidth:tt.itemSizeSM,height:tt.itemSizeSM,margin:0,lineHeight:`${tt.itemSizeSM-2}px`},[`&${ut}-mini:not(${ut}-disabled) ${ut}-item:not(${ut}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:tt.colorBgTextHover},"&:active":{backgroundColor:tt.colorBgTextActive}},[`&${ut}-mini ${ut}-prev, &${ut}-mini ${ut}-next`]:{minWidth:tt.itemSizeSM,height:tt.itemSizeSM,margin:0,lineHeight:`${tt.itemSizeSM}px`},[`&${ut}-mini:not(${ut}-disabled)`]:{[`${ut}-prev, ${ut}-next`]:{[`&:hover ${ut}-item-link`]:{backgroundColor:tt.colorBgTextHover},[`&:active ${ut}-item-link`]:{backgroundColor:tt.colorBgTextActive},[`&${ut}-disabled:hover ${ut}-item-link`]:{backgroundColor:"transparent"}}},[`
&${ut}-mini ${ut}-prev ${ut}-item-link,
&${ut}-mini ${ut}-next ${ut}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:tt.itemSizeSM,lineHeight:`${tt.itemSizeSM}px`}},[`&${ut}-mini ${ut}-jump-prev, &${ut}-mini ${ut}-jump-next`]:{height:tt.itemSizeSM,marginInlineEnd:0,lineHeight:`${tt.itemSizeSM}px`},[`&${ut}-mini ${ut}-options`]:{marginInlineStart:tt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:tt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:tt.itemSizeSM,lineHeight:`${tt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,dt.x0)(tt)),{width:tt.paginationMiniQuickJumperInputWidth,height:tt.controlHeightSM})}}}},Ie=tt=>{const{componentCls:ut}=tt;return{[`
&${ut}-simple ${ut}-prev,
&${ut}-simple ${ut}-next
`]:{height:tt.itemSizeSM,lineHeight:`${tt.itemSizeSM}px`,verticalAlign:"top",[`${ut}-item-link`]:{height:tt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:tt.colorBgTextHover},"&:active":{backgroundColor:tt.colorBgTextActive},"&::after":{height:tt.itemSizeSM,lineHeight:`${tt.itemSizeSM}px`}}},[`&${ut}-simple ${ut}-simple-pager`]:{display:"inline-block",height:tt.itemSizeSM,marginInlineEnd:tt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:tt.marginXS,padding:`0 ${tt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:tt.itemInputBg,border:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`,borderRadius:tt.borderRadius,outline:"none",transition:`border-color ${tt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:tt.colorPrimary},"&:focus":{borderColor:tt.colorPrimaryHover,boxShadow:`${tt.inputOutlineOffset}px 0 ${tt.controlOutlineWidth}px ${tt.controlOutline}`},"&[disabled]":{color:tt.colorTextDisabled,backgroundColor:tt.colorBgContainerDisabled,borderColor:tt.colorBorder,cursor:"not-allowed"}}}}},Qe=tt=>{const{componentCls:ut}=tt;return{[`${ut}-jump-prev, ${ut}-jump-next`]:{outline:0,[`${ut}-item-container`]:{position:"relative",[`${ut}-item-link-icon`]:{color:tt.colorPrimary,fontSize:tt.fontSizeSM,opacity:0,transition:`all ${tt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ut}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:tt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:tt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:tt.paginationEllipsisTextIndent,opacity:1,transition:`all ${tt.motionDurationMid}`}},"&:hover":{[`${ut}-item-link-icon`]:{opacity:1},[`${ut}-item-ellipsis`]:{opacity:0}}},[`
${ut}-prev,
${ut}-jump-prev,
${ut}-jump-next
`]:{marginInlineEnd:tt.marginXS},[`
${ut}-prev,
${ut}-next,
${ut}-jump-prev,
${ut}-jump-next
`]:{display:"inline-block",minWidth:tt.itemSize,height:tt.itemSize,color:tt.colorText,fontFamily:tt.fontFamily,lineHeight:`${tt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:tt.borderRadius,cursor:"pointer",transition:`all ${tt.motionDurationMid}`},[`${ut}-prev, ${ut}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:tt.colorText,cursor:"pointer",userSelect:"none"},[`${ut}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:tt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${tt.lineWidth}px ${tt.lineType} transparent`,borderRadius:tt.borderRadius,outline:"none",transition:`all ${tt.motionDurationMid}`},[`&:hover ${ut}-item-link`]:{backgroundColor:tt.colorBgTextHover},[`&:active ${ut}-item-link`]:{backgroundColor:tt.colorBgTextActive},[`&${ut}-disabled:hover`]:{[`${ut}-item-link`]:{backgroundColor:"transparent"}}},[`${ut}-slash`]:{marginInlineEnd:tt.paginationSlashMarginInlineEnd,marginInlineStart:tt.paginationSlashMarginInlineStart},[`${ut}-options`]:{display:"inline-block",marginInlineStart:tt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:tt.controlHeight,marginInlineStart:tt.marginXS,lineHeight:`${tt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,dt.ik)(tt)),{width:tt.controlHeightLG*1.25,height:tt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:tt.marginXS,marginInlineEnd:tt.marginXS})}}}},Xe=tt=>{const{componentCls:ut}=tt;return{[`${ut}-item`]:{display:"inline-block",minWidth:tt.itemSize,height:tt.itemSize,marginInlineEnd:tt.marginXS,fontFamily:tt.fontFamily,lineHeight:`${tt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${tt.lineWidth}px ${tt.lineType} transparent`,borderRadius:tt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${tt.paginationItemPaddingInline}px`,color:tt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ut}-item-active)`]:{"&:hover":{transition:`all ${tt.motionDurationMid}`,backgroundColor:tt.colorBgTextHover},"&:active":{backgroundColor:tt.colorBgTextActive}},"&-active":{fontWeight:tt.fontWeightStrong,backgroundColor:tt.itemActiveBg,borderColor:tt.colorPrimary,a:{color:tt.colorPrimary},"&:hover":{borderColor:tt.colorPrimaryHover},"&:hover a":{color:tt.colorPrimaryHover}}}}},Ge=tt=>{const{componentCls:ut}=tt;return{[ut]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(tt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ut}-total-text`]:{display:"inline-block",height:tt.itemSize,marginInlineEnd:tt.marginXS,lineHeight:`${tt.itemSize-2}px`,verticalAlign:"middle"}}),Xe(tt)),Qe(tt)),Ie(tt)),Ee(tt)),Ke(tt)),{[`@media only screen and (max-width: ${tt.screenLG}px)`]:{[`${ut}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${tt.screenSM}px)`]:{[`${ut}-options`]:{display:"none"}}}),[`&${tt.componentCls}-rtl`]:{direction:"rtl"}}},Ce=tt=>{const{componentCls:ut}=tt;return{[`${ut}${ut}-disabled:not(${ut}-mini)`]:{"&, &:hover":{[`${ut}-item-link`]:{borderColor:tt.colorBorder}},"&:focus-visible":{[`${ut}-item-link`]:{borderColor:tt.colorBorder}},[`${ut}-item, ${ut}-item-link`]:{backgroundColor:tt.colorBgContainerDisabled,borderColor:tt.colorBorder,[`&:hover:not(${ut}-item-active)`]:{backgroundColor:tt.colorBgContainerDisabled,borderColor:tt.colorBorder,a:{color:tt.colorTextDisabled}},[`&${ut}-item-active`]:{backgroundColor:tt.itemActiveBgDisabled}},[`${ut}-prev, ${ut}-next`]:{"&:hover button":{backgroundColor:tt.colorBgContainerDisabled,borderColor:tt.colorBorder,color:tt.colorTextDisabled},[`${ut}-item-link`]:{backgroundColor:tt.colorBgContainerDisabled,borderColor:tt.colorBorder}}},[`${ut}:not(${ut}-mini)`]:{[`${ut}-prev, ${ut}-next`]:{"&:hover button":{borderColor:tt.colorPrimaryHover,backgroundColor:tt.itemBg},[`${ut}-item-link`]:{backgroundColor:tt.itemLinkBg,borderColor:tt.colorBorder},[`&:hover ${ut}-item-link`]:{borderColor:tt.colorPrimary,backgroundColor:tt.itemBg,color:tt.colorPrimary},[`&${ut}-disabled`]:{[`${ut}-item-link`]:{borderColor:tt.colorBorder,color:tt.colorTextDisabled}}},[`${ut}-item`]:{backgroundColor:tt.itemBg,border:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`,[`&:hover:not(${ut}-item-active)`]:{borderColor:tt.colorPrimary,backgroundColor:tt.itemBg,a:{color:tt.colorPrimary}},"&-active":{borderColor:tt.colorPrimary}}}}},xe=tt=>{const{componentCls:ut}=tt;return{[`${ut}:not(${ut}-disabled)`]:{[`${ut}-item`]:Object.assign({},(0,He.Qy)(tt)),[`${ut}-jump-prev, ${ut}-jump-next`]:{"&:focus-visible":Object.assign({[`${ut}-item-link-icon`]:{opacity:1},[`${ut}-item-ellipsis`]:{opacity:0}},(0,He.oN)(tt))},[`${ut}-prev, ${ut}-next`]:{[`&:focus-visible ${ut}-item-link`]:Object.assign({},(0,He.oN)(tt))}}}};var je=(0,Ue.Z)("Pagination",tt=>{const ut=(0,Le.TS)(tt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:tt.marginXXS/2,paginationMiniQuickJumperInputWidth:tt.controlHeightLG*1.1,paginationItemPaddingInline:tt.marginXXS*1.5,paginationEllipsisLetterSpacing:tt.marginXXS/2,paginationSlashMarginInlineStart:tt.marginXXS,paginationSlashMarginInlineEnd:tt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,dt.e5)(tt),(0,dt.TM)(tt));return[Ge(ut),xe(ut),tt.wireframe&&Ce(ut)]},tt=>({itemBg:tt.colorBgContainer,itemSize:tt.controlHeight,itemSizeSM:tt.controlHeightSM,itemActiveBg:tt.colorBgContainer,itemLinkBg:tt.colorBgContainer,itemActiveColorDisabled:tt.colorTextDisabled,itemActiveBgDisabled:tt.controlItemBgActiveDisabled,itemInputBg:tt.colorBgContainer,miniOptionsSizeChangerTop:0})),_e=function(tt,ut){var St={};for(var xt in tt)Object.prototype.hasOwnProperty.call(tt,xt)&&ut.indexOf(xt)<0&&(St[xt]=tt[xt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,xt=Object.getOwnPropertySymbols(tt);at<xt.length;at++)ut.indexOf(xt[at])<0&&Object.prototype.propertyIsEnumerable.call(tt,xt[at])&&(St[xt[at]]=tt[xt[at]]);return St},pt=tt=>{const{prefixCls:ut,selectPrefixCls:St,className:xt,rootClassName:at,style:Tt,size:We,locale:ct,selectComponentClass:ht,responsive:vt,showSizeChanger:Ot}=tt,Bt=_e(tt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Zt}=(0,ze.Z)(vt),{getPrefixCls:Yt,direction:nn,pagination:En={}}=Ze.useContext(et.E_),jn=Yt("pagination",ut),[zn,Vn]=je(jn),xr=Ot!=null?Ot:En.showSizeChanger,Nr=Ze.useMemo(()=>{const Cn=Ze.createElement("span",{className:`${jn}-item-ellipsis`},"\u2022\u2022\u2022"),_n=Ze.createElement("button",{className:`${jn}-item-link`,type:"button",tabIndex:-1},nn==="rtl"?Ze.createElement(le.Z,null):Ze.createElement(ce.Z,null)),Pr=Ze.createElement("button",{className:`${jn}-item-link`,type:"button",tabIndex:-1},nn==="rtl"?Ze.createElement(ce.Z,null):Ze.createElement(le.Z,null)),jr=Ze.createElement("a",{className:`${jn}-item-link`},Ze.createElement("div",{className:`${jn}-item-container`},nn==="rtl"?Ze.createElement(ue.Z,{className:`${jn}-item-link-icon`}):Ze.createElement(te,{className:`${jn}-item-link-icon`}),Cn)),bt=Ze.createElement("a",{className:`${jn}-item-link`},Ze.createElement("div",{className:`${jn}-item-container`},nn==="rtl"?Ze.createElement(te,{className:`${jn}-item-link-icon`}):Ze.createElement(ue.Z,{className:`${jn}-item-link-icon`}),Cn));return{prevIcon:_n,nextIcon:Pr,jumpPrevIcon:jr,jumpNextIcon:bt}},[nn,jn]),[Lr]=(0,ke.Z)("Pagination",rt.Z),hr=Object.assign(Object.assign({},Lr),ct),Dr=(0,qe.Z)(We),kr=Dr==="small"||!!(Zt&&!Dr&&vt),mr=Yt("select",St),rn=ae()({[`${jn}-mini`]:kr,[`${jn}-rtl`]:nn==="rtl"},En==null?void 0:En.className,xt,at,Vn),yn=Object.assign(Object.assign({},En==null?void 0:En.style),Tt);return zn(Ze.createElement(st,Object.assign({},Nr,Bt,{style:yn,prefixCls:jn,selectPrefixCls:mr,className:rn,selectComponentClass:ht||(kr?Je:Ye),locale:hr,showSizeChanger:xr})))},mt=pt},86738:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return he}});var Ae=be(87995),Ze=be(94184),E=be.n(Ze),Se=be(92389),ge=be(5663),oe=be(10366),te=be(67294),ue=be(96159),ce=be(53124),le=be(55241),de=be(86743),ae=be(81643),ie=be(71577),ne=be(4026),a=be(10110),y=be(24457),x=be(66330),b=be(67968);const z=ye=>{const{componentCls:Pe,iconCls:Oe,antCls:we,zIndexPopup:Te,colorText:Me,colorWarning:Fe,marginXXS:$e,marginXS:Ve,fontSize:Re,fontWeightStrong:st,colorTextHeading:rt}=ye;return{[Pe]:{zIndex:Te,[`&${we}-popover`]:{fontSize:Re},[`${Pe}-message`]:{marginBottom:Ve,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Pe}-message-icon ${Oe}`]:{color:Fe,fontSize:Re,lineHeight:1,marginInlineEnd:Ve},[`${Pe}-title`]:{fontWeight:st,color:rt,"&:only-child":{fontWeight:"normal"}},[`${Pe}-description`]:{marginTop:$e,color:Me}},[`${Pe}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:Ve}}}}};var ee=(0,b.Z)("Popconfirm",ye=>z(ye),ye=>{const{zIndexPopupBase:Pe}=ye;return{zIndexPopup:Pe+60}},{resetStyle:!1}),re=function(ye,Pe){var Oe={};for(var we in ye)Object.prototype.hasOwnProperty.call(ye,we)&&Pe.indexOf(we)<0&&(Oe[we]=ye[we]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,we=Object.getOwnPropertySymbols(ye);Te<we.length;Te++)Pe.indexOf(we[Te])<0&&Object.prototype.propertyIsEnumerable.call(ye,we[Te])&&(Oe[we[Te]]=ye[we[Te]]);return Oe};const se=ye=>{const{prefixCls:Pe,okButtonProps:Oe,cancelButtonProps:we,title:Te,description:Me,cancelText:Fe,okText:$e,okType:Ve="primary",icon:Re=te.createElement(Ae.Z,null),showCancel:st=!0,close:rt,onConfirm:et,onCancel:qe,onPopupClick:ze}=ye,{getPrefixCls:ke}=te.useContext(ce.E_),[Be]=(0,a.Z)("Popconfirm",y.Z.Popconfirm),Je=(0,ae.Z)(Te),Ye=(0,ae.Z)(Me);return te.createElement("div",{className:`${Pe}-inner-content`,onClick:ze},te.createElement("div",{className:`${Pe}-message`},Re&&te.createElement("span",{className:`${Pe}-message-icon`},Re),te.createElement("div",{className:`${Pe}-message-text`},Je&&te.createElement("div",{className:E()(`${Pe}-title`)},Je),Ye&&te.createElement("div",{className:`${Pe}-description`},Ye))),te.createElement("div",{className:`${Pe}-buttons`},st&&te.createElement(ie.ZP,Object.assign({onClick:qe,size:"small"},we),Fe!=null?Fe:Be==null?void 0:Be.cancelText),te.createElement(de.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ne.n)(Ve)),Oe),actionFn:et,close:rt,prefixCls:ke("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},$e!=null?$e:Be==null?void 0:Be.okText)))};var ve=ye=>{const{prefixCls:Pe,placement:Oe,className:we,style:Te}=ye,Me=re(ye,["prefixCls","placement","className","style"]),{getPrefixCls:Fe}=te.useContext(ce.E_),$e=Fe("popconfirm",Pe),[Ve]=ee($e);return Ve(te.createElement(x.ZP,{placement:Oe,className:E()($e,we),style:Te,content:te.createElement(se,Object.assign({prefixCls:$e},Me))}))},me=function(ye,Pe){var Oe={};for(var we in ye)Object.prototype.hasOwnProperty.call(ye,we)&&Pe.indexOf(we)<0&&(Oe[we]=ye[we]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,we=Object.getOwnPropertySymbols(ye);Te<we.length;Te++)Pe.indexOf(we[Te])<0&&Object.prototype.propertyIsEnumerable.call(ye,we[Te])&&(Oe[we[Te]]=ye[we[Te]]);return Oe};const pe=te.forwardRef((ye,Pe)=>{const{prefixCls:Oe,placement:we="top",trigger:Te="click",okType:Me="primary",icon:Fe=te.createElement(Ae.Z,null),children:$e,overlayClassName:Ve,onOpenChange:Re,onVisibleChange:st}=ye,rt=me(ye,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:et}=te.useContext(ce.E_),[qe,ze]=(0,ge.Z)(!1,{value:ye.open,defaultValue:ye.defaultOpen}),ke=(Ee,Ie)=>{ze(Ee,!0),st==null||st(Ee),Re==null||Re(Ee,Ie)},Be=Ee=>{ke(!1,Ee)},Je=Ee=>{var Ie;return(Ie=ye.onConfirm)===null||Ie===void 0?void 0:Ie.call(void 0,Ee)},Ye=Ee=>{var Ie;ke(!1,Ee),(Ie=ye.onCancel)===null||Ie===void 0||Ie.call(void 0,Ee)},dt=Ee=>{Ee.keyCode===Se.Z.ESC&&qe&&ke(!1,Ee)},He=Ee=>{const{disabled:Ie=!1}=ye;Ie||ke(Ee)},Ue=et("popconfirm",Oe),Le=E()(Ue,Ve),[Ke]=ee(Ue);return Ke(te.createElement(le.Z,Object.assign({},(0,oe.Z)(rt,["title"]),{trigger:Te,placement:we,onOpenChange:He,open:qe,ref:Pe,overlayClassName:Le,content:te.createElement(se,Object.assign({okType:Me,icon:Fe},ye,{prefixCls:Ue,close:Be,onConfirm:Je,onCancel:Ye})),"data-popover-inject":!0}),(0,ue.Tm)($e,{onKeyDown:Ee=>{var Ie,Qe;te.isValidElement($e)&&((Qe=$e==null?void 0:(Ie=$e.props).onKeyDown)===null||Qe===void 0||Qe.call(Ie,Ee)),dt(Ee)}})))});pe._InternalPanelDoNotUseOrYouWillBeFired=ve;var he=pe},66330:function(jt,Pt,be){"use strict";be.d(Pt,{t5:function(){return le}});var Ae=be(94184),Ze=be.n(Ae),E=be(92419),Se=be(67294),ge=be(53124),oe=be(81643),te=be(20136),ue=function(ae,ie){var ne={};for(var a in ae)Object.prototype.hasOwnProperty.call(ae,a)&&ie.indexOf(a)<0&&(ne[a]=ae[a]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(ae);y<a.length;y++)ie.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(ae,a[y])&&(ne[a[y]]=ae[a[y]]);return ne};const ce=(ae,ie,ne)=>{if(!(!ie&&!ne))return Se.createElement(Se.Fragment,null,ie&&Se.createElement("div",{className:`${ae}-title`},(0,oe.Z)(ie)),Se.createElement("div",{className:`${ae}-inner-content`},(0,oe.Z)(ne)))},le=ae=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:x="top",title:b,content:z,children:ee}=ae;return Se.createElement("div",{className:Ze()(ie,ne,`${ne}-pure`,`${ne}-placement-${x}`,a),style:y},Se.createElement("div",{className:`${ne}-arrow`}),Se.createElement(E.G,Object.assign({},ae,{className:ie,prefixCls:ne}),ee||ce(ne,b,z)))},de=ae=>{const{prefixCls:ie}=ae,ne=ue(ae,["prefixCls"]),{getPrefixCls:a}=Se.useContext(ge.E_),y=a("popover",ie),[x,b]=(0,te.Z)(y);return x(Se.createElement(le,Object.assign({},ne,{prefixCls:y,hashId:b})))};Pt.ZP=de},55241:function(jt,Pt,be){"use strict";var Ae=be(94184),Ze=be.n(Ae),E=be(67294),Se=be(81643),ge=be(33603),oe=be(53124),te=be(83062),ue=be(66330),ce=be(20136),le=function(ie,ne){var a={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(a[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ie);x<y.length;x++)ne.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(ie,y[x])&&(a[y[x]]=ie[y[x]]);return a};const de=ie=>{let{title:ne,content:a,prefixCls:y}=ie;return E.createElement(E.Fragment,null,ne&&E.createElement("div",{className:`${y}-title`},(0,Se.Z)(ne)),E.createElement("div",{className:`${y}-inner-content`},(0,Se.Z)(a)))},ae=E.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:se=.1,overlayStyle:fe={}}=ie,ve=le(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:me}=E.useContext(oe.E_),pe=me("popover",a),[he,ye]=(0,ce.Z)(pe),Pe=me(),Oe=Ze()(b,ye);return he(E.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:se,overlayStyle:fe},ve,{prefixCls:pe,overlayClassName:Oe,ref:ne,overlay:y||x?E.createElement(de,{prefixCls:pe,title:y,content:x}):null,transitionName:(0,ge.m)(Pe,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});ae._InternalPanelDoNotUseOrYouWillBeFired=ue.ZP,Pt.Z=ae},20136:function(jt,Pt,be){"use strict";var Ae=be(14747),Ze=be(50438),E=be(97414),Se=be(8796),ge=be(67968),oe=be(45503);const te=le=>{const{componentCls:de,popoverColor:ae,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:se}=le;return[{[de]:Object.assign(Object.assign({},(0,Ae.Wf)(le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${de}-content`]:{position:"relative"},[`${de}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${de}-title`]:{minWidth:ie,marginBottom:ee,color:x,fontWeight:ne},[`${de}-inner-content`]:{color:ae}})},(0,E.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${de}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${de}-content`]:{display:"inline-block"}}}]},ue=le=>{const{componentCls:de}=le;return{[de]:Se.i.map(ae=>{const ie=le[`${ae}6`];return{[`&${de}-${ae}`]:{"--antd-arrow-background-color":ie,[`${de}-inner`]:{backgroundColor:ie},[`${de}-arrow`]:{background:"transparent"}}}})}},ce=le=>{const{componentCls:de,lineWidth:ae,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=le,ee=y-Math.round(x*b),re=ee/2,se=ee/2-ae,fe=z;return{[de]:{[`${de}-inner`]:{padding:0},[`${de}-title`]:{margin:0,padding:`${re}px ${fe}px ${se}px`,borderBottom:`${ae}px ${ie} ${ne}`},[`${de}-inner-content`]:{padding:`${a}px ${fe}px`}}}};Pt.Z=(0,ge.Z)("Popover",le=>{const{colorBgElevated:de,colorText:ae,wireframe:ie}=le,ne=(0,oe.TS)(le,{popoverPadding:12,popoverBg:de,popoverColor:ae});return[te(ne),ue(ne),ie&&ce(ne),(0,Ze._y)(ne,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Tt}});var Ae=be(67294),Ze=be(87725),E=be(18299),Se=be(16646),ge=be(73475),oe=be(94184),te=be.n(oe),ue=be(10366),ce=be(53124),le=be(87462),de=be(1413),ae=be(45987),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var ct=(0,Ae.useRef)([]),ht=(0,Ae.useRef)(null);return(0,Ae.useEffect)(function(){var vt=Date.now(),Ot=!1;ct.current.forEach(function(Bt){if(Bt){Ot=!0;var Zt=Bt.style;Zt.transitionDuration=".3s, .3s, .3s, .06s",ht.current&&vt-ht.current<100&&(Zt.transitionDuration="0s, 0s")}}),Ot&&(ht.current=Date.now())}),ct.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(ct){var ht=(0,de.Z)((0,de.Z)({},ie),ct),vt=ht.className,Ot=ht.percent,Bt=ht.prefixCls,Zt=ht.strokeColor,Yt=ht.strokeLinecap,nn=ht.strokeWidth,En=ht.style,jn=ht.trailColor,zn=ht.trailWidth,Vn=ht.transition,xr=(0,ae.Z)(ht,a);delete xr.gapPosition;var Nr=Array.isArray(Ot)?Ot:[Ot],Lr=Array.isArray(Zt)?Zt:[Zt],hr=ne(),Dr=nn/2,kr=100-nn/2,mr="M ".concat(Yt==="round"?Dr:0,",").concat(Dr,`
L `).concat(Yt==="round"?kr:100,",").concat(Dr),rn="0 0 100 ".concat(nn),yn=0;return Ae.createElement("svg",(0,le.Z)({className:te()("".concat(Bt,"-line"),vt),viewBox:rn,preserveAspectRatio:"none",style:En},xr),Ae.createElement("path",{className:"".concat(Bt,"-line-trail"),d:mr,strokeLinecap:Yt,stroke:jn,strokeWidth:zn||nn,fillOpacity:"0"}),Nr.map(function(Cn,_n){var Pr=1;switch(Yt){case"round":Pr=1-nn/100;break;case"square":Pr=1-nn/2/100;break;default:Pr=1;break}var jr={strokeDasharray:"".concat(Cn*Pr,"px, 100px"),strokeDashoffset:"-".concat(yn,"px"),transition:Vn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},bt=Lr[_n]||Lr[Lr.length-1];return yn+=Cn,Ae.createElement("path",{key:_n,className:"".concat(Bt,"-line-path"),d:mr,strokeLinecap:Yt,stroke:bt,strokeWidth:nn,fillOpacity:"0",ref:function(At){hr[_n]=At},style:jr})}))},x=y,b=be(71002),z=be(97685),ee=be(98924),re=0,se=(0,ee.Z)();function fe(){var We;return se?(We=re,re+=1):We="TEST_OR_SSR",We}var ve=function(We){var ct=Ae.useState(),ht=(0,z.Z)(ct,2),vt=ht[0],Ot=ht[1];return Ae.useEffect(function(){Ot("rc_progress_".concat(fe()))},[]),We||vt},me=function(ct){var ht=ct.bg,vt=ct.children;return Ae.createElement("div",{style:{width:"100%",height:"100%",background:ht}},vt)};function pe(We,ct){return Object.keys(We).map(function(ht){var vt=parseFloat(ht),Ot="".concat(Math.floor(vt*ct),"%");return"".concat(We[ht]," ").concat(Ot)})}var he=Ae.forwardRef(function(We,ct){var ht=We.prefixCls,vt=We.color,Ot=We.gradientId,Bt=We.radius,Zt=We.style,Yt=We.ptg,nn=We.strokeLinecap,En=We.strokeWidth,jn=We.size,zn=We.gapDegree,Vn=vt&&(0,b.Z)(vt)==="object",xr=Vn?"#FFF":void 0,Nr=jn/2,Lr=Ae.createElement("circle",{className:"".concat(ht,"-circle-path"),r:Bt,cx:Nr,cy:Nr,stroke:xr,strokeLinecap:nn,strokeWidth:En,opacity:Yt===0?0:1,style:Zt,ref:ct});if(!Vn)return Lr;var hr="".concat(Ot,"-conic"),Dr=zn?"".concat(180+zn/2,"deg"):"0deg",kr=pe(vt,(360-zn)/360),mr=pe(vt,1),rn="conic-gradient(from ".concat(Dr,", ").concat(kr.join(", "),")"),yn="linear-gradient(to ".concat(zn?"bottom":"top",", ").concat(mr.join(", "),")");return Ae.createElement(Ae.Fragment,null,Ae.createElement("mask",{id:hr},Lr),Ae.createElement("foreignObject",{x:0,y:0,width:jn,height:jn,mask:"url(#".concat(hr,")")},Ae.createElement(me,{bg:yn},Ae.createElement(me,{bg:rn}))))}),ye=he,Pe=100,Oe=function(ct,ht,vt,Ot,Bt,Zt,Yt,nn,En,jn){var zn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Vn=vt/100*360*((360-Zt)/360),xr=Zt===0?0:{bottom:0,top:180,left:90,right:-90}[Yt],Nr=(100-Ot)/100*ht;En==="round"&&Ot!==100&&(Nr+=jn/2,Nr>=ht&&(Nr=ht-.01));var Lr=Pe/2;return{stroke:typeof nn=="string"?nn:void 0,strokeDasharray:"".concat(ht,"px ").concat(ct),strokeDashoffset:Nr+zn,transform:"rotate(".concat(Bt+Vn+xr,"deg)"),transformOrigin:"".concat(Lr,"px ").concat(Lr,"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}},we=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Te(We){var ct=We!=null?We:[];return Array.isArray(ct)?ct:[ct]}var Me=function(ct){var ht=(0,de.Z)((0,de.Z)({},ie),ct),vt=ht.id,Ot=ht.prefixCls,Bt=ht.steps,Zt=ht.strokeWidth,Yt=ht.trailWidth,nn=ht.gapDegree,En=nn===void 0?0:nn,jn=ht.gapPosition,zn=ht.trailColor,Vn=ht.strokeLinecap,xr=ht.style,Nr=ht.className,Lr=ht.strokeColor,hr=ht.percent,Dr=(0,ae.Z)(ht,we),kr=Pe/2,mr=ve(vt),rn="".concat(mr,"-gradient"),yn=kr-Zt/2,Cn=Math.PI*2*yn,_n=En>0?90+En/2:-90,Pr=Cn*((360-En)/360),jr=(0,b.Z)(Bt)==="object"?Bt:{count:Bt,space:2},bt=jr.count,Mt=jr.space,At=Te(hr),on=Te(Lr),Pn=on.find(function(qr){return qr&&(0,b.Z)(qr)==="object"}),In=Pn&&(0,b.Z)(Pn)==="object",Cr=In?"butt":Vn,Er=Oe(Cn,Pr,0,100,_n,En,jn,zn,Cr,Zt),Qn=ne(),ar=function(){var Sn=0;return At.map(function(ur,Ct){var zt=on[Ct]||on[on.length-1],Kt=Oe(Cn,Pr,Sn,ur,_n,En,jn,zt,Cr,Zt);return Sn+=ur,Ae.createElement(ye,{key:Ct,color:zt,ptg:ur,radius:yn,prefixCls:Ot,gradientId:rn,style:Kt,strokeLinecap:Cr,strokeWidth:Zt,gapDegree:En,ref:function(vn){Qn[Ct]=vn},size:Pe})}).reverse()},Xr=function(){var Sn=Math.round(bt*(At[0]/100)),ur=100/bt,Ct=0;return new Array(bt).fill(null).map(function(zt,Kt){var Qt=Kt<=Sn-1?on[0]:zn,vn=Qt&&(0,b.Z)(Qt)==="object"?"url(#".concat(rn,")"):void 0,Xt=Oe(Cn,Pr,Ct,ur,_n,En,jn,Qt,"butt",Zt,Mt);return Ct+=(Pr-Xt.strokeDashoffset+Mt)*100/Pr,Ae.createElement("circle",{key:Kt,className:"".concat(Ot,"-circle-path"),r:yn,cx:kr,cy:kr,stroke:vn,strokeWidth:Zt,opacity:1,style:Xt,ref:function(tn){Qn[Kt]=tn}})})};return Ae.createElement("svg",(0,le.Z)({className:te()("".concat(Ot,"-circle"),Nr),viewBox:"0 0 ".concat(Pe," ").concat(Pe),style:xr,id:vt,role:"presentation"},Dr),!bt&&Ae.createElement("circle",{className:"".concat(Ot,"-circle-trail"),r:yn,cx:kr,cy:kr,stroke:zn,strokeLinecap:Cr,strokeWidth:Yt||Zt,style:Er}),bt?Xr():ar())},Fe=Me,$e={Line:x,Circle:Fe},Ve=be(83062),Re=be(47448);function st(We){return!We||We<0?0:We>100?100:We}function rt(We){let{success:ct,successPercent:ht}=We,vt=ht;return ct&&"progress"in ct&&(vt=ct.progress),ct&&"percent"in ct&&(vt=ct.percent),vt}const et=We=>{let{percent:ct,success:ht,successPercent:vt}=We;const Ot=st(rt({success:ht,successPercent:vt}));return[Ot,st(st(ct)-Ot)]},qe=We=>{let{success:ct={},strokeColor:ht}=We;const{strokeColor:vt}=ct;return[vt||Re.presetPrimaryColors.green,ht||null]},ze=(We,ct,ht)=>{var vt,Ot,Bt,Zt;let Yt=-1,nn=-1;if(ct==="step"){const En=ht.steps,jn=ht.strokeWidth;typeof We=="string"||typeof We=="undefined"?(Yt=We==="small"?2:14,nn=jn!=null?jn:8):typeof We=="number"?[Yt,nn]=[We,We]:[Yt=14,nn=8]=We,Yt*=En}else if(ct==="line"){const En=ht==null?void 0:ht.strokeWidth;typeof We=="string"||typeof We=="undefined"?nn=En||(We==="small"?6:8):typeof We=="number"?[Yt,nn]=[We,We]:[Yt=-1,nn=8]=We}else(ct==="circle"||ct==="dashboard")&&(typeof We=="string"||typeof We=="undefined"?[Yt,nn]=We==="small"?[60,60]:[120,120]:typeof We=="number"?[Yt,nn]=[We,We]:(Yt=(Ot=(vt=We[0])!==null&&vt!==void 0?vt:We[1])!==null&&Ot!==void 0?Ot:120,nn=(Zt=(Bt=We[0])!==null&&Bt!==void 0?Bt:We[1])!==null&&Zt!==void 0?Zt:120));return[Yt,nn]},ke=3,Be=We=>ke/We*100;var Ye=We=>{const{prefixCls:ct,trailColor:ht=null,strokeLinecap:vt="round",gapPosition:Ot,gapDegree:Bt,width:Zt=120,type:Yt,children:nn,success:En,size:jn=Zt}=We,[zn,Vn]=ze(jn,"circle");let{strokeWidth:xr}=We;xr===void 0&&(xr=Math.max(Be(zn),6));const Nr={width:zn,height:Vn,fontSize:zn*.15+6},Lr=Ae.useMemo(()=>{if(Bt||Bt===0)return Bt;if(Yt==="dashboard")return 75},[Bt,Yt]),hr=Ot||Yt==="dashboard"&&"bottom"||void 0,Dr=Object.prototype.toString.call(We.strokeColor)==="[object Object]",kr=qe({success:En,strokeColor:We.strokeColor}),mr=te()(`${ct}-inner`,{[`${ct}-circle-gradient`]:Dr}),rn=Ae.createElement(Fe,{percent:et(We),strokeWidth:xr,trailWidth:xr,strokeColor:kr,strokeLinecap:vt,trailColor:ht,prefixCls:ct,gapDegree:Lr,gapPosition:hr});return Ae.createElement("div",{className:mr,style:Nr},zn<=20?Ae.createElement(Ve.Z,{title:nn},Ae.createElement("span",null,rn)):Ae.createElement(Ae.Fragment,null,rn,nn))},dt=function(We,ct){var ht={};for(var vt in We)Object.prototype.hasOwnProperty.call(We,vt)&&ct.indexOf(vt)<0&&(ht[vt]=We[vt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,vt=Object.getOwnPropertySymbols(We);Ot<vt.length;Ot++)ct.indexOf(vt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(We,vt[Ot])&&(ht[vt[Ot]]=We[vt[Ot]]);return ht};const He=We=>{let ct=[];return Object.keys(We).forEach(ht=>{const vt=parseFloat(ht.replace(/%/g,""));isNaN(vt)||ct.push({key:vt,value:We[ht]})}),ct=ct.sort((ht,vt)=>ht.key-vt.key),ct.map(ht=>{let{key:vt,value:Ot}=ht;return`${Ot} ${vt}%`}).join(", ")},Ue=(We,ct)=>{const{from:ht=Re.presetPrimaryColors.blue,to:vt=Re.presetPrimaryColors.blue,direction:Ot=ct==="rtl"?"to left":"to right"}=We,Bt=dt(We,["from","to","direction"]);if(Object.keys(Bt).length!==0){const Zt=He(Bt);return{backgroundImage:`linear-gradient(${Ot}, ${Zt})`}}return{backgroundImage:`linear-gradient(${Ot}, ${ht}, ${vt})`}};var Ke=We=>{const{prefixCls:ct,direction:ht,percent:vt,size:Ot,strokeWidth:Bt,strokeColor:Zt,strokeLinecap:Yt="round",children:nn,trailColor:En=null,success:jn}=We,zn=Zt&&typeof Zt!="string"?Ue(Zt,ht):{backgroundColor:Zt},Vn=Yt==="square"||Yt==="butt"?0:void 0,xr={backgroundColor:En||void 0,borderRadius:Vn},Nr=Ot!=null?Ot:[-1,Bt||(Ot==="small"?6:8)],[Lr,hr]=ze(Nr,"line",{strokeWidth:Bt}),Dr=Object.assign({width:`${st(vt)}%`,height:hr,borderRadius:Vn},zn),kr=rt(We),mr={width:`${st(kr)}%`,height:hr,borderRadius:Vn,backgroundColor:jn==null?void 0:jn.strokeColor},rn={width:Lr<0?"100%":Lr,height:hr};return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:`${ct}-outer`,style:rn},Ae.createElement("div",{className:`${ct}-inner`,style:xr},Ae.createElement("div",{className:`${ct}-bg`,style:Dr}),kr!==void 0?Ae.createElement("div",{className:`${ct}-success-bg`,style:mr}):null)),nn)},Ie=We=>{const{size:ct,steps:ht,percent:vt=0,strokeWidth:Ot=8,strokeColor:Bt,trailColor:Zt=null,prefixCls:Yt,children:nn}=We,En=Math.round(ht*(vt/100)),jn=ct==="small"?2:14,zn=ct!=null?ct:[jn,Ot],[Vn,xr]=ze(zn,"step",{steps:ht,strokeWidth:Ot}),Nr=Vn/ht,Lr=new Array(ht);for(let hr=0;hr<ht;hr++){const Dr=Array.isArray(Bt)?Bt[hr]:Bt;Lr[hr]=Ae.createElement("div",{key:hr,className:te()(`${Yt}-steps-item`,{[`${Yt}-steps-item-active`]:hr<=En-1}),style:{backgroundColor:hr<=En-1?Dr:Zt,width:Nr,height:xr}})}return Ae.createElement("div",{className:`${Yt}-steps-outer`},Lr,nn)},Qe=be(45930),Xe=be(14747),Ge=be(67968),Ce=be(45503);const xe=We=>{const ct=We?"100%":"-100%";return new Qe.Keyframes(`antProgress${We?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ct}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ct}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},je=We=>{const{componentCls:ct,iconCls:ht}=We;return{[ct]:Object.assign(Object.assign({},(0,Xe.Wf)(We)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:We.fontSize,marginInlineEnd:We.marginXS,marginBottom:We.marginXS},[`${ct}-outer`]:{display:"inline-block",width:"100%"},[`&${ct}-show-info`]:{[`${ct}-outer`]:{marginInlineEnd:`calc(-2em - ${We.marginXS}px)`,paddingInlineEnd:`calc(2em + ${We.paddingXS}px)`}},[`${ct}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:We.remainingColor,borderRadius:We.lineBorderRadius},[`${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:We.defaultColor}},[`${ct}-success-bg, ${ct}-bg`]:{position:"relative",backgroundColor:We.defaultColor,borderRadius:We.lineBorderRadius,transition:`all ${We.motionDurationSlow} ${We.motionEaseInOutCirc}`},[`${ct}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:We.colorSuccess},[`${ct}-text`]:{display:"inline-block",width:"2em",marginInlineStart:We.marginXS,color:We.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ht]:{fontSize:We.fontSize}},[`&${ct}-status-active`]:{[`${ct}-bg::before`]:{position:"absolute",inset:0,backgroundColor:We.colorBgContainer,borderRadius:We.lineBorderRadius,opacity:0,animationName:xe(),animationDuration:We.progressActiveMotionDuration,animationTimingFunction:We.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ct}-rtl${ct}-status-active`]:{[`${ct}-bg::before`]:{animationName:xe(!0)}},[`&${ct}-status-exception`]:{[`${ct}-bg`]:{backgroundColor:We.colorError},[`${ct}-text`]:{color:We.colorError}},[`&${ct}-status-exception ${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:We.colorError}},[`&${ct}-status-success`]:{[`${ct}-bg`]:{backgroundColor:We.colorSuccess},[`${ct}-text`]:{color:We.colorSuccess}},[`&${ct}-status-success ${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:We.colorSuccess}}})}},_e=We=>{const{componentCls:ct,iconCls:ht}=We;return{[ct]:{[`${ct}-circle-trail`]:{stroke:We.remainingColor},[`&${ct}-circle ${ct}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ct}-circle ${ct}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:We.circleTextColor,fontSize:We.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ht]:{fontSize:`${We.fontSize/We.fontSizeSM}em`}},[`${ct}-circle&-status-exception`]:{[`${ct}-text`]:{color:We.colorError}},[`${ct}-circle&-status-success`]:{[`${ct}-text`]:{color:We.colorSuccess}}},[`${ct}-inline-circle`]:{lineHeight:1,[`${ct}-inner`]:{verticalAlign:"bottom"}}}},ot=We=>{const{componentCls:ct}=We;return{[ct]:{[`${ct}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:We.progressStepMinWidth,marginInlineEnd:We.progressStepMarginInlineEnd,backgroundColor:We.remainingColor,transition:`all ${We.motionDurationSlow}`,"&-active":{backgroundColor:We.defaultColor}}}}}},pt=We=>{const{componentCls:ct,iconCls:ht}=We;return{[ct]:{[`${ct}-small&-line, ${ct}-small&-line ${ct}-text ${ht}`]:{fontSize:We.fontSizeSM}}}};var mt=(0,Ge.Z)("Progress",We=>{const ct=We.marginXXS/2,ht=(0,Ce.TS)(We,{progressStepMarginInlineEnd:ct,progressStepMinWidth:ct,progressActiveMotionDuration:"2.4s"});return[je(ht),_e(ht),ot(ht),pt(ht)]},We=>({circleTextColor:We.colorText,defaultColor:We.colorInfo,remainingColor:We.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),tt=function(We,ct){var ht={};for(var vt in We)Object.prototype.hasOwnProperty.call(We,vt)&&ct.indexOf(vt)<0&&(ht[vt]=We[vt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,vt=Object.getOwnPropertySymbols(We);Ot<vt.length;Ot++)ct.indexOf(vt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(We,vt[Ot])&&(ht[vt[Ot]]=We[vt[Ot]]);return ht};const ut=null,St=["normal","exception","active","success"];var at=Ae.forwardRef((We,ct)=>{const{prefixCls:ht,className:vt,rootClassName:Ot,steps:Bt,strokeColor:Zt,percent:Yt=0,size:nn="default",showInfo:En=!0,type:jn="line",status:zn,format:Vn,style:xr}=We,Nr=tt(We,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Lr=Ae.useMemo(()=>{var At,on;const Pn=rt(We);return parseInt(Pn!==void 0?(At=Pn!=null?Pn:0)===null||At===void 0?void 0:At.toString():(on=Yt!=null?Yt:0)===null||on===void 0?void 0:on.toString(),10)},[Yt,We.success,We.successPercent]),hr=Ae.useMemo(()=>!St.includes(zn)&&Lr>=100?"success":zn||"normal",[zn,Lr]),{getPrefixCls:Dr,direction:kr,progress:mr}=Ae.useContext(ce.E_),rn=Dr("progress",ht),[yn,Cn]=mt(rn),_n=Ae.useMemo(()=>{if(!En)return null;const At=rt(We);let on;const Pn=Vn||(Cr=>`${Cr}%`),In=jn==="line";return Vn||hr!=="exception"&&hr!=="success"?on=Pn(st(Yt),st(At)):hr==="exception"?on=In?Ae.createElement(Se.Z,null):Ae.createElement(ge.Z,null):hr==="success"&&(on=In?Ae.createElement(Ze.Z,null):Ae.createElement(E.Z,null)),Ae.createElement("span",{className:`${rn}-text`,title:typeof on=="string"?on:void 0},on)},[En,Yt,Lr,hr,jn,rn,Vn]),Pr=Array.isArray(Zt)?Zt[0]:Zt,jr=typeof Zt=="string"||Array.isArray(Zt)?Zt:void 0;let bt;jn==="line"?bt=Bt?Ae.createElement(Ie,Object.assign({},We,{strokeColor:jr,prefixCls:rn,steps:Bt}),_n):Ae.createElement(Ke,Object.assign({},We,{strokeColor:Pr,prefixCls:rn,direction:kr}),_n):(jn==="circle"||jn==="dashboard")&&(bt=Ae.createElement(Ye,Object.assign({},We,{strokeColor:Pr,prefixCls:rn,progressStatus:hr}),_n));const Mt=te()(rn,`${rn}-status-${hr}`,`${rn}-${jn==="dashboard"&&"circle"||Bt&&"steps"||jn}`,{[`${rn}-inline-circle`]:jn==="circle"&&ze(nn,"circle")[0]<=20,[`${rn}-show-info`]:En,[`${rn}-${nn}`]:typeof nn=="string",[`${rn}-rtl`]:kr==="rtl"},mr==null?void 0:mr.className,vt,Ot,Cn);return yn(Ae.createElement("div",Object.assign({ref:ct,style:Object.assign(Object.assign({},mr==null?void 0:mr.style),xr),className:Mt,role:"progressbar","aria-valuenow":Lr},(0,ue.Z)(Nr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),bt))}),Tt=at},49867:function(jt,Pt,be){"use strict";be.d(Pt,{N:function(){return Ae}});const Ae=Ze=>({color:Ze.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ze.motionDurationSlow}`,"&:focus, &:hover":{color:Ze.colorLinkHover},"&:active":{color:Ze.colorLinkActive}})},9430:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return Tl}});var Ae={},Ze="rc-table-internal-hook",E=be(97685),Se=be(66680),ge=be(8410),oe=be(91881),te=be(67294),ue=be(73935);function ce(Ne){var De=te.createContext(void 0),nt=function(ft){var gt=ft.value,Lt=ft.children,Ft=te.useRef(gt);Ft.current=gt;var It=te.useState(function(){return{getValue:function(){return Ft.current},listeners:new Set}}),Ut=(0,E.Z)(It,1),Vt=Ut[0];return(0,ge.Z)(function(){(0,ue.unstable_batchedUpdates)(function(){Vt.listeners.forEach(function(Gt){Gt(gt)})})},[gt]),te.createElement(De.Provider,{value:Vt},Lt)};return{Context:De,Provider:nt,defaultValue:Ne}}function le(Ne,De){var nt=(0,Se.Z)(typeof De=="function"?De:function(Gt){if(De===void 0)return Gt;if(!Array.isArray(De))return Gt[De];var gn={};return De.forEach(function(fn){gn[fn]=Gt[fn]}),gn}),it=te.useContext(Ne==null?void 0:Ne.Context),ft=it||{},gt=ft.listeners,Lt=ft.getValue,Ft=te.useRef();Ft.current=nt(it?Lt():Ne==null?void 0:Ne.defaultValue);var It=te.useState({}),Ut=(0,E.Z)(It,2),Vt=Ut[1];return(0,ge.Z)(function(){if(!it)return;function Gt(gn){var fn=nt(gn);(0,oe.Z)(Ft.current,fn,!0)||Vt({})}return gt.add(Gt),function(){gt.delete(Gt)}},[it]),Ft.current}var de=be(87462),ae=be(42550);function ie(){var Ne=te.createContext(null);function De(){return te.useContext(Ne)}function nt(ft,gt){var Lt=(0,ae.Yr)(ft),Ft=function(Ut,Vt){var Gt=Lt?{ref:Vt}:{},gn=te.useRef(0),fn=te.useRef(Ut),pn=De();return pn!==null?te.createElement(ft,(0,de.Z)({},Ut,Gt)):((!gt||gt(fn.current,Ut))&&(gn.current+=1),fn.current=Ut,te.createElement(Ne.Provider,{value:gn.current},te.createElement(ft,(0,de.Z)({},Ut,Gt))))};return Lt?te.forwardRef(Ft):Ft}function it(ft,gt){var Lt=(0,ae.Yr)(ft),Ft=function(Ut,Vt){var Gt=Lt?{ref:Vt}:{};return De(),te.createElement(ft,(0,de.Z)({},Ut,Gt))};return Lt?te.memo(te.forwardRef(Ft),gt):te.memo(Ft,gt)}return{makeImmutable:nt,responseImmutable:it,useImmutableMark:De}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,x=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,se=ce(),fe=se;function ve(Ne,De){var nt=te.useRef(0);nt.current+=1;var it=te.useRef(Ne),ft=[];Object.keys(Ne||{}).map(function(Lt){var Ft;(Ne==null?void 0:Ne[Lt])!==((Ft=it.current)===null||Ft===void 0?void 0:Ft[Lt])&&ft.push(Lt)}),it.current=Ne;var gt=te.useRef([]);return ft.length&&(gt.current=ft),te.useDebugValue(nt.current),te.useDebugValue(gt.current.join(", ")),De&&console.log("".concat(De,":"),nt.current,gt.current),nt.current}var me=null,pe=te.memo(function(){var Ne=ve();return te.createElement("h1",null,"Render Times: ",Ne)});pe.displayName="RenderBlock";var he=be(71002),ye=be(1413),Pe=be(4942),Oe=be(94184),we=be.n(Oe);function Te(Ne,De,nt){var it=te.useRef({});return(!("value"in it.current)||nt(it.current.condition,De))&&(it.current.value=Ne(),it.current.condition=De),it.current.value}var Me={},Fe=[],$e=function(De){Fe.push(De)};function Ve(Ne,De){if(0)var nt}function Re(Ne,De){if(0)var nt}function st(){Me={}}function rt(Ne,De,nt){!De&&!Me[nt]&&(Ne(!1,nt),Me[nt]=!0)}function et(Ne,De){rt(Ve,Ne,De)}function qe(Ne,De){rt(Re,Ne,De)}et.preMessage=$e,et.resetWarned=st,et.noteOnce=qe;var ze=et;function ke(Ne,De){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,it=new Set;function ft(gt,Lt){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=it.has(gt);if(ze(!It,"Warning: There may be circular references"),It)return!1;if(gt===Lt)return!0;if(nt&&Ft>1)return!1;it.add(gt);var Ut=Ft+1;if(Array.isArray(gt)){if(!Array.isArray(Lt)||gt.length!==Lt.length)return!1;for(var Vt=0;Vt<gt.length;Vt++)if(!ft(gt[Vt],Lt[Vt],Ut))return!1;return!0}if(gt&&Lt&&(0,he.Z)(gt)==="object"&&(0,he.Z)(Lt)==="object"){var Gt=Object.keys(gt);return Gt.length!==Object.keys(Lt).length?!1:Gt.every(function(gn){return ft(gt[gn],Lt[gn],Ut)})}return!1}return ft(Ne,De)}var Be=ke;function Je(Ne,De){for(var nt=Ne,it=0;it<De.length;it+=1){if(nt==null)return;nt=nt[De[it]]}return nt}var Ye=te.createContext({renderWithProps:!1}),dt=Ye,He="RC_TABLE_KEY";function Ue(Ne){return Ne==null?[]:Array.isArray(Ne)?Ne:[Ne]}function Le(Ne){var De=[],nt={};return Ne.forEach(function(it){for(var ft=it||{},gt=ft.key,Lt=ft.dataIndex,Ft=gt||Ue(Lt).join("-")||He;nt[Ft];)Ft="".concat(Ft,"_next");nt[Ft]=!0,De.push(Ft)}),De}function Ke(Ne){return Ne!=null}function Ee(Ne){return Ne&&(0,he.Z)(Ne)==="object"&&!Array.isArray(Ne)&&!te.isValidElement(Ne)}function Ie(Ne,De,nt,it,ft,gt){var Lt=te.useContext(dt),Ft=re(),It=Te(function(){if(Ke(it))return[it];var Ut=De==null||De===""?[]:Array.isArray(De)?De:[De],Vt=Je(Ne,Ut),Gt=Vt,gn=void 0;if(ft){var fn=ft(Vt,Ne,nt);Ee(fn)?(Gt=fn.children,gn=fn.props,Lt.renderWithProps=!0):Gt=fn}return[Gt,gn]},[Ft,Ne,it,De,ft,nt],function(Ut,Vt){if(gt){var Gt=(0,E.Z)(Ut,2),gn=Gt[1],fn=(0,E.Z)(Vt,2),pn=fn[1];return gt(pn,gn)}return Lt.renderWithProps?!0:!Be(Ut,Vt,!0)});return It}function Qe(Ne,De,nt,it){var ft=Ne+De-1;return Ne<=it&&ft>=nt}function Xe(Ne,De){return le(fe,function(nt){var it=Qe(Ne,De||1,nt.hoverStartRow,nt.hoverEndRow);return[it,nt.onHover]})}var Ge=function(De){var nt=De.ellipsis,it=De.rowType,ft=De.children,gt,Lt=nt===!0?{showTitle:!0}:nt;return Lt&&(Lt.showTitle||it==="header")&&(typeof ft=="string"||typeof ft=="number"?gt=ft.toString():te.isValidElement(ft)&&typeof ft.props.children=="string"&&(gt=ft.props.children)),gt};function Ce(Ne){var De,nt,it,ft,gt,Lt,Ft,It,Ut=Ne.component,Vt=Ne.children,Gt=Ne.ellipsis,gn=Ne.scope,fn=Ne.prefixCls,pn=Ne.className,Dn=Ne.align,Tn=Ne.record,kn=Ne.render,Ln=Ne.dataIndex,$n=Ne.renderIndex,lr=Ne.shouldCellUpdate,pr=Ne.index,or=Ne.rowType,Mr=Ne.colSpan,zr=Ne.rowSpan,Yn=Ne.fixLeft,sr=Ne.fixRight,Jn=Ne.firstFixLeft,Un=Ne.lastFixLeft,tr=Ne.firstFixRight,Ar=Ne.lastFixRight,Vr=Ne.appendNode,Gr=Ne.additionalProps,Sr=Gr===void 0?{}:Gr,Yr=Ne.isSticky,ta="".concat(fn,"-cell"),Sa=le(fe,["supportSticky","allColumnsFixedLeft"]),ia=Sa.supportSticky,ja=Sa.allColumnsFixedLeft,Aa=Ie(Tn,Ln,$n,Vt,kn,lr),Kr=(0,E.Z)(Aa,2),Ra=Kr[0],la=Kr[1],xa={},wa=typeof Yn=="number"&&ia,to=typeof sr=="number"&&ia;wa&&(xa.position="sticky",xa.left=Yn),to&&(xa.position="sticky",xa.right=sr);var Or=(De=(nt=(it=la==null?void 0:la.colSpan)!==null&&it!==void 0?it:Sr.colSpan)!==null&&nt!==void 0?nt:Mr)!==null&&De!==void 0?De:1,wr=(ft=(gt=(Lt=la==null?void 0:la.rowSpan)!==null&&Lt!==void 0?Lt:Sr.rowSpan)!==null&&gt!==void 0?gt:zr)!==null&&ft!==void 0?ft:1,br=Xe(pr,wr),cr=(0,E.Z)(br,2),ua=cr[0],dr=cr[1],$r=function(Ba){var no;Tn&&dr(pr,pr+wr-1),Sr==null||(no=Sr.onMouseEnter)===null||no===void 0||no.call(Sr,Ba)},aa=function(Ba){var no;Tn&&dr(-1,-1),Sr==null||(no=Sr.onMouseLeave)===null||no===void 0||no.call(Sr,Ba)};if(Or===0||wr===0)return null;var ra=(Ft=Sr.title)!==null&&Ft!==void 0?Ft:Ge({rowType:or,ellipsis:Gt,children:Ra}),Ya=we()(ta,pn,(It={},(0,Pe.Z)(It,"".concat(ta,"-fix-left"),wa&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-left-first"),Jn&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-left-last"),Un&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-left-all"),Un&&ja&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-right"),to&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-right-first"),tr&&ia),(0,Pe.Z)(It,"".concat(ta,"-fix-right-last"),Ar&&ia),(0,Pe.Z)(It,"".concat(ta,"-ellipsis"),Gt),(0,Pe.Z)(It,"".concat(ta,"-with-append"),Vr),(0,Pe.Z)(It,"".concat(ta,"-fix-sticky"),(wa||to)&&Yr&&ia),(0,Pe.Z)(It,"".concat(ta,"-row-hover"),!la&&ua),It),Sr.className,la==null?void 0:la.className),Ha={};Dn&&(Ha.textAlign=Dn);var vo=(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},xa),Sr.style),Ha),la==null?void 0:la.style),Da=Ra;return(0,he.Z)(Da)==="object"&&!Array.isArray(Da)&&!te.isValidElement(Da)&&(Da=null),Gt&&(Un||tr)&&(Da=te.createElement("span",{className:"".concat(ta,"-content")},Da)),te.createElement(Ut,(0,de.Z)({},la,Sr,{className:Ya,style:vo,title:ra,scope:gn,onMouseEnter:$r,onMouseLeave:aa,colSpan:Or!==1?Or:null,rowSpan:wr!==1?wr:null}),Vr,Da)}var xe=te.memo(Ce);function je(Ne,De,nt,it,ft,gt){var Lt=nt[Ne]||{},Ft=nt[De]||{},It,Ut;Lt.fixed==="left"?It=it.left[ft==="rtl"?De:Ne]:Ft.fixed==="right"&&(Ut=it.right[ft==="rtl"?Ne:De]);var Vt=!1,Gt=!1,gn=!1,fn=!1,pn=nt[De+1],Dn=nt[Ne-1],Tn=!(gt!=null&&gt.children);if(ft==="rtl"){if(It!==void 0){var kn=Dn&&Dn.fixed==="left";fn=!kn&&Tn}else if(Ut!==void 0){var Ln=pn&&pn.fixed==="right";gn=!Ln&&Tn}}else if(It!==void 0){var $n=pn&&pn.fixed==="left";Vt=!$n&&Tn}else if(Ut!==void 0){var lr=Dn&&Dn.fixed==="right";Gt=!lr&&Tn}return{fixLeft:It,fixRight:Ut,lastFixLeft:Vt,firstFixRight:Gt,lastFixRight:gn,firstFixLeft:fn,isSticky:it.isSticky}}var _e=te.createContext({}),ot=_e;function pt(Ne){var De=Ne.className,nt=Ne.index,it=Ne.children,ft=Ne.colSpan,gt=ft===void 0?1:ft,Lt=Ne.rowSpan,Ft=Ne.align,It=le(fe,["prefixCls","direction"]),Ut=It.prefixCls,Vt=It.direction,Gt=te.useContext(ot),gn=Gt.scrollColumnIndex,fn=Gt.stickyOffsets,pn=Gt.flattenColumns,Dn=Gt.columns,Tn=nt+gt-1,kn=Tn+1===gn?gt+1:gt,Ln=je(nt,nt+kn-1,pn,fn,Vt,Dn==null?void 0:Dn[nt]);return te.createElement(xe,(0,de.Z)({className:De,index:nt,component:"td",prefixCls:Ut,record:null,dataIndex:null,align:Ft,colSpan:kn,rowSpan:Lt,render:function(){return it}},Ln))}var mt=be(45987),tt=["children"];function ut(Ne){var De=Ne.children,nt=(0,mt.Z)(Ne,tt);return te.createElement("tr",nt,De)}function St(Ne){var De=Ne.children;return De}St.Row=ut,St.Cell=pt;var xt=St;function at(Ne){var De=Ne.children,nt=Ne.stickyOffsets,it=Ne.flattenColumns,ft=Ne.columns,gt=le(fe,"prefixCls"),Lt=it.length-1,Ft=it[Lt],It=te.useMemo(function(){return{stickyOffsets:nt,flattenColumns:it,scrollColumnIndex:Ft!=null&&Ft.scrollbar?Lt:null,columns:ft}},[Ft,it,Lt,nt,ft]);return te.createElement(ot.Provider,{value:It},te.createElement("tfoot",{className:"".concat(gt,"-summary")},De))}var Tt=ee(at),We=xt;function ct(Ne){var De=te.useRef();De.current=Ne;var nt=te.useCallback(function(){for(var it,ft=arguments.length,gt=new Array(ft),Lt=0;Lt<ft;Lt++)gt[Lt]=arguments[Lt];return(it=De.current)===null||it===void 0?void 0:it.call.apply(it,[De].concat(gt))},[]);return nt}function ht(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=ht()?te.useLayoutEffect:te.useEffect,Ot=function(De,nt){var it=React.useRef(!0);vt(function(){return De(it.current)},nt),vt(function(){return it.current=!1,function(){it.current=!0}},[])},Bt=function(De,nt){Ot(function(it){if(!it)return De()},nt)},Zt=null;function Yt(Ne){var De=React.useRef(!1),nt=React.useState(Ne),it=_slicedToArray(nt,2),ft=it[0],gt=it[1];React.useEffect(function(){return De.current=!1,function(){De.current=!0}},[]);function Lt(Ft,It){It&&De.current||gt(Ft)}return[ft,Lt]}function nn(Ne){return Ne!==void 0}function En(Ne,De){var nt=De||{},it=nt.defaultValue,ft=nt.value,gt=nt.onChange,Lt=nt.postState,Ft=useState(function(){return nn(ft)?ft:nn(it)?typeof it=="function"?it():it:typeof Ne=="function"?Ne():Ne}),It=_slicedToArray(Ft,2),Ut=It[0],Vt=It[1],Gt=ft!==void 0?ft:Ut,gn=Lt?Lt(Gt):Gt,fn=useEvent(gt),pn=useState([Gt]),Dn=_slicedToArray(pn,2),Tn=Dn[0],kn=Dn[1];useLayoutUpdateEffect(function(){var $n=Tn[0];Ut!==$n&&fn(Ut,$n)},[Tn]),useLayoutUpdateEffect(function(){nn(ft)||Vt(ft)},[ft]);var Ln=useEvent(function($n,lr){Vt($n,lr),kn([Gt],lr)});return[gn,Ln]}var jn=be(35110);function zn(Ne,De){typeof Ne=="function"?Ne(De):(0,he.Z)(Ne)==="object"&&Ne&&"current"in Ne&&(Ne.current=De)}function Vn(){for(var Ne=arguments.length,De=new Array(Ne),nt=0;nt<Ne;nt++)De[nt]=arguments[nt];var it=De.filter(function(ft){return ft});return it.length<=1?it[0]:function(ft){De.forEach(function(gt){zn(gt,ft)})}}function xr(){for(var Ne=arguments.length,De=new Array(Ne),nt=0;nt<Ne;nt++)De[nt]=arguments[nt];return useMemo(function(){return Vn.apply(void 0,De)},De,function(it,ft){return it.length!==ft.length||it.every(function(gt,Lt){return gt!==ft[Lt]})})}function Nr(Ne){var De,nt,it=isMemo(Ne)?Ne.type.type:Ne.type;return!(typeof it=="function"&&!((De=it.prototype)!==null&&De!==void 0&&De.render)||typeof Ne=="function"&&!((nt=Ne.prototype)!==null&&nt!==void 0&&nt.render))}function Lr(Ne){return!isValidElement(Ne)||isFragment(Ne)?!1:Nr(Ne)}function hr(Ne,De,nt,it){if(!De.length)return nt;var ft=_toArray(De),gt=ft[0],Lt=ft.slice(1),Ft;return!Ne&&typeof gt=="number"?Ft=[]:Array.isArray(Ne)?Ft=_toConsumableArray(Ne):Ft=_objectSpread({},Ne),it&&nt===void 0&&Lt.length===1?delete Ft[gt][Lt[0]]:Ft[gt]=hr(Ft[gt],Lt,nt,it),Ft}function Dr(Ne,De,nt){var it=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return De.length&&it&&nt===void 0&&!get(Ne,De.slice(0,-1))?Ne:hr(Ne,De,nt,it)}function kr(Ne){return _typeof(Ne)==="object"&&Ne!==null&&Object.getPrototypeOf(Ne)===Object.prototype}function mr(Ne){return Array.isArray(Ne)?[]:{}}var rn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function yn(){for(var Ne=arguments.length,De=new Array(Ne),nt=0;nt<Ne;nt++)De[nt]=arguments[nt];var it=mr(De[0]);return De.forEach(function(ft){function gt(Lt,Ft){var It=new Set(Ft),Ut=get(ft,Lt),Vt=Array.isArray(Ut);if(Vt||kr(Ut)){if(!It.has(Ut)){It.add(Ut);var Gt=get(it,Lt);Vt?it=Dr(it,Lt,[]):(!Gt||_typeof(Gt)!=="object")&&(it=Dr(it,Lt,mr(Ut))),rn(Ut).forEach(function(gn){gt([].concat(_toConsumableArray(Lt),[gn]),It)})}}else it=Dr(it,Lt,Ut)}gt([])}),it}var Cn=be(48555),_n=function(Ne){if(!Ne)return!1;if(Ne instanceof Element){if(Ne.offsetParent)return!0;if(Ne.getBBox){var De=Ne.getBBox(),nt=De.width,it=De.height;if(nt||it)return!0}if(Ne.getBoundingClientRect){var ft=Ne.getBoundingClientRect(),gt=ft.width,Lt=ft.height;if(gt||Lt)return!0}}return!1},Pr=function(De){if(ht()&&window.document.documentElement){var nt=Array.isArray(De)?De:[De],it=window.document.documentElement;return nt.some(function(ft){return ft in it.style})}return!1},jr=function(De,nt){if(!Pr(De))return!1;var it=document.createElement("div"),ft=it.style[De];return it.style[De]=nt,it.style[De]!==ft};function bt(Ne,De){return!Array.isArray(Ne)&&De!==void 0?jr(Ne,De):Pr(Ne)}var Mt;function At(Ne){if(typeof document=="undefined")return 0;if(Ne||Mt===void 0){var De=document.createElement("div");De.style.width="100%",De.style.height="200px";var nt=document.createElement("div"),it=nt.style;it.position="absolute",it.top="0",it.left="0",it.pointerEvents="none",it.visibility="hidden",it.width="200px",it.height="150px",it.overflow="hidden",nt.appendChild(De),document.body.appendChild(nt);var ft=De.offsetWidth;nt.style.overflow="scroll";var gt=De.offsetWidth;ft===gt&&(gt=nt.clientWidth),document.body.removeChild(nt),Mt=ft-gt}return Mt}function on(Ne){var De=Ne.match(/^(.*)px$/),nt=Number(De==null?void 0:De[1]);return Number.isNaN(nt)?At():nt}function Pn(Ne){if(typeof document=="undefined"||!Ne||!(Ne instanceof Element))return{width:0,height:0};var De=getComputedStyle(Ne,"::-webkit-scrollbar"),nt=De.width,it=De.height;return{width:on(nt),height:on(it)}}var In=`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`,Cr=`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`,Er="".concat(In," ").concat(Cr).split(/[\s\n]+/),Qn="aria-",ar="data-";function Xr(Ne,De){return Ne.indexOf(De)===0}function qr(Ne){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nt;De===!1?nt={aria:!0,data:!0,attr:!0}:De===!0?nt={aria:!0}:nt=(0,ye.Z)({},De);var it={};return Object.keys(Ne).forEach(function(ft){(nt.aria&&(ft==="role"||Xr(ft,Qn))||nt.data&&Xr(ft,ar)||nt.attr&&Er.includes(ft))&&(it[ft]=Ne[ft])}),it}function Sn(Ne,De,nt,it,ft,gt,Lt){Ne.push({record:De,indent:nt,index:Lt});var Ft=gt(De),It=ft==null?void 0:ft.has(Ft);if(De&&Array.isArray(De[it])&&It)for(var Ut=0;Ut<De[it].length;Ut+=1)Sn(Ne,De[it][Ut],nt+1,it,ft,gt,Ut)}function ur(Ne,De,nt,it){var ft=te.useMemo(function(){if(nt!=null&&nt.size){for(var gt=[],Lt=0;Lt<(Ne==null?void 0:Ne.length);Lt+=1){var Ft=Ne[Lt];Sn(gt,Ft,0,De,nt,it,Lt)}return gt}return Ne==null?void 0:Ne.map(function(It,Ut){return{record:It,indent:0,index:Ut}})},[Ne,De,nt,it]);return ft}function Ct(Ne){var De=Ne.prefixCls,nt=Ne.children,it=Ne.component,ft=Ne.cellComponent,gt=Ne.className,Lt=Ne.expanded,Ft=Ne.colSpan,It=Ne.isEmpty,Ut=le(fe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Vt=Ut.scrollbarSize,Gt=Ut.fixHeader,gn=Ut.fixColumn,fn=Ut.componentWidth,pn=Ut.horizonScroll,Dn=nt;return(It?pn&&fn:gn)&&(Dn=te.createElement("div",{style:{width:fn-(Gt?Vt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(De,"-expanded-row-fixed")},Dn)),te.createElement(it,{className:gt,style:{display:Lt?null:"none"}},te.createElement(xe,{component:ft,prefixCls:De,colSpan:Ft},Dn))}var zt=Ct;function Kt(Ne,De,nt,it){var ft=le(fe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),gt=ft.flattenColumns,Lt=ft.expandableType,Ft=ft.expandedKeys,It=ft.childrenColumnName,Ut=ft.onTriggerExpand,Vt=ft.rowExpandable,Gt=ft.onRow,gn=ft.expandRowByClick,fn=ft.rowClassName,pn=Lt==="nest",Dn=Lt==="row"&&(!Vt||Vt(Ne)),Tn=Dn||pn,kn=Ft&&Ft.has(De),Ln=It&&Ne&&Ne[It],$n=ct(Ut),lr=Gt==null?void 0:Gt(Ne,nt),pr=lr==null?void 0:lr.onClick,or=function(sr){gn&&Tn&&Ut(Ne,sr);for(var Jn=arguments.length,Un=new Array(Jn>1?Jn-1:0),tr=1;tr<Jn;tr++)Un[tr-1]=arguments[tr];pr==null||pr.apply(void 0,[sr].concat(Un))},Mr;typeof fn=="string"?Mr=fn:typeof fn=="function"&&(Mr=fn(Ne,nt,it));var zr=Le(gt);return(0,ye.Z)((0,ye.Z)({},ft),{},{columnsKey:zr,nestExpandable:pn,expanded:kn,hasNestChildren:Ln,record:Ne,onTriggerExpand:$n,rowSupportExpand:Dn,expandable:Tn,rowProps:(0,ye.Z)((0,ye.Z)({},lr),{},{className:we()(Mr,lr==null?void 0:lr.className),onClick:or})})}function Qt(Ne,De,nt,it,ft){var gt=Ne.record,Lt=Ne.prefixCls,Ft=Ne.columnsKey,It=Ne.fixedInfoList,Ut=Ne.expandIconColumnIndex,Vt=Ne.nestExpandable,Gt=Ne.indentSize,gn=Ne.expandIcon,fn=Ne.expanded,pn=Ne.hasNestChildren,Dn=Ne.onTriggerExpand,Tn=Ft[nt],kn=It[nt],Ln;nt===(Ut||0)&&Vt&&(Ln=te.createElement(te.Fragment,null,te.createElement("span",{style:{paddingLeft:"".concat(Gt*it,"px")},className:"".concat(Lt,"-row-indent indent-level-").concat(it)}),gn({prefixCls:Lt,expanded:fn,expandable:pn,record:gt,onExpand:Dn})));var $n;return De.onCell&&($n=De.onCell(gt,ft)),{key:Tn,fixedInfo:kn,appendCellNode:Ln,additionalCellProps:$n||{}}}function vn(Ne){var De=Ne.className,nt=Ne.style,it=Ne.record,ft=Ne.index,gt=Ne.renderIndex,Lt=Ne.rowKey,Ft=Ne.indent,It=Ft===void 0?0:Ft,Ut=Ne.rowComponent,Vt=Ne.cellComponent,Gt=Ne.scopeCellComponent,gn=Kt(it,Lt,ft,It),fn=gn.prefixCls,pn=gn.flattenColumns,Dn=gn.expandedRowClassName,Tn=gn.expandedRowRender,kn=gn.rowProps,Ln=gn.expanded,$n=gn.rowSupportExpand,lr=te.useState(!1),pr=(0,E.Z)(lr,2),or=pr[0],Mr=pr[1];te.useEffect(function(){Ln&&Mr(!0)},[Ln]);var zr=te.createElement(Ut,(0,de.Z)({},kn,{"data-row-key":Lt,className:we()(De,"".concat(fn,"-row"),"".concat(fn,"-row-level-").concat(It),kn==null?void 0:kn.className),style:(0,ye.Z)((0,ye.Z)({},nt),kn==null?void 0:kn.style)}),pn.map(function(Un,tr){var Ar=Un.render,Vr=Un.dataIndex,Gr=Un.className,Sr=Qt(gn,Un,tr,It,ft),Yr=Sr.key,ta=Sr.fixedInfo,Sa=Sr.appendCellNode,ia=Sr.additionalCellProps;return te.createElement(xe,(0,de.Z)({className:Gr,ellipsis:Un.ellipsis,align:Un.align,scope:Un.rowScope,component:Un.rowScope?Gt:Vt,prefixCls:fn,key:Yr,record:it,index:ft,renderIndex:gt,dataIndex:Vr,render:Ar,shouldCellUpdate:Un.shouldCellUpdate},ta,{appendNode:Sa,additionalProps:ia}))})),Yn;if($n&&(or||Ln)){var sr=Tn(it,ft,It+1,Ln),Jn=Dn&&Dn(it,ft,It);Yn=te.createElement(zt,{expanded:Ln,className:we()("".concat(fn,"-expanded-row"),"".concat(fn,"-expanded-row-level-").concat(It+1),Jn),prefixCls:fn,component:Ut,cellComponent:Vt,colSpan:pn.length,isEmpty:!1},sr)}return te.createElement(te.Fragment,null,zr,Yn)}vn.displayName="BodyRow";var Xt=ee(vn);function sn(Ne){var De=Ne.columnKey,nt=Ne.onColumnResize,it=te.useRef();return te.useEffect(function(){it.current&&nt(De,it.current.offsetWidth)},[]),te.createElement(Cn.Z,{data:De},te.createElement("td",{ref:it,style:{padding:0,border:0,height:0}},te.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function tn(Ne){var De=Ne.prefixCls,nt=Ne.columnsKey,it=Ne.onColumnResize;return te.createElement("tr",{"aria-hidden":"true",className:"".concat(De,"-measure-row"),style:{height:0,fontSize:0}},te.createElement(Cn.Z.Collection,{onBatchResize:function(gt){gt.forEach(function(Lt){var Ft=Lt.data,It=Lt.size;it(Ft,It.offsetWidth)})}},nt.map(function(ft){return te.createElement(sn,{key:ft,columnKey:ft,onColumnResize:it})})))}function Rn(Ne){var De=Ne.data,nt=Ne.measureColumnWidth,it=le(fe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ft=it.prefixCls,gt=it.getComponent,Lt=it.onColumnResize,Ft=it.flattenColumns,It=it.getRowKey,Ut=it.expandedKeys,Vt=it.childrenColumnName,Gt=it.emptyNode,gn=ur(De,Vt,Ut,It),fn=te.useRef({renderWithProps:!1}),pn=gt(["body","wrapper"],"tbody"),Dn=gt(["body","row"],"tr"),Tn=gt(["body","cell"],"td"),kn=gt(["body","cell"],"th"),Ln;De.length?Ln=gn.map(function(lr,pr){var or=lr.record,Mr=lr.indent,zr=lr.index,Yn=It(or,pr);return te.createElement(Xt,{key:Yn,rowKey:Yn,record:or,index:pr,renderIndex:zr,rowComponent:Dn,cellComponent:Tn,scopeCellComponent:kn,getRowKey:It,indent:Mr})}):Ln=te.createElement(zt,{expanded:!0,className:"".concat(ft,"-placeholder"),prefixCls:ft,component:Dn,cellComponent:Tn,colSpan:Ft.length,isEmpty:!0},Gt);var $n=Le(Ft);return te.createElement(dt.Provider,{value:fn.current},te.createElement(pn,{className:"".concat(ft,"-tbody")},nt&&te.createElement(tn,{prefixCls:ft,columnsKey:$n,onColumnResize:Lt}),Ln))}Rn.displayName="Body";var bn=ee(Rn),Xn=["expandable"],Br="RC_TABLE_INTERNAL_COL_DEFINE";function an(Ne){var De=Ne.expandable,nt=(0,mt.Z)(Ne,Xn),it;return"expandable"in Ne?it=(0,ye.Z)((0,ye.Z)({},nt),De):it=nt,it.showExpandColumn===!1&&(it.expandIconColumnIndex=-1),it}var Jr=["columnType"];function ya(Ne){for(var De=Ne.colWidths,nt=Ne.columns,it=Ne.columCount,ft=[],gt=it||nt.length,Lt=!1,Ft=gt-1;Ft>=0;Ft-=1){var It=De[Ft],Ut=nt&&nt[Ft],Vt=Ut&&Ut[Br];if(It||Vt||Lt){var Gt=Vt||{},gn=Gt.columnType,fn=(0,mt.Z)(Gt,Jr);ft.unshift(te.createElement("col",(0,de.Z)({key:Ft,style:{width:It}},fn))),Lt=!0}}return te.createElement("colgroup",null,ft)}var ba=ya,Fr=be(74902),pa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function hn(Ne,De){return(0,te.useMemo)(function(){for(var nt=[],it=0;it<De;it+=1){var ft=Ne[it];if(ft!==void 0)nt[it]=ft;else return null}return nt},[Ne.join("_"),De])}var Fn=te.forwardRef(function(Ne,De){var nt=Ne.className,it=Ne.noData,ft=Ne.columns,gt=Ne.flattenColumns,Lt=Ne.colWidths,Ft=Ne.columCount,It=Ne.stickyOffsets,Ut=Ne.direction,Vt=Ne.fixHeader,Gt=Ne.stickyTopOffset,gn=Ne.stickyBottomOffset,fn=Ne.stickyClassName,pn=Ne.onScroll,Dn=Ne.maxContentScroll,Tn=Ne.children,kn=(0,mt.Z)(Ne,pa),Ln=le(fe,["prefixCls","scrollbarSize","isSticky"]),$n=Ln.prefixCls,lr=Ln.scrollbarSize,pr=Ln.isSticky,or=pr&&!Vt?0:lr,Mr=te.useRef(null),zr=te.useCallback(function(Gr){zn(De,Gr),zn(Mr,Gr)},[]);te.useEffect(function(){var Gr;function Sr(Yr){var ta=Yr,Sa=ta.currentTarget,ia=ta.deltaX;ia&&(pn({currentTarget:Sa,scrollLeft:Sa.scrollLeft+ia}),Yr.preventDefault())}return(Gr=Mr.current)===null||Gr===void 0||Gr.addEventListener("wheel",Sr),function(){var Yr;(Yr=Mr.current)===null||Yr===void 0||Yr.removeEventListener("wheel",Sr)}},[]);var Yn=te.useMemo(function(){return gt.every(function(Gr){return Gr.width})},[gt]),sr=gt[gt.length-1],Jn={fixed:sr?sr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat($n,"-cell-scrollbar")}}},Un=(0,te.useMemo)(function(){return or?[].concat((0,Fr.Z)(ft),[Jn]):ft},[or,ft]),tr=(0,te.useMemo)(function(){return or?[].concat((0,Fr.Z)(gt),[Jn]):gt},[or,gt]),Ar=(0,te.useMemo)(function(){var Gr=It.right,Sr=It.left;return(0,ye.Z)((0,ye.Z)({},It),{},{left:Ut==="rtl"?[].concat((0,Fr.Z)(Sr.map(function(Yr){return Yr+or})),[0]):Sr,right:Ut==="rtl"?Gr:[].concat((0,Fr.Z)(Gr.map(function(Yr){return Yr+or})),[0]),isSticky:pr})},[or,It,pr]),Vr=hn(Lt,Ft);return te.createElement("div",{style:(0,ye.Z)({overflow:"hidden"},pr?{top:Gt,bottom:gn}:{}),ref:zr,className:we()(nt,(0,Pe.Z)({},fn,!!fn))},te.createElement("table",{style:{tableLayout:"fixed",visibility:it||Vr?null:"hidden"}},(!it||!Dn||Yn)&&te.createElement(ba,{colWidths:Vr?[].concat((0,Fr.Z)(Vr),[or]):[],columCount:Ft+1,columns:tr}),Tn((0,ye.Z)((0,ye.Z)({},kn),{},{stickyOffsets:Ar,columns:Un,flattenColumns:tr}))))});Fn.displayName="FixedHolder";var Hn=te.memo(Fn);function An(Ne){var De=Ne.cells,nt=Ne.stickyOffsets,it=Ne.flattenColumns,ft=Ne.rowComponent,gt=Ne.cellComponent,Lt=Ne.tdCellComponent,Ft=Ne.onHeaderRow,It=Ne.index,Ut=le(fe,["prefixCls","direction"]),Vt=Ut.prefixCls,Gt=Ut.direction,gn;Ft&&(gn=Ft(De.map(function(pn){return pn.column}),It));var fn=Le(De.map(function(pn){return pn.column}));return te.createElement(ft,gn,De.map(function(pn,Dn){var Tn=pn.column,kn=je(pn.colStart,pn.colEnd,it,nt,Gt,Tn),Ln;return Tn&&Tn.onHeaderCell&&(Ln=pn.column.onHeaderCell(Tn)),te.createElement(xe,(0,de.Z)({},pn,{scope:Tn.title?pn.colSpan>1?"colgroup":"col":null,ellipsis:Tn.ellipsis,align:Tn.align,component:Tn.title?gt:Lt,prefixCls:Vt,key:fn[Dn]},kn,{additionalProps:Ln,rowType:"header"}))}))}An.displayName="HeaderRow";var Qr=An;function Wr(Ne){var De=[];function nt(Lt,Ft){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;De[It]=De[It]||[];var Ut=Ft,Vt=Lt.filter(Boolean).map(function(Gt){var gn={key:Gt.key,className:Gt.className||"",children:Gt.title,column:Gt,colStart:Ut},fn=1,pn=Gt.children;return pn&&pn.length>0&&(fn=nt(pn,Ut,It+1).reduce(function(Dn,Tn){return Dn+Tn},0),gn.hasSubColumns=!0),"colSpan"in Gt&&(fn=Gt.colSpan),"rowSpan"in Gt&&(gn.rowSpan=Gt.rowSpan),gn.colSpan=fn,gn.colEnd=gn.colStart+fn-1,De[It].push(gn),Ut+=fn,fn});return Vt}nt(Ne,0);for(var it=De.length,ft=function(Ft){De[Ft].forEach(function(It){!("rowSpan"in It)&&!It.hasSubColumns&&(It.rowSpan=it-Ft)})},gt=0;gt<it;gt+=1)ft(gt);return De}function ha(Ne){var De=Ne.stickyOffsets,nt=Ne.columns,it=Ne.flattenColumns,ft=Ne.onHeaderRow,gt=le(fe,["prefixCls","getComponent"]),Lt=gt.prefixCls,Ft=gt.getComponent,It=te.useMemo(function(){return Wr(nt)},[nt]),Ut=Ft(["header","wrapper"],"thead"),Vt=Ft(["header","row"],"tr"),Gt=Ft(["header","cell"],"th"),gn=Ft(["header","cell"],"td");return te.createElement(Ut,{className:"".concat(Lt,"-thead")},It.map(function(fn,pn){var Dn=te.createElement(Qr,{key:pn,flattenColumns:it,cells:fn,stickyOffsets:De,rowComponent:Vt,cellComponent:Gt,tdCellComponent:gn,onHeaderRow:ft,index:pn});return Dn}))}var da=ee(ha);function ma(Ne){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=[];return te.Children.forEach(Ne,function(it){it==null&&!De.keepEmpty||(Array.isArray(it)?nt=nt.concat(ma(it)):(0,jn.isFragment)(it)&&it.props?nt=nt.concat(ma(it.props.children,De)):nt.push(it))}),nt}function Et(Ne){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof De=="number"?De:De.endsWith("%")?Ne*parseFloat(De)/100:null}function wt(Ne,De){return te.useMemo(function(){if(De&&De>0){var nt=0,it=0;Ne.forEach(function(Ut){var Vt=Et(De,Ut.width);Vt?nt+=Vt:it+=1});var ft=De-nt,gt=it,Lt=ft/it,Ft=0,It=Ne.map(function(Ut){var Vt=(0,ye.Z)({},Ut),Gt=Et(De,Vt.width);if(Gt)Vt.width=Gt;else{var gn=Math.floor(Lt);Vt.width=gt===1?ft:gn,ft-=gn,gt-=1}return Ft+=Vt.width,Vt});return[It,Ft]}return[Ne,De]},[Ne,De])}var Wt=["children"],qt=["fixed"];function mn(Ne){return ma(Ne).filter(function(De){return te.isValidElement(De)}).map(function(De){var nt=De.key,it=De.props,ft=it.children,gt=(0,mt.Z)(it,Wt),Lt=(0,ye.Z)({key:nt},gt);return ft&&(Lt.children=mn(ft)),Lt})}function Bn(Ne){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ne.filter(function(nt){return nt&&(0,he.Z)(nt)==="object"}).reduce(function(nt,it,ft){var gt=it.fixed,Lt=gt===!0?"left":gt,Ft="".concat(De,"-").concat(ft),It=it.children;return It&&It.length>0?[].concat((0,Fr.Z)(nt),(0,Fr.Z)(Bn(It,Ft).map(function(Ut){return(0,ye.Z)({fixed:Lt},Ut)}))):[].concat((0,Fr.Z)(nt),[(0,ye.Z)((0,ye.Z)({key:Ft},it),{},{fixed:Lt})])},[])}function nr(Ne){for(var De=!0,nt=0;nt<Ne.length;nt+=1){var it=Ne[nt];if(De&&it.fixed!=="left")De=!1;else if(!De&&it.fixed==="left"){warning(!1,"Index ".concat(nt-1," of `columns` missing `fixed='left'` prop."));break}}for(var ft=!0,gt=Ne.length-1;gt>=0;gt-=1){var Lt=Ne[gt];if(ft&&Lt.fixed!=="right")ft=!1;else if(!ft&&Lt.fixed==="right"){warning(!1,"Index ".concat(gt+1," of `columns` missing `fixed='right'` prop."));break}}}function fr(Ne){return Ne.map(function(De){var nt=De.fixed,it=(0,mt.Z)(De,qt),ft=nt;return nt==="left"?ft="right":nt==="right"&&(ft="left"),(0,ye.Z)({fixed:ft},it)})}function vr(Ne,De){var nt=Ne.prefixCls,it=Ne.columns,ft=Ne.children,gt=Ne.expandable,Lt=Ne.expandedKeys,Ft=Ne.columnTitle,It=Ne.getRowKey,Ut=Ne.onTriggerExpand,Vt=Ne.expandIcon,Gt=Ne.rowExpandable,gn=Ne.expandIconColumnIndex,fn=Ne.direction,pn=Ne.expandRowByClick,Dn=Ne.columnWidth,Tn=Ne.fixed,kn=Ne.scrollWidth,Ln=te.useMemo(function(){return it||mn(ft)},[it,ft]),$n=te.useMemo(function(){if(gt){var sr,Jn=Ln.slice();if(!Jn.includes(Ae)){var Un=gn||0;Un>=0&&Jn.splice(Un,0,Ae)}var tr=Jn.indexOf(Ae);Jn=Jn.filter(function(Sr,Yr){return Sr!==Ae||Yr===tr});var Ar=Ln[tr],Vr;(Tn==="left"||Tn)&&!gn?Vr="left":(Tn==="right"||Tn)&&gn===Ln.length?Vr="right":Vr=Ar?Ar.fixed:null;var Gr=(sr={},(0,Pe.Z)(sr,Br,{className:"".concat(nt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Pe.Z)(sr,"title",Ft),(0,Pe.Z)(sr,"fixed",Vr),(0,Pe.Z)(sr,"className","".concat(nt,"-row-expand-icon-cell")),(0,Pe.Z)(sr,"width",Dn),(0,Pe.Z)(sr,"render",function(Yr,ta,Sa){var ia=It(ta,Sa),ja=Lt.has(ia),Aa=Gt?Gt(ta):!0,Kr=Vt({prefixCls:nt,expanded:ja,expandable:Aa,record:ta,onExpand:Ut});return pn?te.createElement("span",{onClick:function(la){return la.stopPropagation()}},Kr):Kr}),sr);return Jn.map(function(Sr){return Sr===Ae?Gr:Sr})}return Ln.filter(function(Sr){return Sr!==Ae})},[gt,Ln,It,Lt,Vt,fn]),lr=te.useMemo(function(){var sr=$n;return De&&(sr=De(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[De,$n,fn]),pr=te.useMemo(function(){return fn==="rtl"?fr(Bn(lr)):Bn(lr)},[lr,fn,kn]),or=wt(pr,kn),Mr=(0,E.Z)(or,2),zr=Mr[0],Yn=Mr[1];return[lr,zr,Yn]}var _r=vr;function Rr(Ne){var De,nt=Ne.prefixCls,it=Ne.record,ft=Ne.onExpand,gt=Ne.expanded,Lt=Ne.expandable,Ft="".concat(nt,"-row-expand-icon");if(!Lt)return te.createElement("span",{className:we()(Ft,"".concat(nt,"-row-spaced"))});var It=function(Vt){ft(it,Vt),Vt.stopPropagation()};return te.createElement("span",{className:we()(Ft,(De={},(0,Pe.Z)(De,"".concat(nt,"-row-expanded"),gt),(0,Pe.Z)(De,"".concat(nt,"-row-collapsed"),!gt),De)),onClick:It})}function ea(Ne,De,nt){var it=[];function ft(gt){(gt||[]).forEach(function(Lt,Ft){it.push(De(Lt,Ft)),ft(Lt[nt])})}return ft(Ne),it}function ir(Ne,De,nt){var it=an(Ne),ft=it.expandIcon,gt=it.expandedRowKeys,Lt=it.defaultExpandedRowKeys,Ft=it.defaultExpandAllRows,It=it.expandedRowRender,Ut=it.onExpand,Vt=it.onExpandedRowsChange,Gt=it.childrenColumnName,gn=ft||Rr,fn=Gt||"children",pn=te.useMemo(function(){return It?"row":Ne.expandable&&Ne.internalHooks===Ze&&Ne.expandable.__PARENT_RENDER_ICON__||De.some(function(pr){return pr&&(0,he.Z)(pr)==="object"&&pr[fn]})?"nest":!1},[!!It,De]),Dn=te.useState(function(){return Lt||(Ft?ea(De,nt,fn):[])}),Tn=(0,E.Z)(Dn,2),kn=Tn[0],Ln=Tn[1],$n=te.useMemo(function(){return new Set(gt||kn||[])},[gt,kn]),lr=te.useCallback(function(pr){var or=nt(pr,De.indexOf(pr)),Mr,zr=$n.has(or);zr?($n.delete(or),Mr=(0,Fr.Z)($n)):Mr=[].concat((0,Fr.Z)($n),[or]),Ln(Mr),Ut&&Ut(!zr,pr),Vt&&Vt(Mr)},[nt,$n,De,Ut,Vt]);return[it,pn,$n,gn,fn,lr]}function Nt(Ne,De,nt,it){var ft=Ne.map(function(gt,Lt){return je(Lt,Lt,Ne,De,nt,it==null?void 0:it[Lt])});return Te(function(){return ft},[ft],function(gt,Lt){return!Be(gt,Lt)})}function yt(Ne){var De=(0,te.useRef)(Ne),nt=(0,te.useState)({}),it=(0,E.Z)(nt,2),ft=it[1],gt=(0,te.useRef)(null),Lt=(0,te.useRef)([]);function Ft(It){Lt.current.push(It);var Ut=Promise.resolve();gt.current=Ut,Ut.then(function(){if(gt.current===Ut){var Vt=Lt.current,Gt=De.current;Lt.current=[],Vt.forEach(function(gn){De.current=gn(De.current)}),gt.current=null,Gt!==De.current&&ft({})}})}return(0,te.useEffect)(function(){return function(){gt.current=null}},[]),[De.current,Ft]}function Rt(Ne){var De=(0,te.useRef)(Ne||null),nt=(0,te.useRef)();function it(){window.clearTimeout(nt.current)}function ft(Lt){De.current=Lt,it(),nt.current=window.setTimeout(function(){De.current=null,nt.current=void 0},100)}function gt(){return De.current}return(0,te.useEffect)(function(){return it},[]),[ft,gt]}function lt(){var Ne=te.useState(-1),De=(0,E.Z)(Ne,2),nt=De[0],it=De[1],ft=te.useState(-1),gt=(0,E.Z)(ft,2),Lt=gt[0],Ft=gt[1],It=te.useCallback(function(Ut,Vt){it(Ut),Ft(Vt)},[]);return[nt,Lt,It]}var _t=ht()?window:null;function Jt(Ne,De){var nt=(0,he.Z)(Ne)==="object"?Ne:{},it=nt.offsetHeader,ft=it===void 0?0:it,gt=nt.offsetSummary,Lt=gt===void 0?0:gt,Ft=nt.offsetScroll,It=Ft===void 0?0:Ft,Ut=nt.getContainer,Vt=Ut===void 0?function(){return _t}:Ut,Gt=Vt()||_t;return te.useMemo(function(){var gn=!!Ne;return{isSticky:gn,stickyClassName:gn?"".concat(De,"-sticky-holder"):"",offsetHeader:ft,offsetSummary:Lt,offsetScroll:It,container:Gt}},[It,ft,Lt,De,Gt])}function un(Ne,De,nt){var it=(0,te.useMemo)(function(){for(var ft=[],gt=[],Lt=0,Ft=0,It=0;It<De;It+=1)if(nt==="rtl"){gt[It]=Ft,Ft+=Ne[It]||0;var Ut=De-It-1;ft[Ut]=Lt,Lt+=Ne[Ut]||0}else{ft[It]=Lt,Lt+=Ne[It]||0;var Vt=De-It-1;gt[Vt]=Ft,Ft+=Ne[Vt]||0}return{left:ft,right:gt}},[Ne,De,nt]);return it}var Dt=un;function $t(Ne){var De=Ne.className,nt=Ne.children;return te.createElement("div",{className:De},nt)}var kt=$t;function cn(Ne,De,nt,it){var ft=ue.unstable_batchedUpdates?function(Lt){ue.unstable_batchedUpdates(nt,Lt)}:nt;return Ne!=null&&Ne.addEventListener&&Ne.addEventListener(De,ft,it),{remove:function(){Ne!=null&&Ne.removeEventListener&&Ne.removeEventListener(De,ft,it)}}}var On=/margin|padding|width|height|max|min|offset/,wn={left:!0,top:!0},Nn={cssFloat:1,styleFloat:1,float:1};function Kn(Ne){return Ne.nodeType===1?Ne.ownerDocument.defaultView.getComputedStyle(Ne,null):{}}function qn(Ne,De,nt){if(De=De.toLowerCase(),nt==="auto"){if(De==="height")return Ne.offsetHeight;if(De==="width")return Ne.offsetWidth}return De in wn||(wn[De]=On.test(De)),wn[De]?parseFloat(nt)||0:nt}function yr(Ne,De){var nt=arguments.length,it=Kn(Ne);return De=Nn[De]?"cssFloat"in Ne.style?"cssFloat":"styleFloat":De,nt===1?it:qn(Ne,De,it[De]||Ne.style[De])}function Ht(Ne,De,nt){var it=arguments.length;if(De=Nn[De]?"cssFloat"in Ne.style?"cssFloat":"styleFloat":De,it===3)return typeof nt=="number"&&On.test(De)&&(nt="".concat(nt,"px")),Ne.style[De]=nt,nt;for(var ft in De)De.hasOwnProperty(ft)&&Ht(Ne,ft,De[ft]);return Kn(Ne)}function en(Ne){return Ne===document.body?document.documentElement.clientWidth:Ne.offsetWidth}function ln(Ne){return Ne===document.body?window.innerHeight||document.documentElement.clientHeight:Ne.offsetHeight}function dn(){var Ne=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),De=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ne,height:De}}function Gn(){var Ne=document.documentElement.clientWidth,De=window.innerHeight||document.documentElement.clientHeight;return{width:Ne,height:De}}function er(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Tr(Ne){var De=Ne.getBoundingClientRect(),nt=document.documentElement;return{left:De.left+(window.pageXOffset||nt.scrollLeft)-(nt.clientLeft||document.body.clientLeft||0),top:De.top+(window.pageYOffset||nt.scrollTop)-(nt.clientTop||document.body.clientTop||0)}}var rr=function(De,nt){var it,ft,gt=De.scrollBodyRef,Lt=De.onScroll,Ft=De.offsetScroll,It=De.container,Ut=le(fe,"prefixCls"),Vt=((it=gt.current)===null||it===void 0?void 0:it.scrollWidth)||0,Gt=((ft=gt.current)===null||ft===void 0?void 0:ft.clientWidth)||0,gn=Vt&&Gt*(Gt/Vt),fn=te.useRef(),pn=yt({scrollLeft:0,isHiddenScrollBar:!1}),Dn=(0,E.Z)(pn,2),Tn=Dn[0],kn=Dn[1],Ln=te.useRef({delta:0,x:0}),$n=te.useState(!1),lr=(0,E.Z)($n,2),pr=lr[0],or=lr[1],Mr=function(){or(!1)},zr=function(tr){tr.persist(),Ln.current.delta=tr.pageX-Tn.scrollLeft,Ln.current.x=0,or(!0),tr.preventDefault()},Yn=function(tr){var Ar,Vr=tr||((Ar=window)===null||Ar===void 0?void 0:Ar.event),Gr=Vr.buttons;if(!pr||Gr===0){pr&&or(!1);return}var Sr=Ln.current.x+tr.pageX-Ln.current.x-Ln.current.delta;Sr<=0&&(Sr=0),Sr+gn>=Gt&&(Sr=Gt-gn),Lt({scrollLeft:Sr/Gt*(Vt+2)}),Ln.current.x=tr.pageX},sr=function(){if(gt.current){var tr=Tr(gt.current).top,Ar=tr+gt.current.offsetHeight,Vr=It===window?document.documentElement.scrollTop+window.innerHeight:Tr(It).top+It.clientHeight;Ar-At()<=Vr||tr>=Vr-Ft?kn(function(Gr){return(0,ye.Z)((0,ye.Z)({},Gr),{},{isHiddenScrollBar:!0})}):kn(function(Gr){return(0,ye.Z)((0,ye.Z)({},Gr),{},{isHiddenScrollBar:!1})})}},Jn=function(tr){kn(function(Ar){return(0,ye.Z)((0,ye.Z)({},Ar),{},{scrollLeft:tr/Vt*Gt||0})})};return te.useImperativeHandle(nt,function(){return{setScrollLeft:Jn}}),te.useEffect(function(){var Un=cn(document.body,"mouseup",Mr,!1),tr=cn(document.body,"mousemove",Yn,!1);return sr(),function(){Un.remove(),tr.remove()}},[gn,pr]),te.useEffect(function(){var Un=cn(It,"scroll",sr,!1),tr=cn(window,"resize",sr,!1);return function(){Un.remove(),tr.remove()}},[It]),te.useEffect(function(){Tn.isHiddenScrollBar||kn(function(Un){var tr=gt.current;return tr?(0,ye.Z)((0,ye.Z)({},Un),{},{scrollLeft:tr.scrollLeft/tr.scrollWidth*tr.clientWidth}):Un})},[Tn.isHiddenScrollBar]),Vt<=Gt||!gn||Tn.isHiddenScrollBar?null:te.createElement("div",{style:{height:At(),width:Gt,bottom:Ft},className:"".concat(Ut,"-sticky-scroll")},te.createElement("div",{onMouseDown:zr,ref:fn,className:we()("".concat(Ut,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(Ut,"-sticky-scroll-bar-active"),pr)),style:{width:"".concat(gn,"px"),transform:"translate3d(".concat(Tn.scrollLeft,"px, 0, 0)")}}))},xn=te.forwardRef(rr);function Mn(Ne){return null}var Zn=Mn;function Wn(Ne){return null}var gr=Wn,Ur="rc-table",Hr=[],sa={};function Ir(){return"No Data"}function Ea(Ne){var De,nt=(0,ye.Z)({rowKey:"key",prefixCls:Ur,emptyText:Ir},Ne),it=nt.prefixCls,ft=nt.className,gt=nt.rowClassName,Lt=nt.style,Ft=nt.data,It=nt.rowKey,Ut=nt.scroll,Vt=nt.tableLayout,Gt=nt.direction,gn=nt.title,fn=nt.footer,pn=nt.summary,Dn=nt.caption,Tn=nt.id,kn=nt.showHeader,Ln=nt.components,$n=nt.emptyText,lr=nt.onRow,pr=nt.onHeaderRow,or=nt.internalHooks,Mr=nt.transformColumns,zr=nt.internalRefs,Yn=nt.tailor,sr=nt.sticky,Jn=Ft||Hr,Un=!!Jn.length,tr=or===Ze,Ar=te.useCallback(function(ga,Ca){return Je(Ln,ga)||Ca},[Ln]),Vr=te.useMemo(function(){return typeof It=="function"?It:function(ga){var Ca=ga&&ga[It];return Ca}},[It]),Gr=Ar(["body"]),Sr=lt(),Yr=(0,E.Z)(Sr,3),ta=Yr[0],Sa=Yr[1],ia=Yr[2],ja=ir(nt,Jn,Vr),Aa=(0,E.Z)(ja,6),Kr=Aa[0],Ra=Aa[1],la=Aa[2],xa=Aa[3],wa=Aa[4],to=Aa[5],Or=Ut==null?void 0:Ut.x,wr=te.useState(0),br=(0,E.Z)(wr,2),cr=br[0],ua=br[1],dr=_r((0,ye.Z)((0,ye.Z)((0,ye.Z)({},nt),Kr),{},{expandable:!!Kr.expandedRowRender,columnTitle:Kr.columnTitle,expandedKeys:la,getRowKey:Vr,onTriggerExpand:to,expandIcon:xa,expandIconColumnIndex:Kr.expandIconColumnIndex,direction:Gt,scrollWidth:tr&&Yn&&typeof Or=="number"?Or:null}),tr?Mr:null),$r=(0,E.Z)(dr,3),aa=$r[0],ra=$r[1],Ya=$r[2],Ha=Ya!=null?Ya:Or,vo=te.useMemo(function(){return{columns:aa,flattenColumns:ra}},[aa,ra]),Da=te.useRef(),mo=te.useRef(),Ba=te.useRef(),no=te.useRef(),Uo=te.useRef(),ca=te.useState(!1),fa=(0,E.Z)(ca,2),Ta=fa[0],$a=fa[1],Ua=te.useState(!1),na=(0,E.Z)(Ua,2),qa=na[0],Ja=na[1],lo=yt(new Map),Po=(0,E.Z)(lo,2),yo=Po[0],Xo=Po[1],Lo=Le(ra),po=Lo.map(function(ga){return yo.get(ga)}),ro=te.useMemo(function(){return po},[po.join("_")]),eo=Dt(ro,ra.length,Gt),Ga=Ut&&Ke(Ut.y),Oa=Ut&&Ke(Ha)||!!Kr.fixed,wo=Oa&&ra.some(function(ga){var Ca=ga.fixed;return Ca}),Go=te.useRef(),Io=Jt(sr,it),Eo=Io.isSticky,ni=Io.offsetHeader,mi=Io.offsetSummary,oa=Io.offsetScroll,Pa=Io.stickyClassName,Za=Io.container,La=te.useMemo(function(){return pn==null?void 0:pn(Jn)},[pn,Jn]),Qa=(Ga||Eo)&&te.isValidElement(La)&&La.type===xt&&La.props.fixed,ao,oo,jo;Ga&&(oo={overflowY:"scroll",maxHeight:Ut.y}),Oa&&(ao={overflowX:"auto"},Ga||(oo={overflowY:"hidden"}),jo={width:Ha===!0?"auto":Ha,minWidth:"100%"});var Zi=te.useCallback(function(ga,Ca){_n(Da.current)&&Xo(function(ho){if(ho.get(ga)!==Ca){var Fo=new Map(ho);return Fo.set(ga,Ca),Fo}return ho})},[]),Ol=Rt(null),Vi=(0,E.Z)(Ol,2),Ll=Vi[0],Xi=Vi[1];function ri(ga,Ca){Ca&&(typeof Ca=="function"?Ca(ga):Ca.scrollLeft!==ga&&(Ca.scrollLeft=ga,Ca.scrollLeft!==ga&&setTimeout(function(){Ca.scrollLeft=ga},0)))}var Wo=ct(function(ga){var Ca=ga.currentTarget,ho=ga.scrollLeft,Fo=Gt==="rtl",Ro=typeof ho=="number"?ho:Ca.scrollLeft,cs=Ca||sa;if(!Xi()||Xi()===cs){var Si;Ll(cs),ri(Ro,mo.current),ri(Ro,Ba.current),ri(Ro,Uo.current),ri(Ro,(Si=Go.current)===null||Si===void 0?void 0:Si.setScrollLeft)}var bi=Ca||mo.current;if(bi){var Pi=bi.scrollWidth,wi=bi.clientWidth;if(Pi===wi){$a(!1),Ja(!1);return}Fo?($a(-Ro<Pi-wi),Ja(-Ro>0)):($a(Ro>0),Ja(Ro<Pi-wi))}}),Yi=function(){Oa&&Ba.current?Wo({currentTarget:Ba.current}):($a(!1),Ja(!1))},jl=function(Ca){var ho=Ca.width;ho!==cr&&(Yi(),ua(Da.current?Da.current.offsetWidth:ho))},Ji=te.useRef(!1);te.useEffect(function(){Ji.current&&Yi()},[Oa,Ft,aa.length]),te.useEffect(function(){Ji.current=!0},[]);var Al=te.useState(0),Qi=(0,E.Z)(Al,2),ai=Qi[0],qi=Qi[1],Ml=te.useState(!0),es=(0,E.Z)(Ml,2),ts=es[0],Nl=es[1];te.useEffect(function(){(!Yn||!tr)&&(Ba.current instanceof Element?qi(Pn(Ba.current).width):qi(Pn(no.current).width)),Nl(bt("position","sticky"))},[]),te.useEffect(function(){tr&&zr&&(zr.body.current=Ba.current)});var Il=te.useCallback(function(ga){return te.createElement(te.Fragment,null,te.createElement(da,ga),Qa==="top"&&te.createElement(Tt,ga,La))},[Qa,La]),Fl=te.useCallback(function(ga){return te.createElement(Tt,ga,La)},[La]),ns=Ar(["table"],"table"),oi=te.useMemo(function(){return Vt||(wo?Ha==="max-content"?"auto":"fixed":Ga||Eo||ra.some(function(ga){var Ca=ga.ellipsis;return Ca})?"fixed":"auto")},[Ga,wo,ra,Vt,Eo]),pi,hi={colWidths:ro,columCount:ra.length,stickyOffsets:eo,onHeaderRow:pr,fixHeader:Ga,scroll:Ut},rs=te.useMemo(function(){return Un?null:typeof $n=="function"?$n():$n},[Un,$n]),as=te.createElement(bn,{data:Jn,measureColumnWidth:Ga||Oa||Eo}),os=te.createElement(ba,{colWidths:ra.map(function(ga){var Ca=ga.width;return Ca}),columns:ra}),is=Dn!=null?te.createElement("caption",{className:"".concat(it,"-caption")},Dn):void 0,Rl=qr(nt,{data:!0}),ss=qr(nt,{aria:!0});if(Ga||Eo){var vi;typeof Gr=="function"?(vi=Gr(Jn,{scrollbarSize:ai,ref:Ba,onScroll:Wo}),hi.colWidths=ra.map(function(ga,Ca){var ho=ga.width,Fo=Ca===ra.length-1?ho-ai:ho;return typeof Fo=="number"&&!Number.isNaN(Fo)?Fo:0})):vi=te.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},ao),oo),onScroll:Wo,ref:Ba,className:we()("".concat(it,"-body"))},te.createElement(ns,(0,de.Z)({style:(0,ye.Z)((0,ye.Z)({},jo),{},{tableLayout:oi})},ss),is,os,as,!Qa&&La&&te.createElement(Tt,{stickyOffsets:eo,flattenColumns:ra,columns:aa},La)));var ls=(0,ye.Z)((0,ye.Z)((0,ye.Z)({noData:!Jn.length,maxContentScroll:Oa&&Ha==="max-content"},hi),vo),{},{direction:Gt,stickyClassName:Pa,onScroll:Wo});pi=te.createElement(te.Fragment,null,kn!==!1&&te.createElement(Hn,(0,de.Z)({},ls,{stickyTopOffset:ni,className:"".concat(it,"-header"),ref:mo}),Il),vi,Qa&&Qa!=="top"&&te.createElement(Hn,(0,de.Z)({},ls,{stickyBottomOffset:mi,className:"".concat(it,"-summary"),ref:Uo}),Fl),Eo&&te.createElement(xn,{ref:Go,offsetScroll:oa,scrollBodyRef:Ba,onScroll:Wo,container:Za}))}else pi=te.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},ao),oo),className:we()("".concat(it,"-content")),onScroll:Wo,ref:Ba},te.createElement(ns,(0,de.Z)({style:(0,ye.Z)((0,ye.Z)({},jo),{},{tableLayout:oi})},ss),is,os,kn!==!1&&te.createElement(da,(0,de.Z)({},hi,vo)),as,La&&te.createElement(Tt,{stickyOffsets:eo,flattenColumns:ra,columns:aa},La)));var yi=te.createElement("div",(0,de.Z)({className:we()(it,ft,(De={},(0,Pe.Z)(De,"".concat(it,"-rtl"),Gt==="rtl"),(0,Pe.Z)(De,"".concat(it,"-ping-left"),Ta),(0,Pe.Z)(De,"".concat(it,"-ping-right"),qa),(0,Pe.Z)(De,"".concat(it,"-layout-fixed"),Vt==="fixed"),(0,Pe.Z)(De,"".concat(it,"-fixed-header"),Ga),(0,Pe.Z)(De,"".concat(it,"-fixed-column"),wo),(0,Pe.Z)(De,"".concat(it,"-scroll-horizontal"),Oa),(0,Pe.Z)(De,"".concat(it,"-has-fix-left"),ra[0]&&ra[0].fixed),(0,Pe.Z)(De,"".concat(it,"-has-fix-right"),ra[ra.length-1]&&ra[ra.length-1].fixed==="right"),De)),style:Lt,id:Tn,ref:Da},Rl),gn&&te.createElement(kt,{className:"".concat(it,"-title")},gn(Jn)),te.createElement("div",{ref:no,className:"".concat(it,"-container")},pi),fn&&te.createElement(kt,{className:"".concat(it,"-footer")},fn(Jn)));Oa&&(yi=te.createElement(Cn.Z,{onResize:jl},yi));var us=Nt(ra,eo,Gt,aa),Dl=te.useMemo(function(){return{scrollX:Ha,prefixCls:it,getComponent:Ar,scrollbarSize:ai,direction:Gt,fixedInfoList:us,isSticky:Eo,supportSticky:ts,componentWidth:cr,fixHeader:Ga,fixColumn:wo,horizonScroll:Oa,tableLayout:oi,rowClassName:gt,expandedRowClassName:Kr.expandedRowClassName,expandIcon:xa,expandableType:Ra,expandRowByClick:Kr.expandRowByClick,expandedRowRender:Kr.expandedRowRender,onTriggerExpand:to,expandIconColumnIndex:Kr.expandIconColumnIndex,indentSize:Kr.indentSize,allColumnsFixedLeft:ra.every(function(ga){return ga.fixed==="left"}),emptyNode:rs,columns:aa,flattenColumns:ra,onColumnResize:Zi,hoverStartRow:ta,hoverEndRow:Sa,onHover:ia,rowExpandable:Kr.rowExpandable,onRow:lr,getRowKey:Vr,expandedKeys:la,childrenColumnName:wa}},[Ha,it,Ar,ai,Gt,us,Eo,ts,cr,Ga,wo,Oa,oi,gt,Kr.expandedRowClassName,xa,Ra,Kr.expandRowByClick,Kr.expandedRowRender,to,Kr.expandIconColumnIndex,Kr.indentSize,rs,aa,ra,Zi,ta,Sa,ia,Kr.rowExpandable,lr,Vr,la,wa]);return te.createElement(fe.Provider,{value:Dl},yi)}function Zr(Ne){return z(Ea,Ne)}var Va=Zr();Va.EXPAND_COLUMN=Ae,Va.INTERNAL_HOOKS=Ze,Va.Column=Zn,Va.ColumnGroup=gr,Va.Summary=We;var uo=Va,io=be(73299),ka=ce(null),Ka=ce(null);function _a(Ne,De,nt){var it=De||1;return nt[Ne+it]-(nt[Ne]||0)}function co(Ne){var De=Ne.rowInfo,nt=Ne.column,it=Ne.colIndex,ft=Ne.indent,gt=Ne.index,Lt=Ne.renderIndex,Ft=Ne.record,It=Ne.style,Ut=Ne.className,Vt=Ne.inverse,Gt=Ne.getHeight,gn=nt.render,fn=nt.dataIndex,pn=nt.className,Dn=nt.width,Tn=le(Ka,["columnsOffset"]),kn=Tn.columnsOffset,Ln=Qt(De,nt,it,ft,gt),$n=Ln.key,lr=Ln.fixedInfo,pr=Ln.appendCellNode,or=Ln.additionalCellProps,Mr=or.style,zr=or.colSpan,Yn=zr===void 0?1:zr,sr=or.rowSpan,Jn=sr===void 0?1:sr,Un=it-1,tr=_a(Un,Yn,kn),Ar=Yn>1?Dn-tr:0,Vr=(0,ye.Z)((0,ye.Z)((0,ye.Z)({},Mr),It),{},{flex:"0 0 ".concat(tr,"px"),width:"".concat(tr,"px"),marginRight:Ar,pointerEvents:"auto"}),Gr=te.useMemo(function(){return Vt?Jn<=1:Yn===0||Jn===0||Jn>1},[Jn,Yn,Vt]);Gr?Vr.visibility="hidden":Vt&&(Vr.height=Gt==null?void 0:Gt(Jn));var Sr=Gr?function(){return null}:gn,Yr={};return(Jn===0||Yn===0)&&(Yr.rowSpan=1,Yr.colSpan=1),te.createElement(xe,(0,de.Z)({className:we()(pn,Ut),ellipsis:nt.ellipsis,align:nt.align,scope:nt.rowScope,component:"div",prefixCls:De.prefixCls,key:$n,record:Ft,index:gt,renderIndex:Lt,dataIndex:fn,render:Sr,shouldCellUpdate:nt.shouldCellUpdate},lr,{appendNode:pr,additionalProps:(0,ye.Z)((0,ye.Z)({},or),{},{style:Vr},Yr)}))}var va=co,Ma=["data","index","className","rowKey","style","extra","getHeight"],za=te.forwardRef(function(Ne,De){var nt=Ne.data,it=Ne.index,ft=Ne.className,gt=Ne.rowKey,Lt=Ne.style,Ft=Ne.extra,It=Ne.getHeight,Ut=(0,mt.Z)(Ne,Ma),Vt=nt.record,Gt=nt.indent,gn=nt.index,fn=le(fe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),pn=fn.scrollX,Dn=fn.flattenColumns,Tn=fn.prefixCls,kn=fn.fixColumn,Ln=fn.componentWidth,$n=Kt(Vt,gt,it,Gt),lr=$n.rowSupportExpand,pr=$n.expanded,or=$n.rowProps,Mr=$n.expandedRowRender,zr=$n.expandedRowClassName,Yn;if(lr&&pr){var sr=Mr(Vt,it,Gt+1,pr),Jn=zr==null?void 0:zr(Vt,it,Gt),Un={};kn&&(Un={style:(0,Pe.Z)({},"--virtual-width","".concat(Ln,"px"))});var tr="".concat(Tn,"-expanded-row-cell");Yn=te.createElement("div",{className:we()("".concat(Tn,"-expanded-row"),"".concat(Tn,"-expanded-row-level-").concat(Gt+1),Jn)},te.createElement(xe,{component:"div",prefixCls:Tn,className:we()(tr,(0,Pe.Z)({},"".concat(tr,"-fixed"),kn)),additionalProps:Un},sr))}var Ar=(0,ye.Z)((0,ye.Z)({},Lt),{},{width:pn});Ft&&(Ar.position="absolute",Ar.pointerEvents="none");var Vr=te.createElement("div",(0,de.Z)({},or,Ut,{ref:lr?null:De,className:we()(ft,"".concat(Tn,"-row"),or==null?void 0:or.className,(0,Pe.Z)({},"".concat(Tn,"-row-extra"),Ft)),style:(0,ye.Z)((0,ye.Z)({},Ar),or==null?void 0:or.style)}),Dn.map(function(Gr,Sr){return te.createElement(va,{key:Sr,rowInfo:$n,column:Gr,colIndex:Sr,indent:Gt,index:it,renderIndex:gn,record:Vt,inverse:Ft,getHeight:It})}));return lr?te.createElement("div",{ref:De},Vr,Yn):Vr}),so=ee(za),Xa=so,xo=te.forwardRef(function(Ne,De){var nt=Ne.data,it=Ne.onScroll,ft=le(fe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),gt=ft.flattenColumns,Lt=ft.onColumnResize,Ft=ft.getRowKey,It=ft.expandedKeys,Ut=ft.prefixCls,Vt=ft.childrenColumnName,Gt=ft.emptyNode,gn=ft.scrollX,fn=le(ka),pn=fn.scrollY,Dn=fn.listItemHeight,Tn=te.useRef(),kn=ur(nt,Vt,It,Ft),Ln=te.useMemo(function(){var Yn=0;return gt.map(function(sr){var Jn=sr.width,Un=sr.key;return Yn+=Jn,[Un,Jn,Yn]})},[gt]),$n=te.useMemo(function(){return Ln.map(function(Yn){return Yn[2]})},[Ln]);te.useEffect(function(){Ln.forEach(function(Yn){var sr=(0,E.Z)(Yn,2),Jn=sr[0],Un=sr[1];Lt(Jn,Un)})},[Ln]),te.useImperativeHandle(De,function(){var Yn={};return Object.defineProperty(Yn,"scrollLeft",{get:function(){var Jn;return((Jn=Tn.current)===null||Jn===void 0?void 0:Jn.getScrollInfo().x)||0},set:function(Jn){var Un;(Un=Tn.current)===null||Un===void 0||Un.scrollTo({left:Jn})}}),Yn});var lr=function(sr,Jn){var Un,tr=(Un=kn[Jn])===null||Un===void 0?void 0:Un.record,Ar=sr.onCell;if(Ar){var Vr,Gr=Ar(tr,Jn);return(Vr=Gr==null?void 0:Gr.rowSpan)!==null&&Vr!==void 0?Vr:1}return 1},pr=function(sr){var Jn=sr.start,Un=sr.end,tr=sr.getSize,Ar=sr.offsetY;if(Un<0)return null;for(var Vr=gt.filter(function(Or){return lr(Or,Jn)===0}),Gr=Jn,Sr=function(wr){if(Vr=Vr.filter(function(br){return lr(br,wr)===0}),!Vr.length)return Gr=wr,"break"},Yr=Jn;Yr>=0;Yr-=1){var ta=Sr(Yr);if(ta==="break")break}for(var Sa=gt.filter(function(Or){return lr(Or,Un)!==1}),ia=Un,ja=function(wr){if(Sa=Sa.filter(function(br){return lr(br,wr)!==1}),!Sa.length)return ia=Math.max(wr-1,Un),"break"},Aa=Un;Aa<kn.length;Aa+=1){var Kr=ja(Aa);if(Kr==="break")break}for(var Ra=[],la=function(wr){var br=kn[wr];if(!br)return"continue";gt.some(function(cr){return lr(cr,wr)>1})&&Ra.push(wr)},xa=Gr;xa<=ia;xa+=1)var wa=la(xa);var to=Ra.map(function(Or){var wr=kn[Or],br=Ft(wr.record,Or),cr=function($r){var aa=Or+$r-1,ra=Ft(kn[aa].record,aa),Ya=tr(br,ra);return Ya.bottom-Ya.top},ua=tr(br);return te.createElement(Xa,{key:Or,data:wr,rowKey:br,index:Or,style:{top:-Ar+ua.top},extra:!0,getHeight:cr})});return to},or=te.useMemo(function(){return{columnsOffset:$n}},[$n]),Mr="".concat(Ut,"-tbody"),zr;return kn.length?zr=te.createElement(io.Z,{fullHeight:!1,ref:Tn,className:we()(Mr,"".concat(Mr,"-virtual")),height:pn,itemHeight:Dn||24,data:kn,itemKey:function(sr){return Ft(sr.record)},scrollWidth:gn,onVirtualScroll:function(sr){var Jn=sr.x;it({scrollLeft:Jn})},extraRender:pr},function(Yn,sr,Jn){var Un=Ft(Yn.record,sr);return te.createElement(Xa,(0,de.Z)({data:Yn,rowKey:Un,index:sr},Jn))}):zr=te.createElement("div",{className:we()("".concat(Ut,"-placeholder"))},te.createElement(xe,{component:"div",prefixCls:Ut},Gt)),te.createElement(Ka.Provider,{value:or},zr)}),fo=ee(xo),Ho=fo,Ao=function(De,nt){var it=nt.ref,ft=nt.onScroll;return te.createElement(Ho,{ref:it,data:De,onScroll:ft})},Do=100;function Na(Ne){var De=Ne.columns,nt=Ne.scroll,it=Ne.prefixCls,ft=it===void 0?Ur:it,gt=Ne.className,Lt=Ne.listItemHeight,Ft=nt||{},It=Ft.x,Ut=Ft.y;typeof It!="number"&&(It=((De||[]).length+1)*Do),typeof Ut!="number"&&(Ut=500);var Vt=te.useMemo(function(){return{scrollY:Ut,listItemHeight:Lt}},[Ut,Lt]);return te.createElement(ka.Provider,{value:Vt},te.createElement(uo,(0,de.Z)({},Ne,{className:we()(gt,"".concat(ft,"-virtual")),scroll:(0,ye.Z)((0,ye.Z)({},nt),{},{x:It}),components:{body:Ao},columns:De,internalHooks:Ze,tailor:!0})))}function Ia(Ne){return z(Na,Ne)}var Wa=Ia(),Bo=null;function Yo(Ne){return null}var Fa=Yo;function So(Ne){return null}var Co=So,Mo=be(10366),To=be(58375),bo=be(53124),zo=be(88258),ko=be(98675),_o=be(25378),Ei=be(24457),ds=be(28452),fs=be(57953),gs=be(46605);function ms(Ne){return function(nt){let{prefixCls:it,onExpand:ft,record:gt,expanded:Lt,expandable:Ft}=nt;const It=`${it}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:Ut=>{ft(gt,Ut),Ut.stopPropagation()},className:we()(It,{[`${It}-spaced`]:!Ft,[`${It}-expanded`]:Ft&&Lt,[`${It}-collapsed`]:Ft&&!Lt}),"aria-label":Lt?Ne.collapse:Ne.expand,"aria-expanded":Lt})}}var ps=ms;function $o(Ne,De){return"key"in Ne&&Ne.key!==void 0&&Ne.key!==null?Ne.key:Ne.dataIndex?Array.isArray(Ne.dataIndex)?Ne.dataIndex.join("."):Ne.dataIndex:De}function Zo(Ne,De){return De?`${De}-${Ne}`:`${Ne}`}function Jo(Ne,De){return typeof Ne=="function"?Ne(De):Ne}function hs(Ne,De){const nt=Jo(Ne,De);return Object.prototype.toString.call(nt)==="[object Object]"?"":nt}var vs={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"},ys=vs,Ss=be(74643),bs=function(De,nt){return te.createElement(Ss.Z,(0,de.Z)({},De,{ref:nt,icon:ys}))},Ps=te.forwardRef(bs),xi=be(7699),ws=be(57838);function Es(Ne){const De=te.useRef(Ne),nt=(0,ws.Z)();return[()=>De.current,it=>{De.current=it,nt()}]}var Ci=be(71577),Qo=be(84567),Ti=be(85418),Oi=be(32983),xs=be(68508),Cs=be(76529),Li=be(78045),Ts=be(79870),Os=be(72395),Ls=be(69677);function js(Ne){let{value:De,onChange:nt,filterSearch:it,tablePrefixCls:ft,locale:gt}=Ne;return it?te.createElement("div",{className:`${ft}-filter-dropdown-search`},te.createElement(Ls.default,{prefix:te.createElement(Os.Z,null),placeholder:gt.filterSearchPlaceholder,onChange:nt,value:De,htmlSize:1,className:`${ft}-filter-dropdown-search-input`})):null}var ji=js,Ai=be(92389);const As=Ne=>{const{keyCode:De}=Ne;De===Ai.Z.ENTER&&Ne.stopPropagation()};var Ms=te.forwardRef((Ne,De)=>te.createElement("div",{className:Ne.className,onClick:nt=>nt.stopPropagation(),onKeyDown:As,ref:De},Ne.children));function Ko(Ne){let De=[];return(Ne||[]).forEach(nt=>{let{value:it,children:ft}=nt;De.push(it),ft&&(De=[].concat((0,Fr.Z)(De),(0,Fr.Z)(Ko(ft))))}),De}function Ns(Ne){return Ne.some(De=>{let{children:nt}=De;return nt})}function Mi(Ne,De){return typeof De=="string"||typeof De=="number"?De==null?void 0:De.toString().toLowerCase().includes(Ne.trim().toLowerCase()):!1}function Ni(Ne){let{filters:De,prefixCls:nt,filteredKeys:it,filterMultiple:ft,searchValue:gt,filterSearch:Lt}=Ne;return De.map((Ft,It)=>{const Ut=String(Ft.value);if(Ft.children)return{key:Ut||It,label:Ft.text,popupClassName:`${nt}-dropdown-submenu`,children:Ni({filters:Ft.children,prefixCls:nt,filteredKeys:it,filterMultiple:ft,searchValue:gt,filterSearch:Lt})};const Vt=ft?Qo.default:Li.ZP,Gt={key:Ft.value!==void 0?Ut:It,label:te.createElement(te.Fragment,null,te.createElement(Vt,{checked:it.includes(Ut)}),te.createElement("span",null,Ft.text))};return gt.trim()?typeof Lt=="function"?Lt(gt,Ft)?Gt:null:Mi(gt,Ft.text)?Gt:null:Gt})}function Is(Ne){var De,nt;const{tablePrefixCls:it,prefixCls:ft,column:gt,dropdownPrefixCls:Lt,columnKey:Ft,filterMultiple:It,filterMode:Ut="menu",filterSearch:Vt=!1,filterState:Gt,triggerFilter:gn,locale:fn,children:pn,getPopupContainer:Dn}=Ne,{filterDropdownOpen:Tn,onFilterDropdownOpenChange:kn,filterResetToDefaultFilteredValue:Ln,defaultFilteredValue:$n,filterDropdownVisible:lr,onFilterDropdownVisibleChange:pr}=gt,[or,Mr]=te.useState(!1),zr=!!(Gt&&(!((De=Gt.filteredKeys)===null||De===void 0)&&De.length||Gt.forceFiltered)),Yn=dr=>{Mr(dr),kn==null||kn(dr),pr==null||pr(dr)},sr=(nt=Tn!=null?Tn:lr)!==null&&nt!==void 0?nt:or,Jn=Gt==null?void 0:Gt.filteredKeys,[Un,tr]=Es(Jn||[]),Ar=dr=>{let{selectedKeys:$r}=dr;tr($r)},Vr=(dr,$r)=>{let{node:aa,checked:ra}=$r;Ar(It?{selectedKeys:dr}:{selectedKeys:ra&&aa.key?[aa.key]:[]})};te.useEffect(()=>{or&&Ar({selectedKeys:Jn||[]})},[Jn]);const[Gr,Sr]=te.useState([]),Yr=dr=>{Sr(dr)},[ta,Sa]=te.useState(""),ia=dr=>{const{value:$r}=dr.target;Sa($r)};te.useEffect(()=>{or||Sa("")},[or]);const ja=dr=>{const $r=dr&&dr.length?dr:null;if($r===null&&(!Gt||!Gt.filteredKeys)||(0,xi.Z)($r,Gt==null?void 0:Gt.filteredKeys,!0))return null;gn({column:gt,key:Ft,filteredKeys:$r})},Aa=()=>{Yn(!1),ja(Un())},Kr=function(){let{confirm:dr,closeDropdown:$r}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};dr&&ja([]),$r&&Yn(!1),Sa(""),tr(Ln?($n||[]).map(aa=>String(aa)):[])},Ra=function(){let{closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};dr&&Yn(!1),ja(Un())},la=dr=>{dr&&Jn!==void 0&&tr(Jn||[]),Yn(dr),!dr&&!gt.filterDropdown&&Aa()},xa=we()({[`${Lt}-menu-without-submenu`]:!Ns(gt.filters||[])}),wa=dr=>{if(dr.target.checked){const $r=Ko(gt==null?void 0:gt.filters).map(aa=>String(aa));tr($r)}else tr([])},to=dr=>{let{filters:$r}=dr;return($r||[]).map((aa,ra)=>{const Ya=String(aa.value),Ha={title:aa.text,key:aa.value!==void 0?Ya:ra};return aa.children&&(Ha.children=to({filters:aa.children})),Ha})},Or=dr=>{var $r;return Object.assign(Object.assign({},dr),{text:dr.title,value:dr.key,children:(($r=dr.children)===null||$r===void 0?void 0:$r.map(aa=>Or(aa)))||[]})};let wr;if(typeof gt.filterDropdown=="function")wr=gt.filterDropdown({prefixCls:`${Lt}-custom`,setSelectedKeys:dr=>Ar({selectedKeys:dr}),selectedKeys:Un(),confirm:Ra,clearFilters:Kr,filters:gt.filters,visible:sr,close:()=>{Yn(!1)}});else if(gt.filterDropdown)wr=gt.filterDropdown;else{const dr=Un()||[],$r=()=>(gt.filters||[]).length===0?te.createElement(Oi.Z,{image:Oi.Z.PRESENTED_IMAGE_SIMPLE,description:fn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Ut==="tree"?te.createElement(te.Fragment,null,te.createElement(ji,{filterSearch:Vt,value:ta,onChange:ia,tablePrefixCls:it,locale:fn}),te.createElement("div",{className:`${it}-filter-dropdown-tree`},It?te.createElement(Qo.default,{checked:dr.length===Ko(gt.filters).length,indeterminate:dr.length>0&&dr.length<Ko(gt.filters).length,className:`${it}-filter-dropdown-checkall`,onChange:wa},fn.filterCheckall):null,te.createElement(Ts.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:It,checkStrictly:!It,className:`${Lt}-menu`,onCheck:Vr,checkedKeys:dr,selectedKeys:dr,showIcon:!1,treeData:to({filters:gt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ta.trim()?ra=>typeof Vt=="function"?Vt(ta,Or(ra)):Mi(ta,ra.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(ji,{filterSearch:Vt,value:ta,onChange:ia,tablePrefixCls:it,locale:fn}),te.createElement(xs.default,{selectable:!0,multiple:It,prefixCls:`${Lt}-menu`,className:xa,onSelect:Ar,onDeselect:Ar,selectedKeys:dr,getPopupContainer:Dn,openKeys:Gr,onOpenChange:Yr,items:Ni({filters:gt.filters||[],filterSearch:Vt,prefixCls:ft,filteredKeys:Un(),filterMultiple:It,searchValue:ta})})),aa=()=>Ln?(0,xi.Z)(($n||[]).map(ra=>String(ra)),dr,!0):dr.length===0;wr=te.createElement(te.Fragment,null,$r(),te.createElement("div",{className:`${ft}-dropdown-btns`},te.createElement(Ci.ZP,{type:"link",size:"small",disabled:aa(),onClick:()=>Kr()},fn.filterReset),te.createElement(Ci.ZP,{type:"primary",size:"small",onClick:Aa},fn.filterConfirm)))}gt.filterDropdown&&(wr=te.createElement(Cs.J,{selectable:void 0},wr));const br=()=>te.createElement(Ms,{className:`${ft}-dropdown`},wr);let cr;typeof gt.filterIcon=="function"?cr=gt.filterIcon(zr):gt.filterIcon?cr=gt.filterIcon:cr=te.createElement(Ps,null);const{direction:ua}=te.useContext(bo.E_);return te.createElement("div",{className:`${ft}-column`},te.createElement("span",{className:`${it}-column-title`},pn),te.createElement(Ti.Z,{dropdownRender:br,trigger:["click"],open:sr,onOpenChange:la,getPopupContainer:Dn,placement:ua==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:we()(`${ft}-trigger`,{active:zr}),onClick:dr=>{dr.stopPropagation()}},cr)))}var Fs=Is;function ii(Ne,De,nt){let it=[];return(Ne||[]).forEach((ft,gt)=>{var Lt;const Ft=Zo(gt,nt);if(ft.filters||"filterDropdown"in ft||"onFilter"in ft)if("filteredValue"in ft){let It=ft.filteredValue;"filterDropdown"in ft||(It=(Lt=It==null?void 0:It.map(String))!==null&&Lt!==void 0?Lt:It),it.push({column:ft,key:$o(ft,Ft),filteredKeys:It,forceFiltered:ft.filtered})}else it.push({column:ft,key:$o(ft,Ft),filteredKeys:De&&ft.defaultFilteredValue?ft.defaultFilteredValue:void 0,forceFiltered:ft.filtered});"children"in ft&&(it=[].concat((0,Fr.Z)(it),(0,Fr.Z)(ii(ft.children,De,Ft))))}),it}function Ii(Ne,De,nt,it,ft,gt,Lt,Ft){return nt.map((It,Ut)=>{const Vt=Zo(Ut,Ft),{filterMultiple:Gt=!0,filterMode:gn,filterSearch:fn}=It;let pn=It;if(pn.filters||pn.filterDropdown){const Dn=$o(pn,Vt),Tn=it.find(kn=>{let{key:Ln}=kn;return Dn===Ln});pn=Object.assign(Object.assign({},pn),{title:kn=>te.createElement(Fs,{tablePrefixCls:Ne,prefixCls:`${Ne}-filter`,dropdownPrefixCls:De,column:pn,columnKey:Dn,filterState:Tn,filterMultiple:Gt,filterMode:gn,filterSearch:fn,triggerFilter:gt,locale:ft,getPopupContainer:Lt},Jo(It.title,kn))})}return"children"in pn&&(pn=Object.assign(Object.assign({},pn),{children:Ii(Ne,De,pn.children,it,ft,gt,Lt,Vt)})),pn})}function Fi(Ne){const De={};return Ne.forEach(nt=>{let{key:it,filteredKeys:ft,column:gt}=nt;const{filters:Lt,filterDropdown:Ft}=gt;if(Ft)De[it]=ft||null;else if(Array.isArray(ft)){const It=Ko(Lt);De[it]=It.filter(Ut=>ft.includes(String(Ut)))}else De[it]=null}),De}function Ri(Ne,De){return De.reduce((nt,it)=>{const{column:{onFilter:ft,filters:gt},filteredKeys:Lt}=it;return ft&&Lt&&Lt.length?nt.filter(Ft=>Lt.some(It=>{const Ut=Ko(gt),Vt=Ut.findIndex(gn=>String(gn)===String(It)),Gt=Vt!==-1?Ut[Vt]:It;return ft(Gt,Ft)})):nt},Ne)}const Di=Ne=>Ne.flatMap(De=>"children"in De?[De].concat((0,Fr.Z)(Di(De.children||[]))):[De]);function Rs(Ne){let{prefixCls:De,dropdownPrefixCls:nt,mergedColumns:it,onFilterChange:ft,getPopupContainer:gt,locale:Lt}=Ne;const Ft=te.useMemo(()=>Di(it||[]),[it]),[It,Ut]=te.useState(()=>ii(Ft,!0)),Vt=te.useMemo(()=>{const pn=ii(Ft,!1);if(pn.length===0)return pn;let Dn=!0,Tn=!0;if(pn.forEach(kn=>{let{filteredKeys:Ln}=kn;Ln!==void 0?Dn=!1:Tn=!1}),Dn){const kn=(Ft||[]).map((Ln,$n)=>$o(Ln,Zo($n)));return It.filter(Ln=>{let{key:$n}=Ln;return kn.includes($n)}).map(Ln=>{const $n=Ft[kn.findIndex(lr=>lr===Ln.key)];return Object.assign(Object.assign({},Ln),{column:Object.assign(Object.assign({},Ln.column),$n),forceFiltered:$n.filtered})})}return pn},[Ft,It]),Gt=te.useMemo(()=>Fi(Vt),[Vt]),gn=pn=>{const Dn=Vt.filter(Tn=>{let{key:kn}=Tn;return kn!==pn.key});Dn.push(pn),Ut(Dn),ft(Fi(Dn),Dn)};return[pn=>Ii(De,nt,pn,Vt,Lt,gn,gt),Vt,Gt]}var Ds=Rs;function Bs(Ne,De,nt){const it=te.useRef({});function ft(gt){if(!it.current||it.current.data!==Ne||it.current.childrenColumnName!==De||it.current.getRowKey!==nt){let Ft=function(It){It.forEach((Ut,Vt)=>{const Gt=nt(Ut,Vt);Lt.set(Gt,Ut),Ut&&typeof Ut=="object"&&De in Ut&&Ft(Ut[De]||[])})};const Lt=new Map;Ft(Ne),it.current={data:Ne,childrenColumnName:De,kvMap:Lt,getRowKey:nt}}return it.current.kvMap.get(gt)}return[ft]}var ks=be(38780),_s=function(Ne,De){var nt={};for(var it in Ne)Object.prototype.hasOwnProperty.call(Ne,it)&&De.indexOf(it)<0&&(nt[it]=Ne[it]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,it=Object.getOwnPropertySymbols(Ne);ft<it.length;ft++)De.indexOf(it[ft])<0&&Object.prototype.propertyIsEnumerable.call(Ne,it[ft])&&(nt[it[ft]]=Ne[it[ft]]);return nt};const Bi=10;function $s(Ne,De){const nt={current:Ne.current,pageSize:Ne.pageSize};return Object.keys(De&&typeof De=="object"?De:{}).forEach(ft=>{const gt=Ne[ft];typeof gt!="function"&&(nt[ft]=gt)}),nt}function Us(Ne,De,nt){const it=nt&&typeof nt=="object"?nt:{},{total:ft=0}=it,gt=_s(it,["total"]),[Lt,Ft]=(0,te.useState)(()=>({current:"defaultCurrent"in gt?gt.defaultCurrent:1,pageSize:"defaultPageSize"in gt?gt.defaultPageSize:Bi})),It=(0,ks.Z)(Lt,gt,{total:ft>0?ft:Ne}),Ut=Math.ceil((ft||Ne)/It.pageSize);It.current>Ut&&(It.current=Ut||1);const Vt=(gn,fn)=>{Ft({current:gn!=null?gn:1,pageSize:fn||It.pageSize})},Gt=(gn,fn)=>{var pn;nt&&((pn=nt.onChange)===null||pn===void 0||pn.call(nt,gn,fn)),Vt(gn,fn),De(gn,fn||(It==null?void 0:It.pageSize))};return nt===!1?[{},()=>{}]:[Object.assign(Object.assign({},It),{onChange:Gt}),Vt]}var Gs=Us,zs=be(42922),ki=be(29873),si=be(97153),Ks=be(83898),Ws=be(5663);const No={},li="SELECT_ALL",ui="SELECT_INVERT",ci="SELECT_NONE",_i=[],$i=(Ne,De)=>{let nt=[];return(De||[]).forEach(it=>{nt.push(it),it&&typeof it=="object"&&Ne in it&&(nt=[].concat((0,Fr.Z)(nt),(0,Fr.Z)($i(Ne,it[Ne]))))}),nt};var Hs=(Ne,De)=>{const{preserveSelectedRowKeys:nt,selectedRowKeys:it,defaultSelectedRowKeys:ft,getCheckboxProps:gt,onChange:Lt,onSelect:Ft,onSelectAll:It,onSelectInvert:Ut,onSelectNone:Vt,onSelectMultiple:Gt,columnWidth:gn,type:fn,selections:pn,fixed:Dn,renderCell:Tn,hideSelectAll:kn,checkStrictly:Ln=!0}=De||{},{prefixCls:$n,data:lr,pageData:pr,getRecordByKey:or,getRowKey:Mr,expandType:zr,childrenColumnName:Yn,locale:sr,getPopupContainer:Jn}=Ne,[Un,tr]=(0,Ws.Z)(it||ft||_i,{value:it}),Ar=te.useRef(new Map),Vr=(0,te.useCallback)(Or=>{if(nt){const wr=new Map;Or.forEach(br=>{let cr=or(br);!cr&&Ar.current.has(br)&&(cr=Ar.current.get(br)),wr.set(br,cr)}),Ar.current=wr}},[or,nt]);te.useEffect(()=>{Vr(Un)},[Un]);const{keyEntities:Gr}=(0,te.useMemo)(()=>{if(Ln)return{keyEntities:null};let Or=lr;if(nt){const wr=new Set(lr.map((cr,ua)=>Mr(cr,ua))),br=Array.from(Ar.current).reduce((cr,ua)=>{let[dr,$r]=ua;return wr.has(dr)?cr:cr.concat($r)},[]);Or=[].concat((0,Fr.Z)(Or),(0,Fr.Z)(br))}return(0,Ks.I8)(Or,{externalGetKey:Mr,childrenPropName:Yn})},[lr,Mr,Ln,Yn,nt]),Sr=(0,te.useMemo)(()=>$i(Yn,pr),[Yn,pr]),Yr=(0,te.useMemo)(()=>{const Or=new Map;return Sr.forEach((wr,br)=>{const cr=Mr(wr,br),ua=(gt?gt(wr):null)||{};Or.set(cr,ua)}),Or},[Sr,Mr,gt]),ta=(0,te.useCallback)(Or=>{var wr;return!!(!((wr=Yr.get(Mr(Or)))===null||wr===void 0)&&wr.disabled)},[Yr,Mr]),[Sa,ia]=(0,te.useMemo)(()=>{if(Ln)return[Un||[],[]];const{checkedKeys:Or,halfCheckedKeys:wr}=(0,si.S)(Un,!0,Gr,ta);return[Or||[],wr]},[Un,Ln,Gr,ta]),ja=(0,te.useMemo)(()=>{const Or=fn==="radio"?Sa.slice(0,1):Sa;return new Set(Or)},[Sa,fn]),Aa=(0,te.useMemo)(()=>fn==="radio"?new Set:new Set(ia),[ia,fn]),[Kr,Ra]=(0,te.useState)(null);te.useEffect(()=>{De||tr(_i)},[!!De]);const la=(0,te.useCallback)((Or,wr)=>{let br,cr;Vr(Or),nt?(br=Or,cr=Or.map(ua=>Ar.current.get(ua))):(br=[],cr=[],Or.forEach(ua=>{const dr=or(ua);dr!==void 0&&(br.push(ua),cr.push(dr))})),tr(br),Lt==null||Lt(br,cr,{type:wr})},[tr,or,Lt,nt]),xa=(0,te.useCallback)((Or,wr,br,cr)=>{if(Ft){const ua=br.map(dr=>or(dr));Ft(or(Or),wr,ua,cr)}la(br,"single")},[Ft,or,la]),wa=(0,te.useMemo)(()=>!pn||kn?null:(pn===!0?[li,ui,ci]:pn).map(wr=>wr===li?{key:"all",text:sr.selectionAll,onSelect(){la(lr.map((br,cr)=>Mr(br,cr)).filter(br=>{const cr=Yr.get(br);return!(cr!=null&&cr.disabled)||ja.has(br)}),"all")}}:wr===ui?{key:"invert",text:sr.selectInvert,onSelect(){const br=new Set(ja);pr.forEach((ua,dr)=>{const $r=Mr(ua,dr),aa=Yr.get($r);aa!=null&&aa.disabled||(br.has($r)?br.delete($r):br.add($r))});const cr=Array.from(br);Ut&&Ut(cr),la(cr,"invert")}}:wr===ci?{key:"none",text:sr.selectNone,onSelect(){Vt==null||Vt(),la(Array.from(ja).filter(br=>{const cr=Yr.get(br);return cr==null?void 0:cr.disabled}),"none")}}:wr).map(wr=>Object.assign(Object.assign({},wr),{onSelect:function(){for(var br,cr,ua=arguments.length,dr=new Array(ua),$r=0;$r<ua;$r++)dr[$r]=arguments[$r];(cr=wr.onSelect)===null||cr===void 0||(br=cr).call.apply(br,[wr].concat(dr)),Ra(null)}})),[pn,ja,pr,Mr,Ut,la]);return[(0,te.useCallback)(Or=>{var wr;if(!De)return Or.filter(ca=>ca!==No);let br=(0,Fr.Z)(Or);const cr=new Set(ja),ua=Sr.map(Mr).filter(ca=>!Yr.get(ca).disabled),dr=ua.every(ca=>cr.has(ca)),$r=ua.some(ca=>cr.has(ca)),aa=()=>{const ca=[];dr?ua.forEach(Ta=>{cr.delete(Ta),ca.push(Ta)}):ua.forEach(Ta=>{cr.has(Ta)||(cr.add(Ta),ca.push(Ta))});const fa=Array.from(cr);It==null||It(!dr,fa.map(Ta=>or(Ta)),ca.map(Ta=>or(Ta))),la(fa,"all"),Ra(null)};let ra;if(fn!=="radio"){let ca;if(wa){const na={getPopupContainer:Jn,items:wa.map((qa,Ja)=>{const{key:lo,text:Po,onSelect:yo}=qa;return{key:lo!=null?lo:Ja,onClick:()=>{yo==null||yo(ua)},label:Po}})};ca=te.createElement("div",{className:`${$n}-selection-extra`},te.createElement(Ti.Z,{menu:na,getPopupContainer:Jn},te.createElement("span",null,te.createElement(zs.Z,null))))}const fa=Sr.map((na,qa)=>{const Ja=Mr(na,qa),lo=Yr.get(Ja)||{};return Object.assign({checked:cr.has(Ja)},lo)}).filter(na=>{let{disabled:qa}=na;return qa}),Ta=!!fa.length&&fa.length===Sr.length,$a=Ta&&fa.every(na=>{let{checked:qa}=na;return qa}),Ua=Ta&&fa.some(na=>{let{checked:qa}=na;return qa});ra=!kn&&te.createElement("div",{className:`${$n}-selection`},te.createElement(Qo.default,{checked:Ta?$a:!!Sr.length&&dr,indeterminate:Ta?!$a&&Ua:!dr&&$r,onChange:aa,disabled:Sr.length===0||Ta,"aria-label":ca?"Custom selection":"Select all",skipGroup:!0}),ca)}let Ya;fn==="radio"?Ya=(ca,fa,Ta)=>{const $a=Mr(fa,Ta),Ua=cr.has($a);return{node:te.createElement(Li.ZP,Object.assign({},Yr.get($a),{checked:Ua,onClick:na=>na.stopPropagation(),onChange:na=>{cr.has($a)||xa($a,!0,[$a],na.nativeEvent)}})),checked:Ua}}:Ya=(ca,fa,Ta)=>{var $a;const Ua=Mr(fa,Ta),na=cr.has(Ua),qa=Aa.has(Ua),Ja=Yr.get(Ua);let lo;return zr==="nest"?lo=qa:lo=($a=Ja==null?void 0:Ja.indeterminate)!==null&&$a!==void 0?$a:qa,{node:te.createElement(Qo.default,Object.assign({},Ja,{indeterminate:lo,checked:na,skipGroup:!0,onClick:Po=>Po.stopPropagation(),onChange:Po=>{let{nativeEvent:yo}=Po;const{shiftKey:Xo}=yo;let Lo=-1,po=-1;if(Xo&&Ln){const ro=new Set([Kr,Ua]);ua.some((eo,Ga)=>{if(ro.has(eo))if(Lo===-1)Lo=Ga;else return po=Ga,!0;return!1})}if(po!==-1&&Lo!==po&&Ln){const ro=ua.slice(Lo,po+1),eo=[];na?ro.forEach(Oa=>{cr.has(Oa)&&(eo.push(Oa),cr.delete(Oa))}):ro.forEach(Oa=>{cr.has(Oa)||(eo.push(Oa),cr.add(Oa))});const Ga=Array.from(cr);Gt==null||Gt(!na,Ga.map(Oa=>or(Oa)),eo.map(Oa=>or(Oa))),la(Ga,"multiple")}else{const ro=Sa;if(Ln){const eo=na?(0,ki._5)(ro,Ua):(0,ki.L0)(ro,Ua);xa(Ua,!na,eo,yo)}else{const eo=(0,si.S)([].concat((0,Fr.Z)(ro),[Ua]),!0,Gr,ta),{checkedKeys:Ga,halfCheckedKeys:Oa}=eo;let wo=Ga;if(na){const Go=new Set(Ga);Go.delete(Ua),wo=(0,si.S)(Array.from(Go),{checked:!1,halfCheckedKeys:Oa},Gr,ta).checkedKeys}xa(Ua,!na,wo,yo)}}Ra(na?null:Ua)}})),checked:na}};const Ha=(ca,fa,Ta)=>{const{node:$a,checked:Ua}=Ya(ca,fa,Ta);return Tn?Tn(Ua,fa,Ta,$a):$a};if(!br.includes(No))if(br.findIndex(ca=>{var fa;return((fa=ca[Br])===null||fa===void 0?void 0:fa.columnType)==="EXPAND_COLUMN"})===0){const[ca,...fa]=br;br=[ca,No].concat((0,Fr.Z)(fa))}else br=[No].concat((0,Fr.Z)(br));const vo=br.indexOf(No);br=br.filter((ca,fa)=>ca!==No||fa===vo);const Da=br[vo-1],mo=br[vo+1];let Ba=Dn;Ba===void 0&&((mo==null?void 0:mo.fixed)!==void 0?Ba=mo.fixed:(Da==null?void 0:Da.fixed)!==void 0&&(Ba=Da.fixed)),Ba&&Da&&((wr=Da[Br])===null||wr===void 0?void 0:wr.columnType)==="EXPAND_COLUMN"&&Da.fixed===void 0&&(Da.fixed=Ba);const no=we()(`${$n}-selection-col`,{[`${$n}-selection-col-with-dropdown`]:pn&&fn==="checkbox"}),Uo={fixed:Ba,width:gn,className:`${$n}-selection-column`,title:De.columnTitle||ra,render:Ha,onCell:De.onCell,[Br]:{className:no}};return br.map(ca=>ca===No?Uo:ca)},[Mr,Sr,De,Sa,ja,Aa,gn,wa,zr,Kr,Yr,Gt,xa,ta]),ja]},Zs=be(33463),Vs=be(28575),Xs=be(83062);const qo="ascend",di="descend";function ei(Ne){return typeof Ne.sorter=="object"&&typeof Ne.sorter.multiple=="number"?Ne.sorter.multiple:!1}function Ui(Ne){return typeof Ne=="function"?Ne:Ne&&typeof Ne=="object"&&Ne.compare?Ne.compare:!1}function Ys(Ne,De){return De?Ne[Ne.indexOf(De)+1]:Ne[0]}function fi(Ne,De,nt){let it=[];function ft(gt,Lt){it.push({column:gt,key:$o(gt,Lt),multiplePriority:ei(gt),sortOrder:gt.sortOrder})}return(Ne||[]).forEach((gt,Lt)=>{const Ft=Zo(Lt,nt);gt.children?("sortOrder"in gt&&ft(gt,Ft),it=[].concat((0,Fr.Z)(it),(0,Fr.Z)(fi(gt.children,De,Ft)))):gt.sorter&&("sortOrder"in gt?ft(gt,Ft):De&&gt.defaultSortOrder&&it.push({column:gt,key:$o(gt,Ft),multiplePriority:ei(gt),sortOrder:gt.defaultSortOrder}))}),it}function Gi(Ne,De,nt,it,ft,gt,Lt,Ft){return(De||[]).map((It,Ut)=>{const Vt=Zo(Ut,Ft);let Gt=It;if(Gt.sorter){const gn=Gt.sortDirections||ft,fn=Gt.showSorterTooltip===void 0?Lt:Gt.showSorterTooltip,pn=$o(Gt,Vt),Dn=nt.find(zr=>{let{key:Yn}=zr;return Yn===pn}),Tn=Dn?Dn.sortOrder:null,kn=Ys(gn,Tn);let Ln;if(It.sortIcon)Ln=It.sortIcon({sortOrder:Tn});else{const zr=gn.includes(qo)&&te.createElement(Vs.Z,{className:we()(`${Ne}-column-sorter-up`,{active:Tn===qo})}),Yn=gn.includes(di)&&te.createElement(Zs.Z,{className:we()(`${Ne}-column-sorter-down`,{active:Tn===di})});Ln=te.createElement("span",{className:we()(`${Ne}-column-sorter`,{[`${Ne}-column-sorter-full`]:!!(zr&&Yn)})},te.createElement("span",{className:`${Ne}-column-sorter-inner`,"aria-hidden":"true"},zr,Yn))}const{cancelSort:$n,triggerAsc:lr,triggerDesc:pr}=gt||{};let or=$n;kn===di?or=pr:kn===qo&&(or=lr);const Mr=typeof fn=="object"?fn:{title:or};Gt=Object.assign(Object.assign({},Gt),{className:we()(Gt.className,{[`${Ne}-column-sort`]:Tn}),title:zr=>{const Yn=te.createElement("div",{className:`${Ne}-column-sorters`},te.createElement("span",{className:`${Ne}-column-title`},Jo(It.title,zr)),Ln);return fn?te.createElement(Xs.Z,Object.assign({},Mr),Yn):Yn},onHeaderCell:zr=>{const Yn=It.onHeaderCell&&It.onHeaderCell(zr)||{},sr=Yn.onClick,Jn=Yn.onKeyDown;Yn.onClick=Ar=>{it({column:It,key:pn,sortOrder:kn,multiplePriority:ei(It)}),sr==null||sr(Ar)},Yn.onKeyDown=Ar=>{Ar.keyCode===Ai.Z.ENTER&&(it({column:It,key:pn,sortOrder:kn,multiplePriority:ei(It)}),Jn==null||Jn(Ar))};const Un=hs(It.title,{}),tr=Un==null?void 0:Un.toString();return Tn?Yn["aria-sort"]=Tn==="ascend"?"ascending":"descending":Yn["aria-label"]=tr||"",Yn.className=we()(Yn.className,`${Ne}-column-has-sorters`),Yn.tabIndex=0,It.ellipsis&&(Yn.title=(Un!=null?Un:"").toString()),Yn}})}return"children"in Gt&&(Gt=Object.assign(Object.assign({},Gt),{children:Gi(Ne,Gt.children,nt,it,ft,gt,Lt,Vt)})),Gt})}function zi(Ne){const{column:De,sortOrder:nt}=Ne;return{column:De,order:nt,field:De.dataIndex,columnKey:De.key}}function Ki(Ne){const De=Ne.filter(nt=>{let{sortOrder:it}=nt;return it}).map(zi);return De.length===0&&Ne.length?Object.assign(Object.assign({},zi(Ne[Ne.length-1])),{column:void 0}):De.length<=1?De[0]||{}:De}function gi(Ne,De,nt){const it=De.slice().sort((Lt,Ft)=>Ft.multiplePriority-Lt.multiplePriority),ft=Ne.slice(),gt=it.filter(Lt=>{let{column:{sorter:Ft},sortOrder:It}=Lt;return Ui(Ft)&&It});return gt.length?ft.sort((Lt,Ft)=>{for(let It=0;It<gt.length;It+=1){const Ut=gt[It],{column:{sorter:Vt},sortOrder:Gt}=Ut,gn=Ui(Vt);if(gn&&Gt){const fn=gn(Lt,Ft,Gt);if(fn!==0)return Gt===qo?fn:-fn}}return 0}).map(Lt=>{const Ft=Lt[nt];return Ft?Object.assign(Object.assign({},Lt),{[nt]:gi(Ft,De,nt)}):Lt}):ft}function Js(Ne){let{prefixCls:De,mergedColumns:nt,onSorterChange:it,sortDirections:ft,tableLocale:gt,showSorterTooltip:Lt}=Ne;const[Ft,It]=te.useState(fi(nt,!0)),Ut=te.useMemo(()=>{let pn=!0;const Dn=fi(nt,!1);if(!Dn.length)return Ft;const Tn=[];function kn($n){pn?Tn.push($n):Tn.push(Object.assign(Object.assign({},$n),{sortOrder:null}))}let Ln=null;return Dn.forEach($n=>{Ln===null?(kn($n),$n.sortOrder&&($n.multiplePriority===!1?pn=!1:Ln=!0)):(Ln&&$n.multiplePriority!==!1||(pn=!1),kn($n))}),Tn},[nt,Ft]),Vt=te.useMemo(()=>{const pn=Ut.map(Dn=>{let{column:Tn,sortOrder:kn}=Dn;return{column:Tn,order:kn}});return{sortColumns:pn,sortColumn:pn[0]&&pn[0].column,sortOrder:pn[0]&&pn[0].order}},[Ut]);function Gt(pn){let Dn;pn.multiplePriority===!1||!Ut.length||Ut[0].multiplePriority===!1?Dn=[pn]:Dn=[].concat((0,Fr.Z)(Ut.filter(Tn=>{let{key:kn}=Tn;return kn!==pn.key})),[pn]),It(Dn),it(Ki(Dn),Dn)}return[pn=>Gi(De,pn,Ut,Gt,ft,gt,Lt),Ut,Vt,()=>Ki(Ut)]}function Wi(Ne,De){return Ne.map(nt=>{const it=Object.assign({},nt);return it.title=Jo(nt.title,De),"children"in it&&(it.children=Wi(it.children,De)),it})}function Qs(Ne){return[te.useCallback(nt=>Wi(nt,Ne),[Ne])]}var el=Zr((Ne,De)=>{const{_renderTimes:nt}=Ne,{_renderTimes:it}=De;return nt!==it}),tl=Ia((Ne,De)=>{const{_renderTimes:nt}=Ne,{_renderTimes:it}=De;return nt!==it}),Vo=be(84780),ti=be(14747),nl=be(67968),rl=be(45503),al=Ne=>{const{componentCls:De}=Ne,nt=`${Ne.lineWidth}px ${Ne.lineType} ${Ne.tableBorderColor}`,it=(ft,gt,Lt)=>({[`&${De}-${ft}`]:{[`> ${De}-container`]:{[`> ${De}-content, > ${De}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${De}-expanded-row-fixed`]:{margin:`-${gt}px -${Lt+Ne.lineWidth}px`}}}}}});return{[`${De}-wrapper`]:{[`${De}${De}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${De}-title`]:{border:nt,borderBottom:0},[`> ${De}-container`]:{borderInlineStart:nt,borderTop:nt,[`
> ${De}-content,
> ${De}-header,
> ${De}-body,
> ${De}-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:nt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:nt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${De}-cell-fix-right-first::after`]:{borderInlineEnd:nt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${De}-expanded-row-fixed`]:{margin:`-${Ne.tablePaddingVertical}px -${Ne.tablePaddingHorizontal+Ne.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ne.lineWidth,bottom:0,borderInlineEnd:nt,content:'""'}}}}}},[`&${De}-scroll-horizontal`]:{[`> ${De}-container > ${De}-body`]:{"> table > tbody":{[`
> tr${De}-expanded-row,
> tr${De}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},it("middle",Ne.tablePaddingVerticalMiddle,Ne.tablePaddingHorizontalMiddle)),it("small",Ne.tablePaddingVerticalSmall,Ne.tablePaddingHorizontalSmall)),{[`> ${De}-footer`]:{border:nt,borderTop:0}}),[`${De}-cell`]:{[`${De}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ne.lineWidth}px 0 ${Ne.lineWidth}px ${Ne.tableHeaderBg}`}},[`${De}-bordered ${De}-cell-scrollbar`]:{borderInlineEnd:nt}}}},ol=Ne=>{const{componentCls:De}=Ne;return{[`${De}-wrapper`]:{[`${De}-cell-ellipsis`]:Object.assign(Object.assign({},ti.vS),{wordBreak:"keep-all",[`
&${De}-cell-fix-left-last,
&${De}-cell-fix-right-first
`]:{overflow:"visible",[`${De}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${De}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},il=Ne=>{const{componentCls:De}=Ne;return{[`${De}-wrapper`]:{[`${De}-tbody > tr${De}-placeholder`]:{textAlign:"center",color:Ne.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ne.colorBgContainer}}}}},sl=be(49867),ll=Ne=>{const{componentCls:De,antCls:nt,controlInteractiveSize:it,motionDurationSlow:ft,lineWidth:gt,paddingXS:Lt,lineType:Ft,tableBorderColor:It,tableExpandIconBg:Ut,tableExpandColumnWidth:Vt,borderRadius:Gt,fontSize:gn,fontSizeSM:fn,lineHeight:pn,tablePaddingVertical:Dn,tablePaddingHorizontal:Tn,tableExpandedRowBg:kn,paddingXXS:Ln}=Ne,$n=it/2-gt,lr=$n*2+gt*3,pr=`${gt}px ${Ft} ${It}`,or=Ln-gt;return{[`${De}-wrapper`]:{[`${De}-expand-icon-col`]:{width:Vt},[`${De}-row-expand-icon-cell`]:{textAlign:"center",[`${De}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${De}-row-indent`]:{height:1,float:"left"},[`${De}-row-expand-icon`]:Object.assign(Object.assign({},(0,sl.N)(Ne)),{position:"relative",float:"left",boxSizing:"border-box",width:lr,height:lr,padding:0,color:"inherit",lineHeight:`${lr}px`,background:Ut,border:pr,borderRadius:Gt,transform:`scale(${it/lr})`,transition:`all ${ft}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ft} ease-out`,content:'""'},"&::before":{top:$n,insetInlineEnd:or,insetInlineStart:or,height:gt},"&::after":{top:or,bottom:or,insetInlineStart:$n,width:gt,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"}}),[`${De}-row-indent + ${De}-row-expand-icon`]:{marginTop:(gn*pn-gt*3)/2-Math.ceil((fn*1.4-gt*3)/2),marginInlineEnd:Lt},[`tr${De}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:kn}},[`${nt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${De}-expanded-row-fixed`]:{position:"relative",margin:`-${Dn}px -${Tn}px`,padding:`${Dn}px ${Tn}px`}}}},ul=Ne=>{const{componentCls:De,antCls:nt,iconCls:it,tableFilterDropdownWidth:ft,tableFilterDropdownSearchWidth:gt,paddingXXS:Lt,paddingXS:Ft,colorText:It,lineWidth:Ut,lineType:Vt,tableBorderColor:Gt,tableHeaderIconColor:gn,fontSizeSM:fn,tablePaddingHorizontal:pn,borderRadius:Dn,motionDurationSlow:Tn,colorTextDescription:kn,colorPrimary:Ln,tableHeaderFilterActiveBg:$n,colorTextDisabled:lr,tableFilterDropdownBg:pr,tableFilterDropdownHeight:or,controlItemBgHover:Mr,controlItemBgActive:zr,boxShadowSecondary:Yn,filterDropdownMenuBg:sr}=Ne,Jn=`${nt}-dropdown`,Un=`${De}-filter-dropdown`,tr=`${nt}-tree`,Ar=`${Ut}px ${Vt} ${Gt}`;return[{[`${De}-wrapper`]:{[`${De}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${De}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Lt,marginInline:`${Lt}px ${-pn/2}px`,padding:`0 ${Lt}px`,color:gn,fontSize:fn,borderRadius:Dn,cursor:"pointer",transition:`all ${Tn}`,"&:hover":{color:kn,background:$n},"&.active":{color:Ln}}}},{[`${nt}-dropdown`]:{[Un]:Object.assign(Object.assign({},(0,ti.Wf)(Ne)),{minWidth:ft,backgroundColor:pr,borderRadius:Dn,boxShadow:Yn,overflow:"hidden",[`${Jn}-menu`]:{maxHeight:or,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sr,"&:empty::after":{display:"block",padding:`${Ft}px 0`,color:lr,fontSize:fn,textAlign:"center",content:'"Not Found"'}},[`${Un}-tree`]:{paddingBlock:`${Ft}px 0`,paddingInline:Ft,[tr]:{padding:0},[`${tr}-treenode ${tr}-node-content-wrapper:hover`]:{backgroundColor:Mr},[`${tr}-treenode-checkbox-checked ${tr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Un}-search`]:{padding:Ft,borderBottom:Ar,"&-input":{input:{minWidth:gt},[it]:{color:lr}}},[`${Un}-checkall`]:{width:"100%",marginBottom:Lt,marginInlineStart:Lt},[`${Un}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ft-Ut}px ${Ft}px`,overflow:"hidden",borderTop:Ar}})}},{[`${nt}-dropdown ${Un}, ${Un}-submenu`]:{[`${nt}-checkbox-wrapper + span`]:{paddingInlineStart:Ft,color:It},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cl=Ne=>{const{componentCls:De,lineWidth:nt,colorSplit:it,motionDurationSlow:ft,zIndexTableFixed:gt,tableBg:Lt,zIndexTableSticky:Ft}=Ne,It=it;return{[`${De}-wrapper`]:{[`
${De}-cell-fix-left,
${De}-cell-fix-right
`]:{position:"sticky !important",zIndex:gt,background:Lt},[`
${De}-cell-fix-left-first::after,
${De}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-nt,width:30,transform:"translateX(100%)",transition:`box-shadow ${ft}`,content:'""',pointerEvents:"none"},[`${De}-cell-fix-left-all::after`]:{display:"none"},[`
${De}-cell-fix-right-first::after,
${De}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-nt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ft}`,content:'""',pointerEvents:"none"},[`${De}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ft+1,width:30,transition:`box-shadow ${ft}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${De}-ping-left`]:{[`&:not(${De}-has-fix-left) ${De}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${It}`}},[`
${De}-cell-fix-left-first::after,
${De}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${It}`},[`${De}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${De}-ping-right`]:{[`&:not(${De}-has-fix-right) ${De}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${It}`}},[`
${De}-cell-fix-right-first::after,
${De}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${It}`}}}}},dl=Ne=>{const{componentCls:De,antCls:nt}=Ne;return{[`${De}-wrapper`]:{[`${De}-pagination${nt}-pagination`]:{margin:`${Ne.margin}px 0`},[`${De}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ne.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fl=Ne=>{const{componentCls:De,tableRadius:nt}=Ne;return{[`${De}-wrapper`]:{[De]:{[`${De}-title, ${De}-header`]:{borderRadius:`${nt}px ${nt}px 0 0`},[`${De}-title + ${De}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${De}-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:nt,borderStartEndRadius:nt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:nt},"> *:last-child":{borderStartEndRadius:nt}}},"&-footer":{borderRadius:`0 0 ${nt}px ${nt}px`}}}}},gl=Ne=>{const{componentCls:De}=Ne;return{[`${De}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${De}-pagination-left`]:{justifyContent:"flex-end"},[`${De}-pagination-right`]:{justifyContent:"flex-start"},[`${De}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${De}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${De}-row-indent`]:{float:"right"}}}}},ml=Ne=>{const{componentCls:De,antCls:nt,iconCls:it,fontSizeIcon:ft,padding:gt,paddingXS:Lt,tableHeaderIconColor:Ft,tableHeaderIconColorHover:It,tableSelectionColumnWidth:Ut}=Ne;return{[`${De}-wrapper`]:{[`${De}-selection-col`]:{width:Ut,[`&${De}-selection-col-with-dropdown`]:{width:Ut+ft+gt/4}},[`${De}-bordered ${De}-selection-col`]:{width:Ut+Lt*2,[`&${De}-selection-col-with-dropdown`]:{width:Ut+ft+gt/4+Lt*2}},[`
table tr th${De}-selection-column,
table tr td${De}-selection-column
`]:{paddingInlineEnd:Ne.paddingXS,paddingInlineStart:Ne.paddingXS,textAlign:"center",[`${nt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${De}-selection-column${De}-cell-fix-left`]:{zIndex:Ne.zIndexTableFixed+1},[`table tr th${De}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${De}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${De}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ne.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ne.tablePaddingHorizontal/4}px`,[it]:{color:Ft,fontSize:ft,verticalAlign:"baseline","&:hover":{color:It}}}}}},pl=Ne=>{const{componentCls:De}=Ne,nt=(it,ft,gt,Lt)=>({[`${De}${De}-${it}`]:{fontSize:Lt,[`
${De}-title,
${De}-footer,
${De}-cell,
${De}-thead > tr > th,
${De}-tbody > tr > th,
${De}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${ft}px ${gt}px`},[`${De}-filter-trigger`]:{marginInlineEnd:`-${gt/2}px`},[`${De}-expanded-row-fixed`]:{margin:`-${ft}px -${gt}px`},[`${De}-tbody`]:{[`${De}-wrapper:only-child ${De}`]:{marginBlock:`-${ft}px`,marginInline:`${Ne.tableExpandColumnWidth-gt}px -${gt}px`}},[`${De}-selection-column`]:{paddingInlineStart:`${gt/4}px`}}});return{[`${De}-wrapper`]:Object.assign(Object.assign({},nt("middle",Ne.tablePaddingVerticalMiddle,Ne.tablePaddingHorizontalMiddle,Ne.tableFontSizeMiddle)),nt("small",Ne.tablePaddingVerticalSmall,Ne.tablePaddingHorizontalSmall,Ne.tableFontSizeSmall))}},hl=Ne=>{const{componentCls:De,marginXXS:nt,fontSizeIcon:it,tableHeaderIconColor:ft,tableHeaderIconColorHover:gt}=Ne;return{[`${De}-wrapper`]:{[`${De}-thead th${De}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ne.motionDurationSlow}`,"&:hover":{background:Ne.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ne.colorPrimary},[`
&${De}-cell-fix-left:hover,
&${De}-cell-fix-right:hover
`]:{background:Ne.tableFixedHeaderSortActiveBg}},[`${De}-thead th${De}-column-sort`]:{background:Ne.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${De}-column-sort`]:{background:Ne.tableBodySortBg},[`${De}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${De}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${De}-column-sorter`]:{marginInlineStart:nt,color:ft,fontSize:0,transition:`color ${Ne.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:it,"&.active":{color:Ne.colorPrimary}},[`${De}-column-sorter-up + ${De}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${De}-column-sorters:hover ${De}-column-sorter`]:{color:gt}}}},vl=Ne=>{const{componentCls:De,opacityLoading:nt,tableScrollThumbBg:it,tableScrollThumbBgHover:ft,tableScrollThumbSize:gt,tableScrollBg:Lt,zIndexTableSticky:Ft,stickyScrollBarBorderRadius:It}=Ne,Ut=`${Ne.lineWidth}px ${Ne.lineType} ${Ne.tableBorderColor}`;return{[`${De}-wrapper`]:{[`${De}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ft,background:Ne.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${gt}px !important`,zIndex:Ft,display:"flex",alignItems:"center",background:Lt,borderTop:Ut,opacity:nt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:gt,backgroundColor:it,borderRadius:It,transition:`all ${Ne.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ft}}}}}}},Hi=Ne=>{const{componentCls:De,lineWidth:nt,tableBorderColor:it}=Ne,ft=`${nt}px ${Ne.lineType} ${it}`;return{[`${De}-wrapper`]:{[`${De}-summary`]:{position:"relative",zIndex:Ne.zIndexTableFixed,background:Ne.tableBg,"> tr":{"> th, > td":{borderBottom:ft}}},[`div${De}-summary`]:{boxShadow:`0 -${nt}px 0 ${it}`}}}},yl=Ne=>{const{componentCls:De}=Ne,nt=`${Ne.lineWidth}px ${Ne.lineType} ${Ne.tableBorderColor}`,it=`${De}-expanded-row-cell`;return{[`${De}-wrapper`]:{[`${De}-tbody-virtual`]:{[`${De}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${De}-cell`]:{borderBottom:nt},[`${De}-expanded-row`]:{[`${it}${it}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ne.lineWidth}px)`,borderInlineEnd:"none"}}},[`${De}-bordered`]:{[`${De}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:nt,position:"absolute"},[`${De}-cell`]:{borderInlineEnd:nt,[`&${De}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ne.lineWidth,borderInlineStart:nt}}}}}}};const Sl=Ne=>{const{componentCls:De,fontWeightStrong:nt,tablePaddingVertical:it,tablePaddingHorizontal:ft,lineWidth:gt,lineType:Lt,tableBorderColor:Ft,tableFontSize:It,tableBg:Ut,tableRadius:Vt,tableHeaderTextColor:Gt,motionDurationMid:gn,tableHeaderBg:fn,tableHeaderCellSplitColor:pn,tableRowHoverBg:Dn,tableSelectedRowBg:Tn,tableSelectedRowHoverBg:kn,tableFooterTextColor:Ln,tableFooterBg:$n,paddingContentVerticalLG:lr}=Ne,pr=`${gt}px ${Lt} ${Ft}`;return{[`${De}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ti.dF)()),{[De]:Object.assign(Object.assign({},(0,ti.Wf)(Ne)),{fontSize:It,background:Ut,borderRadius:`${Vt}px ${Vt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Vt}px ${Vt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${De}-cell,
${De}-thead > tr > th,
${De}-tbody > tr > th,
${De}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${lr}px ${ft}px`,overflowWrap:"break-word"},[`${De}-title`]:{padding:`${it}px ${ft}px`},[`${De}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Gt,fontWeight:nt,textAlign:"start",background:fn,borderBottom:pr,transition:`background ${gn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${De}-selection-column):not(${De}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:pn,transform:"translateY(-50%)",transition:`background-color ${gn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${De}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${gn}, border-color ${gn}`,borderBottom:pr,[`
> ${De}-wrapper:only-child,
> ${De}-expanded-row-fixed > ${De}-wrapper:only-child
`]:{[De]:{marginBlock:`-${it}px`,marginInline:`${Ne.tableExpandColumnWidth-ft}px -${ft}px`,[`${De}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Gt,fontWeight:nt,textAlign:"start",background:fn,borderBottom:pr,transition:`background ${gn} ease`},[`
&${De}-row:hover > th,
&${De}-row:hover > td,
> th${De}-cell-row-hover,
> td${De}-cell-row-hover
`]:{background:Dn},[`&${De}-row-selected`]:{"> th, > td":{background:Tn},"&:hover > th, &:hover > td":{background:kn}}}},[`${De}-footer`]:{padding:`${it}px ${ft}px`,color:Ln,background:$n}})}};var bl=(0,nl.Z)("Table",Ne=>{const{colorTextHeading:De,colorSplit:nt,colorIcon:it,colorIconHover:ft,opacityLoading:gt,colorBgContainer:Lt,controlInteractiveSize:Ft,headerBg:It,headerColor:Ut,headerSortActiveBg:Vt,headerSortHoverBg:Gt,bodySortBg:gn,rowHoverBg:fn,rowSelectedBg:pn,rowSelectedHoverBg:Dn,rowExpandedBg:Tn,cellPaddingBlock:kn,cellPaddingInline:Ln,cellPaddingBlockMD:$n,cellPaddingInlineMD:lr,cellPaddingBlockSM:pr,cellPaddingInlineSM:or,borderColor:Mr,footerBg:zr,footerColor:Yn,headerBorderRadius:sr,cellFontSize:Jn,cellFontSizeMD:Un,cellFontSizeSM:tr,headerSplitColor:Ar,fixedHeaderSortActiveBg:Vr,headerFilterHoverBg:Gr,filterDropdownBg:Sr,expandIconBg:Yr,selectionColumnWidth:ta,stickyScrollBarBg:Sa}=Ne,ia=new Vo.C(it),ja=new Vo.C(ft),Aa=2,Kr=(0,rl.TS)(Ne,{tableFontSize:Jn,tableBg:Lt,tableRadius:sr,tablePaddingVertical:kn,tablePaddingHorizontal:Ln,tablePaddingVerticalMiddle:$n,tablePaddingHorizontalMiddle:lr,tablePaddingVerticalSmall:pr,tablePaddingHorizontalSmall:or,tableBorderColor:Mr,tableHeaderTextColor:Ut,tableHeaderBg:It,tableFooterTextColor:Yn,tableFooterBg:zr,tableHeaderCellSplitColor:Ar,tableHeaderSortBg:Vt,tableHeaderSortHoverBg:Gt,tableHeaderIconColor:ia.clone().setAlpha(ia.getAlpha()*gt).toRgbString(),tableHeaderIconColorHover:ja.clone().setAlpha(ja.getAlpha()*gt).toRgbString(),tableBodySortBg:gn,tableFixedHeaderSortActiveBg:Vr,tableHeaderFilterActiveBg:Gr,tableFilterDropdownBg:Sr,tableRowHoverBg:fn,tableSelectedRowBg:pn,tableSelectedRowHoverBg:Dn,zIndexTableFixed:Aa,zIndexTableSticky:Aa+1,tableFontSizeMiddle:Un,tableFontSizeSmall:tr,tableSelectionColumnWidth:ta,tableExpandIconBg:Yr,tableExpandColumnWidth:Ft+2*Ne.padding,tableExpandedRowBg:Tn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Sa,tableScrollThumbBgHover:De,tableScrollBg:nt});return[Sl(Kr),dl(Kr),Hi(Kr),hl(Kr),ul(Kr),al(Kr),fl(Kr),ll(Kr),Hi(Kr),il(Kr),ml(Kr),cl(Kr),vl(Kr),ol(Kr),pl(Kr),gl(Kr),yl(Kr)]},Ne=>{const{colorFillAlter:De,colorBgContainer:nt,colorTextHeading:it,colorFillSecondary:ft,colorFillContent:gt,controlItemBgActive:Lt,controlItemBgActiveHover:Ft,padding:It,paddingSM:Ut,paddingXS:Vt,colorBorderSecondary:Gt,borderRadiusLG:gn,fontSize:fn,controlHeight:pn,colorTextPlaceholder:Dn}=Ne,Tn=new Vo.C(ft).onBackground(nt).toHexShortString(),kn=new Vo.C(gt).onBackground(nt).toHexShortString(),Ln=new Vo.C(De).onBackground(nt).toHexShortString();return{headerBg:Ln,headerColor:it,headerSortActiveBg:Tn,headerSortHoverBg:kn,bodySortBg:Ln,rowHoverBg:Ln,rowSelectedBg:Lt,rowSelectedHoverBg:Ft,rowExpandedBg:De,cellPaddingBlock:It,cellPaddingInline:It,cellPaddingBlockMD:Ut,cellPaddingInlineMD:Vt,cellPaddingBlockSM:Vt,cellPaddingInlineSM:Vt,borderColor:Gt,headerBorderRadius:gn,footerBg:Ln,footerColor:it,cellFontSize:fn,cellFontSizeMD:fn,cellFontSizeSM:fn,headerSplitColor:Gt,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:gt,filterDropdownMenuBg:nt,filterDropdownBg:nt,expandIconBg:nt,selectionColumnWidth:pn,stickyScrollBarBg:Dn,stickyScrollBarBorderRadius:100}});const Pl=[],wl=(Ne,De)=>{const{prefixCls:nt,className:it,rootClassName:ft,style:gt,size:Lt,bordered:Ft,dropdownPrefixCls:It,dataSource:Ut,pagination:Vt,rowSelection:Gt,rowKey:gn="key",rowClassName:fn,columns:pn,children:Dn,childrenColumnName:Tn,onChange:kn,getPopupContainer:Ln,loading:$n,expandIcon:lr,expandable:pr,expandedRowRender:or,expandIconColumnIndex:Mr,indentSize:zr,scroll:Yn,sortDirections:sr,locale:Jn,showSorterTooltip:Un=!0,virtual:tr}=Ne,Ar=te.useMemo(()=>pn||mn(Dn),[pn,Dn]),Vr=te.useMemo(()=>Ar.some(oa=>oa.responsive),[Ar]),Gr=(0,_o.Z)(Vr),Sr=te.useMemo(()=>{const oa=new Set(Object.keys(Gr).filter(Pa=>Gr[Pa]));return Ar.filter(Pa=>!Pa.responsive||Pa.responsive.some(Za=>oa.has(Za)))},[Ar,Gr]),Yr=(0,Mo.Z)(Ne,["className","style","columns"]),{locale:ta=Ei.Z,direction:Sa,table:ia,renderEmpty:ja,getPrefixCls:Aa,getPopupContainer:Kr}=te.useContext(bo.E_),Ra=(0,ko.Z)(Lt),la=Object.assign(Object.assign({},ta.Table),Jn),xa=Ut||Pl,wa=Aa("table",nt),to=Aa("dropdown",It),Or=Object.assign({childrenColumnName:Tn,expandIconColumnIndex:Mr},pr),{childrenColumnName:wr="children"}=Or,br=te.useMemo(()=>xa.some(oa=>oa==null?void 0:oa[wr])?"nest":or||pr&&pr.expandedRowRender?"row":null,[xa]),cr={body:te.useRef()},ua=te.useMemo(()=>typeof gn=="function"?gn:oa=>oa==null?void 0:oa[gn],[gn]),[dr]=Bs(xa,wr,ua),$r={},aa=function(oa,Pa){let Za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var La,Qa,ao;const oo=Object.assign(Object.assign({},$r),oa);Za&&((La=$r.resetPagination)===null||La===void 0||La.call($r),!((Qa=oo.pagination)===null||Qa===void 0)&&Qa.current&&(oo.pagination.current=1),Vt&&Vt.onChange&&Vt.onChange(1,(ao=oo.pagination)===null||ao===void 0?void 0:ao.pageSize)),Yn&&Yn.scrollToFirstRowOnChange!==!1&&cr.body.current&&(0,To.Z)(0,{getContainer:()=>cr.body.current}),kn==null||kn(oo.pagination,oo.filters,oo.sorter,{currentDataSource:Ri(gi(xa,oo.sorterStates,wr),oo.filterStates),action:Pa})},ra=(oa,Pa)=>{aa({sorter:oa,sorterStates:Pa},"sort",!1)},[Ya,Ha,vo,Da]=Js({prefixCls:wa,mergedColumns:Sr,onSorterChange:ra,sortDirections:sr||["ascend","descend"],tableLocale:la,showSorterTooltip:Un}),mo=te.useMemo(()=>gi(xa,Ha,wr),[xa,Ha]);$r.sorter=Da(),$r.sorterStates=Ha;const Ba=(oa,Pa)=>{aa({filters:oa,filterStates:Pa},"filter",!0)},[no,Uo,ca]=Ds({prefixCls:wa,locale:la,dropdownPrefixCls:to,mergedColumns:Sr,onFilterChange:Ba,getPopupContainer:Ln||Kr}),fa=Ri(mo,Uo);$r.filters=ca,$r.filterStates=Uo;const Ta=te.useMemo(()=>{const oa={};return Object.keys(ca).forEach(Pa=>{ca[Pa]!==null&&(oa[Pa]=ca[Pa])}),Object.assign(Object.assign({},vo),{filters:oa})},[vo,ca]),[$a]=Qs(Ta),Ua=(oa,Pa)=>{aa({pagination:Object.assign(Object.assign({},$r.pagination),{current:oa,pageSize:Pa})},"paginate")},[na,qa]=Gs(fa.length,Ua,Vt);$r.pagination=Vt===!1?{}:$s(na,Vt),$r.resetPagination=qa;const Ja=te.useMemo(()=>{if(Vt===!1||!na.pageSize)return fa;const{current:oa=1,total:Pa,pageSize:Za=Bi}=na;return fa.length<Pa?fa.length>Za?fa.slice((oa-1)*Za,oa*Za):fa:fa.slice((oa-1)*Za,oa*Za)},[!!Vt,fa,na&&na.current,na&&na.pageSize,na&&na.total]),[lo,Po]=Hs({prefixCls:wa,data:fa,pageData:Ja,getRowKey:ua,getRecordByKey:dr,expandType:br,childrenColumnName:wr,locale:la,getPopupContainer:Ln||Kr},Gt),yo=(oa,Pa,Za)=>{let La;return typeof fn=="function"?La=we()(fn(oa,Pa,Za)):La=we()(fn),we()({[`${wa}-row-selected`]:Po.has(ua(oa,Pa))},La)};Or.__PARENT_RENDER_ICON__=Or.expandIcon,Or.expandIcon=Or.expandIcon||lr||ps(la),br==="nest"&&Or.expandIconColumnIndex===void 0?Or.expandIconColumnIndex=Gt?1:0:Or.expandIconColumnIndex>0&&Gt&&(Or.expandIconColumnIndex-=1),typeof Or.indentSize!="number"&&(Or.indentSize=typeof zr=="number"?zr:15);const Xo=te.useCallback(oa=>$a(lo(no(Ya(oa)))),[Ya,no,lo]);let Lo,po;if(Vt!==!1&&(na!=null&&na.total)){let oa;na.size?oa=na.size:oa=Ra==="small"||Ra==="middle"?"small":void 0;const Pa=Qa=>te.createElement(ds.Z,Object.assign({},na,{className:we()(`${wa}-pagination ${wa}-pagination-${Qa}`,na.className),size:oa})),Za=Sa==="rtl"?"left":"right",{position:La}=na;if(La!==null&&Array.isArray(La)){const Qa=La.find(jo=>jo.includes("top")),ao=La.find(jo=>jo.includes("bottom")),oo=La.every(jo=>`${jo}`=="none");!Qa&&!ao&&!oo&&(po=Pa(Za)),Qa&&(Lo=Pa(Qa.toLowerCase().replace("top",""))),ao&&(po=Pa(ao.toLowerCase().replace("bottom","")))}else po=Pa(Za)}let ro;typeof $n=="boolean"?ro={spinning:$n}:typeof $n=="object"&&(ro=Object.assign({spinning:!0},$n));const[eo,Ga]=bl(wa),[,Oa]=(0,gs.Z)(),wo=we()(`${wa}-wrapper`,ia==null?void 0:ia.className,{[`${wa}-wrapper-rtl`]:Sa==="rtl"},it,ft,Ga),Go=Object.assign(Object.assign({},ia==null?void 0:ia.style),gt),Io=Jn&&Jn.emptyText||(ja==null?void 0:ja("Table"))||te.createElement(zo.Z,{componentName:"Table"}),Eo=tr?tl:el,ni={},mi=te.useMemo(()=>{const{fontSize:oa,lineHeight:Pa,padding:Za,paddingXS:La,paddingSM:Qa}=Oa,ao=Math.floor(oa*Pa);switch(Ra){case"large":return Za*2+ao;case"small":return La*2+ao;default:return Qa*2+ao}},[Oa,Ra]);return tr&&(ni.listItemHeight=mi),eo(te.createElement("div",{ref:De,className:wo,style:Go},te.createElement(fs.Z,Object.assign({spinning:!1},ro),Lo,te.createElement(Eo,Object.assign({},ni,Yr,{columns:Sr,direction:Sa,expandable:Or,prefixCls:wa,className:we()({[`${wa}-middle`]:Ra==="middle",[`${wa}-small`]:Ra==="small",[`${wa}-bordered`]:Ft,[`${wa}-empty`]:xa.length===0}),data:Ja,rowKey:ua,rowClassName:yo,emptyText:Io,internalHooks:Ze,internalRefs:cr,transformColumns:Xo})),po)))};var El=te.forwardRef(wl);const xl=(Ne,De)=>{const nt=te.useRef(0);return nt.current+=1,te.createElement(El,Object.assign({},Ne,{ref:De,_renderTimes:nt.current}))},Oo=te.forwardRef(xl);Oo.SELECTION_COLUMN=No,Oo.EXPAND_COLUMN=Ae,Oo.SELECTION_ALL=li,Oo.SELECTION_INVERT=ui,Oo.SELECTION_NONE=ci,Oo.Column=Fa,Oo.ColumnGroup=Co,Oo.Summary=We;var Cl=Oo,Tl=Cl},79870:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return ir}});var Ae=be(87462),Ze=be(4942),E=be(71002),Se=be(1413),ge=be(74902),oe=be(15671),te=be(43144),ue=be(97326),ce=be(60136),le=be(51630),de=be(94184),ae=be.n(de),ie={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(yt){var Rt=yt.keyCode;if(yt.altKey&&!yt.ctrlKey||yt.metaKey||Rt>=ie.F1&&Rt<=ie.F12)return!1;switch(Rt){case ie.ALT:case ie.CAPS_LOCK:case ie.CONTEXT_MENU:case ie.CTRL:case ie.DOWN:case ie.END:case ie.ESC:case ie.HOME:case ie.INSERT:case ie.LEFT:case ie.MAC_FF_META:case ie.META:case ie.NUMLOCK:case ie.NUM_CENTER:case ie.PAGE_DOWN:case ie.PAGE_UP:case ie.PAUSE:case ie.PRINT_SCREEN:case ie.RIGHT:case ie.SHIFT:case ie.UP:case ie.WIN_KEY:case ie.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(yt){if(yt>=ie.ZERO&&yt<=ie.NINE||yt>=ie.NUM_ZERO&&yt<=ie.NUM_MULTIPLY||yt>=ie.A&&yt<=ie.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&yt===0)return!0;switch(yt){case ie.SPACE:case ie.QUESTION_MARK:case ie.NUM_PLUS:case ie.NUM_MINUS:case ie.NUM_PERIOD:case ie.NUM_DIVISION:case ie.SEMICOLON:case ie.DASH:case ie.EQUALS:case ie.COMMA:case ie.PERIOD:case ie.SLASH:case ie.APOSTROPHE:case ie.SINGLE_QUOTE:case ie.OPEN_SQUARE_BRACKET:case ie.BACKSLASH:case ie.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ne=ie,a=be(34952),y=be(72978),x=be(67294),b=be(69610);function z(Nt){var yt=Nt.dropPosition,Rt=Nt.dropLevelOffset,lt=Nt.indent,_t={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(yt){case-1:_t.top=0,_t.left=-Rt*lt;break;case 1:_t.bottom=0,_t.left=-Rt*lt;break;case 0:_t.bottom=0,_t.left=lt;break}return x.createElement("div",{style:_t})}var ee=be(36459),re=be(97685),se=be(45987);function fe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve=fe()?x.useLayoutEffect:x.useEffect,me=ve,pe=function(yt,Rt){var lt=React.useRef(!0);ve(function(){if(!lt.current)return yt()},Rt),ve(function(){return lt.current=!1,function(){lt.current=!0}},[])},he=be(73299),ye=be(73935);function Pe(Nt){return Nt instanceof HTMLElement||Nt instanceof SVGElement}function Oe(Nt){return Pe(Nt)?Nt:Nt instanceof x.Component?ye.findDOMNode(Nt):null}var we=be(28580);function Te(Nt,yt,Rt){var lt=React.useRef({});return(!("value"in lt.current)||Rt(lt.current.condition,yt))&&(lt.current.value=Nt(),lt.current.condition=yt),lt.current.value}function Me(Nt,yt){typeof Nt=="function"?Nt(yt):(0,E.Z)(Nt)==="object"&&Nt&&"current"in Nt&&(Nt.current=yt)}function Fe(){for(var Nt=arguments.length,yt=new Array(Nt),Rt=0;Rt<Nt;Rt++)yt[Rt]=arguments[Rt];var lt=yt.filter(function(_t){return _t});return lt.length<=1?lt[0]:function(_t){yt.forEach(function(Jt){Me(Jt,_t)})}}function $e(){for(var Nt=arguments.length,yt=new Array(Nt),Rt=0;Rt<Nt;Rt++)yt[Rt]=arguments[Rt];return useMemo(function(){return Fe.apply(void 0,yt)},yt,function(lt,_t){return lt.length===_t.length&&lt.every(function(Jt,un){return Jt===_t[un]})})}function Ve(Nt){var yt,Rt,lt=(0,we.isMemo)(Nt)?Nt.type.type:Nt.type;return!(typeof lt=="function"&&!((yt=lt.prototype)!==null&&yt!==void 0&&yt.render)||typeof Nt=="function"&&!((Rt=Nt.prototype)!==null&&Rt!==void 0&&Rt.render))}function Re(Nt,yt){var Rt={};return Rt[Nt.toLowerCase()]=yt.toLowerCase(),Rt["Webkit".concat(Nt)]="webkit".concat(yt),Rt["Moz".concat(Nt)]="moz".concat(yt),Rt["ms".concat(Nt)]="MS".concat(yt),Rt["O".concat(Nt)]="o".concat(yt.toLowerCase()),Rt}function st(Nt,yt){var Rt={animationend:Re("Animation","AnimationEnd"),transitionend:Re("Transition","TransitionEnd")};return Nt&&("AnimationEvent"in yt||delete Rt.animationend.animation,"TransitionEvent"in yt||delete Rt.transitionend.transition),Rt}var rt=st(fe(),typeof window!="undefined"?window:{}),et={};if(fe()){var qe=document.createElement("div");et=qe.style}var ze={};function ke(Nt){if(ze[Nt])return ze[Nt];var yt=rt[Nt];if(yt)for(var Rt=Object.keys(yt),lt=Rt.length,_t=0;_t<lt;_t+=1){var Jt=Rt[_t];if(Object.prototype.hasOwnProperty.call(yt,Jt)&&Jt in et)return ze[Nt]=yt[Jt],ze[Nt]}return""}var Be=ke("animationend"),Je=ke("transitionend"),Ye=!!(Be&&Je),dt=Be||"animationend",He=Je||"transitionend";function Ue(Nt,yt){if(!Nt)return null;if((0,E.Z)(Nt)==="object"){var Rt=yt.replace(/-\w/g,function(lt){return lt[1].toUpperCase()});return Nt[Rt]}return"".concat(Nt,"-").concat(yt)}var Le="none",Ke="appear",Ee="enter",Ie="leave",Qe="none",Xe="prepare",Ge="start",Ce="active",xe="end";function je(Nt){var yt=x.useRef(!1),Rt=x.useState(Nt),lt=(0,re.Z)(Rt,2),_t=lt[0],Jt=lt[1];x.useEffect(function(){return yt.current=!1,function(){yt.current=!0}},[]);function un(Dt,$t){$t&&yt.current||Jt(Dt)}return[_t,un]}var _e=function(yt){return+setTimeout(yt,16)},ot=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(_e=function(yt){return window.requestAnimationFrame(yt)},ot=function(yt){return window.cancelAnimationFrame(yt)});var pt=0,mt=new Map;function tt(Nt){mt.delete(Nt)}var ut=function(yt){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pt+=1;var lt=pt;function _t(Jt){if(Jt===0)tt(lt),yt();else{var un=_e(function(){_t(Jt-1)});mt.set(lt,un)}}return _t(Rt),lt};ut.cancel=function(Nt){var yt=mt.get(Nt);return tt(yt),ot(yt)};var St=ut,xt=function(){var Nt=x.useRef(null);function yt(){St.cancel(Nt.current)}function Rt(lt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;yt();var Jt=St(function(){_t<=1?lt({isCanceled:function(){return Jt!==Nt.current}}):Rt(lt,_t-1)});Nt.current=Jt}return x.useEffect(function(){return function(){yt()}},[]),[Rt,yt]},at=fe()?x.useLayoutEffect:x.useEffect,Tt=at,We=[Xe,Ge,Ce,xe],ct=!1,ht=!0;function vt(Nt){return Nt===Ce||Nt===xe}var Ot=function(Nt,yt){var Rt=je(Qe),lt=(0,re.Z)(Rt,2),_t=lt[0],Jt=lt[1],un=xt(),Dt=(0,re.Z)(un,2),$t=Dt[0],kt=Dt[1];function cn(){Jt(Xe,!0)}return Tt(function(){if(_t!==Qe&&_t!==xe){var On=We.indexOf(_t),wn=We[On+1],Nn=yt(_t);Nn===ct?Jt(wn,!0):$t(function(Kn){function qn(){Kn.isCanceled()||Jt(wn,!0)}Nn===!0?qn():Promise.resolve(Nn).then(qn)})}},[Nt,_t]),x.useEffect(function(){return function(){kt()}},[]),[cn,_t]},Bt=function(Nt){var yt=(0,x.useRef)(),Rt=(0,x.useRef)(Nt);Rt.current=Nt;var lt=x.useCallback(function(un){Rt.current(un)},[]);function _t(un){un&&(un.removeEventListener(He,lt),un.removeEventListener(dt,lt))}function Jt(un){yt.current&&yt.current!==un&&_t(yt.current),un&&un!==yt.current&&(un.addEventListener(He,lt),un.addEventListener(dt,lt),yt.current=un)}return x.useEffect(function(){return function(){_t(yt.current)}},[]),[Jt,_t]};function Zt(Nt,yt,Rt,lt){var _t=lt.motionEnter,Jt=_t===void 0?!0:_t,un=lt.motionAppear,Dt=un===void 0?!0:un,$t=lt.motionLeave,kt=$t===void 0?!0:$t,cn=lt.motionDeadline,On=lt.motionLeaveImmediately,wn=lt.onAppearPrepare,Nn=lt.onEnterPrepare,Kn=lt.onLeavePrepare,qn=lt.onAppearStart,yr=lt.onEnterStart,Ht=lt.onLeaveStart,en=lt.onAppearActive,ln=lt.onEnterActive,dn=lt.onLeaveActive,Gn=lt.onAppearEnd,er=lt.onEnterEnd,Tr=lt.onLeaveEnd,rr=lt.onVisibleChanged,xn=je(),Mn=(0,re.Z)(xn,2),Zn=Mn[0],Wn=Mn[1],gr=je(Le),Ur=(0,re.Z)(gr,2),Hr=Ur[0],sa=Ur[1],Ir=je(null),Ea=(0,re.Z)(Ir,2),Zr=Ea[0],Va=Ea[1],uo=(0,x.useRef)(!1),io=(0,x.useRef)(null);function ka(){return Rt()}var Ka=(0,x.useRef)(!1);function _a(Na){var Ia=ka();if(!(Na&&!Na.deadline&&Na.target!==Ia)){var Wa=Ka.current,Bo;Hr===Ke&&Wa?Bo=Gn==null?void 0:Gn(Ia,Na):Hr===Ee&&Wa?Bo=er==null?void 0:er(Ia,Na):Hr===Ie&&Wa&&(Bo=Tr==null?void 0:Tr(Ia,Na)),Hr!==Le&&Wa&&Bo!==!1&&(sa(Le,!0),Va(null,!0))}}var co=Bt(_a),va=(0,re.Z)(co,1),Ma=va[0],za=x.useMemo(function(){var Na,Ia,Wa;switch(Hr){case Ke:return Na={},(0,Ze.Z)(Na,Xe,wn),(0,Ze.Z)(Na,Ge,qn),(0,Ze.Z)(Na,Ce,en),Na;case Ee:return Ia={},(0,Ze.Z)(Ia,Xe,Nn),(0,Ze.Z)(Ia,Ge,yr),(0,Ze.Z)(Ia,Ce,ln),Ia;case Ie:return Wa={},(0,Ze.Z)(Wa,Xe,Kn),(0,Ze.Z)(Wa,Ge,Ht),(0,Ze.Z)(Wa,Ce,dn),Wa;default:return{}}},[Hr]),so=Ot(Hr,function(Na){if(Na===Xe){var Ia=za[Xe];return Ia?Ia(ka()):ct}if(fo in za){var Wa;Va(((Wa=za[fo])===null||Wa===void 0?void 0:Wa.call(za,ka(),null))||null)}return fo===Ce&&(Ma(ka()),cn>0&&(clearTimeout(io.current),io.current=setTimeout(function(){_a({deadline:!0})},cn))),ht}),Xa=(0,re.Z)(so,2),xo=Xa[0],fo=Xa[1],Ho=vt(fo);Ka.current=Ho,Tt(function(){Wn(yt);var Na=uo.current;if(uo.current=!0,!!Nt){var Ia;!Na&&yt&&Dt&&(Ia=Ke),Na&&yt&&Jt&&(Ia=Ee),(Na&&!yt&&kt||!Na&&On&&!yt&&kt)&&(Ia=Ie),Ia&&(sa(Ia),xo())}},[yt]),(0,x.useEffect)(function(){(Hr===Ke&&!Dt||Hr===Ee&&!Jt||Hr===Ie&&!kt)&&sa(Le)},[Dt,Jt,kt]),(0,x.useEffect)(function(){return function(){uo.current=!1,clearTimeout(io.current)}},[]);var Ao=x.useRef(!1);(0,x.useEffect)(function(){Zn&&(Ao.current=!0),Zn!==void 0&&Hr===Le&&((Ao.current||Zn)&&(rr==null||rr(Zn)),Ao.current=!0)},[Zn,Hr]);var Do=Zr;return za[Xe]&&fo===Ge&&(Do=(0,Se.Z)({transition:"none"},Do)),[Hr,fo,Do,Zn!=null?Zn:yt]}var Yt=function(Nt){(0,ce.Z)(Rt,Nt);var yt=(0,le.Z)(Rt);function Rt(){return(0,oe.Z)(this,Rt),yt.apply(this,arguments)}return(0,te.Z)(Rt,[{key:"render",value:function(){return this.props.children}}]),Rt}(x.Component),nn=Yt;function En(Nt){var yt=Nt;(0,E.Z)(Nt)==="object"&&(yt=Nt.transitionSupport);function Rt(_t){return!!(_t.motionName&&yt)}var lt=x.forwardRef(function(_t,Jt){var un=_t.visible,Dt=un===void 0?!0:un,$t=_t.removeOnLeave,kt=$t===void 0?!0:$t,cn=_t.forceRender,On=_t.children,wn=_t.motionName,Nn=_t.leavedClassName,Kn=_t.eventProps,qn=Rt(_t),yr=(0,x.useRef)(),Ht=(0,x.useRef)();function en(){try{return yr.current instanceof HTMLElement?yr.current:Oe(Ht.current)}catch(Ir){return null}}var ln=Zt(qn,Dt,en,_t),dn=(0,re.Z)(ln,4),Gn=dn[0],er=dn[1],Tr=dn[2],rr=dn[3],xn=x.useRef(rr);rr&&(xn.current=!0);var Mn=x.useCallback(function(Ir){yr.current=Ir,Me(Jt,Ir)},[Jt]),Zn,Wn=(0,Se.Z)((0,Se.Z)({},Kn),{},{visible:Dt});if(!On)Zn=null;else if(Gn===Le||!Rt(_t))rr?Zn=On((0,Se.Z)({},Wn),Mn):!kt&&xn.current&&Nn?Zn=On((0,Se.Z)((0,Se.Z)({},Wn),{},{className:Nn}),Mn):cn||!kt&&!Nn?Zn=On((0,Se.Z)((0,Se.Z)({},Wn),{},{style:{display:"none"}}),Mn):Zn=null;else{var gr,Ur;er===Xe?Ur="prepare":vt(er)?Ur="active":er===Ge&&(Ur="start"),Zn=On((0,Se.Z)((0,Se.Z)({},Wn),{},{className:ae()(Ue(wn,Gn),(gr={},(0,Ze.Z)(gr,Ue(wn,"".concat(Gn,"-").concat(Ur)),Ur),(0,Ze.Z)(gr,wn,typeof wn=="string"),gr)),style:Tr}),Mn)}if(x.isValidElement(Zn)&&Ve(Zn)){var Hr=Zn,sa=Hr.ref;sa||(Zn=x.cloneElement(Zn,{ref:Mn}))}return x.createElement(nn,{ref:Ht},Zn)});return lt.displayName="CSSMotion",lt}var jn=En(Ye),zn="add",Vn="keep",xr="remove",Nr="removed";function Lr(Nt){var yt;return Nt&&(0,E.Z)(Nt)==="object"&&"key"in Nt?yt=Nt:yt={key:Nt},(0,Se.Z)((0,Se.Z)({},yt),{},{key:String(yt.key)})}function hr(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Nt.map(Lr)}function Dr(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Rt=[],lt=0,_t=yt.length,Jt=hr(Nt),un=hr(yt);Jt.forEach(function(kt){for(var cn=!1,On=lt;On<_t;On+=1){var wn=un[On];if(wn.key===kt.key){lt<On&&(Rt=Rt.concat(un.slice(lt,On).map(function(Nn){return(0,Se.Z)((0,Se.Z)({},Nn),{},{status:zn})})),lt=On),Rt.push((0,Se.Z)((0,Se.Z)({},wn),{},{status:Vn})),lt+=1,cn=!0;break}}cn||Rt.push((0,Se.Z)((0,Se.Z)({},kt),{},{status:xr}))}),lt<_t&&(Rt=Rt.concat(un.slice(lt).map(function(kt){return(0,Se.Z)((0,Se.Z)({},kt),{},{status:zn})})));var Dt={};Rt.forEach(function(kt){var cn=kt.key;Dt[cn]=(Dt[cn]||0)+1});var $t=Object.keys(Dt).filter(function(kt){return Dt[kt]>1});return $t.forEach(function(kt){Rt=Rt.filter(function(cn){var On=cn.key,wn=cn.status;return On!==kt||wn!==xr}),Rt.forEach(function(cn){cn.key===kt&&(cn.status=Vn)})}),Rt}var kr=["component","children","onVisibleChanged","onAllRemoved"],mr=["status"],rn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function yn(Nt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jn,Rt=function(lt){(0,ce.Z)(Jt,lt);var _t=(0,le.Z)(Jt);function Jt(){var un;(0,oe.Z)(this,Jt);for(var Dt=arguments.length,$t=new Array(Dt),kt=0;kt<Dt;kt++)$t[kt]=arguments[kt];return un=_t.call.apply(_t,[this].concat($t)),(0,Ze.Z)((0,ue.Z)(un),"state",{keyEntities:[]}),(0,Ze.Z)((0,ue.Z)(un),"removeKey",function(cn){var On=un.state.keyEntities,wn=On.map(function(Nn){return Nn.key!==cn?Nn:(0,Se.Z)((0,Se.Z)({},Nn),{},{status:Nr})});return un.setState({keyEntities:wn}),wn.filter(function(Nn){var Kn=Nn.status;return Kn!==Nr}).length}),un}return(0,te.Z)(Jt,[{key:"render",value:function(){var Dt=this,$t=this.state.keyEntities,kt=this.props,cn=kt.component,On=kt.children,wn=kt.onVisibleChanged,Nn=kt.onAllRemoved,Kn=(0,se.Z)(kt,kr),qn=cn||x.Fragment,yr={};return rn.forEach(function(Ht){yr[Ht]=Kn[Ht],delete Kn[Ht]}),delete Kn.keys,x.createElement(qn,Kn,$t.map(function(Ht){var en=Ht.status,ln=(0,se.Z)(Ht,mr),dn=en===zn||en===Vn;return x.createElement(yt,(0,Ae.Z)({},yr,{key:ln.key,visible:dn,eventProps:ln,onVisibleChanged:function(er){if(wn==null||wn(er,{key:ln.key}),!er){var Tr=Dt.removeKey(ln.key);Tr===0&&Nn&&Nn()}}}),On)}))}}],[{key:"getDerivedStateFromProps",value:function(Dt,$t){var kt=Dt.keys,cn=$t.keyEntities,On=hr(kt),wn=Dr(cn,On);return{keyEntities:wn.filter(function(Nn){var Kn=cn.find(function(qn){var yr=qn.key;return Nn.key===yr});return!(Kn&&Kn.status===Nr&&Nn.status===xr)})}}}]),Jt}(x.Component);return(0,Ze.Z)(Rt,"defaultProps",{component:"div"}),Rt}var Cn=yn(Ye),_n=jn,Pr=be(56261);function jr(Nt,yt){var Rt=x.useState(!1),lt=(0,re.Z)(Rt,2),_t=lt[0],Jt=lt[1];x.useLayoutEffect(function(){if(_t)return Nt(),function(){yt()}},[_t]),x.useLayoutEffect(function(){return Jt(!0),function(){Jt(!1)}},[])}var bt=be(83898),Mt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],At=function(yt,Rt){var lt=yt.className,_t=yt.style,Jt=yt.motion,un=yt.motionNodes,Dt=yt.motionType,$t=yt.onMotionStart,kt=yt.onMotionEnd,cn=yt.active,On=yt.treeNodeRequiredProps,wn=(0,se.Z)(yt,Mt),Nn=x.useState(!0),Kn=(0,re.Z)(Nn,2),qn=Kn[0],yr=Kn[1],Ht=x.useContext(b.k),en=Ht.prefixCls,ln=un&&Dt!=="hide";me(function(){un&&ln!==qn&&yr(ln)},[un]);var dn=function(){un&&$t()},Gn=x.useRef(!1),er=function(){un&&!Gn.current&&(Gn.current=!0,kt())};jr(dn,er);var Tr=function(xn){ln===xn&&er()};return un?x.createElement(_n,(0,Ae.Z)({ref:Rt,visible:qn},Jt,{motionAppear:Dt==="show",onVisibleChanged:Tr}),function(rr,xn){var Mn=rr.className,Zn=rr.style;return x.createElement("div",{ref:xn,className:ae()("".concat(en,"-treenode-motion"),Mn),style:Zn},un.map(function(Wn){var gr=(0,Ae.Z)({},((0,ee.Z)(Wn.data),Wn.data)),Ur=Wn.title,Hr=Wn.key,sa=Wn.isStart,Ir=Wn.isEnd;delete gr.children;var Ea=(0,bt.H8)(Hr,On);return x.createElement(Pr.Z,(0,Ae.Z)({},gr,Ea,{title:Ur,active:cn,data:Wn.data,key:Hr,isStart:sa,isEnd:Ir}))}))}):x.createElement(Pr.Z,(0,Ae.Z)({domRef:Rt,className:lt,style:_t},wn,{active:cn}))};At.displayName="MotionTreeNode";var on=x.forwardRef(At),Pn=on;function In(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Rt=Nt.length,lt=yt.length;if(Math.abs(Rt-lt)!==1)return{add:!1,key:null};function _t(Jt,un){var Dt=new Map;Jt.forEach(function(kt){Dt.set(kt,!0)});var $t=un.filter(function(kt){return!Dt.has(kt)});return $t.length===1?$t[0]:null}return Rt<lt?{add:!0,key:_t(Nt,yt)}:{add:!1,key:_t(yt,Nt)}}function Cr(Nt,yt,Rt){var lt=Nt.findIndex(function(Dt){return Dt.key===Rt}),_t=Nt[lt+1],Jt=yt.findIndex(function(Dt){return Dt.key===Rt});if(_t){var un=yt.findIndex(function(Dt){return Dt.key===_t.key});return yt.slice(Jt+1,un)}return yt.slice(Jt+1)}var Er=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Qn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ar=function(){},Xr="RC_TREE_MOTION_".concat(Math.random()),qr={key:Xr},Sn={key:Xr,level:0,index:0,pos:"0",node:qr,nodes:[qr]},ur={parent:null,children:[],pos:Sn.pos,data:qr,title:null,key:Xr,isStart:[],isEnd:[]};function Ct(Nt,yt,Rt,lt){return yt===!1||!Rt?Nt:Nt.slice(0,Math.ceil(Rt/lt)+1)}function zt(Nt){var yt=Nt.key,Rt=Nt.pos;return(0,bt.km)(yt,Rt)}function Kt(Nt){for(var yt=String(Nt.data.key),Rt=Nt;Rt.parent;)Rt=Rt.parent,yt="".concat(Rt.data.key," > ").concat(yt);return yt}var Qt=x.forwardRef(function(Nt,yt){var Rt=Nt.prefixCls,lt=Nt.data,_t=Nt.selectable,Jt=Nt.checkable,un=Nt.expandedKeys,Dt=Nt.selectedKeys,$t=Nt.checkedKeys,kt=Nt.loadedKeys,cn=Nt.loadingKeys,On=Nt.halfCheckedKeys,wn=Nt.keyEntities,Nn=Nt.disabled,Kn=Nt.dragging,qn=Nt.dragOverNodeKey,yr=Nt.dropPosition,Ht=Nt.motion,en=Nt.height,ln=Nt.itemHeight,dn=Nt.virtual,Gn=Nt.focusable,er=Nt.activeItem,Tr=Nt.focused,rr=Nt.tabIndex,xn=Nt.onKeyDown,Mn=Nt.onFocus,Zn=Nt.onBlur,Wn=Nt.onActiveChange,gr=Nt.onListChangeStart,Ur=Nt.onListChangeEnd,Hr=(0,se.Z)(Nt,Er),sa=x.useRef(null),Ir=x.useRef(null);x.useImperativeHandle(yt,function(){return{scrollTo:function(So){sa.current.scrollTo(So)},getIndentWidth:function(){return Ir.current.offsetWidth}}});var Ea=x.useState(un),Zr=(0,re.Z)(Ea,2),Va=Zr[0],uo=Zr[1],io=x.useState(lt),ka=(0,re.Z)(io,2),Ka=ka[0],_a=ka[1],co=x.useState(lt),va=(0,re.Z)(co,2),Ma=va[0],za=va[1],so=x.useState([]),Xa=(0,re.Z)(so,2),xo=Xa[0],fo=Xa[1],Ho=x.useState(null),Ao=(0,re.Z)(Ho,2),Do=Ao[0],Na=Ao[1],Ia=x.useRef(lt);Ia.current=lt;function Wa(){var Fa=Ia.current;_a(Fa),za(Fa),fo([]),Na(null),Ur()}me(function(){uo(un);var Fa=In(Va,un);if(Fa.key!==null)if(Fa.add){var So=Ka.findIndex(function(ko){var _o=ko.key;return _o===Fa.key}),Co=Ct(Cr(Ka,lt,Fa.key),dn,en,ln),Mo=Ka.slice();Mo.splice(So+1,0,ur),za(Mo),fo(Co),Na("show")}else{var To=lt.findIndex(function(ko){var _o=ko.key;return _o===Fa.key}),bo=Ct(Cr(lt,Ka,Fa.key),dn,en,ln),zo=lt.slice();zo.splice(To+1,0,ur),za(zo),fo(bo),Na("hide")}else Ka!==lt&&(_a(lt),za(lt))},[un,lt]),x.useEffect(function(){Kn||Wa()},[Kn]);var Bo=Ht?Ma:lt,Yo={expandedKeys:un,selectedKeys:Dt,loadedKeys:kt,loadingKeys:cn,checkedKeys:$t,halfCheckedKeys:On,dragOverNodeKey:qn,dropPosition:yr,keyEntities:wn};return x.createElement(x.Fragment,null,Tr&&er&&x.createElement("span",{style:Qn,"aria-live":"assertive"},Kt(er)),x.createElement("div",null,x.createElement("input",{style:Qn,disabled:Gn===!1||Nn,tabIndex:Gn!==!1?rr:null,onKeyDown:xn,onFocus:Mn,onBlur:Zn,value:"",onChange:ar,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Rt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Rt,"-indent")},x.createElement("div",{ref:Ir,className:"".concat(Rt,"-indent-unit")}))),x.createElement(he.Z,(0,Ae.Z)({},Hr,{data:Bo,itemKey:zt,height:en,fullHeight:!1,virtual:dn,itemHeight:ln,prefixCls:"".concat(Rt,"-list"),ref:sa,onVisibleChange:function(So,Co){var Mo=new Set(So),To=Co.filter(function(bo){return!Mo.has(bo)});To.some(function(bo){return zt(bo)===Xr})&&Wa()}}),function(Fa){var So=Fa.pos,Co=(0,Ae.Z)({},((0,ee.Z)(Fa.data),Fa.data)),Mo=Fa.title,To=Fa.key,bo=Fa.isStart,zo=Fa.isEnd,ko=(0,bt.km)(To,So);delete Co.key,delete Co.children;var _o=(0,bt.H8)(ko,Yo);return x.createElement(Pn,(0,Ae.Z)({},Co,_o,{title:Mo,active:!!er&&To===er.key,pos:So,data:Fa.data,isStart:bo,isEnd:zo,motion:Ht,motionNodes:To===Xr?xo:null,motionType:Do,onMotionStart:gr,onMotionEnd:Wa,treeNodeRequiredProps:Yo,onMouseMove:function(){Wn(null)}}))}))});Qt.displayName="NodeList";var vn=Qt,Xt=be(29873),sn=be(97153),tn=be(3596),Rn=10,bn=function(Nt){(0,ce.Z)(Rt,Nt);var yt=(0,le.Z)(Rt);function Rt(){var lt;(0,oe.Z)(this,Rt);for(var _t=arguments.length,Jt=new Array(_t),un=0;un<_t;un++)Jt[un]=arguments[un];return lt=yt.call.apply(yt,[this].concat(Jt)),lt.destroyed=!1,lt.delayedDragEnterLogic=void 0,lt.loadingRetryTimes={},lt.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,bt.w$)()},lt.dragStartMousePosition=null,lt.dragNode=void 0,lt.currentMouseOverDroppableNodeKey=null,lt.listRef=x.createRef(),lt.onNodeDragStart=function(Dt,$t){var kt=lt.state,cn=kt.expandedKeys,On=kt.keyEntities,wn=lt.props.onDragStart,Nn=$t.props.eventKey;lt.dragNode=$t,lt.dragStartMousePosition={x:Dt.clientX,y:Dt.clientY};var Kn=(0,Xt._5)(cn,Nn);lt.setState({draggingNodeKey:Nn,dragChildrenKeys:(0,Xt.wA)(Nn,On),indent:lt.listRef.current.getIndentWidth()}),lt.setExpandedKeys(Kn),window.addEventListener("dragend",lt.onWindowDragEnd),wn==null||wn({event:Dt,node:(0,bt.F)($t.props)})},lt.onNodeDragEnter=function(Dt,$t){var kt=lt.state,cn=kt.expandedKeys,On=kt.keyEntities,wn=kt.dragChildrenKeys,Nn=kt.flattenNodes,Kn=kt.indent,qn=lt.props,yr=qn.onDragEnter,Ht=qn.onExpand,en=qn.allowDrop,ln=qn.direction,dn=$t.props,Gn=dn.pos,er=dn.eventKey,Tr=(0,ue.Z)(lt),rr=Tr.dragNode;if(lt.currentMouseOverDroppableNodeKey!==er&&(lt.currentMouseOverDroppableNodeKey=er),!rr){lt.resetDragState();return}var xn=(0,Xt.OM)(Dt,rr,$t,Kn,lt.dragStartMousePosition,en,Nn,On,cn,ln),Mn=xn.dropPosition,Zn=xn.dropLevelOffset,Wn=xn.dropTargetKey,gr=xn.dropContainerKey,Ur=xn.dropTargetPos,Hr=xn.dropAllowed,sa=xn.dragOverNodeKey;if(wn.indexOf(Wn)!==-1||!Hr){lt.resetDragState();return}if(lt.delayedDragEnterLogic||(lt.delayedDragEnterLogic={}),Object.keys(lt.delayedDragEnterLogic).forEach(function(Ir){clearTimeout(lt.delayedDragEnterLogic[Ir])}),rr.props.eventKey!==$t.props.eventKey&&(Dt.persist(),lt.delayedDragEnterLogic[Gn]=window.setTimeout(function(){if(lt.state.draggingNodeKey!==null){var Ir=(0,ge.Z)(cn),Ea=(0,tn.Z)(On,$t.props.eventKey);Ea&&(Ea.children||[]).length&&(Ir=(0,Xt.L0)(cn,$t.props.eventKey)),"expandedKeys"in lt.props||lt.setExpandedKeys(Ir),Ht==null||Ht(Ir,{node:(0,bt.F)($t.props),expanded:!0,nativeEvent:Dt.nativeEvent})}},800)),rr.props.eventKey===Wn&&Zn===0){lt.resetDragState();return}lt.setState({dragOverNodeKey:sa,dropPosition:Mn,dropLevelOffset:Zn,dropTargetKey:Wn,dropContainerKey:gr,dropTargetPos:Ur,dropAllowed:Hr}),yr==null||yr({event:Dt,node:(0,bt.F)($t.props),expandedKeys:cn})},lt.onNodeDragOver=function(Dt,$t){var kt=lt.state,cn=kt.dragChildrenKeys,On=kt.flattenNodes,wn=kt.keyEntities,Nn=kt.expandedKeys,Kn=kt.indent,qn=lt.props,yr=qn.onDragOver,Ht=qn.allowDrop,en=qn.direction,ln=(0,ue.Z)(lt),dn=ln.dragNode;if(dn){var Gn=(0,Xt.OM)(Dt,dn,$t,Kn,lt.dragStartMousePosition,Ht,On,wn,Nn,en),er=Gn.dropPosition,Tr=Gn.dropLevelOffset,rr=Gn.dropTargetKey,xn=Gn.dropContainerKey,Mn=Gn.dropAllowed,Zn=Gn.dropTargetPos,Wn=Gn.dragOverNodeKey;cn.indexOf(rr)!==-1||!Mn||(dn.props.eventKey===rr&&Tr===0?lt.state.dropPosition===null&&lt.state.dropLevelOffset===null&&lt.state.dropTargetKey===null&&lt.state.dropContainerKey===null&&lt.state.dropTargetPos===null&&lt.state.dropAllowed===!1&&lt.state.dragOverNodeKey===null||lt.resetDragState():er===lt.state.dropPosition&&Tr===lt.state.dropLevelOffset&&rr===lt.state.dropTargetKey&&xn===lt.state.dropContainerKey&&Zn===lt.state.dropTargetPos&&Mn===lt.state.dropAllowed&&Wn===lt.state.dragOverNodeKey||lt.setState({dropPosition:er,dropLevelOffset:Tr,dropTargetKey:rr,dropContainerKey:xn,dropTargetPos:Zn,dropAllowed:Mn,dragOverNodeKey:Wn}),yr==null||yr({event:Dt,node:(0,bt.F)($t.props)}))}},lt.onNodeDragLeave=function(Dt,$t){lt.currentMouseOverDroppableNodeKey===$t.props.eventKey&&!Dt.currentTarget.contains(Dt.relatedTarget)&&(lt.resetDragState(),lt.currentMouseOverDroppableNodeKey=null);var kt=lt.props.onDragLeave;kt==null||kt({event:Dt,node:(0,bt.F)($t.props)})},lt.onWindowDragEnd=function(Dt){lt.onNodeDragEnd(Dt,null,!0),window.removeEventListener("dragend",lt.onWindowDragEnd)},lt.onNodeDragEnd=function(Dt,$t){var kt=lt.props.onDragEnd;lt.setState({dragOverNodeKey:null}),lt.cleanDragState(),kt==null||kt({event:Dt,node:(0,bt.F)($t.props)}),lt.dragNode=null,window.removeEventListener("dragend",lt.onWindowDragEnd)},lt.onNodeDrop=function(Dt,$t){var kt,cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,On=lt.state,wn=On.dragChildrenKeys,Nn=On.dropPosition,Kn=On.dropTargetKey,qn=On.dropTargetPos,yr=On.dropAllowed;if(yr){var Ht=lt.props.onDrop;if(lt.setState({dragOverNodeKey:null}),lt.cleanDragState(),Kn!==null){var en=(0,Se.Z)((0,Se.Z)({},(0,bt.H8)(Kn,lt.getTreeNodeRequiredProps())),{},{active:((kt=lt.getActiveItem())===null||kt===void 0?void 0:kt.key)===Kn,data:(0,tn.Z)(lt.state.keyEntities,Kn).node}),ln=wn.indexOf(Kn)!==-1;(0,y.ZP)(!ln,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var dn=(0,Xt.yx)(qn),Gn={event:Dt,node:(0,bt.F)(en),dragNode:lt.dragNode?(0,bt.F)(lt.dragNode.props):null,dragNodesKeys:[lt.dragNode.props.eventKey].concat(wn),dropToGap:Nn!==0,dropPosition:Nn+Number(dn[dn.length-1])};cn||Ht==null||Ht(Gn),lt.dragNode=null}}},lt.cleanDragState=function(){var Dt=lt.state.draggingNodeKey;Dt!==null&&lt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),lt.dragStartMousePosition=null,lt.currentMouseOverDroppableNodeKey=null},lt.triggerExpandActionExpand=function(Dt,$t){var kt=lt.state,cn=kt.expandedKeys,On=kt.flattenNodes,wn=$t.expanded,Nn=$t.key,Kn=$t.isLeaf;if(!(Kn||Dt.shiftKey||Dt.metaKey||Dt.ctrlKey)){var qn=On.filter(function(Ht){return Ht.key===Nn})[0],yr=(0,bt.F)((0,Se.Z)((0,Se.Z)({},(0,bt.H8)(Nn,lt.getTreeNodeRequiredProps())),{},{data:qn.data}));lt.setExpandedKeys(wn?(0,Xt._5)(cn,Nn):(0,Xt.L0)(cn,Nn)),lt.onNodeExpand(Dt,yr)}},lt.onNodeClick=function(Dt,$t){var kt=lt.props,cn=kt.onClick,On=kt.expandAction;On==="click"&&lt.triggerExpandActionExpand(Dt,$t),cn==null||cn(Dt,$t)},lt.onNodeDoubleClick=function(Dt,$t){var kt=lt.props,cn=kt.onDoubleClick,On=kt.expandAction;On==="doubleClick"&&lt.triggerExpandActionExpand(Dt,$t),cn==null||cn(Dt,$t)},lt.onNodeSelect=function(Dt,$t){var kt=lt.state.selectedKeys,cn=lt.state,On=cn.keyEntities,wn=cn.fieldNames,Nn=lt.props,Kn=Nn.onSelect,qn=Nn.multiple,yr=$t.selected,Ht=$t[wn.key],en=!yr;en?qn?kt=(0,Xt.L0)(kt,Ht):kt=[Ht]:kt=(0,Xt._5)(kt,Ht);var ln=kt.map(function(dn){var Gn=(0,tn.Z)(On,dn);return Gn?Gn.node:null}).filter(function(dn){return dn});lt.setUncontrolledState({selectedKeys:kt}),Kn==null||Kn(kt,{event:"select",selected:en,node:$t,selectedNodes:ln,nativeEvent:Dt.nativeEvent})},lt.onNodeCheck=function(Dt,$t,kt){var cn=lt.state,On=cn.keyEntities,wn=cn.checkedKeys,Nn=cn.halfCheckedKeys,Kn=lt.props,qn=Kn.checkStrictly,yr=Kn.onCheck,Ht=$t.key,en,ln={event:"check",node:$t,checked:kt,nativeEvent:Dt.nativeEvent};if(qn){var dn=kt?(0,Xt.L0)(wn,Ht):(0,Xt._5)(wn,Ht),Gn=(0,Xt._5)(Nn,Ht);en={checked:dn,halfChecked:Gn},ln.checkedNodes=dn.map(function(Zn){return(0,tn.Z)(On,Zn)}).filter(function(Zn){return Zn}).map(function(Zn){return Zn.node}),lt.setUncontrolledState({checkedKeys:dn})}else{var er=(0,sn.S)([].concat((0,ge.Z)(wn),[Ht]),!0,On),Tr=er.checkedKeys,rr=er.halfCheckedKeys;if(!kt){var xn=new Set(Tr);xn.delete(Ht);var Mn=(0,sn.S)(Array.from(xn),{checked:!1,halfCheckedKeys:rr},On);Tr=Mn.checkedKeys,rr=Mn.halfCheckedKeys}en=Tr,ln.checkedNodes=[],ln.checkedNodesPositions=[],ln.halfCheckedKeys=rr,Tr.forEach(function(Zn){var Wn=(0,tn.Z)(On,Zn);if(Wn){var gr=Wn.node,Ur=Wn.pos;ln.checkedNodes.push(gr),ln.checkedNodesPositions.push({node:gr,pos:Ur})}}),lt.setUncontrolledState({checkedKeys:Tr},!1,{halfCheckedKeys:rr})}yr==null||yr(en,ln)},lt.onNodeLoad=function(Dt){var $t=Dt.key,kt=new Promise(function(cn,On){lt.setState(function(wn){var Nn=wn.loadedKeys,Kn=Nn===void 0?[]:Nn,qn=wn.loadingKeys,yr=qn===void 0?[]:qn,Ht=lt.props,en=Ht.loadData,ln=Ht.onLoad;if(!en||Kn.indexOf($t)!==-1||yr.indexOf($t)!==-1)return null;var dn=en(Dt);return dn.then(function(){var Gn=lt.state.loadedKeys,er=(0,Xt.L0)(Gn,$t);ln==null||ln(er,{event:"load",node:Dt}),lt.setUncontrolledState({loadedKeys:er}),lt.setState(function(Tr){return{loadingKeys:(0,Xt._5)(Tr.loadingKeys,$t)}}),cn()}).catch(function(Gn){if(lt.setState(function(Tr){return{loadingKeys:(0,Xt._5)(Tr.loadingKeys,$t)}}),lt.loadingRetryTimes[$t]=(lt.loadingRetryTimes[$t]||0)+1,lt.loadingRetryTimes[$t]>=Rn){var er=lt.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),lt.setUncontrolledState({loadedKeys:(0,Xt.L0)(er,$t)}),cn()}On(Gn)}),{loadingKeys:(0,Xt.L0)(yr,$t)}})});return kt.catch(function(){}),kt},lt.onNodeMouseEnter=function(Dt,$t){var kt=lt.props.onMouseEnter;kt==null||kt({event:Dt,node:$t})},lt.onNodeMouseLeave=function(Dt,$t){var kt=lt.props.onMouseLeave;kt==null||kt({event:Dt,node:$t})},lt.onNodeContextMenu=function(Dt,$t){var kt=lt.props.onRightClick;kt&&(Dt.preventDefault(),kt({event:Dt,node:$t}))},lt.onFocus=function(){var Dt=lt.props.onFocus;lt.setState({focused:!0});for(var $t=arguments.length,kt=new Array($t),cn=0;cn<$t;cn++)kt[cn]=arguments[cn];Dt==null||Dt.apply(void 0,kt)},lt.onBlur=function(){var Dt=lt.props.onBlur;lt.setState({focused:!1}),lt.onActiveChange(null);for(var $t=arguments.length,kt=new Array($t),cn=0;cn<$t;cn++)kt[cn]=arguments[cn];Dt==null||Dt.apply(void 0,kt)},lt.getTreeNodeRequiredProps=function(){var Dt=lt.state,$t=Dt.expandedKeys,kt=Dt.selectedKeys,cn=Dt.loadedKeys,On=Dt.loadingKeys,wn=Dt.checkedKeys,Nn=Dt.halfCheckedKeys,Kn=Dt.dragOverNodeKey,qn=Dt.dropPosition,yr=Dt.keyEntities;return{expandedKeys:$t||[],selectedKeys:kt||[],loadedKeys:cn||[],loadingKeys:On||[],checkedKeys:wn||[],halfCheckedKeys:Nn||[],dragOverNodeKey:Kn,dropPosition:qn,keyEntities:yr}},lt.setExpandedKeys=function(Dt){var $t=lt.state,kt=$t.treeData,cn=$t.fieldNames,On=(0,bt.oH)(kt,Dt,cn);lt.setUncontrolledState({expandedKeys:Dt,flattenNodes:On},!0)},lt.onNodeExpand=function(Dt,$t){var kt=lt.state.expandedKeys,cn=lt.state,On=cn.listChanging,wn=cn.fieldNames,Nn=lt.props,Kn=Nn.onExpand,qn=Nn.loadData,yr=$t.expanded,Ht=$t[wn.key];if(!On){var en=kt.indexOf(Ht),ln=!yr;if((0,y.ZP)(yr&&en!==-1||!yr&&en===-1,"Expand state not sync with index check"),ln?kt=(0,Xt.L0)(kt,Ht):kt=(0,Xt._5)(kt,Ht),lt.setExpandedKeys(kt),Kn==null||Kn(kt,{node:$t,expanded:ln,nativeEvent:Dt.nativeEvent}),ln&&qn){var dn=lt.onNodeLoad($t);dn&&dn.then(function(){var Gn=(0,bt.oH)(lt.state.treeData,kt,wn);lt.setUncontrolledState({flattenNodes:Gn})}).catch(function(){var Gn=lt.state.expandedKeys,er=(0,Xt._5)(Gn,Ht);lt.setExpandedKeys(er)})}}},lt.onListChangeStart=function(){lt.setUncontrolledState({listChanging:!0})},lt.onListChangeEnd=function(){setTimeout(function(){lt.setUncontrolledState({listChanging:!1})})},lt.onActiveChange=function(Dt){var $t=lt.state.activeKey,kt=lt.props.onActiveChange;$t!==Dt&&(lt.setState({activeKey:Dt}),Dt!==null&&lt.scrollTo({key:Dt}),kt==null||kt(Dt))},lt.getActiveItem=function(){var Dt=lt.state,$t=Dt.activeKey,kt=Dt.flattenNodes;return $t===null?null:kt.find(function(cn){var On=cn.key;return On===$t})||null},lt.offsetActiveKey=function(Dt){var $t=lt.state,kt=$t.flattenNodes,cn=$t.activeKey,On=kt.findIndex(function(Kn){var qn=Kn.key;return qn===cn});On===-1&&Dt<0&&(On=kt.length),On=(On+Dt+kt.length)%kt.length;var wn=kt[On];if(wn){var Nn=wn.key;lt.onActiveChange(Nn)}else lt.onActiveChange(null)},lt.onKeyDown=function(Dt){var $t=lt.state,kt=$t.activeKey,cn=$t.expandedKeys,On=$t.checkedKeys,wn=$t.fieldNames,Nn=lt.props,Kn=Nn.onKeyDown,qn=Nn.checkable,yr=Nn.selectable;switch(Dt.which){case ne.UP:{lt.offsetActiveKey(-1),Dt.preventDefault();break}case ne.DOWN:{lt.offsetActiveKey(1),Dt.preventDefault();break}}var Ht=lt.getActiveItem();if(Ht&&Ht.data){var en=lt.getTreeNodeRequiredProps(),ln=Ht.data.isLeaf===!1||!!(Ht.data[wn.children]||[]).length,dn=(0,bt.F)((0,Se.Z)((0,Se.Z)({},(0,bt.H8)(kt,en)),{},{data:Ht.data,active:!0}));switch(Dt.which){case ne.LEFT:{ln&&cn.includes(kt)?lt.onNodeExpand({},dn):Ht.parent&&lt.onActiveChange(Ht.parent.key),Dt.preventDefault();break}case ne.RIGHT:{ln&&!cn.includes(kt)?lt.onNodeExpand({},dn):Ht.children&&Ht.children.length&&lt.onActiveChange(Ht.children[0].key),Dt.preventDefault();break}case ne.ENTER:case ne.SPACE:{qn&&!dn.disabled&&dn.checkable!==!1&&!dn.disableCheckbox?lt.onNodeCheck({},dn,!On.includes(kt)):!qn&&yr&&!dn.disabled&&dn.selectable!==!1&&lt.onNodeSelect({},dn);break}}}Kn==null||Kn(Dt)},lt.setUncontrolledState=function(Dt){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!lt.destroyed){var cn=!1,On=!0,wn={};Object.keys(Dt).forEach(function(Nn){if(Nn in lt.props){On=!1;return}cn=!0,wn[Nn]=Dt[Nn]}),cn&&(!$t||On)&&lt.setState((0,Se.Z)((0,Se.Z)({},wn),kt))}},lt.scrollTo=function(Dt){lt.listRef.current.scrollTo(Dt)},lt}return(0,te.Z)(Rt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var _t=this.props.activeKey;_t!==void 0&&_t!==this.state.activeKey&&(this.setState({activeKey:_t}),_t!==null&&this.scrollTo({key:_t}))}},{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 _t,Jt=this.state,un=Jt.focused,Dt=Jt.flattenNodes,$t=Jt.keyEntities,kt=Jt.draggingNodeKey,cn=Jt.activeKey,On=Jt.dropLevelOffset,wn=Jt.dropContainerKey,Nn=Jt.dropTargetKey,Kn=Jt.dropPosition,qn=Jt.dragOverNodeKey,yr=Jt.indent,Ht=this.props,en=Ht.prefixCls,ln=Ht.className,dn=Ht.style,Gn=Ht.showLine,er=Ht.focusable,Tr=Ht.tabIndex,rr=Tr===void 0?0:Tr,xn=Ht.selectable,Mn=Ht.showIcon,Zn=Ht.icon,Wn=Ht.switcherIcon,gr=Ht.draggable,Ur=Ht.checkable,Hr=Ht.checkStrictly,sa=Ht.disabled,Ir=Ht.motion,Ea=Ht.loadData,Zr=Ht.filterTreeNode,Va=Ht.height,uo=Ht.itemHeight,io=Ht.virtual,ka=Ht.titleRender,Ka=Ht.dropIndicatorRender,_a=Ht.onContextMenu,co=Ht.onScroll,va=Ht.direction,Ma=Ht.rootClassName,za=Ht.rootStyle,so=(0,a.Z)(this.props,{aria:!0,data:!0}),Xa;return gr&&((0,E.Z)(gr)==="object"?Xa=gr:typeof gr=="function"?Xa={nodeDraggable:gr}:Xa={}),x.createElement(b.k.Provider,{value:{prefixCls:en,selectable:xn,showIcon:Mn,icon:Zn,switcherIcon:Wn,draggable:Xa,draggingNodeKey:kt,checkable:Ur,checkStrictly:Hr,disabled:sa,keyEntities:$t,dropLevelOffset:On,dropContainerKey:wn,dropTargetKey:Nn,dropPosition:Kn,dragOverNodeKey:qn,indent:yr,direction:va,dropIndicatorRender:Ka,loadData:Ea,filterTreeNode:Zr,titleRender:ka,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:ae()(en,ln,Ma,(_t={},(0,Ze.Z)(_t,"".concat(en,"-show-line"),Gn),(0,Ze.Z)(_t,"".concat(en,"-focused"),un),(0,Ze.Z)(_t,"".concat(en,"-active-focused"),cn!==null),_t)),style:za},x.createElement(vn,(0,Ae.Z)({ref:this.listRef,prefixCls:en,style:dn,data:Dt,disabled:sa,selectable:xn,checkable:!!Ur,motion:Ir,dragging:kt!==null,height:Va,itemHeight:uo,virtual:io,focusable:er,focused:un,tabIndex:rr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_a,onScroll:co},this.getTreeNodeRequiredProps(),so))))}}],[{key:"getDerivedStateFromProps",value:function(_t,Jt){var un=Jt.prevProps,Dt={prevProps:_t};function $t(er){return!un&&er in _t||un&&un[er]!==_t[er]}var kt,cn=Jt.fieldNames;if($t("fieldNames")&&(cn=(0,bt.w$)(_t.fieldNames),Dt.fieldNames=cn),$t("treeData")?kt=_t.treeData:$t("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),kt=(0,bt.zn)(_t.children)),kt){Dt.treeData=kt;var On=(0,bt.I8)(kt,{fieldNames:cn});Dt.keyEntities=(0,Se.Z)((0,Ze.Z)({},Xr,Sn),On.keyEntities)}var wn=Dt.keyEntities||Jt.keyEntities;if($t("expandedKeys")||un&&$t("autoExpandParent"))Dt.expandedKeys=_t.autoExpandParent||!un&&_t.defaultExpandParent?(0,Xt.r7)(_t.expandedKeys,wn):_t.expandedKeys;else if(!un&&_t.defaultExpandAll){var Nn=(0,Se.Z)({},wn);delete Nn[Xr],Dt.expandedKeys=Object.keys(Nn).map(function(er){return Nn[er].key})}else!un&&_t.defaultExpandedKeys&&(Dt.expandedKeys=_t.autoExpandParent||_t.defaultExpandParent?(0,Xt.r7)(_t.defaultExpandedKeys,wn):_t.defaultExpandedKeys);if(Dt.expandedKeys||delete Dt.expandedKeys,kt||Dt.expandedKeys){var Kn=(0,bt.oH)(kt||Jt.treeData,Dt.expandedKeys||Jt.expandedKeys,cn);Dt.flattenNodes=Kn}if(_t.selectable&&($t("selectedKeys")?Dt.selectedKeys=(0,Xt.BT)(_t.selectedKeys,_t):!un&&_t.defaultSelectedKeys&&(Dt.selectedKeys=(0,Xt.BT)(_t.defaultSelectedKeys,_t))),_t.checkable){var qn;if($t("checkedKeys")?qn=(0,Xt.E6)(_t.checkedKeys)||{}:!un&&_t.defaultCheckedKeys?qn=(0,Xt.E6)(_t.defaultCheckedKeys)||{}:kt&&(qn=(0,Xt.E6)(_t.checkedKeys)||{checkedKeys:Jt.checkedKeys,halfCheckedKeys:Jt.halfCheckedKeys}),qn){var yr=qn,Ht=yr.checkedKeys,en=Ht===void 0?[]:Ht,ln=yr.halfCheckedKeys,dn=ln===void 0?[]:ln;if(!_t.checkStrictly){var Gn=(0,sn.S)(en,!0,wn);en=Gn.checkedKeys,dn=Gn.halfCheckedKeys}Dt.checkedKeys=en,Dt.halfCheckedKeys=dn}}return $t("loadedKeys")&&(Dt.loadedKeys=_t.loadedKeys),Dt}}]),Rt}(x.Component);bn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:z,allowDrop:function(){return!0},expandAction:!1},bn.TreeNode=Pr.Z;var Xn=bn,Br=Xn,an=be(73148),Jr=be(56747),ya={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"},ba=ya,Fr=be(74643),pa=function(yt,Rt){return x.createElement(Fr.Z,(0,Ae.Z)({},yt,{ref:Rt,icon:ba}))},hn=x.forwardRef(pa),Fn=be(53124),Hn=be(50881),An=be(33603),Qr=be(32157);const Wr=4;function ha(Nt){const{dropPosition:yt,dropLevelOffset:Rt,prefixCls:lt,indent:_t,direction:Jt="ltr"}=Nt,un=Jt==="ltr"?"left":"right",Dt=Jt==="ltr"?"right":"left",$t={[un]:-Rt*_t+Wr,[Dt]:0};switch(yt){case-1:$t.top=-3;break;case 1:$t.bottom=-3;break;default:$t.bottom=-3,$t[un]=_t+Wr;break}return x.createElement("div",{style:$t,className:`${lt}-drop-indicator`})}var da=be(99184),Et=x.forwardRef((Nt,yt)=>{const{getPrefixCls:Rt,direction:lt,virtual:_t,tree:Jt}=x.useContext(Fn.E_),{prefixCls:un,className:Dt,showIcon:$t=!1,showLine:kt,switcherIcon:cn,blockNode:On=!1,children:wn,checkable:Nn=!1,selectable:Kn=!0,draggable:qn,motion:yr,style:Ht}=Nt,en=Rt("tree",un),ln=Rt(),dn=yr!=null?yr:Object.assign(Object.assign({},(0,An.Z)(ln)),{motionAppear:!1}),Gn=Object.assign(Object.assign({},Nt),{checkable:Nn,selectable:Kn,showIcon:$t,motion:dn,blockNode:On,showLine:!!kt,dropIndicatorRender:ha}),[er,Tr]=(0,Qr.ZP)(en),rr=x.useMemo(()=>{if(!qn)return!1;let Mn={};switch(typeof qn){case"function":Mn.nodeDraggable=qn;break;case"object":Mn=Object.assign({},qn);break;default:break}return Mn.icon!==!1&&(Mn.icon=Mn.icon||x.createElement(Hn.Z,null)),Mn},[qn]),xn=Mn=>x.createElement(da.Z,{prefixCls:en,switcherIcon:cn,treeNodeProps:Mn,showLine:kt});return er(x.createElement(Br,Object.assign({itemHeight:20,ref:yt,virtual:_t},Gn,{style:Object.assign(Object.assign({},Jt==null?void 0:Jt.style),Ht),prefixCls:en,className:ae()({[`${en}-icon-hide`]:!$t,[`${en}-block-node`]:On,[`${en}-unselectable`]:!Kn,[`${en}-rtl`]:lt==="rtl"},Jt==null?void 0:Jt.className,Dt,Tr),direction:lt,checkable:Nn&&x.createElement("span",{className:`${en}-checkbox-inner`}),selectable:Kn,switcherIcon:xn,draggable:rr}),wn))}),wt;(function(Nt){Nt[Nt.None=0]="None",Nt[Nt.Start=1]="Start",Nt[Nt.End=2]="End"})(wt||(wt={}));function Wt(Nt,yt){function Rt(lt){const{key:_t,children:Jt}=lt;yt(_t,lt)!==!1&&Wt(Jt||[],yt)}Nt.forEach(Rt)}function qt(Nt){let{treeData:yt,expandedKeys:Rt,startKey:lt,endKey:_t}=Nt;const Jt=[];let un=wt.None;if(lt&&lt===_t)return[lt];if(!lt||!_t)return[];function Dt($t){return $t===lt||$t===_t}return Wt(yt,$t=>{if(un===wt.End)return!1;if(Dt($t)){if(Jt.push($t),un===wt.None)un=wt.Start;else if(un===wt.Start)return un=wt.End,!1}else un===wt.Start&&Jt.push($t);return Rt.includes($t)}),Jt}function mn(Nt,yt){const Rt=(0,ge.Z)(yt),lt=[];return Wt(Nt,(_t,Jt)=>{const un=Rt.indexOf(_t);return un!==-1&&(lt.push(Jt),Rt.splice(un,1)),!!Rt.length}),lt}var Bn=function(Nt,yt){var Rt={};for(var lt in Nt)Object.prototype.hasOwnProperty.call(Nt,lt)&&yt.indexOf(lt)<0&&(Rt[lt]=Nt[lt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,lt=Object.getOwnPropertySymbols(Nt);_t<lt.length;_t++)yt.indexOf(lt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Nt,lt[_t])&&(Rt[lt[_t]]=Nt[lt[_t]]);return Rt};function nr(Nt){const{isLeaf:yt,expanded:Rt}=Nt;return yt?x.createElement(an.Z,null):Rt?x.createElement(Jr.Z,null):x.createElement(hn,null)}function fr(Nt){let{treeData:yt,children:Rt}=Nt;return yt||(0,bt.zn)(Rt)}const vr=(Nt,yt)=>{var{defaultExpandAll:Rt,defaultExpandParent:lt,defaultExpandedKeys:_t}=Nt,Jt=Bn(Nt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const un=x.useRef(),Dt=x.useRef(),$t=()=>{const{keyEntities:rr}=(0,bt.I8)(fr(Jt));let xn;return Rt?xn=Object.keys(rr):lt?xn=(0,Xt.r7)(Jt.expandedKeys||_t||[],rr):xn=Jt.expandedKeys||_t,xn},[kt,cn]=x.useState(Jt.selectedKeys||Jt.defaultSelectedKeys||[]),[On,wn]=x.useState(()=>$t());x.useEffect(()=>{"selectedKeys"in Jt&&cn(Jt.selectedKeys)},[Jt.selectedKeys]),x.useEffect(()=>{"expandedKeys"in Jt&&wn(Jt.expandedKeys)},[Jt.expandedKeys]);const Nn=(rr,xn)=>{var Mn;return"expandedKeys"in Jt||wn(rr),(Mn=Jt.onExpand)===null||Mn===void 0?void 0:Mn.call(Jt,rr,xn)},Kn=(rr,xn)=>{var Mn;const{multiple:Zn}=Jt,{node:Wn,nativeEvent:gr}=xn,{key:Ur=""}=Wn,Hr=fr(Jt),sa=Object.assign(Object.assign({},xn),{selected:!0}),Ir=(gr==null?void 0:gr.ctrlKey)||(gr==null?void 0:gr.metaKey),Ea=gr==null?void 0:gr.shiftKey;let Zr;Zn&&Ir?(Zr=rr,un.current=Ur,Dt.current=Zr,sa.selectedNodes=mn(Hr,Zr)):Zn&&Ea?(Zr=Array.from(new Set([].concat((0,ge.Z)(Dt.current||[]),(0,ge.Z)(qt({treeData:Hr,expandedKeys:On,startKey:Ur,endKey:un.current}))))),sa.selectedNodes=mn(Hr,Zr)):(Zr=[Ur],un.current=Ur,Dt.current=Zr,sa.selectedNodes=mn(Hr,Zr)),(Mn=Jt.onSelect)===null||Mn===void 0||Mn.call(Jt,Zr,sa),"selectedKeys"in Jt||cn(Zr)},{getPrefixCls:qn,direction:yr}=x.useContext(Fn.E_),{prefixCls:Ht,className:en,showIcon:ln=!0,expandAction:dn="click"}=Jt,Gn=Bn(Jt,["prefixCls","className","showIcon","expandAction"]),er=qn("tree",Ht),Tr=ae()(`${er}-directory`,{[`${er}-directory-rtl`]:yr==="rtl"},en);return x.createElement(Et,Object.assign({icon:nr,ref:yt,blockNode:!0},Gn,{showIcon:ln,expandAction:dn,prefixCls:er,className:Tr,expandedKeys:On,selectedKeys:kt,onSelect:Kn,onExpand:Nn}))};var Rr=x.forwardRef(vr);const ea=Et;ea.DirectoryTree=Rr,ea.TreeNode=Pr.Z;var ir=ea},32157:function(jt,Pt,be){"use strict";be.d(Pt,{TM:function(){return ie},Yk:function(){return ae}});var Ae=be(45930),Ze=be(63185),E=be(14747),Se=be(33507),ge=be(45503),oe=be(67968);const te=new Ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ue=(ne,a)=>({[`.${ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),ce=(ne,a)=>({[`.${ne}-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:'""'}}}),le=(ne,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:re}=a,se=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:te,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ue(ne,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:se},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},ce(ne,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},de=ne=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ne;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ne.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ne.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},ae=(ne,a)=>{const y=`.${ne}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,ge.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[le(ne,z),de(z)]},ie=ne=>{const{controlHeightSM:a}=ne;return{titleHeight:a,nodeHoverBg:ne.controlItemBgHover,nodeSelectedBg:ne.controlItemBgActive}};Pt.ZP=(0,oe.Z)("Tree",(ne,a)=>{let{prefixCls:y}=a;return[{[ne.componentCls]:(0,Ze.C2)(`${y}-checkbox`,ne)},ae(y,ne),(0,Se.Z)(ne)]},ne=>{const{colorTextLightSolid:a,colorPrimary:y}=ne;return Object.assign(Object.assign({},ie(ne)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return y}});var Ae=be(87462),Ze=be(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"},Se=E,ge=be(74643),oe=function(b,z){return Ze.createElement(ge.Z,(0,Ae.Z)({},b,{ref:z,icon:Se}))},te=Ze.forwardRef(oe),ue=be(73148),ce=be(3407),le=be(34182),de=be(74664),ae=be(94184),ie=be.n(ae),ne=be(96159),y=x=>{const{prefixCls:b,switcherIcon:z,treeNodeProps:ee,showLine:re}=x,{isLeaf:se,expanded:fe,loading:ve}=ee;if(ve)return Ze.createElement(ce.Z,{className:`${b}-switcher-loading-icon`});let me;if(re&&typeof re=="object"&&(me=re.showLeafIcon),se){if(!re)return null;if(typeof me!="boolean"&&me){const ye=typeof me=="function"?me(ee):me,Pe=`${b}-switcher-line-custom-icon`;return(0,ne.l$)(ye)?(0,ne.Tm)(ye,{className:ie()(ye.props.className||"",Pe)}):ye}return me?Ze.createElement(ue.Z,{className:`${b}-switcher-line-icon`}):Ze.createElement("span",{className:`${b}-switcher-leaf-line`})}const pe=`${b}-switcher-icon`,he=typeof z=="function"?z(ee):z;return(0,ne.l$)(he)?(0,ne.Tm)(he,{className:ie()(he.props.className||"",pe)}):he!==void 0?he:re?fe?Ze.createElement(le.Z,{className:`${b}-switcher-line-icon`}):Ze.createElement(de.Z,{className:`${b}-switcher-line-icon`}):Ze.createElement(te,{className:pe})}},59810:function(jt,Pt,be){"use strict";be.d(Pt,{default:function(){return ur}});var Ae=be(67294),Ze=be(74902),E=be(94184),Se=be.n(E),ge=be(87462),oe=be(15671),te=be(43144),ue=be(60136),ce=be(51630),le=be(4942),de=be(45987),ae=be(74165),ie=be(71002),ne=be(15861),a=be(64217);function y(Ct,zt){var Kt="cannot ".concat(Ct.method," ").concat(Ct.action," ").concat(zt.status,"'"),Qt=new Error(Kt);return Qt.status=zt.status,Qt.method=Ct.method,Qt.url=Ct.action,Qt}function x(Ct){var zt=Ct.responseText||Ct.response;if(!zt)return zt;try{return JSON.parse(zt)}catch(Kt){return zt}}function b(Ct){var zt=new XMLHttpRequest;Ct.onProgress&&zt.upload&&(zt.upload.onprogress=function(Xt){Xt.total>0&&(Xt.percent=Xt.loaded/Xt.total*100),Ct.onProgress(Xt)});var Kt=new FormData;Ct.data&&Object.keys(Ct.data).forEach(function(vn){var Xt=Ct.data[vn];if(Array.isArray(Xt)){Xt.forEach(function(sn){Kt.append("".concat(vn,"[]"),sn)});return}Kt.append(vn,Xt)}),Ct.file instanceof Blob?Kt.append(Ct.filename,Ct.file,Ct.file.name):Kt.append(Ct.filename,Ct.file),zt.onerror=function(Xt){Ct.onError(Xt)},zt.onload=function(){return zt.status<200||zt.status>=300?Ct.onError(y(Ct,zt),x(zt)):Ct.onSuccess(x(zt),zt)},zt.open(Ct.method,Ct.action,!0),Ct.withCredentials&&"withCredentials"in zt&&(zt.withCredentials=!0);var Qt=Ct.headers||{};return Qt["X-Requested-With"]!==null&&zt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Qt).forEach(function(vn){Qt[vn]!==null&&zt.setRequestHeader(vn,Qt[vn])}),zt.send(Kt),{abort:function(){zt.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var se=be(80334),fe=function(Ct,zt){if(Ct&&zt){var Kt=Array.isArray(zt)?zt:zt.split(","),Qt=Ct.name||"",vn=Ct.type||"",Xt=vn.replace(/\/.*$/,"");return Kt.some(function(sn){var tn=sn.trim();if(/^\*(\/\*)?$/.test(sn))return!0;if(tn.charAt(0)==="."){var Rn=Qt.toLowerCase(),bn=tn.toLowerCase(),Xn=[bn];return(bn===".jpg"||bn===".jpeg")&&(Xn=[".jpg",".jpeg"]),Xn.some(function(Br){return Rn.endsWith(Br)})}return/\/\*$/.test(tn)?Xt===tn.replace(/\/.*$/,""):vn===tn?!0:/^\w+$/.test(tn)?((0,se.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(tn,"'.Skip for check.")),!0):!1})}return!0};function ve(Ct,zt){var Kt=Ct.createReader(),Qt=[];function vn(){Kt.readEntries(function(Xt){var sn=Array.prototype.slice.apply(Xt);Qt=Qt.concat(sn);var tn=!sn.length;tn?zt(Qt):vn()})}vn()}var me=function(zt,Kt,Qt){var vn=function Xt(sn,tn){sn&&(sn.path=tn||"",sn.isFile?sn.file(function(Rn){Qt(Rn)&&(sn.fullPath&&!Rn.webkitRelativePath&&(Object.defineProperties(Rn,{webkitRelativePath:{writable:!0}}),Rn.webkitRelativePath=sn.fullPath.replace(/^\//,""),Object.defineProperties(Rn,{webkitRelativePath:{writable:!1}})),Kt([Rn]))}):sn.isDirectory&&ve(sn,function(Rn){Rn.forEach(function(bn){Xt(bn,"".concat(tn).concat(sn.name,"/"))})}))};zt.forEach(function(Xt){vn(Xt.webkitGetAsEntry())})},pe=me,he=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ye=function(Ct){(0,ue.Z)(Kt,Ct);var zt=(0,ce.Z)(Kt);function Kt(){var Qt;(0,oe.Z)(this,Kt);for(var vn=arguments.length,Xt=new Array(vn),sn=0;sn<vn;sn++)Xt[sn]=arguments[sn];return Qt=zt.call.apply(zt,[this].concat(Xt)),Qt.state={uid:re()},Qt.reqs={},Qt.fileInput=void 0,Qt._isMounted=void 0,Qt.onChange=function(tn){var Rn=Qt.props,bn=Rn.accept,Xn=Rn.directory,Br=tn.target.files,an=(0,Ze.Z)(Br).filter(function(Jr){return!Xn||fe(Jr,bn)});Qt.uploadFiles(an),Qt.reset()},Qt.onClick=function(tn){var Rn=Qt.fileInput;if(Rn){var bn=Qt.props,Xn=bn.children,Br=bn.onClick;if(Xn&&Xn.type==="button"){var an=Rn.parentNode;an.focus(),an.querySelector("button").blur()}Rn.click(),Br&&Br(tn)}},Qt.onKeyDown=function(tn){tn.key==="Enter"&&Qt.onClick(tn)},Qt.onFileDrop=function(tn){var Rn=Qt.props.multiple;if(tn.preventDefault(),tn.type!=="dragover")if(Qt.props.directory)pe(Array.prototype.slice.call(tn.dataTransfer.items),Qt.uploadFiles,function(Xn){return fe(Xn,Qt.props.accept)});else{var bn=(0,Ze.Z)(tn.dataTransfer.files).filter(function(Xn){return fe(Xn,Qt.props.accept)});Rn===!1&&(bn=bn.slice(0,1)),Qt.uploadFiles(bn)}},Qt.uploadFiles=function(tn){var Rn=(0,Ze.Z)(tn),bn=Rn.map(function(Xn){return Xn.uid=re(),Qt.processFile(Xn,Rn)});Promise.all(bn).then(function(Xn){var Br=Qt.props.onBatchStart;Br==null||Br(Xn.map(function(an){var Jr=an.origin,ya=an.parsedFile;return{file:Jr,parsedFile:ya}})),Xn.filter(function(an){return an.parsedFile!==null}).forEach(function(an){Qt.post(an)})})},Qt.processFile=function(){var tn=(0,ne.Z)((0,ae.Z)().mark(function Rn(bn,Xn){var Br,an,Jr,ya,ba,Fr,pa,hn,Fn;return(0,ae.Z)().wrap(function(An){for(;;)switch(An.prev=An.next){case 0:if(Br=Qt.props.beforeUpload,an=bn,!Br){An.next=14;break}return An.prev=3,An.next=6,Br(bn,Xn);case 6:an=An.sent,An.next=12;break;case 9:An.prev=9,An.t0=An.catch(3),an=!1;case 12:if(an!==!1){An.next=14;break}return An.abrupt("return",{origin:bn,parsedFile:null,action:null,data:null});case 14:if(Jr=Qt.props.action,typeof Jr!="function"){An.next=21;break}return An.next=18,Jr(bn);case 18:ya=An.sent,An.next=22;break;case 21:ya=Jr;case 22:if(ba=Qt.props.data,typeof ba!="function"){An.next=29;break}return An.next=26,ba(bn);case 26:Fr=An.sent,An.next=30;break;case 29:Fr=ba;case 30:return pa=((0,ie.Z)(an)==="object"||typeof an=="string")&&an?an:bn,pa instanceof File?hn=pa:hn=new File([pa],bn.name,{type:bn.type}),Fn=hn,Fn.uid=bn.uid,An.abrupt("return",{origin:bn,data:Fr,parsedFile:Fn,action:ya});case 35:case"end":return An.stop()}},Rn,null,[[3,9]])}));return function(Rn,bn){return tn.apply(this,arguments)}}(),Qt.saveFileInput=function(tn){Qt.fileInput=tn},Qt}return(0,te.Z)(Kt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(vn){var Xt=this,sn=vn.data,tn=vn.origin,Rn=vn.action,bn=vn.parsedFile;if(this._isMounted){var Xn=this.props,Br=Xn.onStart,an=Xn.customRequest,Jr=Xn.name,ya=Xn.headers,ba=Xn.withCredentials,Fr=Xn.method,pa=tn.uid,hn=an||b,Fn={action:Rn,filename:Jr,data:sn,file:bn,headers:ya,withCredentials:ba,method:Fr||"post",onProgress:function(An){var Qr=Xt.props.onProgress;Qr==null||Qr(An,bn)},onSuccess:function(An,Qr){var Wr=Xt.props.onSuccess;Wr==null||Wr(An,bn,Qr),delete Xt.reqs[pa]},onError:function(An,Qr){var Wr=Xt.props.onError;Wr==null||Wr(An,Qr,bn),delete Xt.reqs[pa]}};Br(tn),this.reqs[pa]=hn(Fn)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(vn){var Xt=this.reqs;if(vn){var sn=vn.uid?vn.uid:vn;Xt[sn]&&Xt[sn].abort&&Xt[sn].abort(),delete Xt[sn]}else Object.keys(Xt).forEach(function(tn){Xt[tn]&&Xt[tn].abort&&Xt[tn].abort(),delete Xt[tn]})}},{key:"render",value:function(){var vn,Xt=this.props,sn=Xt.component,tn=Xt.prefixCls,Rn=Xt.className,bn=Xt.disabled,Xn=Xt.id,Br=Xt.style,an=Xt.multiple,Jr=Xt.accept,ya=Xt.capture,ba=Xt.children,Fr=Xt.directory,pa=Xt.openFileDialogOnClick,hn=Xt.onMouseEnter,Fn=Xt.onMouseLeave,Hn=(0,de.Z)(Xt,he),An=Se()((vn={},(0,le.Z)(vn,tn,!0),(0,le.Z)(vn,"".concat(tn,"-disabled"),bn),(0,le.Z)(vn,Rn,Rn),vn)),Qr=Fr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Wr=bn?{}:{onClick:pa?this.onClick:function(){},onKeyDown:pa?this.onKeyDown:function(){},onMouseEnter:hn,onMouseLeave:Fn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Ae.createElement(sn,(0,ge.Z)({},Wr,{className:An,role:"button",style:Br}),Ae.createElement("input",(0,ge.Z)({},(0,a.Z)(Hn,{aria:!0,data:!0}),{id:Xn,disabled:bn,type:"file",ref:this.saveFileInput,onClick:function(da){return da.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Jr},Qr,{multiple:an,onChange:this.onChange},ya!=null?{capture:ya}:{})),ba)}}]),Kt}(Ae.Component),Pe=ye;function Oe(){}var we=function(Ct){(0,ue.Z)(Kt,Ct);var zt=(0,ce.Z)(Kt);function Kt(){var Qt;(0,oe.Z)(this,Kt);for(var vn=arguments.length,Xt=new Array(vn),sn=0;sn<vn;sn++)Xt[sn]=arguments[sn];return Qt=zt.call.apply(zt,[this].concat(Xt)),Qt.uploader=void 0,Qt.saveUploader=function(tn){Qt.uploader=tn},Qt}return(0,te.Z)(Kt,[{key:"abort",value:function(vn){this.uploader.abort(vn)}},{key:"render",value:function(){return Ae.createElement(Pe,(0,ge.Z)({},this.props,{ref:this.saveUploader}))}}]),Kt}(Ae.Component);we.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Oe,onError:Oe,onSuccess:Oe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Te=we,Me=Te,Fe=be(5663),$e=be(73935),Ve=be(53124),Re=be(98866),st=be(10110),rt=be(24457),et={icon:function(zt,Kt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Kt}},{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:zt}}]}},name:"file",theme:"twotone"},qe=et,ze=be(74643),ke=function(zt,Kt){return Ae.createElement(ze.Z,(0,ge.Z)({},zt,{ref:Kt,icon:qe}))},Be=Ae.forwardRef(ke),Je=be(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"},dt=Ye,He=function(zt,Kt){return Ae.createElement(ze.Z,(0,ge.Z)({},zt,{ref:Kt,icon:dt}))},Ue=Ae.forwardRef(He),Le={icon:function(zt,Kt){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:zt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Kt}},{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:Kt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Kt}},{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:zt}}]}},name:"picture",theme:"twotone"},Ke=Le,Ee=function(zt,Kt){return Ae.createElement(ze.Z,(0,ge.Z)({},zt,{ref:Kt,icon:Ke}))},Ie=Ae.forwardRef(Ee),Qe=be(38379),Xe=be(57838),Ge=be(33603),Ce=be(96159),xe=be(71577);function je(Ct){return Object.assign(Object.assign({},Ct),{lastModified:Ct.lastModified,lastModifiedDate:Ct.lastModifiedDate,name:Ct.name,size:Ct.size,type:Ct.type,uid:Ct.uid,percent:0,originFileObj:Ct})}function _e(Ct,zt){const Kt=(0,Ze.Z)(zt),Qt=Kt.findIndex(vn=>{let{uid:Xt}=vn;return Xt===Ct.uid});return Qt===-1?Kt.push(Ct):Kt[Qt]=Ct,Kt}function ot(Ct,zt){const Kt=Ct.uid!==void 0?"uid":"name";return zt.filter(Qt=>Qt[Kt]===Ct[Kt])[0]}function pt(Ct,zt){const Kt=Ct.uid!==void 0?"uid":"name",Qt=zt.filter(vn=>vn[Kt]!==Ct[Kt]);return Qt.length===zt.length?null:Qt}const mt=function(){const zt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Qt=zt[zt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Qt)||[""])[0]},tt=Ct=>Ct.indexOf("image/")===0,ut=Ct=>{if(Ct.type&&!Ct.thumbUrl)return tt(Ct.type);const zt=Ct.thumbUrl||Ct.url||"",Kt=mt(zt);return/^data:image\//.test(zt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Kt)?!0:!(/^data:/.test(zt)||Kt)},St=200;function xt(Ct){return new Promise(zt=>{if(!Ct.type||!tt(Ct.type)){zt("");return}const Kt=document.createElement("canvas");Kt.width=St,Kt.height=St,Kt.style.cssText=`position: fixed; left: 0; top: 0; width: ${St}px; height: ${St}px; z-index: 9999; display: none;`,document.body.appendChild(Kt);const Qt=Kt.getContext("2d"),vn=new Image;if(vn.onload=()=>{const{width:Xt,height:sn}=vn;let tn=St,Rn=St,bn=0,Xn=0;Xt>sn?(Rn=sn*(St/Xt),Xn=-(Rn-tn)/2):(tn=Xt*(St/sn),bn=-(tn-Rn)/2),Qt.drawImage(vn,bn,Xn,tn,Rn);const Br=Kt.toDataURL();document.body.removeChild(Kt),window.URL.revokeObjectURL(vn.src),zt(Br)},vn.crossOrigin="anonymous",Ct.type.startsWith("image/svg+xml")){const Xt=new FileReader;Xt.onload=()=>{Xt.result&&(vn.src=Xt.result)},Xt.readAsDataURL(Ct)}else if(Ct.type.startsWith("image/gif")){const Xt=new FileReader;Xt.onload=()=>{Xt.result&&zt(Xt.result)},Xt.readAsDataURL(Ct)}else vn.src=window.URL.createObjectURL(Ct)})}var at=be(84249),Tt=be(90674),We=be(99569),ct=be(38703),ht=be(83062),Ot=Ae.forwardRef((Ct,zt)=>{let{prefixCls:Kt,className:Qt,style:vn,locale:Xt,listType:sn,file:tn,items:Rn,progress:bn,iconRender:Xn,actionIconRender:Br,itemRender:an,isImgUrl:Jr,showPreviewIcon:ya,showRemoveIcon:ba,showDownloadIcon:Fr,previewIcon:pa,removeIcon:hn,downloadIcon:Fn,onPreview:Hn,onDownload:An,onClose:Qr}=Ct;var Wr,ha;const{status:da}=tn,[ma,Et]=Ae.useState(da);Ae.useEffect(()=>{da!=="removed"&&Et(da)},[da]);const[wt,Wt]=Ae.useState(!1);Ae.useEffect(()=>{const Dt=setTimeout(()=>{Wt(!0)},300);return()=>{clearTimeout(Dt)}},[]);const qt=Xn(tn);let mn=Ae.createElement("div",{className:`${Kt}-icon`},qt);if(sn==="picture"||sn==="picture-card"||sn==="picture-circle")if(ma==="uploading"||!tn.thumbUrl&&!tn.url){const Dt=Se()(`${Kt}-list-item-thumbnail`,{[`${Kt}-list-item-file`]:ma!=="uploading"});mn=Ae.createElement("div",{className:Dt},qt)}else{const Dt=Jr!=null&&Jr(tn)?Ae.createElement("img",{src:tn.thumbUrl||tn.url,alt:tn.name,className:`${Kt}-list-item-image`,crossOrigin:tn.crossOrigin}):qt,$t=Se()(`${Kt}-list-item-thumbnail`,{[`${Kt}-list-item-file`]:Jr&&!Jr(tn)});mn=Ae.createElement("a",{className:$t,onClick:kt=>Hn(tn,kt),href:tn.url||tn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dt)}const Bn=Se()(`${Kt}-list-item`,`${Kt}-list-item-${ma}`),nr=typeof tn.linkProps=="string"?JSON.parse(tn.linkProps):tn.linkProps,fr=ba?Br((typeof hn=="function"?hn(tn):hn)||Ae.createElement(at.Z,null),()=>Qr(tn),Kt,Xt.removeFile):null,vr=Fr&&ma==="done"?Br((typeof Fn=="function"?Fn(tn):Fn)||Ae.createElement(Tt.Z,null),()=>An(tn),Kt,Xt.downloadFile):null,_r=sn!=="picture-card"&&sn!=="picture-circle"&&Ae.createElement("span",{key:"download-delete",className:Se()(`${Kt}-list-item-actions`,{picture:sn==="picture"})},vr,fr),Rr=Se()(`${Kt}-list-item-name`),ea=tn.url?[Ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Rr,title:tn.name},nr,{href:tn.url,onClick:Dt=>Hn(tn,Dt)}),tn.name),_r]:[Ae.createElement("span",{key:"view",className:Rr,onClick:Dt=>Hn(tn,Dt),title:tn.name},tn.name),_r],ir={pointerEvents:"none",opacity:.5},Nt=ya?Ae.createElement("a",{href:tn.url||tn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:tn.url||tn.thumbUrl?void 0:ir,onClick:Dt=>Hn(tn,Dt),title:Xt.previewFile},typeof pa=="function"?pa(tn):pa||Ae.createElement(We.Z,null)):null,yt=(sn==="picture-card"||sn==="picture-circle")&&ma!=="uploading"&&Ae.createElement("span",{className:`${Kt}-list-item-actions`},Nt,ma==="done"&&vr,fr),{getPrefixCls:Rt}=Ae.useContext(Ve.E_),lt=Rt(),_t=Ae.createElement("div",{className:Bn},mn,ea,yt,wt&&Ae.createElement(Qe.default,{motionName:`${lt}-fade`,visible:ma==="uploading",motionDeadline:2e3},Dt=>{let{className:$t}=Dt;const kt="percent"in tn?Ae.createElement(ct.Z,Object.assign({},bn,{type:"line",percent:tn.percent,"aria-label":tn["aria-label"],"aria-labelledby":tn["aria-labelledby"]})):null;return Ae.createElement("div",{className:Se()(`${Kt}-list-item-progress`,$t)},kt)})),Jt=tn.response&&typeof tn.response=="string"?tn.response:((Wr=tn.error)===null||Wr===void 0?void 0:Wr.statusText)||((ha=tn.error)===null||ha===void 0?void 0:ha.message)||Xt.uploadError,un=ma==="error"?Ae.createElement(ht.Z,{title:Jt,getPopupContainer:Dt=>Dt.parentNode},_t):_t;return Ae.createElement("div",{className:Se()(`${Kt}-list-item-container`,Qt),style:vn,ref:zt},an?an(un,tn,Rn,{download:An.bind(null,tn),preview:Hn.bind(null,tn),remove:Qr.bind(null,tn)}):un)});const Bt=(Ct,zt)=>{const{listType:Kt="text",previewFile:Qt=xt,onPreview:vn,onDownload:Xt,onRemove:sn,locale:tn,iconRender:Rn,isImageUrl:bn=ut,prefixCls:Xn,items:Br=[],showPreviewIcon:an=!0,showRemoveIcon:Jr=!0,showDownloadIcon:ya=!1,removeIcon:ba,previewIcon:Fr,downloadIcon:pa,progress:hn={size:[-1,2],showInfo:!1},appendAction:Fn,appendActionVisible:Hn=!0,itemRender:An,disabled:Qr}=Ct,Wr=(0,Xe.Z)(),[ha,da]=Ae.useState(!1);Ae.useEffect(()=>{Kt!=="picture"&&Kt!=="picture-card"&&Kt!=="picture-circle"||(Br||[]).forEach(ir=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ir.originFileObj instanceof File||ir.originFileObj instanceof Blob)||ir.thumbUrl!==void 0||(ir.thumbUrl="",Qt&&Qt(ir.originFileObj).then(Nt=>{ir.thumbUrl=Nt||"",Wr()}))})},[Kt,Br,Qt]),Ae.useEffect(()=>{da(!0)},[]);const ma=(ir,Nt)=>{if(vn)return Nt==null||Nt.preventDefault(),vn(ir)},Et=ir=>{typeof Xt=="function"?Xt(ir):ir.url&&window.open(ir.url)},wt=ir=>{sn==null||sn(ir)},Wt=ir=>{if(Rn)return Rn(ir,Kt);const Nt=ir.status==="uploading",yt=bn&&bn(ir)?Ae.createElement(Ie,null):Ae.createElement(Be,null);let Rt=Nt?Ae.createElement(Je.Z,null):Ae.createElement(Ue,null);return Kt==="picture"?Rt=Nt?Ae.createElement(Je.Z,null):yt:(Kt==="picture-card"||Kt==="picture-circle")&&(Rt=Nt?tn.uploading:yt),Rt},qt=(ir,Nt,yt,Rt)=>{const lt={type:"text",size:"small",title:Rt,onClick:_t=>{Nt(),(0,Ce.l$)(ir)&&ir.props.onClick&&ir.props.onClick(_t)},className:`${yt}-list-item-action`,disabled:Qr};if((0,Ce.l$)(ir)){const _t=(0,Ce.Tm)(ir,Object.assign(Object.assign({},ir.props),{onClick:()=>{}}));return Ae.createElement(xe.ZP,Object.assign({},lt,{icon:_t}))}return Ae.createElement(xe.ZP,Object.assign({},lt),Ae.createElement("span",null,ir))};Ae.useImperativeHandle(zt,()=>({handlePreview:ma,handleDownload:Et}));const{getPrefixCls:mn}=Ae.useContext(Ve.E_),Bn=mn("upload",Xn),nr=mn(),fr=Se()(`${Bn}-list`,`${Bn}-list-${Kt}`),vr=(0,Ze.Z)(Br.map(ir=>({key:ir.uid,file:ir})));let Rr={motionDeadline:2e3,motionName:`${Bn}-${Kt==="picture-card"||Kt==="picture-circle"?"animate-inline":"animate"}`,keys:vr,motionAppear:ha};const ea=Ae.useMemo(()=>{const ir=Object.assign({},(0,Ge.Z)(nr));return delete ir.onAppearEnd,delete ir.onEnterEnd,delete ir.onLeaveEnd,ir},[nr]);return Kt!=="picture-card"&&Kt!=="picture-circle"&&(Rr=Object.assign(Object.assign({},ea),Rr)),Ae.createElement("div",{className:fr},Ae.createElement(Qe.CSSMotionList,Object.assign({},Rr,{component:!1}),ir=>{let{key:Nt,file:yt,className:Rt,style:lt}=ir;return Ae.createElement(Ot,{key:Nt,locale:tn,prefixCls:Bn,className:Rt,style:lt,file:yt,items:Br,progress:hn,listType:Kt,isImgUrl:bn,showPreviewIcon:an,showRemoveIcon:Jr,showDownloadIcon:ya,removeIcon:ba,previewIcon:Fr,downloadIcon:pa,iconRender:Wt,actionIconRender:qt,itemRender:An,onPreview:ma,onDownload:Et,onClose:wt})}),Fn&&Ae.createElement(Qe.default,Object.assign({},Rr,{visible:Hn,forceRender:!0}),ir=>{let{className:Nt,style:yt}=ir;return(0,Ce.Tm)(Fn,Rt=>({className:Se()(Rt.className,Nt),style:Object.assign(Object.assign(Object.assign({},yt),{pointerEvents:Nt?"none":void 0}),Rt.style)}))}))};var Yt=Ae.forwardRef(Bt),nn=be(14747),En=be(33507),jn=be(67968),zn=be(45503),xr=Ct=>{const{componentCls:zt,iconCls:Kt}=Ct;return{[`${zt}-wrapper`]:{[`${zt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ct.colorFillAlter,border:`${Ct.lineWidth}px dashed ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ct.motionDurationSlow}`,[zt]:{padding:`${Ct.padding}px 0`},[`${zt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${zt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${zt}-disabled):hover`]:{borderColor:Ct.colorPrimaryHover},[`p${zt}-drag-icon`]:{marginBottom:Ct.margin,[Kt]:{color:Ct.colorPrimary,fontSize:Ct.uploadThumbnailSize}},[`p${zt}-text`]:{margin:`0 0 ${Ct.marginXXS}px`,color:Ct.colorTextHeading,fontSize:Ct.fontSizeLG},[`p${zt}-hint`]:{color:Ct.colorTextDescription,fontSize:Ct.fontSize},[`&${zt}-disabled`]:{cursor:"not-allowed",[`p${zt}-drag-icon ${Kt},
p${zt}-text,
p${zt}-hint
`]:{color:Ct.colorTextDisabled}}}}}},Lr=Ct=>{const{componentCls:zt,antCls:Kt,iconCls:Qt,fontSize:vn,lineHeight:Xt}=Ct,sn=`${zt}-list-item`,tn=`${sn}-actions`,Rn=`${sn}-action`,bn=Math.round(vn*Xt);return{[`${zt}-wrapper`]:{[`${zt}-list`]:Object.assign(Object.assign({},(0,nn.dF)()),{lineHeight:Ct.lineHeight,[sn]:{position:"relative",height:Ct.lineHeight*vn,marginTop:Ct.marginXS,fontSize:vn,display:"flex",alignItems:"center",transition:`background-color ${Ct.motionDurationSlow}`,"&:hover":{backgroundColor:Ct.controlItemBgHover},[`${sn}-name`]:Object.assign(Object.assign({},nn.vS),{padding:`0 ${Ct.paddingXS}px`,lineHeight:Xt,flex:"auto",transition:`all ${Ct.motionDurationSlow}`}),[tn]:{[Rn]:{opacity:0},[`${Rn}${Kt}-btn-sm`]:{height:bn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Rn}:focus-visible,
&.picture ${Rn}
`]:{opacity:1},[Qt]:{color:Ct.actionsColor,transition:`all ${Ct.motionDurationSlow}`},[`&:hover ${Qt}`]:{color:Ct.colorText}},[`${zt}-icon ${Qt}`]:{color:Ct.colorTextDescription,fontSize:vn},[`${sn}-progress`]:{position:"absolute",bottom:-Ct.uploadProgressOffset,width:"100%",paddingInlineStart:vn+Ct.paddingXS,fontSize:vn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${sn}:hover ${Rn}`]:{opacity:1,color:Ct.colorText},[`${sn}-error`]:{color:Ct.colorError,[`${sn}-name, ${zt}-icon ${Qt}`]:{color:Ct.colorError},[tn]:{[`${Qt}, ${Qt}:hover`]:{color:Ct.colorError},[Rn]:{opacity:1}}},[`${zt}-list-item-container`]:{transition:`opacity ${Ct.motionDurationSlow}, height ${Ct.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},hr=be(45930),Dr=be(16932);const kr=new hr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),mr=new hr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var yn=Ct=>{const{componentCls:zt}=Ct,Kt=`${zt}-animate-inline`;return[{[`${zt}-wrapper`]:{[`${Kt}-appear, ${Kt}-enter, ${Kt}-leave`]:{animationDuration:Ct.motionDurationSlow,animationTimingFunction:Ct.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Kt}-appear, ${Kt}-enter`]:{animationName:kr},[`${Kt}-leave`]:{animationName:mr}}},{[`${zt}-wrapper`]:(0,Dr.J$)(Ct)},kr,mr]},Cn=be(47448),_n=be(84780);const Pr=Ct=>{const{componentCls:zt,iconCls:Kt,uploadThumbnailSize:Qt,uploadProgressOffset:vn}=Ct,Xt=`${zt}-list`,sn=`${Xt}-item`;return{[`${zt}-wrapper`]:{[`
${Xt}${Xt}-picture,
${Xt}${Xt}-picture-card,
${Xt}${Xt}-picture-circle
`]:{[sn]:{position:"relative",height:Qt+Ct.lineWidth*2+Ct.paddingXS*2,padding:Ct.paddingXS,border:`${Ct.lineWidth}px ${Ct.lineType} ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,"&:hover":{background:"transparent"},[`${sn}-thumbnail`]:Object.assign(Object.assign({},nn.vS),{width:Qt,height:Qt,lineHeight:`${Qt+Ct.paddingSM}px`,textAlign:"center",flex:"none",[Kt]:{fontSize:Ct.fontSizeHeading2,color:Ct.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${sn}-progress`]:{bottom:vn,width:`calc(100% - ${Ct.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Qt+Ct.paddingXS}},[`${sn}-error`]:{borderColor:Ct.colorError,[`${sn}-thumbnail ${Kt}`]:{[`svg path[fill='${Cn.blue[0]}']`]:{fill:Ct.colorErrorBg},[`svg path[fill='${Cn.blue.primary}']`]:{fill:Ct.colorError}}},[`${sn}-uploading`]:{borderStyle:"dashed",[`${sn}-name`]:{marginBottom:vn}}},[`${Xt}${Xt}-picture-circle ${sn}`]:{[`&, &::before, ${sn}-thumbnail`]:{borderRadius:"50%"}}}}},jr=Ct=>{const{componentCls:zt,iconCls:Kt,fontSizeLG:Qt,colorTextLightSolid:vn}=Ct,Xt=`${zt}-list`,sn=`${Xt}-item`,tn=Ct.uploadPicCardSize;return{[`
${zt}-wrapper${zt}-picture-card-wrapper,
${zt}-wrapper${zt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,nn.dF)()),{display:"inline-block",width:"100%",[`${zt}${zt}-select`]:{width:tn,height:tn,marginInlineEnd:Ct.marginXS,marginBottom:Ct.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ct.colorFillAlter,border:`${Ct.lineWidth}px dashed ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ct.motionDurationSlow}`,[`> ${zt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${zt}-disabled):hover`]:{borderColor:Ct.colorPrimary}},[`${Xt}${Xt}-picture-card, ${Xt}${Xt}-picture-circle`]:{[`${Xt}-item-container`]:{display:"inline-block",width:tn,height:tn,marginBlock:`0 ${Ct.marginXS}px`,marginInline:`0 ${Ct.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[sn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ct.paddingXS*2}px)`,height:`calc(100% - ${Ct.paddingXS*2}px)`,backgroundColor:Ct.colorBgMask,opacity:0,transition:`all ${Ct.motionDurationSlow}`,content:'" "'}},[`${sn}:hover`]:{[`&::before, ${sn}-actions`]:{opacity:1}},[`${sn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ct.motionDurationSlow}`,[`${Kt}-eye, ${Kt}-download, ${Kt}-delete`]:{zIndex:10,width:Qt,margin:`0 ${Ct.marginXXS}px`,fontSize:Qt,cursor:"pointer",transition:`all ${Ct.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${sn}-actions, ${sn}-actions:hover`]:{[`${Kt}-eye, ${Kt}-download, ${Kt}-delete`]:{color:new _n.C(vn).setAlpha(.65).toRgbString(),"&:hover":{color:vn}}},[`${sn}-thumbnail, ${sn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${sn}-name`]:{display:"none",textAlign:"center"},[`${sn}-file + ${sn}-name`]:{position:"absolute",bottom:Ct.margin,display:"block",width:`calc(100% - ${Ct.paddingXS*2}px)`},[`${sn}-uploading`]:{[`&${sn}`]:{backgroundColor:Ct.colorFillAlter},[`&::before, ${Kt}-eye, ${Kt}-download, ${Kt}-delete`]:{display:"none"}},[`${sn}-progress`]:{bottom:Ct.marginXL,width:`calc(100% - ${Ct.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${zt}-wrapper${zt}-picture-circle-wrapper`]:{[`${zt}${zt}-select`]:{borderRadius:"50%"}}}};var Mt=Ct=>{const{componentCls:zt}=Ct;return{[`${zt}-rtl`]:{direction:"rtl"}}};const At=Ct=>{const{componentCls:zt,colorTextDisabled:Kt}=Ct;return{[`${zt}-wrapper`]:Object.assign(Object.assign({},(0,nn.Wf)(Ct)),{[zt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${zt}-select`]:{display:"inline-block"},[`${zt}-disabled`]:{color:Kt,cursor:"not-allowed"}})}};var on=(0,jn.Z)("Upload",Ct=>{const{fontSizeHeading3:zt,fontSize:Kt,lineHeight:Qt,lineWidth:vn,controlHeightLG:Xt}=Ct,sn=Math.round(Kt*Qt),tn=(0,zn.TS)(Ct,{uploadThumbnailSize:zt*2,uploadProgressOffset:sn/2+vn,uploadPicCardSize:Xt*2.55});return[At(tn),xr(tn),Pr(tn),jr(tn),Lr(tn),yn(tn),Mt(tn),(0,En.Z)(tn)]},Ct=>({actionsColor:Ct.colorTextDescription})),Pn=function(Ct,zt,Kt,Qt){function vn(Xt){return Xt instanceof Kt?Xt:new Kt(function(sn){sn(Xt)})}return new(Kt||(Kt=Promise))(function(Xt,sn){function tn(Xn){try{bn(Qt.next(Xn))}catch(Br){sn(Br)}}function Rn(Xn){try{bn(Qt.throw(Xn))}catch(Br){sn(Br)}}function bn(Xn){Xn.done?Xt(Xn.value):vn(Xn.value).then(tn,Rn)}bn((Qt=Qt.apply(Ct,zt||[])).next())})};const In=`__LIST_IGNORE_${Date.now()}__`,Cr=(Ct,zt)=>{const{fileList:Kt,defaultFileList:Qt,onRemove:vn,showUploadList:Xt=!0,listType:sn="text",onPreview:tn,onDownload:Rn,onChange:bn,onDrop:Xn,previewFile:Br,disabled:an,locale:Jr,iconRender:ya,isImageUrl:ba,progress:Fr,prefixCls:pa,className:hn,type:Fn="select",children:Hn,style:An,itemRender:Qr,maxCount:Wr,data:ha={},multiple:da=!1,action:ma="",accept:Et="",supportServerRender:wt=!0,rootClassName:Wt}=Ct,qt=Ae.useContext(Re.Z),mn=an!=null?an:qt,[Bn,nr]=(0,Fe.Z)(Qt||[],{value:Kt,postState:xn=>xn!=null?xn:[]}),[fr,vr]=Ae.useState("drop"),_r=Ae.useRef(null);Ae.useMemo(()=>{const xn=Date.now();(Kt||[]).forEach((Mn,Zn)=>{!Mn.uid&&!Object.isFrozen(Mn)&&(Mn.uid=`__AUTO__${xn}_${Zn}__`)})},[Kt]);const Rr=(xn,Mn,Zn)=>{let Wn=(0,Ze.Z)(Mn),gr=!1;Wr===1?Wn=Wn.slice(-1):Wr&&(gr=Wn.length>Wr,Wn=Wn.slice(0,Wr)),(0,$e.flushSync)(()=>{nr(Wn)});const Ur={file:xn,fileList:Wn};Zn&&(Ur.event=Zn),(!gr||Wn.some(Hr=>Hr.uid===xn.uid))&&(0,$e.flushSync)(()=>{bn==null||bn(Ur)})},ea=(xn,Mn)=>Pn(void 0,void 0,void 0,function*(){const{beforeUpload:Zn,transformFile:Wn}=Ct;let gr=xn;if(Zn){const Ur=yield Zn(xn,Mn);if(Ur===!1)return!1;if(delete xn[In],Ur===In)return Object.defineProperty(xn,In,{value:!0,configurable:!0}),!1;typeof Ur=="object"&&Ur&&(gr=Ur)}return Wn&&(gr=yield Wn(gr)),gr}),ir=xn=>{const Mn=xn.filter(gr=>!gr.file[In]);if(!Mn.length)return;const Zn=Mn.map(gr=>je(gr.file));let Wn=(0,Ze.Z)(Bn);Zn.forEach(gr=>{Wn=_e(gr,Wn)}),Zn.forEach((gr,Ur)=>{let Hr=gr;if(Mn[Ur].parsedFile)gr.status="uploading";else{const{originFileObj:sa}=gr;let Ir;try{Ir=new File([sa],sa.name,{type:sa.type})}catch(Ea){Ir=new Blob([sa],{type:sa.type}),Ir.name=sa.name,Ir.lastModifiedDate=new Date,Ir.lastModified=new Date().getTime()}Ir.uid=gr.uid,Hr=Ir}Rr(Hr,Wn)})},Nt=(xn,Mn,Zn)=>{try{typeof xn=="string"&&(xn=JSON.parse(xn))}catch(Ur){}if(!ot(Mn,Bn))return;const Wn=je(Mn);Wn.status="done",Wn.percent=100,Wn.response=xn,Wn.xhr=Zn;const gr=_e(Wn,Bn);Rr(Wn,gr)},yt=(xn,Mn)=>{if(!ot(Mn,Bn))return;const Zn=je(Mn);Zn.status="uploading",Zn.percent=xn.percent;const Wn=_e(Zn,Bn);Rr(Zn,Wn,xn)},Rt=(xn,Mn,Zn)=>{if(!ot(Zn,Bn))return;const Wn=je(Zn);Wn.error=xn,Wn.response=Mn,Wn.status="error";const gr=_e(Wn,Bn);Rr(Wn,gr)},lt=xn=>{let Mn;Promise.resolve(typeof vn=="function"?vn(xn):vn).then(Zn=>{var Wn;if(Zn===!1)return;const gr=pt(xn,Bn);gr&&(Mn=Object.assign(Object.assign({},xn),{status:"removed"}),Bn==null||Bn.forEach(Ur=>{const Hr=Mn.uid!==void 0?"uid":"name";Ur[Hr]===Mn[Hr]&&!Object.isFrozen(Ur)&&(Ur.status="removed")}),(Wn=_r.current)===null||Wn===void 0||Wn.abort(Mn),Rr(Mn,gr))})},_t=xn=>{vr(xn.type),xn.type==="drop"&&(Xn==null||Xn(xn))};Ae.useImperativeHandle(zt,()=>({onBatchStart:ir,onSuccess:Nt,onProgress:yt,onError:Rt,fileList:Bn,upload:_r.current}));const{getPrefixCls:Jt,direction:un,upload:Dt}=Ae.useContext(Ve.E_),$t=Jt("upload",pa),kt=Object.assign(Object.assign({onBatchStart:ir,onError:Rt,onProgress:yt,onSuccess:Nt},Ct),{data:ha,multiple:da,action:ma,accept:Et,supportServerRender:wt,prefixCls:$t,disabled:mn,beforeUpload:ea,onChange:void 0});delete kt.className,delete kt.style,(!Hn||mn)&&delete kt.id;const[cn,On]=on($t),[wn]=(0,st.Z)("Upload",rt.Z.Upload),{showRemoveIcon:Nn,showPreviewIcon:Kn,showDownloadIcon:qn,removeIcon:yr,previewIcon:Ht,downloadIcon:en}=typeof Xt=="boolean"?{}:Xt,ln=(xn,Mn)=>Xt?Ae.createElement(Yt,{prefixCls:$t,listType:sn,items:Bn,previewFile:Br,onPreview:tn,onDownload:Rn,onRemove:lt,showRemoveIcon:!mn&&Nn,showPreviewIcon:Kn,showDownloadIcon:qn,removeIcon:yr,previewIcon:Ht,downloadIcon:en,iconRender:ya,locale:Object.assign(Object.assign({},wn),Jr),isImageUrl:ba,progress:Fr,appendAction:xn,appendActionVisible:Mn,itemRender:Qr,disabled:mn}):xn,dn=Se()(`${$t}-wrapper`,hn,Wt,On,Dt==null?void 0:Dt.className,{[`${$t}-rtl`]:un==="rtl",[`${$t}-picture-card-wrapper`]:sn==="picture-card",[`${$t}-picture-circle-wrapper`]:sn==="picture-circle"}),Gn=Object.assign(Object.assign({},Dt==null?void 0:Dt.style),An);if(Fn==="drag"){const xn=Se()(On,$t,`${$t}-drag`,{[`${$t}-drag-uploading`]:Bn.some(Mn=>Mn.status==="uploading"),[`${$t}-drag-hover`]:fr==="dragover",[`${$t}-disabled`]:mn,[`${$t}-rtl`]:un==="rtl"});return cn(Ae.createElement("span",{className:dn},Ae.createElement("div",{className:xn,style:Gn,onDrop:_t,onDragOver:_t,onDragLeave:_t},Ae.createElement(Me,Object.assign({},kt,{ref:_r,className:`${$t}-btn`}),Ae.createElement("div",{className:`${$t}-drag-container`},Hn))),ln()))}const er=Se()($t,`${$t}-select`,{[`${$t}-disabled`]:mn}),rr=(xn=>Ae.createElement("div",{className:er,style:xn},Ae.createElement(Me,Object.assign({},kt,{ref:_r}))))(Hn?void 0:{display:"none"});return cn(sn==="picture-card"||sn==="picture-circle"?Ae.createElement("span",{className:dn},ln(rr,!!Hn)):Ae.createElement("span",{className:dn},rr,ln()))};var Qn=Ae.forwardRef(Cr),ar=function(Ct,zt){var Kt={};for(var Qt in Ct)Object.prototype.hasOwnProperty.call(Ct,Qt)&&zt.indexOf(Qt)<0&&(Kt[Qt]=Ct[Qt]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,Qt=Object.getOwnPropertySymbols(Ct);vn<Qt.length;vn++)zt.indexOf(Qt[vn])<0&&Object.prototype.propertyIsEnumerable.call(Ct,Qt[vn])&&(Kt[Qt[vn]]=Ct[Qt[vn]]);return Kt},qr=Ae.forwardRef((Ct,zt)=>{var{style:Kt,height:Qt}=Ct,vn=ar(Ct,["style","height"]);return Ae.createElement(Qn,Object.assign({ref:zt},vn,{type:"drag",style:Object.assign(Object.assign({},Kt),{height:Qt})}))});const Sn=Qn;Sn.Dragger=qr,Sn.LIST_IGNORE=In;var ur=Sn},72665:function(jt,Pt){"use strict";var be;var Ae=typeof Symbol=="function"&&Symbol.for,Ze=Ae?Symbol.for("react.element"):60103,E=Ae?Symbol.for("react.portal"):60106,Se=Ae?Symbol.for("react.fragment"):60107,ge=Ae?Symbol.for("react.strict_mode"):60108,oe=Ae?Symbol.for("react.profiler"):60114,te=Ae?Symbol.for("react.provider"):60109,ue=Ae?Symbol.for("react.context"):60110,ce=Ae?Symbol.for("react.async_mode"):60111,le=Ae?Symbol.for("react.concurrent_mode"):60111,de=Ae?Symbol.for("react.forward_ref"):60112,ae=Ae?Symbol.for("react.suspense"):60113,ie=Ae?Symbol.for("react.suspense_list"):60120,ne=Ae?Symbol.for("react.memo"):60115,a=Ae?Symbol.for("react.lazy"):60116,y=Ae?Symbol.for("react.block"):60121,x=Ae?Symbol.for("react.fundamental"):60117,b=Ae?Symbol.for("react.responder"):60118,z=Ae?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case Ze:switch(se=se.type,se){case ce:case le:case Se:case oe:case ge:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case de:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}be=ce,be=le,be=ue,be=te,be=Ze,be=de,be=Se,be=a,be=ne,be=E,be=oe,be=ge,be=ae,be=function(se){return re(se)||ee(se)===ce},be=re,be=function(se){return ee(se)===ue},be=function(se){return ee(se)===te},be=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===Ze},be=function(se){return ee(se)===de},be=function(se){return ee(se)===Se},be=function(se){return ee(se)===a},Pt.isMemo=function(se){return ee(se)===ne},be=function(se){return ee(se)===E},be=function(se){return ee(se)===oe},be=function(se){return ee(se)===ge},be=function(se){return ee(se)===ae},be=function(se){return typeof se=="string"||typeof se=="function"||se===Se||se===le||se===oe||se===ge||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===de||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},be=ee},12060:function(jt,Pt,be){"use strict";jt.exports=be(72665)},56261:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return me}});var Ae=be(87462),Ze=be(4942),E=be(45987),Se=be(1413),ge=be(15671),oe=be(43144),te=be(97326),ue=be(60136),ce=be(51630),le=be(94184),de=be.n(le),ae=be(34952),ie=be(67294),ne=be(69610),a=function(he){for(var ye=he.prefixCls,Pe=he.level,Oe=he.isStart,we=he.isEnd,Te="".concat(ye,"-indent-unit"),Me=[],Fe=0;Fe<Pe;Fe+=1){var $e;Me.push(ie.createElement("span",{key:Fe,className:de()(Te,($e={},(0,Ze.Z)($e,"".concat(Te,"-start"),Oe[Fe]),(0,Ze.Z)($e,"".concat(Te,"-end"),we[Fe]),$e))}))}return ie.createElement("span",{"aria-hidden":"true",className:"".concat(ye,"-indent")},Me)},y=ie.memo(a),x=be(3596),b=be(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",re="close",se="---",fe=function(pe){(0,ue.Z)(ye,pe);var he=(0,ce.Z)(ye);function ye(){var Pe;(0,ge.Z)(this,ye);for(var Oe=arguments.length,we=new Array(Oe),Te=0;Te<Oe;Te++)we[Te]=arguments[Te];return Pe=he.call.apply(he,[this].concat(we)),Pe.state={dragNodeHighlight:!1},Pe.selectHandle=void 0,Pe.cacheIndent=void 0,Pe.onSelectorClick=function(Me){var Fe=Pe.props.context.onNodeClick;Fe(Me,(0,b.F)(Pe.props)),Pe.isSelectable()?Pe.onSelect(Me):Pe.onCheck(Me)},Pe.onSelectorDoubleClick=function(Me){var Fe=Pe.props.context.onNodeDoubleClick;Fe(Me,(0,b.F)(Pe.props))},Pe.onSelect=function(Me){if(!Pe.isDisabled()){var Fe=Pe.props.context.onNodeSelect;Fe(Me,(0,b.F)(Pe.props))}},Pe.onCheck=function(Me){if(!Pe.isDisabled()){var Fe=Pe.props,$e=Fe.disableCheckbox,Ve=Fe.checked,Re=Pe.props.context.onNodeCheck;if(!(!Pe.isCheckable()||$e)){var st=!Ve;Re(Me,(0,b.F)(Pe.props),st)}}},Pe.onMouseEnter=function(Me){var Fe=Pe.props.context.onNodeMouseEnter;Fe(Me,(0,b.F)(Pe.props))},Pe.onMouseLeave=function(Me){var Fe=Pe.props.context.onNodeMouseLeave;Fe(Me,(0,b.F)(Pe.props))},Pe.onContextMenu=function(Me){var Fe=Pe.props.context.onNodeContextMenu;Fe(Me,(0,b.F)(Pe.props))},Pe.onDragStart=function(Me){var Fe=Pe.props.context.onNodeDragStart;Me.stopPropagation(),Pe.setState({dragNodeHighlight:!0}),Fe(Me,(0,te.Z)(Pe));try{Me.dataTransfer.setData("text/plain","")}catch($e){}},Pe.onDragEnter=function(Me){var Fe=Pe.props.context.onNodeDragEnter;Me.preventDefault(),Me.stopPropagation(),Fe(Me,(0,te.Z)(Pe))},Pe.onDragOver=function(Me){var Fe=Pe.props.context.onNodeDragOver;Me.preventDefault(),Me.stopPropagation(),Fe(Me,(0,te.Z)(Pe))},Pe.onDragLeave=function(Me){var Fe=Pe.props.context.onNodeDragLeave;Me.stopPropagation(),Fe(Me,(0,te.Z)(Pe))},Pe.onDragEnd=function(Me){var Fe=Pe.props.context.onNodeDragEnd;Me.stopPropagation(),Pe.setState({dragNodeHighlight:!1}),Fe(Me,(0,te.Z)(Pe))},Pe.onDrop=function(Me){var Fe=Pe.props.context.onNodeDrop;Me.preventDefault(),Me.stopPropagation(),Pe.setState({dragNodeHighlight:!1}),Fe(Me,(0,te.Z)(Pe))},Pe.onExpand=function(Me){var Fe=Pe.props,$e=Fe.loading,Ve=Fe.context.onNodeExpand;$e||Ve(Me,(0,b.F)(Pe.props))},Pe.setSelectHandle=function(Me){Pe.selectHandle=Me},Pe.getNodeState=function(){var Me=Pe.props.expanded;return Pe.isLeaf()?null:Me?ee:re},Pe.hasChildren=function(){var Me=Pe.props.eventKey,Fe=Pe.props.context.keyEntities,$e=(0,x.Z)(Fe,Me)||{},Ve=$e.children;return!!(Ve||[]).length},Pe.isLeaf=function(){var Me=Pe.props,Fe=Me.isLeaf,$e=Me.loaded,Ve=Pe.props.context.loadData,Re=Pe.hasChildren();return Fe===!1?!1:Fe||!Ve&&!Re||Ve&&$e&&!Re},Pe.isDisabled=function(){var Me=Pe.props.disabled,Fe=Pe.props.context.disabled;return!!(Fe||Me)},Pe.isCheckable=function(){var Me=Pe.props.checkable,Fe=Pe.props.context.checkable;return!Fe||Me===!1?!1:Fe},Pe.syncLoadData=function(Me){var Fe=Me.expanded,$e=Me.loading,Ve=Me.loaded,Re=Pe.props.context,st=Re.loadData,rt=Re.onNodeLoad;$e||st&&Fe&&!Pe.isLeaf()&&!Pe.hasChildren()&&!Ve&&rt((0,b.F)(Pe.props))},Pe.isDraggable=function(){var Me=Pe.props,Fe=Me.data,$e=Me.context.draggable;return!!($e&&(!$e.nodeDraggable||$e.nodeDraggable(Fe)))},Pe.renderDragHandler=function(){var Me=Pe.props.context,Fe=Me.draggable,$e=Me.prefixCls;return Fe!=null&&Fe.icon?ie.createElement("span",{className:"".concat($e,"-draggable-icon")},Fe.icon):null},Pe.renderSwitcherIconDom=function(Me){var Fe=Pe.props.switcherIcon,$e=Pe.props.context.switcherIcon,Ve=Fe||$e;return typeof Ve=="function"?Ve((0,Se.Z)((0,Se.Z)({},Pe.props),{},{isLeaf:Me})):Ve},Pe.renderSwitcher=function(){var Me=Pe.props.expanded,Fe=Pe.props.context.prefixCls;if(Pe.isLeaf()){var $e=Pe.renderSwitcherIconDom(!0);return $e!==!1?ie.createElement("span",{className:de()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher-noop"))},$e):null}var Ve=de()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher_").concat(Me?ee:re)),Re=Pe.renderSwitcherIconDom(!1);return Re!==!1?ie.createElement("span",{onClick:Pe.onExpand,className:Ve},Re):null},Pe.renderCheckbox=function(){var Me=Pe.props,Fe=Me.checked,$e=Me.halfChecked,Ve=Me.disableCheckbox,Re=Pe.props.context.prefixCls,st=Pe.isDisabled(),rt=Pe.isCheckable();if(!rt)return null;var et=typeof rt!="boolean"?rt:null;return ie.createElement("span",{className:de()("".concat(Re,"-checkbox"),Fe&&"".concat(Re,"-checkbox-checked"),!Fe&&$e&&"".concat(Re,"-checkbox-indeterminate"),(st||Ve)&&"".concat(Re,"-checkbox-disabled")),onClick:Pe.onCheck},et)},Pe.renderIcon=function(){var Me=Pe.props.loading,Fe=Pe.props.context.prefixCls;return ie.createElement("span",{className:de()("".concat(Fe,"-iconEle"),"".concat(Fe,"-icon__").concat(Pe.getNodeState()||"docu"),Me&&"".concat(Fe,"-icon_loading"))})},Pe.renderSelector=function(){var Me=Pe.state.dragNodeHighlight,Fe=Pe.props,$e=Fe.title,Ve=$e===void 0?se:$e,Re=Fe.selected,st=Fe.icon,rt=Fe.loading,et=Fe.data,qe=Pe.props.context,ze=qe.prefixCls,ke=qe.showIcon,Be=qe.icon,Je=qe.loadData,Ye=qe.titleRender,dt=Pe.isDisabled(),He="".concat(ze,"-node-content-wrapper"),Ue;if(ke){var Le=st||Be;Ue=Le?ie.createElement("span",{className:de()("".concat(ze,"-iconEle"),"".concat(ze,"-icon__customize"))},typeof Le=="function"?Le(Pe.props):Le):Pe.renderIcon()}else Je&&rt&&(Ue=Pe.renderIcon());var Ke;typeof Ve=="function"?Ke=Ve(et):Ye?Ke=Ye(et):Ke=Ve;var Ee=ie.createElement("span",{className:"".concat(ze,"-title")},Ke);return ie.createElement("span",{ref:Pe.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:de()("".concat(He),"".concat(He,"-").concat(Pe.getNodeState()||"normal"),!dt&&(Re||Me)&&"".concat(ze,"-node-selected")),onMouseEnter:Pe.onMouseEnter,onMouseLeave:Pe.onMouseLeave,onContextMenu:Pe.onContextMenu,onClick:Pe.onSelectorClick,onDoubleClick:Pe.onSelectorDoubleClick},Ue,Ee,Pe.renderDropIndicator())},Pe.renderDropIndicator=function(){var Me=Pe.props,Fe=Me.disabled,$e=Me.eventKey,Ve=Pe.props.context,Re=Ve.draggable,st=Ve.dropLevelOffset,rt=Ve.dropPosition,et=Ve.prefixCls,qe=Ve.indent,ze=Ve.dropIndicatorRender,ke=Ve.dragOverNodeKey,Be=Ve.direction,Je=!!Re,Ye=!Fe&&Je&&ke===$e,dt=qe!=null?qe:Pe.cacheIndent;return Pe.cacheIndent=qe,Ye?ze({dropPosition:rt,dropLevelOffset:st,indent:dt,prefixCls:et,direction:Be}):null},Pe}return(0,oe.Z)(ye,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Oe=this.props.selectable,we=this.props.context.selectable;return typeof Oe=="boolean"?Oe:we}},{key:"render",value:function(){var Oe,we=this.props,Te=we.eventKey,Me=we.className,Fe=we.style,$e=we.dragOver,Ve=we.dragOverGapTop,Re=we.dragOverGapBottom,st=we.isLeaf,rt=we.isStart,et=we.isEnd,qe=we.expanded,ze=we.selected,ke=we.checked,Be=we.halfChecked,Je=we.loading,Ye=we.domRef,dt=we.active,He=we.data,Ue=we.onMouseMove,Le=we.selectable,Ke=(0,E.Z)(we,z),Ee=this.props.context,Ie=Ee.prefixCls,Qe=Ee.filterTreeNode,Xe=Ee.keyEntities,Ge=Ee.dropContainerKey,Ce=Ee.dropTargetKey,xe=Ee.draggingNodeKey,je=this.isDisabled(),_e=(0,ae.Z)(Ke,{aria:!0,data:!0}),ot=(0,x.Z)(Xe,Te)||{},pt=ot.level,mt=et[et.length-1],tt=this.isDraggable(),ut=!je&&tt,St=xe===Te,xt=Le!==void 0?{"aria-selected":!!Le}:void 0;return ie.createElement("div",(0,Ae.Z)({ref:Ye,className:de()(Me,"".concat(Ie,"-treenode"),(Oe={},(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-disabled"),je),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-switcher-").concat(qe?"open":"close"),!st),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-checkbox-checked"),ke),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-checkbox-indeterminate"),Be),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-selected"),ze),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-loading"),Je),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-active"),dt),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-leaf-last"),mt),(0,Ze.Z)(Oe,"".concat(Ie,"-treenode-draggable"),tt),(0,Ze.Z)(Oe,"dragging",St),(0,Ze.Z)(Oe,"drop-target",Ce===Te),(0,Ze.Z)(Oe,"drop-container",Ge===Te),(0,Ze.Z)(Oe,"drag-over",!je&&$e),(0,Ze.Z)(Oe,"drag-over-gap-top",!je&&Ve),(0,Ze.Z)(Oe,"drag-over-gap-bottom",!je&&Re),(0,Ze.Z)(Oe,"filter-node",Qe&&Qe((0,b.F)(this.props))),Oe)),style:Fe,draggable:ut,"aria-grabbed":St,onDragStart:ut?this.onDragStart:void 0,onDragEnter:tt?this.onDragEnter:void 0,onDragOver:tt?this.onDragOver:void 0,onDragLeave:tt?this.onDragLeave:void 0,onDrop:tt?this.onDrop:void 0,onDragEnd:tt?this.onDragEnd:void 0,onMouseMove:Ue},xt,_e),ie.createElement(y,{prefixCls:Ie,level:pt,isStart:rt,isEnd:et}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ye}(ie.Component),ve=function(he){return ie.createElement(ne.k.Consumer,null,function(ye){return ie.createElement(fe,(0,Ae.Z)({},he,{context:ye}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var me=ve},69610:function(jt,Pt,be){"use strict";be.d(Pt,{k:function(){return Ze}});var Ae=be(67294),Ze=Ae.createContext(null)},29873:function(jt,Pt,be){"use strict";be.d(Pt,{BT:function(){return y},E6:function(){return z},L0:function(){return le},OM:function(){return a},_5:function(){return ce},r7:function(){return ee},wA:function(){return ae},yx:function(){return de}});var Ae=be(74902),Ze=be(71002),E=be(72978),Se=be(67294),ge=be(56261),oe=be(3596),te=be(83898),ue=null;function ce(re,se){if(!re)return[];var fe=re.slice(),ve=fe.indexOf(se);return ve>=0&&fe.splice(ve,1),fe}function le(re,se){var fe=(re||[]).slice();return fe.indexOf(se)===-1&&fe.push(se),fe}function de(re){return re.split("-")}function ae(re,se){var fe=[],ve=(0,oe.Z)(se,re);function me(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(he){var ye=he.key,Pe=he.children;fe.push(ye),me(Pe)})}return me(ve.children),fe}function ie(re){if(re.parent){var se=de(re.pos);return Number(se[se.length-1])===re.parent.children.length-1}return!1}function ne(re){var se=de(re.pos);return Number(se[se.length-1])===0}function a(re,se,fe,ve,me,pe,he,ye,Pe,Oe){var we,Te=re.clientX,Me=re.clientY,Fe=re.target.getBoundingClientRect(),$e=Fe.top,Ve=Fe.height,Re=(Oe==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-Te),st=(Re-12)/ve,rt=(0,oe.Z)(ye,fe.props.eventKey);if(Me<$e+Ve/2){var et=he.findIndex(function(Ee){return Ee.key===rt.key}),qe=et<=0?0:et-1,ze=he[qe].key;rt=(0,oe.Z)(ye,ze)}var ke=rt.key,Be=rt,Je=rt.key,Ye=0,dt=0;if(!Pe.includes(ke))for(var He=0;He<st&&ie(rt);He+=1)rt=rt.parent,dt+=1;var Ue=se.props.data,Le=rt.node,Ke=!0;return ne(rt)&&rt.level===0&&Me<$e+Ve/2&&pe({dragNode:Ue,dropNode:Le,dropPosition:-1})&&rt.key===fe.props.eventKey?Ye=-1:(Be.children||[]).length&&Pe.includes(Je)?pe({dragNode:Ue,dropNode:Le,dropPosition:0})?Ye=0:Ke=!1:dt===0?st>-1.5?pe({dragNode:Ue,dropNode:Le,dropPosition:1})?Ye=1:Ke=!1:pe({dragNode:Ue,dropNode:Le,dropPosition:0})?Ye=0:pe({dragNode:Ue,dropNode:Le,dropPosition:1})?Ye=1:Ke=!1:pe({dragNode:Ue,dropNode:Le,dropPosition:1})?Ye=1:Ke=!1,{dropPosition:Ye,dropLevelOffset:dt,dropTargetKey:rt.key,dropTargetPos:rt.pos,dragOverNodeKey:Je,dropContainerKey:Ye===0?null:((we=rt.parent)===null||we===void 0?void 0:we.key)||null,dropAllowed:Ke}}function y(re,se){if(re){var fe=se.multiple;return fe?re.slice():re.length?[re[0]]:re}}var x=function(se){return se};function b(re,se){if(!re)return[];var fe=se||{},ve=fe.processProps,me=ve===void 0?x:ve,pe=Array.isArray(re)?re:[re];return pe.map(function(he){var ye=he.children,Pe=_objectWithoutProperties(he,ue),Oe=b(ye,se);return React.createElement(TreeNode,_extends({key:Pe.key},me(Pe)),Oe)})}function z(re){if(!re)return null;var se;if(Array.isArray(re))se={checkedKeys:re,halfCheckedKeys:void 0};else if((0,Ze.Z)(re)==="object")se={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return se}function ee(re,se){var fe=new Set;function ve(me){if(!fe.has(me)){var pe=(0,oe.Z)(se,me);if(pe){fe.add(me);var he=pe.parent,ye=pe.node;ye.disabled||he&&ve(he.key)}}}return(re||[]).forEach(function(me){ve(me)}),(0,Ae.Z)(fe)}},97153:function(jt,Pt,be){"use strict";be.d(Pt,{S:function(){return te}});var Ae=be(72978),Ze=be(3596);function E(ue,ce){var le=new Set;return ue.forEach(function(de){ce.has(de)||le.add(de)}),le}function Se(ue){var ce=ue||{},le=ce.disabled,de=ce.disableCheckbox,ae=ce.checkable;return!!(le||de)||ae===!1}function ge(ue,ce,le,de){for(var ae=new Set(ue),ie=new Set,ne=0;ne<=le;ne+=1){var a=ce.get(ne)||new Set;a.forEach(function(z){var ee=z.key,re=z.node,se=z.children,fe=se===void 0?[]:se;ae.has(ee)&&!de(re)&&fe.filter(function(ve){return!de(ve.node)}).forEach(function(ve){ae.add(ve.key)})})}for(var y=new Set,x=le;x>=0;x-=1){var b=ce.get(x)||new Set;b.forEach(function(z){var ee=z.parent,re=z.node;if(!(de(re)||!z.parent||y.has(z.parent.key))){if(de(z.parent.node)){y.add(ee.key);return}var se=!0,fe=!1;(ee.children||[]).filter(function(ve){return!de(ve.node)}).forEach(function(ve){var me=ve.key,pe=ae.has(me);se&&!pe&&(se=!1),!fe&&(pe||ie.has(me))&&(fe=!0)}),se&&ae.add(ee.key),fe&&ie.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(E(ie,ae))}}function oe(ue,ce,le,de,ae){for(var ie=new Set(ue),ne=new Set(ce),a=0;a<=de;a+=1){var y=le.get(a)||new Set;y.forEach(function(ee){var re=ee.key,se=ee.node,fe=ee.children,ve=fe===void 0?[]:fe;!ie.has(re)&&!ne.has(re)&&!ae(se)&&ve.filter(function(me){return!ae(me.node)}).forEach(function(me){ie.delete(me.key)})})}ne=new Set;for(var x=new Set,b=de;b>=0;b-=1){var z=le.get(b)||new Set;z.forEach(function(ee){var re=ee.parent,se=ee.node;if(!(ae(se)||!ee.parent||x.has(ee.parent.key))){if(ae(ee.parent.node)){x.add(re.key);return}var fe=!0,ve=!1;(re.children||[]).filter(function(me){return!ae(me.node)}).forEach(function(me){var pe=me.key,he=ie.has(pe);fe&&!he&&(fe=!1),!ve&&(he||ne.has(pe))&&(ve=!0)}),fe||ie.delete(re.key),ve&&ne.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(E(ne,ie))}}function te(ue,ce,le,de){var ae=[],ie;de?ie=de:ie=Se;var ne=new Set(ue.filter(function(b){var z=!!(0,Ze.Z)(le,b);return z||ae.push(b),z})),a=new Map,y=0;Object.keys(le).forEach(function(b){var z=le[b],ee=z.level,re=a.get(ee);re||(re=new Set,a.set(ee,re)),re.add(z),y=Math.max(y,ee)}),(0,Ae.ZP)(!ae.length,"Tree missing follow keys: ".concat(ae.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return ce===!0?x=ge(ne,a,y,ie):x=oe(ne,ce.halfCheckedKeys,a,y,ie),x}},3596:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Ae}});function Ae(Ze,E){return Ze[E]}},83898:function(jt,Pt,be){"use strict";be.d(Pt,{I8:function(){return ee},F:function(){return se},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ne},H8:function(){return re}});var Ae=be(71002),Ze=be(74902),E=be(1413),Se=be(45987),ge=be(67294),oe=be(28580);function te(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=[];return ge.Children.forEach(fe,function(pe){pe==null&&!ve.keepEmpty||(Array.isArray(pe)?me=me.concat(te(pe)):(0,oe.isFragment)(pe)&&pe.props?me=me.concat(te(pe.props.children,ve)):me.push(pe))}),me}function ue(fe,ve){var me=(0,E.Z)({},fe);return Array.isArray(ve)&&ve.forEach(function(pe){delete me[pe]}),me}var ce=be(72978),le=be(3596),de=["children"];function ae(fe,ve){return"".concat(fe,"-").concat(ve)}function ie(fe){return fe&&fe.type&&fe.type.isTreeNode}function ne(fe,ve){return fe!=null?fe:ve}function a(fe){var ve=fe||{},me=ve.title,pe=ve._title,he=ve.key,ye=ve.children,Pe=me||"title";return{title:Pe,_title:pe||[Pe],key:he||"key",children:ye||"children"}}function y(fe,ve){var me=new Map;function pe(he){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(he||[]).forEach(function(Pe){var Oe=Pe[ve.key],we=Pe[ve.children];warning(Oe!=null,"Tree node must have a certain key: [".concat(ye).concat(Oe,"]"));var Te=String(Oe);warning(!me.has(Te)||Oe===null||Oe===void 0,"Same 'key' exist in the Tree: ".concat(Te)),me.set(Te,!0),pe(we,"".concat(ye).concat(Te," > "))})}pe(fe)}function x(fe){function ve(me){var pe=te(me);return pe.map(function(he){if(!ie(he))return(0,ce.ZP)(!he,"Tree/TreeNode can only accept TreeNode as children."),null;var ye=he.key,Pe=he.props,Oe=Pe.children,we=(0,Se.Z)(Pe,de),Te=(0,E.Z)({key:ye},we),Me=ve(Oe);return Me.length&&(Te.children=Me),Te}).filter(function(he){return he})}return ve(fe)}function b(fe,ve,me){var pe=a(me),he=pe._title,ye=pe.key,Pe=pe.children,Oe=new Set(ve===!0?[]:ve),we=[];function Te(Me){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Me.map(function($e,Ve){for(var Re=ae(Fe?Fe.pos:"0",Ve),st=ne($e[ye],Re),rt,et=0;et<he.length;et+=1){var qe=he[et];if($e[qe]!==void 0){rt=$e[qe];break}}var ze=(0,E.Z)((0,E.Z)({},ue($e,[].concat((0,Ze.Z)(he),[ye,Pe]))),{},{title:rt,key:st,parent:Fe,pos:Re,children:null,data:$e,isStart:[].concat((0,Ze.Z)(Fe?Fe.isStart:[]),[Ve===0]),isEnd:[].concat((0,Ze.Z)(Fe?Fe.isEnd:[]),[Ve===Me.length-1])});return we.push(ze),ve===!0||Oe.has(st)?ze.children=Te($e[Pe]||[],ze):ze.children=[],ze})}return Te(fe),we}function z(fe,ve,me){var pe={};(0,Ae.Z)(me)==="object"?pe=me:pe={externalGetKey:me},pe=pe||{};var he=pe,ye=he.childrenPropName,Pe=he.externalGetKey,Oe=he.fieldNames,we=a(Oe),Te=we.key,Me=we.children,Fe=ye||Me,$e;Pe?typeof Pe=="string"?$e=function(st){return st[Pe]}:typeof Pe=="function"&&($e=function(st){return Pe(st)}):$e=function(st,rt){return ne(st[Te],rt)};function Ve(Re,st,rt,et){var qe=Re?Re[Fe]:fe,ze=Re?ae(rt.pos,st):"0",ke=Re?[].concat((0,Ze.Z)(et),[Re]):[];if(Re){var Be=$e(Re,ze),Je={node:Re,index:st,pos:ze,key:Be,parentPos:rt.node?rt.pos:null,level:rt.level+1,nodes:ke};ve(Je)}qe&&qe.forEach(function(Ye,dt){Ve(Ye,dt,{node:Re,pos:ze,level:rt?rt.level+1:-1},ke)})}Ve(null)}function ee(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=ve.initWrapper,pe=ve.processEntity,he=ve.onProcessFinished,ye=ve.externalGetKey,Pe=ve.childrenPropName,Oe=ve.fieldNames,we=arguments.length>2?arguments[2]:void 0,Te=ye||we,Me={},Fe={},$e={posEntities:Me,keyEntities:Fe};return me&&($e=me($e)||$e),z(fe,function(Ve){var Re=Ve.node,st=Ve.index,rt=Ve.pos,et=Ve.key,qe=Ve.parentPos,ze=Ve.level,ke=Ve.nodes,Be={node:Re,nodes:ke,index:st,key:et,pos:rt,level:ze},Je=ne(et,rt);Me[rt]=Be,Fe[Je]=Be,Be.parent=Me[qe],Be.parent&&(Be.parent.children=Be.parent.children||[],Be.parent.children.push(Be)),pe&&pe(Be,$e)},{externalGetKey:Te,childrenPropName:Pe,fieldNames:Oe}),he&&he($e),$e}function re(fe,ve){var me=ve.expandedKeys,pe=ve.selectedKeys,he=ve.loadedKeys,ye=ve.loadingKeys,Pe=ve.checkedKeys,Oe=ve.halfCheckedKeys,we=ve.dragOverNodeKey,Te=ve.dropPosition,Me=ve.keyEntities,Fe=(0,le.Z)(Me,fe),$e={eventKey:fe,expanded:me.indexOf(fe)!==-1,selected:pe.indexOf(fe)!==-1,loaded:he.indexOf(fe)!==-1,loading:ye.indexOf(fe)!==-1,checked:Pe.indexOf(fe)!==-1,halfChecked:Oe.indexOf(fe)!==-1,pos:String(Fe?Fe.pos:""),dragOver:we===fe&&Te===0,dragOverGapTop:we===fe&&Te===-1,dragOverGapBottom:we===fe&&Te===1};return $e}function se(fe){var ve=fe.data,me=fe.expanded,pe=fe.selected,he=fe.checked,ye=fe.loaded,Pe=fe.loading,Oe=fe.halfChecked,we=fe.dragOver,Te=fe.dragOverGapTop,Me=fe.dragOverGapBottom,Fe=fe.pos,$e=fe.active,Ve=fe.eventKey,Re=(0,E.Z)((0,E.Z)({},ve),{},{expanded:me,selected:pe,checked:he,loaded:ye,loading:Pe,halfChecked:Oe,dragOver:we,dragOverGapTop:Te,dragOverGapBottom:Me,pos:Fe,active:$e,key:Ve});return"props"in Re||Object.defineProperty(Re,"props",{get:function(){return(0,ce.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),fe}}),Re}},34952:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return ue}});var Ae=be(1413),Ze=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,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`,Se="".concat(Ze," ").concat(E).split(/[\s\n]+/),ge="aria-",oe="data-";function te(ce,le){return ce.indexOf(le)===0}function ue(ce){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,de;le===!1?de={aria:!0,data:!0,attr:!0}:le===!0?de={aria:!0}:de=(0,Ae.Z)({},le);var ae={};return Object.keys(ce).forEach(function(ie){(de.aria&&(ie==="role"||te(ie,ge))||de.data&&te(ie,oe)||de.attr&&Se.includes(ie))&&(ae[ie]=ce[ie])}),ae}},72978:function(jt,Pt,be){"use strict";var Ae={};function Ze(ue,ce){}function E(ue,ce){}function Se(){Ae={}}function ge(ue,ce,le){!ce&&!Ae[le]&&(ue(!1,le),Ae[le]=!0)}function oe(ue,ce){ge(Ze,ue,ce)}function te(ue,ce){ge(E,ue,ce)}Pt.ZP=oe},81533:function(jt,Pt){"use strict";var be;var Ae=typeof Symbol=="function"&&Symbol.for,Ze=Ae?Symbol.for("react.element"):60103,E=Ae?Symbol.for("react.portal"):60106,Se=Ae?Symbol.for("react.fragment"):60107,ge=Ae?Symbol.for("react.strict_mode"):60108,oe=Ae?Symbol.for("react.profiler"):60114,te=Ae?Symbol.for("react.provider"):60109,ue=Ae?Symbol.for("react.context"):60110,ce=Ae?Symbol.for("react.async_mode"):60111,le=Ae?Symbol.for("react.concurrent_mode"):60111,de=Ae?Symbol.for("react.forward_ref"):60112,ae=Ae?Symbol.for("react.suspense"):60113,ie=Ae?Symbol.for("react.suspense_list"):60120,ne=Ae?Symbol.for("react.memo"):60115,a=Ae?Symbol.for("react.lazy"):60116,y=Ae?Symbol.for("react.block"):60121,x=Ae?Symbol.for("react.fundamental"):60117,b=Ae?Symbol.for("react.responder"):60118,z=Ae?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case Ze:switch(se=se.type,se){case ce:case le:case Se:case oe:case ge:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case de:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}be=ce,be=le,be=ue,be=te,be=Ze,be=de,be=Se,be=a,be=ne,be=E,be=oe,be=ge,be=ae,be=function(se){return re(se)||ee(se)===ce},be=re,be=function(se){return ee(se)===ue},be=function(se){return ee(se)===te},be=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===Ze},be=function(se){return ee(se)===de},Pt.isFragment=function(se){return ee(se)===Se},be=function(se){return ee(se)===a},Pt.isMemo=function(se){return ee(se)===ne},be=function(se){return ee(se)===E},be=function(se){return ee(se)===oe},be=function(se){return ee(se)===ge},be=function(se){return ee(se)===ae},be=function(se){return typeof se=="string"||typeof se=="function"||se===Se||se===le||se===oe||se===ge||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===de||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},be=ee},28580:function(jt,Pt,be){"use strict";jt.exports=be(81533)},92389:function(jt,Pt){"use strict";var be={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(Ze){var E=Ze.keyCode;if(Ze.altKey&&!Ze.ctrlKey||Ze.metaKey||E>=be.F1&&E<=be.F12)return!1;switch(E){case be.ALT:case be.CAPS_LOCK:case be.CONTEXT_MENU:case be.CTRL:case be.DOWN:case be.END:case be.ESC:case be.HOME:case be.INSERT:case be.LEFT:case be.MAC_FF_META:case be.META:case be.NUMLOCK:case be.NUM_CENTER:case be.PAGE_DOWN:case be.PAGE_UP:case be.PAUSE:case be.PRINT_SCREEN:case be.RIGHT:case be.SHIFT:case be.UP:case be.WIN_KEY:case be.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ze){if(Ze>=be.ZERO&&Ze<=be.NINE||Ze>=be.NUM_ZERO&&Ze<=be.NUM_MULTIPLY||Ze>=be.A&&Ze<=be.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ze===0)return!0;switch(Ze){case be.SPACE:case be.QUESTION_MARK:case be.NUM_PLUS:case be.NUM_MINUS:case be.NUM_PERIOD:case be.NUM_DIVISION:case be.SEMICOLON:case be.DASH:case be.EQUALS:case be.COMMA:case be.PERIOD:case be.SLASH:case be.APOSTROPHE:case be.SINGLE_QUOTE:case be.OPEN_SQUARE_BRACKET:case be.BACKSLASH:case be.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Pt.Z=be},19575:function(jt,Pt,be){var Ae,Ze;(function(E,Se){jt.exports=Se(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof be.g!="undefined"?be.g:this,function(E){"use strict";E=E||{};var Se=E.Base64,ge="2.6.4",oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",te=function(we){for(var Te={},Me=0,Fe=we.length;Me<Fe;Me++)Te[we.charAt(Me)]=Me;return Te}(oe),ue=String.fromCharCode,ce=function(we){if(we.length<2){var Te=we.charCodeAt(0);return Te<128?we:Te<2048?ue(192|Te>>>6)+ue(128|Te&63):ue(224|Te>>>12&15)+ue(128|Te>>>6&63)+ue(128|Te&63)}else{var Te=65536+(we.charCodeAt(0)-55296)*1024+(we.charCodeAt(1)-56320);return ue(240|Te>>>18&7)+ue(128|Te>>>12&63)+ue(128|Te>>>6&63)+ue(128|Te&63)}},le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,de=function(we){return we.replace(le,ce)},ae=function(we){var Te=[0,2,1][we.length%3],Me=we.charCodeAt(0)<<16|(we.length>1?we.charCodeAt(1):0)<<8|(we.length>2?we.charCodeAt(2):0),Fe=[oe.charAt(Me>>>18),oe.charAt(Me>>>12&63),Te>=2?"=":oe.charAt(Me>>>6&63),Te>=1?"=":oe.charAt(Me&63)];return Fe.join("")},ie=E.btoa&&typeof E.btoa=="function"?function(we){return E.btoa(we)}:function(we){if(we.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return we.replace(/[\s\S]{1,3}/g,ae)},ne=function(we){return ie(de(String(we)))},a=function(we){return we.replace(/[+\/]/g,function(Te){return Te=="+"?"-":"_"}).replace(/=/g,"")},y=function(we,Te){return Te?a(ne(we)):ne(we)},x=function(we){return y(we,!0)},b;E.Uint8Array&&(b=function(we,Te){for(var Me="",Fe=0,$e=we.length;Fe<$e;Fe+=3){var Ve=we[Fe],Re=we[Fe+1],st=we[Fe+2],rt=Ve<<16|Re<<8|st;Me+=oe.charAt(rt>>>18)+oe.charAt(rt>>>12&63)+(typeof Re!="undefined"?oe.charAt(rt>>>6&63):"=")+(typeof st!="undefined"?oe.charAt(rt&63):"=")}return Te?a(Me):Me});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(we){switch(we.length){case 4:var Te=(7&we.charCodeAt(0))<<18|(63&we.charCodeAt(1))<<12|(63&we.charCodeAt(2))<<6|63&we.charCodeAt(3),Me=Te-65536;return ue((Me>>>10)+55296)+ue((Me&1023)+56320);case 3:return ue((15&we.charCodeAt(0))<<12|(63&we.charCodeAt(1))<<6|63&we.charCodeAt(2));default:return ue((31&we.charCodeAt(0))<<6|63&we.charCodeAt(1))}},re=function(we){return we.replace(z,ee)},se=function(we){var Te=we.length,Me=Te%4,Fe=(Te>0?te[we.charAt(0)]<<18:0)|(Te>1?te[we.charAt(1)]<<12:0)|(Te>2?te[we.charAt(2)]<<6:0)|(Te>3?te[we.charAt(3)]:0),$e=[ue(Fe>>>16),ue(Fe>>>8&255),ue(Fe&255)];return $e.length-=[0,0,2,1][Me],$e.join("")},fe=E.atob&&typeof E.atob=="function"?function(we){return E.atob(we)}:function(we){return we.replace(/\S{1,4}/g,se)},ve=function(we){return fe(String(we).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(we){return re(fe(we))},pe=function(we){return String(we).replace(/[-_]/g,function(Te){return Te=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},he=function(we){return me(pe(we))},ye;E.Uint8Array&&(ye=function(we){return Uint8Array.from(ve(pe(we)),function(Te){return Te.charCodeAt(0)})});var Pe=function(){var we=E.Base64;return E.Base64=Se,we};if(E.Base64={VERSION:ge,atob:ve,btoa:ie,fromBase64:he,toBase64:y,utob:de,encode:y,encodeURI:x,btou:re,decode:he,noConflict:Pe,fromUint8Array:b,toUint8Array:ye},typeof Object.defineProperty=="function"){var Oe=function(we){return{value:we,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Oe(function(){return he(this)})),Object.defineProperty(String.prototype,"toBase64",Oe(function(we){return y(this,we)})),Object.defineProperty(String.prototype,"toBase64URI",Oe(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),jt.exports?jt.exports.Base64=E.Base64:(Ae=[],Ze=function(){return E.Base64}.apply(Pt,Ae),Ze!==void 0&&(jt.exports=Ze)),{Base64:E.Base64}})},26819:function(jt,Pt){"use strict";var be;var Ae=typeof Symbol=="function"&&Symbol.for,Ze=Ae?Symbol.for("react.element"):60103,E=Ae?Symbol.for("react.portal"):60106,Se=Ae?Symbol.for("react.fragment"):60107,ge=Ae?Symbol.for("react.strict_mode"):60108,oe=Ae?Symbol.for("react.profiler"):60114,te=Ae?Symbol.for("react.provider"):60109,ue=Ae?Symbol.for("react.context"):60110,ce=Ae?Symbol.for("react.async_mode"):60111,le=Ae?Symbol.for("react.concurrent_mode"):60111,de=Ae?Symbol.for("react.forward_ref"):60112,ae=Ae?Symbol.for("react.suspense"):60113,ie=Ae?Symbol.for("react.suspense_list"):60120,ne=Ae?Symbol.for("react.memo"):60115,a=Ae?Symbol.for("react.lazy"):60116,y=Ae?Symbol.for("react.block"):60121,x=Ae?Symbol.for("react.fundamental"):60117,b=Ae?Symbol.for("react.responder"):60118,z=Ae?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case Ze:switch(se=se.type,se){case ce:case le:case Se:case oe:case ge:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case de:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}be=ce,be=le,be=ue,be=te,be=Ze,be=de,be=Se,be=a,be=ne,be=E,be=oe,be=ge,be=ae,be=function(se){return re(se)||ee(se)===ce},be=re,be=function(se){return ee(se)===ue},be=function(se){return ee(se)===te},be=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===Ze},be=function(se){return ee(se)===de},be=function(se){return ee(se)===Se},be=function(se){return ee(se)===a},Pt.isMemo=function(se){return ee(se)===ne},be=function(se){return ee(se)===E},be=function(se){return ee(se)===oe},be=function(se){return ee(se)===ge},be=function(se){return ee(se)===ae},be=function(se){return typeof se=="string"||typeof se=="function"||se===Se||se===le||se===oe||se===ge||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===de||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},be=ee},18459:function(jt,Pt,be){"use strict";jt.exports=be(26819)},16651:function(jt,Pt){"use strict";var be;var Ae=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),Se=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),te=Symbol.for("react.context"),ue=Symbol.for("react.server_context"),ce=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ne=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 Ae:switch(x=x.type,x){case E:case ge:case Se:case le:case de:return x;default:switch(x=x&&x.$$typeof,x){case ue:case te:case ce:case ie:case ae:case oe:return x;default:return b}}case Ze:return b}}}be=te,be=oe,be=Ae,be=ce,be=E,be=ie,be=ae,be=Ze,be=ge,be=Se,be=le,be=de,be=function(){return!1},be=function(){return!1},be=function(x){return y(x)===te},be=function(x){return y(x)===oe},be=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Ae},be=function(x){return y(x)===ce},be=function(x){return y(x)===E},be=function(x){return y(x)===ie},be=function(x){return y(x)===ae},be=function(x){return y(x)===Ze},be=function(x){return y(x)===ge},be=function(x){return y(x)===Se},be=function(x){return y(x)===le},be=function(x){return y(x)===de},be=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===ge||x===Se||x===le||x===de||x===ne||typeof x=="object"&&x!==null&&(x.$$typeof===ie||x.$$typeof===ae||x.$$typeof===oe||x.$$typeof===te||x.$$typeof===ce||x.$$typeof===a||x.getModuleId!==void 0)},be=y},33993:function(jt,Pt,be){"use strict";be(16651)},46762:function(jt,Pt){"use strict";var be;var Ae=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),Se=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),te=Symbol.for("react.context"),ue=Symbol.for("react.server_context"),ce=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ne=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 Ae:switch(x=x.type,x){case E:case ge:case Se:case le:case de:return x;default:switch(x=x&&x.$$typeof,x){case ue:case te:case ce:case ie:case ae:case oe:return x;default:return b}}case Ze:return b}}}be=te,be=oe,be=Ae,be=ce,be=E,be=ie,be=ae,be=Ze,be=ge,be=Se,be=le,be=de,be=function(){return!1},be=function(){return!1},be=function(x){return y(x)===te},be=function(x){return y(x)===oe},be=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Ae},be=function(x){return y(x)===ce},Pt.isFragment=function(x){return y(x)===E},be=function(x){return y(x)===ie},be=function(x){return y(x)===ae},be=function(x){return y(x)===Ze},be=function(x){return y(x)===ge},be=function(x){return y(x)===Se},be=function(x){return y(x)===le},be=function(x){return y(x)===de},be=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===ge||x===Se||x===le||x===de||x===ne||typeof x=="object"&&x!==null&&(x.$$typeof===ie||x.$$typeof===ae||x.$$typeof===oe||x.$$typeof===te||x.$$typeof===ce||x.$$typeof===a||x.getModuleId!==void 0)},be=y},35110:function(jt,Pt,be){"use strict";jt.exports=be(46762)},64217:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return ue}});var Ae=be(1413),Ze=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,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`,Se="".concat(Ze," ").concat(E).split(/[\s\n]+/),ge="aria-",oe="data-";function te(ce,le){return ce.indexOf(le)===0}function ue(ce){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,de;le===!1?de={aria:!0,data:!0,attr:!0}:le===!0?de={aria:!0}:de=(0,Ae.Z)({},le);var ae={};return Object.keys(ce).forEach(function(ie){(de.aria&&(ie==="role"||te(ie,ge))||de.data&&te(ie,oe)||de.attr&&Se.includes(ie))&&(ae[ie]=ce[ie])}),ae}},58971:function(jt,Pt,be){var Ae=be(62195),Ze=be(39015),E=[be(19257)];jt.exports=Ae.createStore(Ze,E)},19257:function(jt,Pt,be){jt.exports=Ae;function Ae(){return be(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(jt){return jt<10?"0"+jt:jt}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(jt){return rx_escapable.lastIndex=0,rx_escapable.test(jt)?'"'+jt.replace(rx_escapable,function(Pt){var be=meta[Pt];return typeof be=="string"?be:"\\u"+("0000"+Pt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+jt+'"'}function str(jt,Pt){var be,Ae,Ze,E,Se=gap,ge,oe=Pt[jt];switch(oe&&typeof oe=="object"&&typeof oe.toJSON=="function"&&(oe=oe.toJSON(jt)),typeof rep=="function"&&(oe=rep.call(Pt,jt,oe)),typeof oe){case"string":return quote(oe);case"number":return isFinite(oe)?String(oe):"null";case"boolean":case"null":return String(oe);case"object":if(!oe)return"null";if(gap+=indent,ge=[],Object.prototype.toString.apply(oe)==="[object Array]"){for(E=oe.length,be=0;be<E;be+=1)ge[be]=str(be,oe)||"null";return Ze=ge.length===0?"[]":gap?`[
`+gap+ge.join(`,
`+gap)+`
`+Se+"]":"["+ge.join(",")+"]",gap=Se,Ze}if(rep&&typeof rep=="object")for(E=rep.length,be=0;be<E;be+=1)typeof rep[be]=="string"&&(Ae=rep[be],Ze=str(Ae,oe),Ze&&ge.push(quote(Ae)+(gap?": ":":")+Ze));else for(Ae in oe)Object.prototype.hasOwnProperty.call(oe,Ae)&&(Ze=str(Ae,oe),Ze&&ge.push(quote(Ae)+(gap?": ":":")+Ze));return Ze=ge.length===0?"{}":gap?`{
`+gap+ge.join(`,
`+gap)+`
`+Se+"}":"{"+ge.join(",")+"}",gap=Se,Ze}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(jt,Pt,be){var Ae;if(gap="",indent="",typeof be=="number")for(Ae=0;Ae<be;Ae+=1)indent+=" ";else typeof be=="string"&&(indent=be);if(rep=Pt,Pt&&typeof Pt!="function"&&(typeof Pt!="object"||typeof Pt.length!="number"))throw new Error("JSON.stringify");return str("",{"":jt})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(jt,Pt){var be,Ae,Ze=jt[Pt];if(Ze&&typeof Ze=="object")for(be in Ze)Object.prototype.hasOwnProperty.call(Ze,be)&&(Ae=walk(Ze,be),Ae!==void 0?Ze[be]=Ae:delete Ze[be]);return reviver.call(jt,Pt,Ze)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(jt){return"\\u"+("0000"+jt.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(jt,Pt,be){var Ae=be(69078),Ze=Ae.slice,E=Ae.pluck,Se=Ae.each,ge=Ae.bind,oe=Ae.create,te=Ae.isList,ue=Ae.isFunction,ce=Ae.isObject;jt.exports={createStore:ae};var le={version:"2.0.12",enabled:!1,get:function(ie,ne){var a=this.storage.read(this._namespacePrefix+ie);return this._deserialize(a,ne)},set:function(ie,ne){return ne===void 0?this.remove(ie):(this.storage.write(this._namespacePrefix+ie,this._serialize(ne)),ne)},remove:function(ie){this.storage.remove(this._namespacePrefix+ie)},each:function(ie){var ne=this;this.storage.each(function(a,y){ie.call(ne,ne._deserialize(a),(y||"").replace(ne._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ie){return this._namespacePrefix=="__storejs_"+ie+"_"},createStore:function(){return ae.apply(this,arguments)},addPlugin:function(ie){this._addPlugin(ie)},namespace:function(ie){return ae(this.storage,this.plugins,ie)}};function de(){var ie=typeof console=="undefined"?null:console;if(ie){var ne=ie.warn?ie.warn:ie.log;ne.apply(ie,arguments)}}function ae(ie,ne,a){a||(a=""),ie&&!te(ie)&&(ie=[ie]),ne&&!te(ne)&&(ne=[ne]);var y=a?"__storejs_"+a+"_":"",x=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var z={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(re){try{var se="__storejs__test__";re.write(se,se);var fe=re.read(se)===se;return re.remove(se),fe}catch(ve){return!1}},_assignPluginFnProp:function(re,se){var fe=this[se];this[se]=function(){var me=Ze(arguments,0),pe=this;function he(){if(fe)return Se(arguments,function(Pe,Oe){me[Oe]=Pe}),fe.apply(pe,me)}var ye=[he].concat(me);return re.apply(pe,ye)}},_serialize:function(re){return JSON.stringify(re)},_deserialize:function(re,se){if(!re)return se;var fe="";try{fe=JSON.parse(re)}catch(ve){fe=re}return fe!==void 0?fe:se},_addStorage:function(re){this.enabled||this._testStorage(re)&&(this.storage=re,this.enabled=!0)},_addPlugin:function(re){var se=this;if(te(re)){Se(re,function(me){se._addPlugin(me)});return}var fe=E(this.plugins,function(me){return re===me});if(!fe){if(this.plugins.push(re),!ue(re))throw new Error("Plugins must be function values that return objects");var ve=re.call(this);if(!ce(ve))throw new Error("Plugins must return an object of function properties");Se(ve,function(me,pe){if(!ue(me))throw new Error("Bad plugin property: "+pe+" from plugin "+re.name+". Plugins should only return functions.");se._assignPluginFnProp(me,pe)})}},addStorage:function(re){de("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(re)}},ee=oe(z,le,{plugins:[]});return ee.raw={},Se(ee,function(re,se){ue(re)&&(ee.raw[se]=ge(ee,re))}),Se(ie,function(re){ee._addStorage(re)}),Se(ne,function(re){ee._addPlugin(re)}),ee}},69078:function(jt,Pt,be){var Ae=ge(),Ze=oe(),E=te(),Se=typeof window!="undefined"?window:be.g;jt.exports={assign:Ae,create:Ze,trim:E,bind:ue,slice:ce,each:le,map:de,pluck:ae,isList:ie,isFunction:ne,isObject:a,Global:Se};function ge(){return Object.assign?Object.assign:function(x,b,z,ee){for(var re=1;re<arguments.length;re++)le(Object(arguments[re]),function(se,fe){x[fe]=se});return x}}function oe(){if(Object.create)return function(b,z,ee,re){var se=ce(arguments,1);return Ae.apply(this,[Object.create(b)].concat(se))};{let x=function(){};var y=x;return function(z,ee,re,se){var fe=ce(arguments,1);return x.prototype=z,Ae.apply(this,[new x].concat(fe))}}}function te(){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 ue(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function ce(y,x){return Array.prototype.slice.call(y,x||0)}function le(y,x){ae(y,function(b,z){return x(b,z),!1})}function de(y,x){var b=ie(y)?[]:{};return ae(y,function(z,ee){return b[ee]=x(z,ee),!1}),b}function ae(y,x){if(ie(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var z in y)if(y.hasOwnProperty(z)&&x(y[z],z))return y[z]}function ie(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function ne(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},39015:function(jt,Pt,be){jt.exports=[be(39627),be(95347),be(34524),be(45580),be(58855),be(8728)]},45580:function(jt,Pt,be){var Ae=be(69078),Ze=Ae.Global,E=Ae.trim;jt.exports={name:"cookieStorage",read:ge,write:te,each:oe,remove:ue,clearAll:ce};var Se=Ze.document;function ge(de){if(!de||!le(de))return null;var ae="(?:^|.*;\\s*)"+escape(de).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(Se.cookie.replace(new RegExp(ae),"$1"))}function oe(de){for(var ae=Se.cookie.split(/; ?/g),ie=ae.length-1;ie>=0;ie--)if(E(ae[ie])){var ne=ae[ie].split("="),a=unescape(ne[0]),y=unescape(ne[1]);de(y,a)}}function te(de,ae){de&&(Se.cookie=escape(de)+"="+escape(ae)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ue(de){!de||!le(de)||(Se.cookie=escape(de)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function ce(){oe(function(de,ae){ue(ae)})}function le(de){return new RegExp("(?:^|;\\s*)"+escape(de).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(Se.cookie)}},39627:function(jt,Pt,be){var Ae=be(69078),Ze=Ae.Global;jt.exports={name:"localStorage",read:Se,write:ge,each:oe,remove:te,clearAll:ue};function E(){return Ze.localStorage}function Se(ce){return E().getItem(ce)}function ge(ce,le){return E().setItem(ce,le)}function oe(ce){for(var le=E().length-1;le>=0;le--){var de=E().key(le);ce(Se(de),de)}}function te(ce){return E().removeItem(ce)}function ue(){return E().clear()}},8728:function(jt){jt.exports={name:"memoryStorage",read:be,write:Ae,each:Ze,remove:E,clearAll:Se};var Pt={};function be(ge){return Pt[ge]}function Ae(ge,oe){Pt[ge]=oe}function Ze(ge){for(var oe in Pt)Pt.hasOwnProperty(oe)&&ge(Pt[oe],oe)}function E(ge){delete Pt[ge]}function Se(ge){Pt={}}},95347:function(jt,Pt,be){var Ae=be(69078),Ze=Ae.Global;jt.exports={name:"oldFF-globalStorage",read:Se,write:ge,each:oe,remove:te,clearAll:ue};var E=Ze.globalStorage;function Se(ce){return E[ce]}function ge(ce,le){E[ce]=le}function oe(ce){for(var le=E.length-1;le>=0;le--){var de=E.key(le);ce(E[de],de)}}function te(ce){return E.removeItem(ce)}function ue(){oe(function(ce,le){delete E[ce]})}},34524:function(jt,Pt,be){var Ae=be(69078),Ze=Ae.Global;jt.exports={name:"oldIE-userDataStorage",write:te,read:ue,each:ce,remove:le,clearAll:de};var E="storejs",Se=Ze.document,ge=ne(),oe=(Ze.navigator?Ze.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function te(a,y){if(!oe){var x=ie(a);ge(function(b){b.setAttribute(x,y),b.save(E)})}}function ue(a){if(!oe){var y=ie(a),x=null;return ge(function(b){x=b.getAttribute(y)}),x}}function ce(a){ge(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var z=x[b];a(y.getAttribute(z.name),z.name)}})}function le(a){var y=ie(a);ge(function(x){x.removeAttribute(y),x.save(E)})}function de(){ge(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 ae=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ie(a){return a.replace(/^\d/,"___$&").replace(ae,"___")}function ne(){if(!Se||!Se.documentElement||!Se.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(z){b=Se.createElement("div"),y=Se.body}return function(z){var ee=[].slice.call(arguments,0);ee.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),z.apply(this,ee),y.removeChild(b)}}},58855:function(jt,Pt,be){var Ae=be(69078),Ze=Ae.Global;jt.exports={name:"sessionStorage",read:Se,write:ge,each:oe,remove:te,clearAll:ue};function E(){return Ze.sessionStorage}function Se(ce){return E().getItem(ce)}function ge(ce,le){return E().setItem(ce,le)}function oe(ce){for(var le=E().length-1;le>=0;le--){var de=E().key(le);ce(Se(de),de)}}function te(ce){return E().removeItem(ce)}function ue(){return E().clear()}},36459:function(jt,Pt,be){"use strict";be.d(Pt,{Z:function(){return Ae}});function Ae(Ze){if(Ze==null)throw new TypeError("Cannot destructure "+Ze)}}}]);