From 0d677c2f1232f98a08ec9f4b89fa02fbcf51b2cd Mon Sep 17 00:00:00 2001 From: eduauto Date: Thu, 10 Jul 2025 17:37:43 +0800 Subject: [PATCH] autoUpdataFile --- index.html | 2 +- ..._XgdNews__addNews__index.84a251ce.async.js | 44 +++++++++---------- umi.075eb931.js => umi.bd95a2dc.js | 4 +- 3 files changed, 25 insertions(+), 25 deletions(-) rename p__XgdNews__addNews__index.204c21e8.async.js => p__XgdNews__addNews__index.84a251ce.async.js (81%) rename umi.075eb931.js => umi.bd95a2dc.js (99%) diff --git a/index.html b/index.html index 6f975c9634..57da0232ed 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__XgdNews__addNews__index.204c21e8.async.js b/p__XgdNews__addNews__index.84a251ce.async.js similarity index 81% rename from p__XgdNews__addNews__index.204c21e8.async.js rename to p__XgdNews__addNews__index.84a251ce.async.js index 09973bbaca..414a277f58 100644 --- a/p__XgdNews__addNews__index.204c21e8.async.js +++ b/p__XgdNews__addNews__index.84a251ce.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[4731],{26227:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return ot}});var ae=ge(14809),fe=ge(59301),qe={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"},Ye=qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),ot=me},41464:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return ot}});var ae=ge(14809),fe=ge(59301),qe={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"},Ye=qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),ot=me},33853:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return ot}});var ae=ge(14809),fe=ge(59301),qe={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"},Ye=qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),ot=me},38819:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return ot}});var ae=ge(14809),fe=ge(59301),qe={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"},Ye=qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),ot=me},99587:function(Ee,it){"use strict";it.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function Ee(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(Ee.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(Ee.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(Ee.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(Ee.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 Ee))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.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 it=[];function ge(ne,a){var y=it.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function ae(){var ne=it.pop();return ne===void 0?new go.Point:ne}function fe(ne){it.push(ne)}function qe(ne,a,y,x,b,E,z,ee,te){te||(te=new go.Point);var oe=ne-y,re=b-z,ie=NaN,ue=NaN;if(oe===0)if(re===0)ne===y&&(ie=ne,ue=a);else{var le=(E-ee)/re,$e=E-le*b;ie=ne,ue=le*ie+$e}else if(re===0){var Ne=(a-x)/oe,lt=a-Ne*ne;ie=b,ue=Ne*ie+lt}else{var Ne=(a-x)/oe,le=(E-ee)/re,lt=a-Ne*ne,$e=E-le*b;ie=($e-lt)/(Ne-le),ue=Ne*ie+lt}return te.x=ie,te.y=ue,te}function Ye(ne,a,y,x,b,E,z,ee,te,oe,re,ie,ue,le){var $e=1-te,Ne=te,lt=ne*$e+y*Ne,ht=a*$e+x*Ne,Vt=y*$e+b*Ne,Fe=x*$e+E*Ne,et=b*$e+z*Ne,rt=E*$e+ee*Ne,He=lt*$e+Vt*Ne,_e=ht*$e+Fe*Ne,St=Vt*$e+et*Ne,bt=Fe*$e+rt*Ne,Ot=He*$e+St*Ne,_t=_e*$e+bt*Ne;oe.x=lt,oe.y=ht,re.x=He,re.y=_e,ie.x=Ot,ie.y=_t,ue.x=St,ue.y=bt,le.x=et,le.y=rt}var ce=new go.Spot(.156,.156),Xe=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ee("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*me,E=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&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),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=ce,b.spot2=Xe,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,me*a,0,a,(1-me)*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,me*y,(1-me)*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,me*y,me*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-me)*a,0,0,(1-me)*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 Ee("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 E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=ce,E.spot2=Xe,E.defaultStretch=go.GraphObject.Uniform,E}),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 Ee("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ee("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 E=x%360;E<0&&(E+=360);var z=b%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,E,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=me/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ee("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,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ee("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,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ee("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 E=a/2,z=y/2,ee=Math.atan2(y,a),te=x-Math.min(Math.cos(ee)*x/2,E),oe=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,re=new go.PathFigure(te,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),re.add(new go.PathSegment(go.PathSegment.Line,a-te,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,te,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ee("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,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ee("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,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ee("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,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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,me*a,0,a,(.5-me/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+me/2)*y,me*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 E=.2,z=.3,ee=0,te=E*me;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z+.05)*a,(.5-te+ee-.02)*y)),E=.2,z=0,ee=-.3,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),E=.2,z=-.3,ee=0,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z-.05)*a,(.5-te+ee-.02)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*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 E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,E*a,E*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)),ee=.75,b=new go.PathFigure((z+E)*a,ee*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).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=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure(z*a,(ee-E)*y);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),E=.4,b=me*.4;var oe=ae(),re=ae(),ie=ae(),ue=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,oe,re,ie,ue,ue);var le=ae(),$e=ae(),Ne=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,ue,ue,Ne,le,$e);var lt=ae(),ht=ae(),Vt=ae();Ye(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,lt,ht,Vt,ue,ue);var Fe=ae(),et=ae(),rt=ae();return Ye(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,ue,ue,rt,Fe,et),te.add(new go.PathSegment(go.PathSegment.Move,rt.x*a,rt.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,Fe.x*a,Fe.y*y,et.x*a,et.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,rt.x*a,rt.y*y).close()),te.add(new go.PathSegment(go.PathSegment.Move,Vt.x*a,Vt.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Ne.x*a,Ne.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,le.x*a,le.y*y,$e.x*a,$e.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,Vt.x*a,Vt.y*y,lt.x*a,lt.y*y,ht.x*a,ht.y*y).close()),fe(oe),fe(re),fe(ie),fe(ue),fe(le),fe($e),fe(Ne),fe(lt),fe(ht),fe(Vt),fe(Fe),fe(et),fe(rt),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 Ee("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,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.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=me*.4,E=.4,z=.5,ee=.5,te=ae(),oe=ae(),re=ae(),ie=ae(),ue=new go.PathFigure((z-E)*a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,re,ie,oe,te,te),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y));var le=ge(oe.x,oe.y);Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,te,te,oe,re,ie);var $e=ge(oe.x,oe.y);ue.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.95*.9)*a,le.y*.1*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,le.y*.1*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*a,($e.y*.1+.05*.9)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,$e.x*a,$e.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),E=.35,b=me*.35;var Ne=new go.PathFigure(z*a,(ee-E)*y,!1);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y));var lt=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(lt),fe(te),fe(oe),fe(re),fe(ie),fe(le),fe($e),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,E=0,z=-.125,ee=b*me,te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y,(.5+ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,ee=b*me;var te=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y,(.5+ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y,(.5-ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y));var te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(te),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 Ee("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ee("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 E=(1-x)*a,z=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var re=qe(0,ee/y,1,ee/y,E/a,1,1,.5,ae());return te.spot2=new go.Spot(re.x,re.y),fe(re),te}),go.Shape.setFigureParameter("Arrow2",0,new Ee("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ee("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 E=a-x,z=(y-b)/2,ee=z+b,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var re=qe(0,ee/y,1,ee/y,E/a,1,1,.5,ae());return te.spot2=new go.Spot(re.x,re.y),fe(re),te}),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 Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var te=qe(0,.5,.3,0,0,b/y,.1,b/y,ae());return z.spot1=new go.Spot(te.x,te.y),te=qe(.7,1,1,.5,0,E/y,1,E/y,te),z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ee("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ee("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 E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),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,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=qe(0,.5,.3,ee/y,0,E/y,1,E/y,ae());return oe.spot1=new go.Spot(ie.x,ie.y),ie=qe(.7,te/y,1,.5,0,z/y,1,z/y,ie),oe.spot2=new go.Spot(ie.x,ie.y),fe(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var te=qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ee("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ee("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 E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),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,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,E/y);var ie=qe(.7,te/y,1,.5,0,z/y,1,z/y,ae());return oe.spot2=new go.Spot(ie.x,ie.y),fe(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=qe(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),fe(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=qe(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),fe(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var te=qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ee("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,E=b+x;x>y&&(b=0,E=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var te=qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.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=me*.5,E=me*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*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 E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.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 E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.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 E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.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,E=me*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-me*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-me*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(a,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-me*x,(.5+E)*a,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*a,2*x,0,2*x-me*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,E=me*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-me*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-me*x));var ee=new go.PathFigure(0,y-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-me*x,(.5-E)*a,y-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*a,y-2*x,a,y-x-me*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,E=me*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0));var ee=new go.PathFigure(x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+me*x,0,2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*y,x+me*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,E=me*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ee=new go.PathFigure(a-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-me*x,0,a-2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*y,a-x-me*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 E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.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 E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.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,E=.1,z=me*b,ee=me*E,te=.5,oe=.1,re=new go.PathFigure(te*a,(oe+E)*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,oe*y,(te-z)*a,(oe+E)*y,(te-b)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-E)*y,(te-b)*a,(oe-ee)*y,(te-z)*a,(oe-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,oe*y,(te+z)*a,(oe-E)*y,(te+b)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+E)*y,(te+b)*a,(oe+ee)*y,(te+z)*a,(oe+E)*y));var ie=.05,ue=me*ie;te=.05,oe=.25;var le=new go.PathFigure(.5*a,.2*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),te=.95,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ie)*a,oe*y,(te+ue)*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ie=.025,ue=me*ie,te=.825,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ie=.05,ue=me*ie,te=.5,oe=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ie=.025,ue=me*ie,te=.175,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ie=.05,ue=me*ie,te=.05,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y,(te-ue)*a,(oe-ie)*y)),le.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 Ee("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,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),E.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 E=new go.PathFigure(.5*a,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+E)*y,(.5+b)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*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=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*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 E=me*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+E)*a,0,a,(.2-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+E)*y,(.8+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));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("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.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 E=new go.PathFigure(.75*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.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 E=new go.PathFigure(a,.5*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.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)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=me*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var oe=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),oe.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*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 E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.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=me*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),E.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 E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.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 E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.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 E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ee=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ee),ee.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=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.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,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.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 E=new go.PathFigure(b*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),E.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=me*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.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=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,E*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var te=new go.PathFigure(.8*a,.75*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),te.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=me*.1,E=.1,z=.9,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var oe=new go.PathFigure((z+E)*a,ee*y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-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=me*.5,E=me*.4,z=me*.1,ee=.1,te=.9,oe=.5,re=new go.PathFigure(.8*a,.5*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+E)*y,(.4+b)*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,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-E)*y));var ie=new go.PathFigure((te+ee)*a,oe*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y,(te+z)*a,(oe+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,oe*y,(te-z)*a,(oe+ee)*y,(te-ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y,(te-z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,oe*y,(te+z)*a,(oe-ee)*y,(te+ee)*a,(oe-z)*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,E=me*b,z=0,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*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,E=me*b,z=0,ee=.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(ee-b)*y,.8*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+E)*y,(z+E+E)*a,(ee+b)*y)),te.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,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var re=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*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,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.2*a,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(ee-b)*y,.9*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.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=me*.1,E=.1,z=.1,ee=.5,te=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,ee*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,ee*y,z*a,(ee-E)*y,z*a,(ee+E)*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,E=y;a=a*.38,y=y*.6;var z=me*.8,ee=.8,te=0,oe=.5,re=(b-a)/2,ie=(E-y)/2,ue=new go.PathFigure(te*a+re,(oe+ee)*y+ie,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+re,oe*y+ie,te*a+re,(oe-ee)*y+ie,(te-ee+z*.5)*a+re,(oe-z)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te-ee+z*.5)*a+re,(oe+z)*y+ie,te*a+re,(oe+ee)*y+ie).close()),z=me*.4,ee=.4,te=.2,oe=.5;var le=new go.PathFigure(te*a+re,(oe+ee)*y+ie,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+re,oe*y+ie,te*a+re,(oe-ee)*y+ie,(te-ee+z*.5)*a+re,(oe-z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te-ee+z*.5)*a+re,(oe+z)*y+ie,te*a+re,(oe+ee)*y+ie).close()),z=me*.2,ee=.2,te=.5,oe=.5;var $e=new go.PathFigure((te-ee)*a+re,oe*y+ie,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),z=me*.4,ee=.4,te=.8,oe=.5;var Ne=new go.PathFigure(te*a+re,(oe-ee)*y+ie,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+re,oe*y+ie,te*a+re,(oe+ee)*y+ie,(te+ee-z*.5)*a+re,(oe+z)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te+ee-z*.5)*a+re,(oe-z)*y+ie,te*a+re,(oe-ee)*y+ie).close()),z=me*.8,ee=.8,te=1,oe=.5;var lt=new go.PathFigure(te*a+re,(oe-ee)*y+ie,!0);return x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+re,oe*y+ie,te*a+re,(oe+ee)*y+ie,(te+ee-z*.5)*a+re,(oe+z)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te+ee-z*.5)*a+re,(oe-z)*y+ie,te*a+re,(oe-ee)*y+ie).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 E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.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 E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.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=me*.4,E=.4,z=.5,ee=.5,te=ae(),oe=ae(),re=ae(),ie=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,oe,re,ie);var ue=ge(oe.x,oe.y),le=new go.PathFigure(oe.x*a,oe.y*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),Ye(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,re,ie,oe,te,te),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),b=me*.3,E=.3,Ye(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,re,ie,oe,te,te),le.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,ie.x*a,ie.y*y,re.x*a,re.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,oe,re,ie),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,ie.x*a,ie.y*y,re.x*a,re.y*y).close());var le=new go.PathFigure(.45*a,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),fe(te),fe(oe),fe(re),fe(ie),fe(ue),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 E(z,ee,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+te)*y).close())}return E(b,0,0),E(b,.4,0),E(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,E=0,z=0,ee=b*me,te=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,ue=.5,le=0,$e=new go.PathFigure(te*a,(1-oe)*y,!1);return x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*y,re*a,.7*y,re*a,ie*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue+E)*a,(le+E)*y,(.5+b+E)*a,(.5-ee+E)*y,(.5+ee+E)*a,(.5-b+E)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,.9*y)),$e.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),$e.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),$e.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*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 E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.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 E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,te=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,ue=z,le=z,$e=re*ue,Ne=re*le;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-ue)*a,te*y,(ee-($e+ue)/2)*a,(te+(le+Ne)/2)*y,(ee-ue)*a,(te+Ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-le)*y,(ee-ue)*a,(te-Ne)*y,(ee-$e)*a,(te-le)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+ue)*a,te*y,(ee+$e)*a,(te-le)*y,(ee+ue)*a,(te-Ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+ue)*a,(te+Ne)*y,(ee+($e+ue)/2)*a,(te+(le+Ne)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var lt=new go.PathFigure(.2*a,y,!1);x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var ht=new go.PathFigure(.8*a,y,!1);return x.add(ht),ht.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 E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),E.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 E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*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 E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.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 E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.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 E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=me*.1,te=.2,oe=.9,re=new go.PathFigure((te-z)*a,oe*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*y,(te-z)*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*y,(te+ee)*a,(oe-z)*y,(te+z)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*y,(te+z)*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*y,(te-ee)*a,(oe+z)*y,(te-z)*a,(oe+ee)*y).close()),z=.1,ee=me*.1,te=.8,oe=.9;var ie=new go.PathFigure((te-z)*a,oe*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*y,(te-z)*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*y,(te+ee)*a,(oe-z)*y,(te+z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*y,(te+z)*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*y,(te-ee)*a,(oe+z)*y,(te-z)*a,(oe+ee)*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 E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ee=new go.PathFigure(.5*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var te=.1,oe=me*.1,re=.1,ie=.9,ue=new go.PathFigure((re-te)*a,ie*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-te)*y,(re-te)*a,(ie-oe)*y,(re-oe)*a,(ie-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ie*y,(re+oe)*a,(ie-te)*y,(re+te)*a,(ie-oe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+te)*y,(re+te)*a,(ie+oe)*y,(re+oe)*a,(ie+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ie*y,(re-oe)*a,(ie+te)*y,(re-te)*a,(ie+oe)*y)),te=.1,oe=me*.1,re=.4,ie=.9;var le=new go.PathFigure((re-te)*a,ie*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-te)*y,(re-te)*a,(ie-oe)*y,(re-oe)*a,(ie-te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ie*y,(re+oe)*a,(ie-te)*y,(re+te)*a,(ie-oe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+te)*y,(re+te)*a,(ie+oe)*y,(re+oe)*a,(ie+te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ie*y,(re-oe)*a,(ie+te)*y,(re-te)*a,(ie+oe)*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 E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var re=.05,ie=me*.05,ue=.175,le=.95,ee=new go.PathFigure((ue-re)*a,le*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.375,le=.95,te=new go.PathFigure((ue-re)*a,le*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.625,le=.95,oe=new go.PathFigure((ue-re)*a,le*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.825,le=.95,$e=new go.PathFigure((ue-re)*a,le*y,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y).close());var Ne=new go.PathFigure(0,y,!1);return x.add(Ne),Ne.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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ee=.05,te=me*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*y,(oe-ee)*a,(re-te)*y,(oe-te)*a,(re-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*y,(oe+te)*a,(re-ee)*y,(oe+ee)*a,(re-te)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*y,(oe+ee)*a,(re+te)*y,(oe+te)*a,(re+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*y,(oe-te)*a,(re+ee)*y,(oe-ee)*a,(re+te)*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,E=me*.3,z=.5,ee=.7,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var oe=new go.PathFigure(0,.7*y,!1);return x.add(oe),oe.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 E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.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,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var oe=new go.PathFigure(.15*a,.5*y,!1);return x.add(oe),oe.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,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),b=.05,E=me*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-b)*a,ee*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),oe.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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.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 E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.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 E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ee=new go.PathFigure(.678*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var te=new go.PathFigure(.5*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),te.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 E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ee=new go.PathFigure(a*.612,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var te=new go.PathFigure(a*.816,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),te.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 E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ee=new go.PathFigure(a*.055,.18*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var te=new go.PathFigure(a*1,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),te.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 E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var te=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),te.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,E=b*me,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var ee=new go.PathFigure(a*.83,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var te=new go.PathFigure(a*.83,y*1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var oe=new go.PathFigure(a*.78,y*.05,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),oe.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*me,E=y*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(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 E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.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 E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,E=b*me,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(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 E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).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 E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.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")},43001: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 Ee={},it="5.0",ge={},ae=null,fe=!1,qe=!1,Ye=null,ce=!1,Xe=null,me=null,ot=0;ot4?parseFloat(Le):5};Ee.setHTML5Codebase=function(Le,be){me=Le,bt(Le,be)},Ee.setJavaCodebase=Ee.setJavaCodebaseVersion=Ee.isCompiledInstalled=Ee.setPreCompiledScriptPath=Ee.setPreCompiledResourcePath=function(){},Ee.setHTML5CodebaseVersion=function(Le,be){var Te=parseFloat(Le);if(Te!==NaN&&Te<5){console.log("The GeoGebra HTML5 codebase version "+Te+" is deprecated. Using version latest instead.");return}Xe=Le,St(Le,be)},Ee.getHTML5CodebaseVersion=function(){return ne},Ee.getParameters=function(){return ge},Ee.setFontsCSSURL=function(Le){z=Le},Ee.setGiacJSURL=function(Le){},Ee.setJNLPFile=function(Le){Re=Le},Ee.setJNLPBaseDir=function(Le){},Ee.inject=function(){function Le(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var be="auto",Te=ge.id,Pt,tt=!1,Ft=0;Ft=5)return!0;var Le=Ee.getAppletObject();return Le&&typeof Le.recalculateEnvironments=="function"?(Le.recalculateEnvironments(),!0):!1},Ee.startAnimation=function(){var Le=Ee.getAppletObject();return Le&&typeof Le.startAnimation=="function"?(Le.startAnimation(),!0):!1},Ee.stopAnimation=function(){var Le=Ee.getAppletObject();return Le&&typeof Le.stopAnimation=="function"?(Le.stopAnimation(),!0):!1},Ee.getAppletObject=function(){var Le=ge.id!==void 0?ge.id:"ggbApplet";return window[Le]},Ee.resize=function(){};var $e=function(Le,be,Te){var Pt=document.createElement("param");Pt.setAttribute("name",be),Pt.setAttribute("value",Te),Le.appendChild(Pt)},Ne=function(Le){return Le&&Le!=="false"},lt=function(Le,be,Te){te(ne)<=4.2&&(Te=!0);var Pt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Pt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var tt=document.createElement("div");tt.classList.add("appletParameters","notranslate");var Ft=be.width,de=be.height;if(be.disableAutoScale=be.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():be.disableAutoScale,be.width!==void 0)if(te(ne)<=4.4)Ne(be.showToolBar)&&(be.height-=7),Ne(be.showAlgebraInput)&&(be.height-=37),be.width<605&&Ne(be.showToolBar)&&(be.width=605,Ft=605);else{var Je=100;(Ne(be.showToolBar)||Ne(be.showMenuBar))&&(be.hasOwnProperty("customToolBar")&&(be.customToolbar=be.customToolBar),Je=Ne(be.showMenuBar)?245:155),Ft=5?(be.appletOnLoad=function(vt){var At=Le.querySelector(".ggb_preview");At&&At.parentNode.removeChild(At),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(kt),window.GGBT_wsf_view&&$(window).trigger("resize"),Ut(vt)},Ie||kt.appendChild(we)):tt.appendChild(we),kt.appendChild(tt),Ie||Le.appendChild(kt),setTimeout(function(){Ee.resize()},1)}else{var pe=document.createElement("div");pe.className="applet_scaler",pe.style.position="relative",pe.style.display="block",pe.appendChild(tt),Le.appendChild(pe),be.appletOnLoad=function(vt){Ee.resize(),Ut(vt)}}function ke(vt,At){At&&typeof At.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(vt,At.appletOnLoad):renderGGBElement(vt),Ot("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",At)}function Ze(vt,At){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:vt,params:At}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Pn){ke(Pn.article,Pn.params)}),html5AppletsToProcess=null)},te(ne)<5&&(vt.className+=" geogebraweb")):ke(vt,At)}if(Pt){scriptLoadStarted=!0;for(var dt=0;dt0?(Tt.remove(),kt.attr("id","fullscreencontent").show(),jQuery(Ut).append(kt),window.dispatchEvent(new Event("resize"))):lt(Tt,be,!1),window.GGBT_wsf_view.launchFullScreen(Ut)}else ze=Pt,lt(Le,be,!1);if(!window.GGBT_wsf_view)for(de=0;deLe/4*3&&(Tt=Le/4*3),Ut=Tt/5.8,Je.setAttribute("src",b),Je.setAttribute("width",Tt),Je.setAttribute("height",Ut);var kt=(Le-Tt)/2,Ie=(be-Ut)/2;Je.style.left=kt+"px",Je.style.top=Ie+"px",tt.appendChild(Je)}}return tt.appendChild(de),tt},He=function(Le){return Le=Le.toLowerCase(),Le==="html5"||Le==="screenshot"?Le:"html5"},_e=["web","webSimple","web3d","tablet","tablet3d","phone"],St=function(Le,be){if(ne=Le,be){bt(ne,!0);return}var Te=!fe;if(Te){var Pt=te(ne);!isNaN(Pt)&&Pt<4.4&&(Te=!1)}var tt,Ft;window.location.protocol.substr(0,4)==="http"?tt=window.location.protocol:tt="http:";var de=ne.indexOf("//");de>0?Ft=ne:de===0?Ft=tt+ne:Ft="https://www.geogebra.org/apps/5.2.814.0/";for(var Je in _e)if(ne.slice(_e[Je].length*-1)===_e[Je]||ne.slice((_e[Je].length+1)*-1)===_e[Je]+"/"){bt(Ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Te&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Ne(ge.showToolBar)&&!Ne(ge.showMenuBar)&&!Ne(ge.showAlgebraInput)&&!Ne(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Ft+="webSimple/":Ft+="web3d/",bt(Ft,!1)},bt=function(Le,be){if(Le.requirejs){We=Le;return}Le.slice(-1)!=="/"&&(Le+="/"),We=Le,be===null&&(be=Le.indexOf("http")===-1),De=be,a="web.nocache.js",y=!1;var Te=We.split("/");Te.length>1&&(!be&&Te[Te.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):_e.indexOf(Te[Te.length-2])>=0&&(a=Te[Te.length-2]+".nocache.js")),Te=Le.split("/"),ne=Te[Te.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 Pt=parseFloat(ne);Pt!==NaN&&Pt<5&&Le.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead."),St("5.0",be))},Ot=function(Le,be){window.console&&window.console.log&&(!be||typeof be.showLogging=="undefined"||be.showLogging&&be.showLogging!=="false")&&console.log(Le)};ge.material_id!==void 0?ie(_t):_t();function _t(){var Le=it;Xe!==null?Le=Xe:parseFloat(Le)<5&&(Le="5.0"),St(Le,!1),me!==null&&bt(me,De),ce=!0}return Ee},GGBAppletUtils=function(){"use strict";function Ee(){return window.GGBT_wsf_edit!==void 0}function it(ce,Xe){Xe!=1?(ce.style.transformOrigin="0% 0% 0px",ce.style.webkitTransformOrigin="0% 0% 0px",ce.style.transform="scale("+Xe+","+Xe+")",ce.style.webkitTransform="scale("+Xe+","+Xe+")",ce.style.maxWidth="initial",ce.querySelector(".ggb_preview")!==null&&(ce.querySelector(".ggb_preview").style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ce.style.transform="none",ce.style.webkitTransform="none")}function ge(ce,Xe,me,ot,Me,Re){var We=null;if(Re!=null&&Re!="")for(var De=ce.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+Re+" ")>-1){We=De;break}else De=De.parentNode;var ze=0,ne=0,a=0,y=0,x=0,b=0,E=0;if(We)ze=We.offsetWidth,ne=Math.max(ot?We.offsetWidth:0,We.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ze):(ze=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),ce){var z=ce.getBoundingClientRect();z.left>0&&z.left<=ze&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=ze-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return ce&&((me===void 0||!me)&&Xe>0&&Xe+y1&&(Re=!0)),Xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Re=!0),!(ce.hasOwnProperty("disableAutoScale")&&ce.disableAutoScale))Me=ae(ce,Xe,Re,me,ce.scaleContainerClass);else return ot;return Re&&(!ce.hasOwnProperty("scale")||ot===1)?Me:Math.min(ot,Me)}function qe(ce){var Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),ot=ce.getBoundingClientRect(),Me=(Xe-ot.width)/2,Re=(me-ot.height)/2;Re<0&&(Re=0),ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ce.style.left="40px":ce.style.left=Me+"px",ce.style.top=Re+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Re<40?ce.style.top="40px":ce.style.top=Re+"px",ce.style.left=Me+"px")}function Ye(ce,Xe){var me=ce.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ce)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var ot=fe(Xe,ce);Ee()&&me.setAttribute("data-param-scale",ot);for(var Me=null,Re=0;Re=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(Ee){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ee){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ee){var it=c[Ee];return it==null?null:it},r=d,webModule.__errFn=e}function B(){function Ee(ce){var Xe=ce.lastIndexOf(rb);Xe==-1&&(Xe=ce.length);var me=ce.indexOf(sb);me==-1&&(me=ce.length);var ot=ce.lastIndexOf(tb,Math.min(me,Xe));return ot>=O?ce.substring(O,ot+P):W}function it(ce){if(!ce.match(/^\w+:\/\//)){var Xe=o.createElement(ub);Xe.src=ce+vb,ce=Ee(Xe.src)}return ce}function ge(){var ce=__gwt_getMetaProperty(wb);return ce!=null?ce:W}function ae(){for(var ce=o.getElementsByTagName(_),Xe=O;XeO?ce[ce.length-P].href:W}function qe(){var ce=o.location;return ce.href==ce.protocol+zb+ce.host+ce.pathname+ce.search+ce.hash}var Ye=ge();return Ye==W&&(Ye=ae()),Ye==W&&(Ye=fe()),Ye==W&&qe()&&(Ye=Ee(o.location.href)),Ye=it(Ye),Ye}function C(Ee){return Ee.match(/^\//)||Ee.match(/^[a-zA-Z]+:\/\//)?Ee:webModule.__moduleBase+Ee}function D(){var Ee=[],it=O,ge=[],ae=[];function fe(ce){var Xe=ae[ce](),me=ge[ce];if(Xe in me)return Xe;var ot=[];for(var Me in me)ot[me[Me]]=Me;throw r&&r(ce,ot,Xe),null}if(__gwt_isKnownPropertyValue=function(ce,Xe){return Xe in ge[ce]},webModule.__getPropMap=function(){var ce={};for(var Xe in ge)ge.hasOwnProperty(Xe)&&(ce[Xe]=fe(Xe));return ce},webModule.__computePropValue=fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var qe;try{qe=Cb;var Ye=qe.indexOf(Db);Ye!=-1&&(it=parseInt(qe.substring(Ye+P),$),qe=qe.substring(O,Ye))}catch(ce){}return webModule.__softPermutationId=it,C(qe+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})()},46699:function(Ee,it,ge){"use strict";ge.d(it,{Ax:function(){return Ye},Ds:function(){return ce},KI:function(){return me},SI:function(){return qe},f1:function(){return fe}});var ae=ge(346);function fe(ot){let Me=!0;if(ot.length>0){for(let Re=0;Renew Promise((a,y)=>{var x=z=>{try{E(ne.next(z))}catch(ee){y(ee)}},b=z=>{try{E(ne.throw(z))}catch(ee){y(ee)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((ne=ne.apply(De,ze)).next())}),We=({data:De,className:ze,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ae.useRef)(null),ee=(0,ae.useRef)(null),te=(0,ae.useRef)(null),oe=(0,ae.useRef)(null),[re,ie]=(0,ae.useState)(!1),[ue,le]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&$e()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[De==null?void 0:De.visible]);const $e=()=>Me(void 0,null,function*(){ie(!0),le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Fe=yield(0,ot.ZJ)(De==null?void 0:De.src);z.current.src="",z.current.src=Fe,z.current.onload=function(){Vt()},ie(!1),le("")}),Ne=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",y()},lt=Fe=>Me(void 0,null,function*(){ie(!0),le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const et=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Fe.dataUrl}});et!=null&&et.id&&!E?(yield(0,me.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:et==null?void 0:et.id,settings:JSON.stringify(Fe.state)}})).status===0&&x():et!=null&&et.id&&x(et),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",ie(!1),le("")}),ht=()=>{const Fe=document.querySelector('a[href="https://markerjs.com/"]');Fe&&Fe.parentNode&&(Fe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(rt=>{const He=document.querySelector(rt.name);He&&He.setAttribute("title",rt.title)})},Vt=()=>{ee.current=new Xe.hP(z.current),ee.current.targetRoot=oe.current,ee.current.addEventListener("render",lt),ee.current.addEventListener("beforeclose",Ne),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),De!=null&&De.snapshotData&&ee.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ht()},300)};return ae.createElement(ae.Fragment,null,(De==null?void 0:De.visible)&&ae.createElement(ce.Z,{spinning:re,tip:ue,style:{position:"absolute"}},ae.createElement("div",{ref:oe,className:Ye()(fe.imageDimensions,ze,ne?fe.fullWidth:""),style:a},ae.createElement("img",{className:fe.img,ref:z}))))}},76562:function(Ee,it,ge){"use strict";var ae=ge(59301),fe=ge(95237),qe=ge(43604),Ye=ge(99313),ce=ge(3113),Xe=ge(91842),me=ge(99587),ot=ge(48136),Me=ge(59301);const Re=(0,ae.forwardRef)(({callback:We,showSaveButton:De,value:ze=""},ne)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +(self.webpackChunk=self.webpackChunk||[]).push([[4731],{26227:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return at}});var ae=ge(14809),fe=ge(59301),Qe={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"},Ye=Qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),at=me},41464:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return at}});var ae=ge(14809),fe=ge(59301),Qe={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"},Ye=Qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),at=me},33853:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return at}});var ae=ge(14809),fe=ge(59301),Qe={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"},Ye=Qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),at=me},38819:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return at}});var ae=ge(14809),fe=ge(59301),Qe={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"},Ye=Qe,ce=ge(7657),Xe=function(Re,We){return fe.createElement(ce.Z,(0,ae.Z)({},Re,{ref:We,icon:Ye}))},me=fe.forwardRef(Xe),at=me},99587:function(Ee,it){"use strict";it.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function Ee(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(Ee.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(Ee.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(Ee.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(Ee.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 Ee))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.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 it=[];function ge(ne,a){var y=it.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function ae(){var ne=it.pop();return ne===void 0?new go.Point:ne}function fe(ne){it.push(ne)}function Qe(ne,a,y,x,b,E,z,ee,te){te||(te=new go.Point);var oe=ne-y,re=b-z,ie=NaN,ue=NaN;if(oe===0)if(re===0)ne===y&&(ie=ne,ue=a);else{var le=(E-ee)/re,$e=E-le*b;ie=ne,ue=le*ie+$e}else if(re===0){var Ne=(a-x)/oe,lt=a-Ne*ne;ie=b,ue=Ne*ie+lt}else{var Ne=(a-x)/oe,le=(E-ee)/re,lt=a-Ne*ne,$e=E-le*b;ie=($e-lt)/(Ne-le),ue=Ne*ie+lt}return te.x=ie,te.y=ue,te}function Ye(ne,a,y,x,b,E,z,ee,te,oe,re,ie,ue,le){var $e=1-te,Ne=te,lt=ne*$e+y*Ne,ht=a*$e+x*Ne,Vt=y*$e+b*Ne,Fe=x*$e+E*Ne,qe=b*$e+z*Ne,rt=E*$e+ee*Ne,He=lt*$e+Vt*Ne,_e=ht*$e+Fe*Ne,St=Vt*$e+qe*Ne,bt=Fe*$e+rt*Ne,zt=He*$e+St*Ne,Zt=_e*$e+bt*Ne;oe.x=lt,oe.y=ht,re.x=He,re.y=_e,ie.x=zt,ie.y=Zt,ue.x=St,ue.y=bt,le.x=qe,le.y=rt}var ce=new go.Spot(.156,.156),Xe=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ee("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*me,E=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&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),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=ce,b.spot2=Xe,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,me*a,0,a,(1-me)*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,me*y,(1-me)*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,me*y,me*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-me)*a,0,0,(1-me)*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 Ee("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 E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.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())):E.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())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=ce,E.spot2=Xe,E.defaultStretch=go.GraphObject.Uniform,E}),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 Ee("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ee("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 E=x%360;E<0&&(E+=360);var z=b%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,E,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=me/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ee("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,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ee("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,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ee("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 E=a/2,z=y/2,ee=Math.atan2(y,a),te=x-Math.min(Math.cos(ee)*x/2,E),oe=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,re=new go.PathFigure(te,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),re.add(new go.PathSegment(go.PathSegment.Line,a-te,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,te,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ee("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,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ee("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,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ee("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,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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,me*a,0,a,(.5-me/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+me/2)*y,me*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 E=.2,z=.3,ee=0,te=E*me;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z+.05)*a,(.5-te+ee-.02)*y)),E=.2,z=0,ee=-.3,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),E=.2,z=-.3,ee=0,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z-.05)*a,(.5-te+ee-.02)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*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 E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,E*a,E*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)),ee=.75,b=new go.PathFigure((z+E)*a,ee*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).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=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure(z*a,(ee-E)*y);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),E=.4,b=me*.4;var oe=ae(),re=ae(),ie=ae(),ue=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,oe,re,ie,ue,ue);var le=ae(),$e=ae(),Ne=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,ue,ue,Ne,le,$e);var lt=ae(),ht=ae(),Vt=ae();Ye(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,lt,ht,Vt,ue,ue);var Fe=ae(),qe=ae(),rt=ae();return Ye(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,ue,ue,rt,Fe,qe),te.add(new go.PathSegment(go.PathSegment.Move,rt.x*a,rt.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,Fe.x*a,Fe.y*y,qe.x*a,qe.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,rt.x*a,rt.y*y).close()),te.add(new go.PathSegment(go.PathSegment.Move,Vt.x*a,Vt.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Ne.x*a,Ne.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,le.x*a,le.y*y,$e.x*a,$e.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,Vt.x*a,Vt.y*y,lt.x*a,lt.y*y,ht.x*a,ht.y*y).close()),fe(oe),fe(re),fe(ie),fe(ue),fe(le),fe($e),fe(Ne),fe(lt),fe(ht),fe(Vt),fe(Fe),fe(qe),fe(rt),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 Ee("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,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.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=me*.4,E=.4,z=.5,ee=.5,te=ae(),oe=ae(),re=ae(),ie=ae(),ue=new go.PathFigure((z-E)*a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,re,ie,oe,te,te),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y));var le=ge(oe.x,oe.y);Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,te,te,oe,re,ie);var $e=ge(oe.x,oe.y);ue.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.95*.9)*a,le.y*.1*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,le.y*.1*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Line,($e.x*.1+.9)*a,($e.y*.1+.05*.9)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,$e.x*a,$e.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),E=.35,b=me*.35;var Ne=new go.PathFigure(z*a,(ee-E)*y,!1);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y));var lt=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(lt),fe(te),fe(oe),fe(re),fe(ie),fe(le),fe($e),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,E=0,z=-.125,ee=b*me,te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y,(.5+ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,ee=b*me;var te=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y,(.5+ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y,(.5-ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y));var te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(te),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 Ee("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ee("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 E=(1-x)*a,z=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var re=Qe(0,ee/y,1,ee/y,E/a,1,1,.5,ae());return te.spot2=new go.Spot(re.x,re.y),fe(re),te}),go.Shape.setFigureParameter("Arrow2",0,new Ee("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ee("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 E=a-x,z=(y-b)/2,ee=z+b,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var re=Qe(0,ee/y,1,ee/y,E/a,1,1,.5,ae());return te.spot2=new go.Spot(re.x,re.y),fe(re),te}),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 Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var te=Qe(0,.5,.3,0,0,b/y,.1,b/y,ae());return z.spot1=new go.Spot(te.x,te.y),te=Qe(.7,1,1,.5,0,E/y,1,E/y,te),z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ee("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ee("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 E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),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,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=Qe(0,.5,.3,ee/y,0,E/y,1,E/y,ae());return oe.spot1=new go.Spot(ie.x,ie.y),ie=Qe(.7,te/y,1,.5,0,z/y,1,z/y,ie),oe.spot2=new go.Spot(ie.x,ie.y),fe(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var te=Qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ee("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ee("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 E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),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,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,E/y);var ie=Qe(.7,te/y,1,.5,0,z/y,1,z/y,ae());return oe.spot2=new go.Spot(ie.x,ie.y),fe(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Qe(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),fe(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=Qe(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),fe(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ee("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,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var te=Qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ee("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,E=b+x;x>y&&(b=0,E=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var te=Qe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(te.x,te.y),fe(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new Ee("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,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.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=me*.5,E=me*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*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 E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.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 E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.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 E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.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,E=me*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-me*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-me*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(a,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-me*x,(.5+E)*a,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*a,2*x,0,2*x-me*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,E=me*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-me*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-me*x));var ee=new go.PathFigure(0,y-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-me*x,(.5-E)*a,y-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*a,y-2*x,a,y-x-me*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,E=me*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0));var ee=new go.PathFigure(x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+me*x,0,2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*y,x+me*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,E=me*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ee=new go.PathFigure(a-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-me*x,0,a-2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*y,a-x-me*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 E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.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 E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.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,E=.1,z=me*b,ee=me*E,te=.5,oe=.1,re=new go.PathFigure(te*a,(oe+E)*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,oe*y,(te-z)*a,(oe+E)*y,(te-b)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-E)*y,(te-b)*a,(oe-ee)*y,(te-z)*a,(oe-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,oe*y,(te+z)*a,(oe-E)*y,(te+b)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+E)*y,(te+b)*a,(oe+ee)*y,(te+z)*a,(oe+E)*y));var ie=.05,ue=me*ie;te=.05,oe=.25;var le=new go.PathFigure(.5*a,.2*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),te=.95,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ie)*a,oe*y,(te+ue)*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ie=.025,ue=me*ie,te=.825,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ie=.05,ue=me*ie,te=.5,oe=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ie=.025,ue=me*ie,te=.175,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te+ie)*a,(oe-ue)*y,(te+ue)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ie)*a,oe*y,(te-ue)*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ie=.05,ue=me*ie,te=.05,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ie)*y,(te-ie)*a,(oe-ue)*y,(te-ue)*a,(oe-ie)*y)),le.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 Ee("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,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),E.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 E=new go.PathFigure(.5*a,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+E)*y,(.5+b)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*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=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*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 E=me*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+E)*a,0,a,(.2-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+E)*y,(.8+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));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("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.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 E=new go.PathFigure(.75*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.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 E=new go.PathFigure(a,.5*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.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)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=me*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var oe=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),oe.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*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 E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.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=me*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),E.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 E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.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 E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.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 E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ee=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ee),ee.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=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.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,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.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 E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.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 E=new go.PathFigure(b*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),E.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=me*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.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=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,E*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var te=new go.PathFigure(.8*a,.75*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),te.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=me*.1,E=.1,z=.9,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var oe=new go.PathFigure((z+E)*a,ee*y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-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=me*.5,E=me*.4,z=me*.1,ee=.1,te=.9,oe=.5,re=new go.PathFigure(.8*a,.5*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+E)*y,(.4+b)*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,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-E)*y));var ie=new go.PathFigure((te+ee)*a,oe*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y,(te+z)*a,(oe+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,oe*y,(te-z)*a,(oe+ee)*y,(te-ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y,(te-z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,oe*y,(te+z)*a,(oe-ee)*y,(te+ee)*a,(oe-z)*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,E=me*b,z=0,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*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,E=me*b,z=0,ee=.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(ee-b)*y,.8*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+E)*y,(z+E+E)*a,(ee+b)*y)),te.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,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var re=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*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,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.2*a,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(ee-b)*y,.9*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.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=me*.1,E=.1,z=.1,ee=.5,te=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,ee*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,ee*y,z*a,(ee-E)*y,z*a,(ee+E)*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,E=y;a=a*.38,y=y*.6;var z=me*.8,ee=.8,te=0,oe=.5,re=(b-a)/2,ie=(E-y)/2,ue=new go.PathFigure(te*a+re,(oe+ee)*y+ie,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+re,oe*y+ie,te*a+re,(oe-ee)*y+ie,(te-ee+z*.5)*a+re,(oe-z)*y+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te-ee+z*.5)*a+re,(oe+z)*y+ie,te*a+re,(oe+ee)*y+ie).close()),z=me*.4,ee=.4,te=.2,oe=.5;var le=new go.PathFigure(te*a+re,(oe+ee)*y+ie,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+re,oe*y+ie,te*a+re,(oe-ee)*y+ie,(te-ee+z*.5)*a+re,(oe-z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te-ee+z*.5)*a+re,(oe+z)*y+ie,te*a+re,(oe+ee)*y+ie).close()),z=me*.2,ee=.2,te=.5,oe=.5;var $e=new go.PathFigure((te-ee)*a+re,oe*y+ie,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te-ee)*a+re,(oe-z)*y+ie,(te-z)*a+re,(oe-ee)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+re,oe*y+ie,(te-z)*a+re,(oe+ee)*y+ie,(te-ee)*a+re,(oe+z)*y+ie)),z=me*.4,ee=.4,te=.8,oe=.5;var Ne=new go.PathFigure(te*a+re,(oe-ee)*y+ie,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+re,oe*y+ie,te*a+re,(oe+ee)*y+ie,(te+ee-z*.5)*a+re,(oe+z)*y+ie)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te+ee-z*.5)*a+re,(oe-z)*y+ie,te*a+re,(oe-ee)*y+ie).close()),z=me*.8,ee=.8,te=1,oe=.5;var lt=new go.PathFigure(te*a+re,(oe-ee)*y+ie,!0);return x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+re,oe*y+ie,(te+z)*a+re,(oe-ee)*y+ie,(te+ee)*a+re,(oe-z)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe+ee)*y+ie,(te+ee)*a+re,(oe+z)*y+ie,(te+z)*a+re,(oe+ee)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+re,oe*y+ie,te*a+re,(oe+ee)*y+ie,(te+ee-z*.5)*a+re,(oe+z)*y+ie)),lt.add(new go.PathSegment(go.PathSegment.Bezier,te*a+re,(oe-ee)*y+ie,(te+ee-z*.5)*a+re,(oe-z)*y+ie,te*a+re,(oe-ee)*y+ie).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 E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.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 E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.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=me*.4,E=.4,z=.5,ee=.5,te=ae(),oe=ae(),re=ae(),ie=ae();Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,oe,re,ie);var ue=ge(oe.x,oe.y),le=new go.PathFigure(oe.x*a,oe.y*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),Ye(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,re,ie,oe,te,te),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),b=me*.3,E=.3,Ye(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,re,ie,oe,te,te),le.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,ie.x*a,ie.y*y,re.x*a,re.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Ye(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,oe,re,ie),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,ie.x*a,ie.y*y,re.x*a,re.y*y).close());var le=new go.PathFigure(.45*a,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),fe(te),fe(oe),fe(re),fe(ie),fe(ue),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 E(z,ee,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+te)*y).close())}return E(b,0,0),E(b,.4,0),E(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,E=0,z=0,ee=b*me,te=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,ue=.5,le=0,$e=new go.PathFigure(te*a,(1-oe)*y,!1);return x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*y,re*a,.7*y,re*a,ie*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue+E)*a,(le+E)*y,(.5+b+E)*a,(.5-ee+E)*y,(.5+ee+E)*a,(.5-b+E)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,.9*y)),$e.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),$e.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),$e.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*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 E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.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 E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,te=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,ue=z,le=z,$e=re*ue,Ne=re*le;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-ue)*a,te*y,(ee-($e+ue)/2)*a,(te+(le+Ne)/2)*y,(ee-ue)*a,(te+Ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-le)*y,(ee-ue)*a,(te-Ne)*y,(ee-$e)*a,(te-le)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+ue)*a,te*y,(ee+$e)*a,(te-le)*y,(ee+ue)*a,(te-Ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+ue)*a,(te+Ne)*y,(ee+($e+ue)/2)*a,(te+(le+Ne)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var lt=new go.PathFigure(.2*a,y,!1);x.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var ht=new go.PathFigure(.8*a,y,!1);return x.add(ht),ht.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 E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),E.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 E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*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 E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.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 E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.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 E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=me*.1,te=.2,oe=.9,re=new go.PathFigure((te-z)*a,oe*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*y,(te-z)*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*y,(te+ee)*a,(oe-z)*y,(te+z)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*y,(te+z)*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*y,(te-ee)*a,(oe+z)*y,(te-z)*a,(oe+ee)*y).close()),z=.1,ee=me*.1,te=.8,oe=.9;var ie=new go.PathFigure((te-z)*a,oe*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*y,(te-z)*a,(oe-ee)*y,(te-ee)*a,(oe-z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*y,(te+ee)*a,(oe-z)*y,(te+z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*y,(te+z)*a,(oe+ee)*y,(te+ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*y,(te-ee)*a,(oe+z)*y,(te-z)*a,(oe+ee)*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 E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ee=new go.PathFigure(.5*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var te=.1,oe=me*.1,re=.1,ie=.9,ue=new go.PathFigure((re-te)*a,ie*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-te)*y,(re-te)*a,(ie-oe)*y,(re-oe)*a,(ie-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ie*y,(re+oe)*a,(ie-te)*y,(re+te)*a,(ie-oe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+te)*y,(re+te)*a,(ie+oe)*y,(re+oe)*a,(ie+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ie*y,(re-oe)*a,(ie+te)*y,(re-te)*a,(ie+oe)*y)),te=.1,oe=me*.1,re=.4,ie=.9;var le=new go.PathFigure((re-te)*a,ie*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-te)*y,(re-te)*a,(ie-oe)*y,(re-oe)*a,(ie-te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ie*y,(re+oe)*a,(ie-te)*y,(re+te)*a,(ie-oe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+te)*y,(re+te)*a,(ie+oe)*y,(re+oe)*a,(ie+te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ie*y,(re-oe)*a,(ie+te)*y,(re-te)*a,(ie+oe)*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 E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var re=.05,ie=me*.05,ue=.175,le=.95,ee=new go.PathFigure((ue-re)*a,le*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.375,le=.95,te=new go.PathFigure((ue-re)*a,le*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.625,le=.95,oe=new go.PathFigure((ue-re)*a,le*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y));var re=.05,ie=me*.05,ue=.825,le=.95,$e=new go.PathFigure((ue-re)*a,le*y,!0);x.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le-re)*y,(ue-re)*a,(le-ie)*y,(ue-ie)*a,(le-re)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*a,le*y,(ue+ie)*a,(le-re)*y,(ue+re)*a,(le-ie)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(le+re)*y,(ue+re)*a,(le+ie)*y,(ue+ie)*a,(le+re)*y)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*a,le*y,(ue-ie)*a,(le+re)*y,(ue-re)*a,(le+ie)*y).close());var Ne=new go.PathFigure(0,y,!1);return x.add(Ne),Ne.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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ee=.05,te=me*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*y,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*y,(oe-ee)*a,(re-te)*y,(oe-te)*a,(re-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*y,(oe+te)*a,(re-ee)*y,(oe+ee)*a,(re-te)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*y,(oe+ee)*a,(re+te)*y,(oe+te)*a,(re+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*y,(oe-te)*a,(re+ee)*y,(oe-ee)*a,(re+te)*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,E=me*.3,z=.5,ee=.7,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var oe=new go.PathFigure(0,.7*y,!1);return x.add(oe),oe.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 E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.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,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var oe=new go.PathFigure(.15*a,.5*y,!1);return x.add(oe),oe.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,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),b=.05,E=me*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-b)*a,ee*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),oe.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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.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 E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.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 E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ee=new go.PathFigure(.678*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var te=new go.PathFigure(.5*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),te.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 E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ee=new go.PathFigure(a*.612,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var te=new go.PathFigure(a*.816,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),te.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 E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ee=new go.PathFigure(a*.055,.18*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var te=new go.PathFigure(a*1,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),te.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 E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var te=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),te.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,E=b*me,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var ee=new go.PathFigure(a*.83,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var te=new go.PathFigure(a*.83,y*1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var oe=new go.PathFigure(a*.78,y*.05,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),oe.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*me,E=y*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(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 E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.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 E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,E=b*me,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(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 E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).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 E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.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")},43001: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 Ee={},it="5.0",ge={},ae=null,fe=!1,Qe=!1,Ye=null,ce=!1,Xe=null,me=null,at=0;at4?parseFloat(Le):5};Ee.setHTML5Codebase=function(Le,be){me=Le,bt(Le,be)},Ee.setJavaCodebase=Ee.setJavaCodebaseVersion=Ee.isCompiledInstalled=Ee.setPreCompiledScriptPath=Ee.setPreCompiledResourcePath=function(){},Ee.setHTML5CodebaseVersion=function(Le,be){var Te=parseFloat(Le);if(Te!==NaN&&Te<5){console.log("The GeoGebra HTML5 codebase version "+Te+" is deprecated. Using version latest instead.");return}Xe=Le,St(Le,be)},Ee.getHTML5CodebaseVersion=function(){return ne},Ee.getParameters=function(){return ge},Ee.setFontsCSSURL=function(Le){z=Le},Ee.setGiacJSURL=function(Le){},Ee.setJNLPFile=function(Le){Re=Le},Ee.setJNLPBaseDir=function(Le){},Ee.inject=function(){function Le(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var be="auto",Te=ge.id,Pt,et=!1,Ft=0;Ft=5)return!0;var Le=Ee.getAppletObject();return Le&&typeof Le.recalculateEnvironments=="function"?(Le.recalculateEnvironments(),!0):!1},Ee.startAnimation=function(){var Le=Ee.getAppletObject();return Le&&typeof Le.startAnimation=="function"?(Le.startAnimation(),!0):!1},Ee.stopAnimation=function(){var Le=Ee.getAppletObject();return Le&&typeof Le.stopAnimation=="function"?(Le.stopAnimation(),!0):!1},Ee.getAppletObject=function(){var Le=ge.id!==void 0?ge.id:"ggbApplet";return window[Le]},Ee.resize=function(){};var $e=function(Le,be,Te){var Pt=document.createElement("param");Pt.setAttribute("name",be),Pt.setAttribute("value",Te),Le.appendChild(Pt)},Ne=function(Le){return Le&&Le!=="false"},lt=function(Le,be,Te){te(ne)<=4.2&&(Te=!0);var Pt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Pt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var et=document.createElement("div");et.classList.add("appletParameters","notranslate");var Ft=be.width,de=be.height;if(be.disableAutoScale=be.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():be.disableAutoScale,be.width!==void 0)if(te(ne)<=4.4)Ne(be.showToolBar)&&(be.height-=7),Ne(be.showAlgebraInput)&&(be.height-=37),be.width<605&&Ne(be.showToolBar)&&(be.width=605,Ft=605);else{var ot=100;(Ne(be.showToolBar)||Ne(be.showMenuBar))&&(be.hasOwnProperty("customToolBar")&&(be.customToolbar=be.customToolBar),ot=Ne(be.showMenuBar)?245:155),Ft=5?(be.appletOnLoad=function(vt){var Rt=Le.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Dt),window.GGBT_wsf_view&&$(window).trigger("resize"),Wt(vt)},Ie||Dt.appendChild(we)):et.appendChild(we),Dt.appendChild(et),Ie||Le.appendChild(Dt),setTimeout(function(){Ee.resize()},1)}else{var pe=document.createElement("div");pe.className="applet_scaler",pe.style.position="relative",pe.style.display="block",pe.appendChild(et),Le.appendChild(pe),be.appletOnLoad=function(vt){Ee.resize(),Wt(vt)}}function ke(vt,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(vt,Rt.appletOnLoad):renderGGBElement(vt),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function Ze(vt,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:vt,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Pn){ke(Pn.article,Pn.params)}),html5AppletsToProcess=null)},te(ne)<5&&(vt.className+=" geogebraweb")):ke(vt,Rt)}if(Pt){scriptLoadStarted=!0;for(var dt=0;dt0?(Bt.remove(),Dt.attr("id","fullscreencontent").show(),jQuery(Wt).append(Dt),window.dispatchEvent(new Event("resize"))):lt(Bt,be,!1),window.GGBT_wsf_view.launchFullScreen(Wt)}else ze=Pt,lt(Le,be,!1);if(!window.GGBT_wsf_view)for(de=0;deLe/4*3&&(Bt=Le/4*3),Wt=Bt/5.8,ot.setAttribute("src",b),ot.setAttribute("width",Bt),ot.setAttribute("height",Wt);var Dt=(Le-Bt)/2,Ie=(be-Wt)/2;ot.style.left=Dt+"px",ot.style.top=Ie+"px",et.appendChild(ot)}}return et.appendChild(de),et},He=function(Le){return Le=Le.toLowerCase(),Le==="html5"||Le==="screenshot"?Le:"html5"},_e=["web","webSimple","web3d","tablet","tablet3d","phone"],St=function(Le,be){if(ne=Le,be){bt(ne,!0);return}var Te=!fe;if(Te){var Pt=te(ne);!isNaN(Pt)&&Pt<4.4&&(Te=!1)}var et,Ft;window.location.protocol.substr(0,4)==="http"?et=window.location.protocol:et="http:";var de=ne.indexOf("//");de>0?Ft=ne:de===0?Ft=et+ne:Ft="https://www.geogebra.org/apps/5.2.814.0/";for(var ot in _e)if(ne.slice(_e[ot].length*-1)===_e[ot]||ne.slice((_e[ot].length+1)*-1)===_e[ot]+"/"){bt(Ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Te&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Ne(ge.showToolBar)&&!Ne(ge.showMenuBar)&&!Ne(ge.showAlgebraInput)&&!Ne(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Ft+="webSimple/":Ft+="web3d/",bt(Ft,!1)},bt=function(Le,be){if(Le.requirejs){We=Le;return}Le.slice(-1)!=="/"&&(Le+="/"),We=Le,be===null&&(be=Le.indexOf("http")===-1),De=be,a="web.nocache.js",y=!1;var Te=We.split("/");Te.length>1&&(!be&&Te[Te.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):_e.indexOf(Te[Te.length-2])>=0&&(a=Te[Te.length-2]+".nocache.js")),Te=Le.split("/"),ne=Te[Te.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 Pt=parseFloat(ne);Pt!==NaN&&Pt<5&&Le.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead."),St("5.0",be))},zt=function(Le,be){window.console&&window.console.log&&(!be||typeof be.showLogging=="undefined"||be.showLogging&&be.showLogging!=="false")&&console.log(Le)};ge.material_id!==void 0?ie(Zt):Zt();function Zt(){var Le=it;Xe!==null?Le=Xe:parseFloat(Le)<5&&(Le="5.0"),St(Le,!1),me!==null&&bt(me,De),ce=!0}return Ee},GGBAppletUtils=function(){"use strict";function Ee(){return window.GGBT_wsf_edit!==void 0}function it(ce,Xe){Xe!=1?(ce.style.transformOrigin="0% 0% 0px",ce.style.webkitTransformOrigin="0% 0% 0px",ce.style.transform="scale("+Xe+","+Xe+")",ce.style.webkitTransform="scale("+Xe+","+Xe+")",ce.style.maxWidth="initial",ce.querySelector(".ggb_preview")!==null&&(ce.querySelector(".ggb_preview").style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ce.style.transform="none",ce.style.webkitTransform="none")}function ge(ce,Xe,me,at,Me,Re){var We=null;if(Re!=null&&Re!="")for(var De=ce.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+Re+" ")>-1){We=De;break}else De=De.parentNode;var ze=0,ne=0,a=0,y=0,x=0,b=0,E=0;if(We)ze=We.offsetWidth,ne=Math.max(at?We.offsetWidth:0,We.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ze):(ze=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),ce){var z=ce.getBoundingClientRect();z.left>0&&z.left<=ze&&(Me===void 0||!Me)&&(document.dir==="rtl"?(x=ze-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return ce&&((me===void 0||!me)&&Xe>0&&Xe+y1&&(Re=!0)),Xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Re=!0),!(ce.hasOwnProperty("disableAutoScale")&&ce.disableAutoScale))Me=ae(ce,Xe,Re,me,ce.scaleContainerClass);else return at;return Re&&(!ce.hasOwnProperty("scale")||at===1)?Me:Math.min(at,Me)}function Qe(ce){var Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),at=ce.getBoundingClientRect(),Me=(Xe-at.width)/2,Re=(me-at.height)/2;Re<0&&(Re=0),ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ce.style.left="40px":ce.style.left=Me+"px",ce.style.top=Re+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Re<40?ce.style.top="40px":ce.style.top=Re+"px",ce.style.left=Me+"px")}function Ye(ce,Xe){var me=ce.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ce)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var at=fe(Xe,ce);Ee()&&me.setAttribute("data-param-scale",at);for(var Me=null,Re=0;Re=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(Ee){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ee){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ee){var it=c[Ee];return it==null?null:it},r=d,webModule.__errFn=e}function B(){function Ee(ce){var Xe=ce.lastIndexOf(rb);Xe==-1&&(Xe=ce.length);var me=ce.indexOf(sb);me==-1&&(me=ce.length);var at=ce.lastIndexOf(tb,Math.min(me,Xe));return at>=O?ce.substring(O,at+P):W}function it(ce){if(!ce.match(/^\w+:\/\//)){var Xe=o.createElement(ub);Xe.src=ce+vb,ce=Ee(Xe.src)}return ce}function ge(){var ce=__gwt_getMetaProperty(wb);return ce!=null?ce:W}function ae(){for(var ce=o.getElementsByTagName(_),Xe=O;XeO?ce[ce.length-P].href:W}function Qe(){var ce=o.location;return ce.href==ce.protocol+zb+ce.host+ce.pathname+ce.search+ce.hash}var Ye=ge();return Ye==W&&(Ye=ae()),Ye==W&&(Ye=fe()),Ye==W&&Qe()&&(Ye=Ee(o.location.href)),Ye=it(Ye),Ye}function C(Ee){return Ee.match(/^\//)||Ee.match(/^[a-zA-Z]+:\/\//)?Ee:webModule.__moduleBase+Ee}function D(){var Ee=[],it=O,ge=[],ae=[];function fe(ce){var Xe=ae[ce](),me=ge[ce];if(Xe in me)return Xe;var at=[];for(var Me in me)at[me[Me]]=Me;throw r&&r(ce,at,Xe),null}if(__gwt_isKnownPropertyValue=function(ce,Xe){return Xe in ge[ce]},webModule.__getPropMap=function(){var ce={};for(var Xe in ge)ge.hasOwnProperty(Xe)&&(ce[Xe]=fe(Xe));return ce},webModule.__computePropValue=fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Qe;try{Qe=Cb;var Ye=Qe.indexOf(Db);Ye!=-1&&(it=parseInt(Qe.substring(Ye+P),$),Qe=Qe.substring(O,Ye))}catch(ce){}return webModule.__softPermutationId=it,C(Qe+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})()},46699:function(Ee,it,ge){"use strict";ge.d(it,{Ax:function(){return Ye},Ds:function(){return ce},KI:function(){return me},SI:function(){return Qe},f1:function(){return fe}});var ae=ge(346);function fe(at){let Me=!0;if(at.length>0){for(let Re=0;Renew Promise((a,y)=>{var x=z=>{try{E(ne.next(z))}catch(ee){y(ee)}},b=z=>{try{E(ne.throw(z))}catch(ee){y(ee)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((ne=ne.apply(De,ze)).next())}),We=({data:De,className:ze,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ae.useRef)(null),ee=(0,ae.useRef)(null),te=(0,ae.useRef)(null),oe=(0,ae.useRef)(null),[re,ie]=(0,ae.useState)(!1),[ue,le]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&$e()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[De==null?void 0:De.visible]);const $e=()=>Me(void 0,null,function*(){ie(!0),le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Fe=yield(0,at.ZJ)(De==null?void 0:De.src);z.current.src="",z.current.src=Fe,z.current.onload=function(){Vt()},ie(!1),le("")}),Ne=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",y()},lt=Fe=>Me(void 0,null,function*(){ie(!0),le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const qe=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Fe.dataUrl}});qe!=null&&qe.id&&!E?(yield(0,me.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:qe==null?void 0:qe.id,settings:JSON.stringify(Fe.state)}})).status===0&&x():qe!=null&&qe.id&&x(qe),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",ie(!1),le("")}),ht=()=>{const Fe=document.querySelector('a[href="https://markerjs.com/"]');Fe&&Fe.parentNode&&(Fe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(rt=>{const He=document.querySelector(rt.name);He&&He.setAttribute("title",rt.title)})},Vt=()=>{ee.current=new Xe.hP(z.current),ee.current.targetRoot=oe.current,ee.current.addEventListener("render",lt),ee.current.addEventListener("beforeclose",Ne),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),De!=null&&De.snapshotData&&ee.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ht()},300)};return ae.createElement(ae.Fragment,null,(De==null?void 0:De.visible)&&ae.createElement(ce.Z,{spinning:re,tip:ue,style:{position:"absolute"}},ae.createElement("div",{ref:oe,className:Ye()(fe.imageDimensions,ze,ne?fe.fullWidth:""),style:a},ae.createElement("img",{className:fe.img,ref:z}))))}},76562:function(Ee,it,ge){"use strict";var ae=ge(59301),fe=ge(95237),Qe=ge(43604),Ye=ge(99313),ce=ge(3113),Xe=ge(91842),me=ge(99587),at=ge(48136),Me=ge(59301);const Re=(0,ae.forwardRef)(({callback:We,showSaveButton:De,value:ze=""},ne)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(fe.Z,{className:me.Z.lists,gutter:[10,10]},y.map((ee,te)=>Me.createElement(qe.Z,{flex:"110px",className:me.Z.item},Me.createElement("div",null,Me.createElement(Xe.Z,{value:`$$${ee.value}$$`}),ee.name),Me.createElement("div",{className:me.Z.children},ee.children.map((oe,re)=>Me.createElement("div",{key:re},Me.createElement("h1",null,oe.name),Me.createElement(fe.Z,{gutter:[10,10]},oe.data.map((ie,ue)=>Me.createElement(qe.Z,{key:ue,onClick:()=>b(ie),className:me.Z.diamond},Me.createElement(Xe.Z,{value:"`$$"+ie.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(fe.Z,{className:me.Z.lists,gutter:[10,10]},x.map((ee,te)=>Me.createElement(qe.Z,{flex:"110px",className:me.Z.item},Me.createElement("div",null,Me.createElement(Xe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),Me.createElement("div",{className:me.Z.children},ee.children.map((oe,re)=>Me.createElement("div",{key:re},oe.name&&Me.createElement("h1",null,oe.name),Me.createElement(fe.Z,{gutter:[10,10]},oe.data.map((ie,ue)=>Me.createElement(qe.Z,{key:ue,onClick:()=>b(ie),className:me.Z.diamond},Me.createElement(Xe.Z,{value:"`$$"+ie.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var te=ee.innerText;return We&&We(te),te};return(0,ae.useImperativeHandle)(ne,()=>({getData:z})),Me.createElement("div",{className:me.Z.mathWrap},Me.createElement(Ye.default,{defaultActiveKey:"1",items:E}),Me.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ze||""),De&&Me.createElement("div",{className:me.Z.button},Me.createElement(ce.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});it.Z=Re},69720:function(Ee,it,ge){"use strict";ge.d(it,{h:function(){return ee}});var ae=ge(59301),fe=ge(57809),qe=ge(78241),Ye=ge(3113),ce=ge(89780),Xe=ge.n(ce),me=ge(8336),ot=ge(12469),Me=Object.defineProperty,Re=Object.defineProperties,We=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(te,oe,re)=>oe in te?Me(te,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):te[oe]=re,y=(te,oe)=>{for(var re in oe||(oe={}))ze.call(oe,re)&&a(te,re,oe[re]);if(De)for(var re of De(oe))ne.call(oe,re)&&a(te,re,oe[re]);return te},x=(te,oe)=>Re(te,We(oe));const b=fe.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};it.Z=({callback:te,onCancel:oe})=>{const[re,ie]=(0,ae.useState)("python");function ue($e){ie(z[$e][1])}function le($e){te($e)}return ae.createElement(qe.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:le,style:{width:500}}),ae.createElement(qe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(fe.default,{getPopupContainer:$e=>$e.parentNode,onChange:ue},Object.keys(z).map($e=>ae.createElement(b,{key:$e,value:$e},z[$e][0])))),ae.createElement(qe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ee,{mode:re})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ye.ZP,{type:"ghost",onClick:oe},"\u53D6\u6D88")))};function ee({value:te,onChange:oe,mode:re,options:ie={}}){const ue=(0,ae.useRef)(),[le,$e]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(le){let Ne=function(lt){const ht=lt.getValue();oe&&oe(ht)};return le.on("change",Ne),()=>{le.off("change",Ne)}}},[le,oe]),(0,ae.useEffect)(()=>{le&&le.setOption("mode",re)},[le,re]),(0,ae.useEffect)(()=>{le&&(te!==le.getValue()||te==="")&&setTimeout(()=>{le.setValue(te||"")},300)},[le,te]),(0,ae.useEffect)(()=>{if(ue.current&&!le){const Ne=Xe().fromTextArea(ue.current,y({mode:re,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ie));$e(Ne)}},[ue.current,le]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:ue}))}},39793:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return Jn}});var ae=ge(59301),fe=ge(89780),qe=ge.n(fe),Ye=ge(76374),ce=ge(8336),Xe=ge(6313),me=ge(25717),ot=ge(99498),Me=ge(25419),Re=ge(67549),We=ge(91842),De=({value:he="",className:ve,showTextOnly:Se,showLines:nt,style:wt={}})=>{const ft=(0,ae.useMemo)(()=>"",[he]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:ft}}))},ze=ge(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(he,ve,Se)=>ve in he?ne(he,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):he[ve]=Se,ee=(he,ve)=>{for(var Se in ve||(ve={}))b.call(ve,Se)&&z(he,Se,ve[Se]);if(x)for(var Se of x(ve))E.call(ve,Se)&&z(he,Se,ve[Se]);return he},te=(he,ve)=>a(he,y(ve));let oe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function re({onActionCallback:he,title:ve,icon:Se,actionName:nt,className:wt="",children:ft}){function gn(){he(nt)}return ze.createElement("a",{title:ve,className:wt,onClick:gn},ze.createElement("i",{className:`${Se}`}),ft)}var ie=({watch:he,showNullButton:ve,showNullProgramButton:Se,onActionCallback:nt,fullScreen:wt,insertTemp:ft,hidetoolBar:gn,extraUse:Rt})=>{const Yt=[...oe,{title:`${he?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${he?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ze.createElement("ul",{className:"markdown-toolbar-container"},!gn&&Yt.map((vn,kn)=>ze.createElement("li",{key:kn},vn.actionName?ze.createElement(re,te(ee({},vn),{onActionCallback:nt})):ze.createElement("span",{className:"v-line"}))),ve?ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:nt},ze.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Se?ze.createElement(ze.Fragment,null,ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:nt},ze.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:nt},ze.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,ft&&ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${ft}`,onActionCallback:nt},ze.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Rt&&ze.createElement("li",null,Rt),ze.createElement("li",{className:"btn-full-screen"},ze.createElement(re,{icon:`${wt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:wt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:nt})))},ue=ge(91558),le=ge(78241),$e=ge(92832),Ne=ge(3113),lt=Object.defineProperty,ht=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,He=(he,ve,Se)=>ve in he?lt(he,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):he[ve]=Se,_e=(he,ve)=>{for(var Se in ve||(ve={}))et.call(ve,Se)&&He(he,Se,ve[Se]);if(Fe)for(var Se of Fe(ve))rt.call(ve,Se)&&He(he,Se,ve[Se]);return he},St=(he,ve)=>ht(he,Vt(ve));const bt={labelCol:{span:4},wrapperCol:{span:20}};var Ot=({callback:he,onCancel:ve})=>{function Se(nt){he(nt)}return ae.createElement(le.default,St(_e({},bt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Se,style:{width:500}}),ae.createElement(le.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement($e.default,null)),ae.createElement(le.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement($e.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ne.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))},_t=ge(69720),Le=ge(17077),be=ge(43418),Te=ge(95237),Pt=ge(9507),tt=ge(59301),Ft=({callback:he,onCancel:ve})=>{const Se=document.createElement("canvas"),nt=Se.getContext("2d");Se.width=1e3,Se.height=800,nt.fillStyle="#ffffff",nt.fillRect(0,0,Se.width,Se.height);const wt=Se.toDataURL("image/png");return tt.createElement(be.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},tt.createElement(Te.Z,{style:{height:"100vh"}},tt.createElement(Pt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:wt,visible:!0,title:String(Date.now())},onOk:ft=>{he({src:ft.url})},onClose:ve})))},de=ge(12378);function Je(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Je,go.CommandHandler),Je.prototype.canAlignSelection=function(){var he=this.diagram;return!(he===null||he.isReadOnly||he.isModelReadOnly||he.selection.count<2)},Je.prototype.alignLeft=function(){var he=this.diagram;he.startTransaction("aligning left");var ve=1/0;he.selection.each(function(Se){Se instanceof go.Link||(ve=Math.min(Se.position.x,ve))}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(ve,Se.position.y))}),he.commitTransaction("aligning left")},Je.prototype.alignRight=function(){var he=this.diagram;he.startTransaction("aligning right");var ve=-1/0;he.selection.each(function(Se){if(!(Se instanceof go.Link)){var nt=Se.actualBounds.x+Se.actualBounds.width;ve=Math.max(nt,ve)}}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(ve-Se.actualBounds.width,Se.position.y))}),he.commitTransaction("aligning right")},Je.prototype.alignTop=function(){var he=this.diagram;he.startTransaction("alignTop");var ve=1/0;he.selection.each(function(Se){Se instanceof go.Link||(ve=Math.min(Se.position.y,ve))}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(Se.position.x,ve))}),he.commitTransaction("alignTop")},Je.prototype.alignBottom=function(){var he=this.diagram;he.startTransaction("aligning bottom");var ve=-1/0;he.selection.each(function(Se){if(!(Se instanceof go.Link)){var nt=Se.actualBounds.y+Se.actualBounds.height;ve=Math.max(nt,ve)}}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(Se.actualBounds.x,ve-Se.actualBounds.height))}),he.commitTransaction("aligning bottom")},Je.prototype.alignCenterX=function(){var he=this.diagram,ve=he.selection.first();if(ve){he.startTransaction("aligning Center X");var Se=ve.actualBounds.x+ve.actualBounds.width/2;he.selection.each(function(nt){nt instanceof go.Link||nt.move(new go.Point(Se-nt.actualBounds.width/2,nt.actualBounds.y))}),he.commitTransaction("aligning Center X")}},Je.prototype.alignCenterY=function(){var he=this.diagram,ve=he.selection.first();if(ve){he.startTransaction("aligning Center Y");var Se=ve.actualBounds.y+ve.actualBounds.height/2;he.selection.each(function(nt){nt instanceof go.Link||nt.move(new go.Point(nt.actualBounds.x,Se-nt.actualBounds.height/2))}),he.commitTransaction("aligning Center Y")}},Je.prototype.alignColumn=function(he){var ve=this.diagram;ve.startTransaction("align Column"),he===void 0&&(he=0),he=parseFloat(he);var Se=new Array;ve.selection.each(function(Rt){Rt instanceof go.Link||Se.push(Rt)});for(var nt=0;nt0){for(var Rt=ft.elt(gn-1);Rt!==null&&Rt.isTreeExpanded&&!Rt.isTreeLeaf;){var Yt=this._sortTreeChildrenByY(Rt);Rt=Yt.last()}Rt!==null&&he.select(Rt)}else he.select(wt)}}else if(Se.key==="Down")if(ve.isTreeExpanded&&!ve.isTreeLeaf){var nt=this._sortTreeChildrenByY(ve).first();nt!==null&&he.select(nt)}else for(;ve!==null;){var wt=ve.findTreeParentNode();if(wt===null)break;var ft=this._sortTreeChildrenByY(wt),gn=ft.indexOf(ve);if(gnft.y?1:wt.xft.x?1:0}),ve},Je.prototype.copyToClipboard=function(he){go.CommandHandler.prototype.copyToClipboard.call(this,he),this._lastPasteOffset.set(this.pasteOffset)},Je.prototype.pasteFromClipboard=function(){var he=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(he,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),he},Object.defineProperty(Je.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(he){if(he!=="move"&&he!=="select"&&he!=="scroll"&&he!=="tree"&&he!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+he);this._arrowKeyBehavior=he}}),Object.defineProperty(Je.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(he){if(!(he instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+he);this._pasteOffset.set(he)}});var Tt=Je,Ut=ge(63720),kt=ge(43604),Ie=ge(38986),we={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},pe=ge(59301),ke=(he,ve,Se)=>new Promise((nt,wt)=>{var ft=Yt=>{try{Rt(Se.next(Yt))}catch(vn){wt(vn)}},gn=Yt=>{try{Rt(Se.throw(Yt))}catch(vn){wt(vn)}},Rt=Yt=>Yt.done?nt(Yt.value):Promise.resolve(Yt.value).then(ft,gn);Rt((Se=Se.apply(he,ve)).next())});function Ze({onCancel:he,callback:ve}){let Se=(0,ae.useRef)(),nt=(0,ae.useRef)(),wt=(0,ae.useRef)(),ft=(0,ae.useRef)(!1);const gn=(0,ae.useRef)(!1),[Rt,Yt]=(0,ae.useState)(0);function vn(){const Qe=de.bx.make,Jt={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"};Se.current=new de.S0(nt.current,{padding:20,grid:Qe(de.s_,"Grid",Qe(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qe(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ke=>{var ut=Ke.diagram.commandHandler.addTopLevelParts(Ke.diagram.selection,!0);ut||Ke.diagram.currentTool.doCancel()},commandHandler:Qe(Tt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ke=>{var ut=Ke.subject;ut.location=ut.location.copy().snapToGridPoint(Ke.diagram.grid.gridOrigin,Ke.diagram.grid.gridCellSize),setTimeout(()=>{Ke.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ke=>{var ut=Ke.subject;setTimeout(()=>{Ke.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ke=>{var ut=Ke.parameter.part;ut.invalidateConnectedLinks();var Ct=Ke.subject;Ke.diagram.toolManager.linkingTool.isForwards?Ct.toNode.invalidateConnectedLinks():Ct.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Se.current.nodeTemplate=Qe(de.NB,"Auto",{locationSpot:de.z6.Center,locationObjectName:"SHAPE",desiredSize:new de.$u(120,60),minSize:new de.$u(40,40),resizable:!0,resizeCellSize:new de.$u(10,10),rotatable:!0},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),new de.KX("desiredSize","size",de.$u.parse).makeTwoWay(de.$u.stringify),Qe(de.bn,{name:"SHAPE",fill:Jt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("figure"),new de.KX("fill"),new de.KX("stroke","borderColor"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Qe(de.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Qe(de.al,{margin:1,textAlign:"center",overflow:de.al.OverflowEllipsis,editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Se.current.nodeTemplate.toolTip=Qe("ToolTip",Qe(de.s_,"Vertical",{maxSize:new de.$u(200,NaN)},Qe(de.al,{font:"bold 10pt sans-serif",textAlign:"center"},new de.KX("text")),Qe(de.al,{font:"10pt sans-serif",textAlign:"center"},new de.KX("text","details"))));function An(Ke,ut){var Ct=(mt,Zt)=>{mt.handled=!0,mt.diagram.model.commit(Kt=>{var It=Zt.part.adornedPart,un=new de.E9().setRectSpot(It.actualBounds,Ke);un.subtract(It.location),un.scale(2,2),un.x+=Math.sign(un.x)*130,un.y+=Math.sign(un.y)*130,un.add(It.location),un.snapToGridPoint(mt.diagram.grid.gridOrigin,mt.diagram.grid.gridCellSize);var cn=Kt.copyNodeData(It.data);Kt.setGroupKeyForNodeData(cn,Kt.getGroupKeyForNodeData(It.data)),Kt.addNodeData(cn);var oa={from:It.key,to:Kt.getKeyForNodeData(cn)};Kt.addLinkData(oa);var Qn=mt.diagram.findNodeForData(cn);Qn.location=un,mt.diagram.select(Qn),setTimeout(()=>{mt.diagram.commandHandler.editTextBlock()},20)})};return Qe(de.bn,{figure:ut,alignment:Ke,alignmentFocus:Ke.opposite(),width:Ke.equals(de.z6.Top)||Ke.equals(de.z6.Bottom)?25:18,height:Ke.equals(de.z6.Top)||Ke.equals(de.z6.Bottom)?18:25,fill:"orange",stroke:Jt.white,strokeWidth:4,mouseEnter:(mt,Zt)=>Zt.fill="dodgerblue",mouseLeave:(mt,Zt)=>Zt.fill="orange",isActionable:!0,click:Ct,contextClick:Ct})}function Zn(Ke){return Qe(de.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:(ut,Ct)=>Ct.fill="dodgerblue",mouseLeave:(ut,Ct)=>Ct.fill="orange",click:(ut,Ct)=>{ut.diagram.commandHandler.showContextMenu(Ct.part.adornedPart)}},Ke||{})}Se.current.nodeTemplate.selectionAdornmentTemplate=Qe(de.uz,"Spot",Qe(de.Vm,{padding:10}),An(de.z6.Top,"TriangleUp"),An(de.z6.Left,"TriangleLeft"),An(de.z6.Right,"TriangleRight"),An(de.z6.Bottom,"TriangleDown"),Zn({alignment:new de.z6(.75,0)}));function Bn(Ke,ut){return(Ct,mt)=>{Ct.handled=!0,Ct.diagram.model.commit(Zt=>{Zt.set(mt.part.adornedPart.data,Ke,ut)})}}function se(Ke,ut){return ut||(ut="color"),Qe(de.bn,{width:16,height:16,stroke:"lightgray",fill:Ke,margin:1,background:"transparent",mouseEnter:(Ct,mt)=>mt.stroke="dodgerblue",mouseLeave:(Ct,mt)=>mt.stroke="lightgray",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ce(){return[Qe("ContextMenuButton",Qe(de.s_,"Horizontal",se(Jt.white,"fill"),se(Jt.beige,"fill"),se(Jt.extralightblue,"fill"),se(Jt.extralightred,"fill"))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",se(Jt.lightgray,"fill"),se(Jt.lightgreen,"fill"),se(Jt.lightblue,"fill"),se(Jt.lightred,"fill")))]}function xe(){return[Qe("ContextMenuButton",Qe(de.s_,"Horizontal",se(Jt.black),se(Jt.green),se(Jt.blue),se(Jt.red))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",se(Jt.white),se(Jt.magenta),se(Jt.purple),se(Jt.orange)))]}function Ge(Ke,ut){return ut||(ut="thickness"),Qe(de.bn,"LineH",{width:16,height:16,strokeWidth:Ke,margin:1,background:"transparent",mouseEnter:(Ct,mt)=>mt.background="dodgerblue",mouseLeave:(Ct,mt)=>mt.background="transparent",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ue(Ke,ut){return ut||(ut="dash"),Qe(de.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ke,margin:1,background:"transparent",mouseEnter:(Ct,mt)=>mt.background="dodgerblue",mouseLeave:(Ct,mt)=>mt.background="transparent",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ve(){return[Qe("ContextMenuButton",Qe(de.s_,"Horizontal",Ge(1),Ge(2),Ge(3),Ge(4))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",Ue(null),Ue([2,4]),Ue([4,4])))]}function je(Ke,ut){return ut||(ut="figure"),Qe(de.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ke,margin:1,background:"transparent",mouseEnter:(Ct,mt)=>mt.fill="dodgerblue",mouseLeave:(Ct,mt)=>mt.fill="lightgray",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}Se.current.nodeTemplate.contextMenu=Qe("ContextMenu",Qe("ContextMenuButton",Qe(de.s_,"Horizontal",je("Rectangle"),je("RoundedRectangle"),je("Ellipse"),je("Diamond"))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",je("Parallelogram2"),je("ManualOperation"),je("Procedure"),je("Cylinder1"))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",je("Terminator"),je("CreateRequest"),je("Document"),je("TriangleDown"))),Ce(),xe(),Ve()),Se.current.groupTemplate=Qe(de.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:de.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ke,ut)=>{var Ct=ut.addMembers(ut.diagram.selection,!0);Ct||ut.diagram.currentTool.doCancel()},avoidable:!1},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),Qe(de.s_,"Auto",{name:"BODY"},Qe(de.bn,{parameter1:10,fill:Jt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("fill"),new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Qe(de.Vm,{background:"transparent",margin:20})),Qe(de.al,{alignment:de.z6.Top,alignmentFocus:de.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new de.KX("text"),new de.KX("stroke","color"))),Se.current.groupTemplate.selectionAdornmentTemplate=Qe(de.uz,"Spot",Qe(de.s_,"Auto",Qe(de.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Qe(de.Vm,{margin:1.5})),Zn({alignment:de.z6.TopRight,alignmentFocus:de.z6.BottomRight})),Se.current.groupTemplate.contextMenu=Qe("ContextMenu",Ce(),xe(),Ve()),Se.current.linkTemplate=Qe(de.rU,{layerName:"Foreground",routing:de.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new de.KX("fromSpot","fromSpot",de.z6.parse),new de.KX("toSpot","toSpot",de.z6.parse),new de.KX("fromShortLength","dir",Ke=>Ke>=1?10:0),new de.KX("toShortLength","dir",Ke=>Ke>=1?10:0),new de.KX("points").makeTwoWay(),Qe(de.bn,{strokeWidth:2},new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Qe(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,0),segmentOrientation:de.rU.OrientAlong,alignmentFocus:de.z6.Right,figure:"circle",width:10,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke===1)),Qe(de.bn,{segmentIndex:-1,segmentOffset:new de.E9(-10,6),segmentOrientation:de.rU.OrientPlus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke>=1),new de.KX("width","thickness",Ke=>7+3*Ke),new de.KX("height","thickness",Ke=>7+3*Ke),new de.KX("segmentOffset","thickness",Ke=>new de.E9(-15,4+1.5*Ke))),Qe(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,-6),segmentOrientation:de.rU.OrientMinus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke===2),new de.KX("width","thickness",Ke=>7+3*Ke),new de.KX("height","thickness",Ke=>7+3*Ke),new de.KX("segmentOffset","thickness",Ke=>new de.E9(-15,4+1.5*Ke))),Qe(de.al,{alignmentFocus:new de.z6(0,1,-4,0),editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Se.current.linkTemplate.selectionAdornmentTemplate=Qe(de.uz,Qe(de.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Oe(2)},new de.KX("pathPattern","thickness",Oe)),Zn({alignmentFocus:new de.z6(0,0,-6,-4)}));function Oe(Ke){return Qe(de.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ke+4).toString()+" H3"})}function Et(Ke){var ut="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ke===0?ut="M0 0 M16 16 M0 8 L16 8":Ke===2&&(ut="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Qe(de.bn,{geometryString:ut,margin:2,background:"transparent",mouseEnter:(Ct,mt)=>mt.background="dodgerblue",mouseLeave:(Ct,mt)=>mt.background="transparent",click:Bn("dir",Ke),contextClick:Bn("dir",Ke)})}function $t(Ke){var ut=(Ct,mt)=>{Ct.handled=!0,Ct.diagram.model.commit(Zt=>{var Kt=mt.part.adornedPart;Zt.set(Kt.data,Ke?"toSpot":"fromSpot",de.z6.stringify(de.z6.AllSides)),(Ke?Kt.toNode:Kt.fromNode).invalidateConnectedLinks()})};return Qe(de.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ct,mt)=>mt.background="dodgerblue",mouseLeave:(Ct,mt)=>mt.background="transparent",click:ut,contextClick:ut})}function ye(Ke,ut){var Ct=0,mt=de.z6.RightSide;Ke.equals(de.z6.Top)?(Ct=270,mt=de.z6.TopSide):Ke.equals(de.z6.Left)?(Ct=180,mt=de.z6.LeftSide):Ke.equals(de.z6.Bottom)&&(Ct=90,mt=de.z6.BottomSide),ut||(Ct-=180);var Zt=(Kt,It)=>{Kt.handled=!0,Kt.diagram.model.commit(un=>{var cn=It.part.adornedPart;un.set(cn.data,ut?"toSpot":"fromSpot",de.z6.stringify(mt)),(ut?cn.toNode:cn.fromNode).invalidateConnectedLinks()})};return Qe(de.bn,{alignment:Ke,alignmentFocus:Ke.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ct,background:"transparent",mouseEnter:(Kt,It)=>It.background="dodgerblue",mouseLeave:(Kt,It)=>It.background="transparent",click:Zt,contextClick:Zt})}Se.current.linkTemplate.contextMenu=Qe("ContextMenu",xe(),Ve(),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",Et(0),Et(1),Et(2))),Qe("ContextMenuButton",Qe(de.s_,"Horizontal",Qe(de.s_,"Spot",$t(!1),ye(de.z6.Top,!1),ye(de.z6.Left,!1),ye(de.z6.Right,!1),ye(de.z6.Bottom,!1)),Qe(de.s_,"Spot",{margin:new de.Zt(0,0,0,2)},$t(!0),ye(de.z6.Top,!0),ye(de.z6.Left,!0),ye(de.z6.Right,!0),ye(de.z6.Bottom,!0)))));const nn=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(fe.Z,{className:me.Z.lists,gutter:[10,10]},y.map((ee,te)=>Me.createElement(Qe.Z,{flex:"110px",className:me.Z.item},Me.createElement("div",null,Me.createElement(Xe.Z,{value:`$$${ee.value}$$`}),ee.name),Me.createElement("div",{className:me.Z.children},ee.children.map((oe,re)=>Me.createElement("div",{key:re},Me.createElement("h1",null,oe.name),Me.createElement(fe.Z,{gutter:[10,10]},oe.data.map((ie,ue)=>Me.createElement(Qe.Z,{key:ue,onClick:()=>b(ie),className:me.Z.diamond},Me.createElement(Xe.Z,{value:"`$$"+ie.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(fe.Z,{className:me.Z.lists,gutter:[10,10]},x.map((ee,te)=>Me.createElement(Qe.Z,{flex:"110px",className:me.Z.item},Me.createElement("div",null,Me.createElement(Xe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),Me.createElement("div",{className:me.Z.children},ee.children.map((oe,re)=>Me.createElement("div",{key:re},oe.name&&Me.createElement("h1",null,oe.name),Me.createElement(fe.Z,{gutter:[10,10]},oe.data.map((ie,ue)=>Me.createElement(Qe.Z,{key:ue,onClick:()=>b(ie),className:me.Z.diamond},Me.createElement(Xe.Z,{value:"`$$"+ie.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var te=ee.innerText;return We&&We(te),te};return(0,ae.useImperativeHandle)(ne,()=>({getData:z})),Me.createElement("div",{className:me.Z.mathWrap},Me.createElement(Ye.default,{defaultActiveKey:"1",items:E}),Me.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ze||""),De&&Me.createElement("div",{className:me.Z.button},Me.createElement(ce.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});it.Z=Re},69720:function(Ee,it,ge){"use strict";ge.d(it,{h:function(){return ee}});var ae=ge(59301),fe=ge(57809),Qe=ge(78241),Ye=ge(3113),ce=ge(89780),Xe=ge.n(ce),me=ge(8336),at=ge(12469),Me=Object.defineProperty,Re=Object.defineProperties,We=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(te,oe,re)=>oe in te?Me(te,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):te[oe]=re,y=(te,oe)=>{for(var re in oe||(oe={}))ze.call(oe,re)&&a(te,re,oe[re]);if(De)for(var re of De(oe))ne.call(oe,re)&&a(te,re,oe[re]);return te},x=(te,oe)=>Re(te,We(oe));const b=fe.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};it.Z=({callback:te,onCancel:oe})=>{const[re,ie]=(0,ae.useState)("python");function ue($e){ie(z[$e][1])}function le($e){te($e)}return ae.createElement(Qe.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:le,style:{width:500}}),ae.createElement(Qe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(fe.default,{getPopupContainer:$e=>$e.parentNode,onChange:ue},Object.keys(z).map($e=>ae.createElement(b,{key:$e,value:$e},z[$e][0])))),ae.createElement(Qe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ee,{mode:re})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ye.ZP,{type:"ghost",onClick:oe},"\u53D6\u6D88")))};function ee({value:te,onChange:oe,mode:re,options:ie={}}){const ue=(0,ae.useRef)(),[le,$e]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(le){let Ne=function(lt){const ht=lt.getValue();oe&&oe(ht)};return le.on("change",Ne),()=>{le.off("change",Ne)}}},[le,oe]),(0,ae.useEffect)(()=>{le&&le.setOption("mode",re)},[le,re]),(0,ae.useEffect)(()=>{le&&(te!==le.getValue()||te==="")&&setTimeout(()=>{le.setValue(te||"")},300)},[le,te]),(0,ae.useEffect)(()=>{if(ue.current&&!le){const Ne=Xe().fromTextArea(ue.current,y({mode:re,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ie));$e(Ne)}},[ue.current,le]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:ue}))}},39793:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return Jn}});var ae=ge(59301),fe=ge(89780),Qe=ge.n(fe),Ye=ge(76374),ce=ge(8336),Xe=ge(6313),me=ge(25717),at=ge(99498),Me=ge(25419),Re=ge(67549),We=ge(91842),De=({value:he="",className:ve,showTextOnly:Se,showLines:tt,style:wt={}})=>{const ft=(0,ae.useMemo)(()=>"",[he]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:ft}}))},ze=ge(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(he,ve,Se)=>ve in he?ne(he,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):he[ve]=Se,ee=(he,ve)=>{for(var Se in ve||(ve={}))b.call(ve,Se)&&z(he,Se,ve[Se]);if(x)for(var Se of x(ve))E.call(ve,Se)&&z(he,Se,ve[Se]);return he},te=(he,ve)=>a(he,y(ve));let oe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function re({onActionCallback:he,title:ve,icon:Se,actionName:tt,className:wt="",children:ft}){function gn(){he(tt)}return ze.createElement("a",{title:ve,className:wt,onClick:gn},ze.createElement("i",{className:`${Se}`}),ft)}var ie=({watch:he,showNullButton:ve,showNullProgramButton:Se,onActionCallback:tt,fullScreen:wt,insertTemp:ft,hidetoolBar:gn,extraUse:kt})=>{const Yt=[...oe,{title:`${he?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${he?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ze.createElement("ul",{className:"markdown-toolbar-container"},!gn&&Yt.map((vn,kn)=>ze.createElement("li",{key:kn},vn.actionName?ze.createElement(re,te(ee({},vn),{onActionCallback:tt})):ze.createElement("span",{className:"v-line"}))),ve?ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:tt},ze.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Se?ze.createElement(ze.Fragment,null,ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:tt},ze.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:tt},ze.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,ft&&ze.createElement("li",null,ze.createElement(re,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${ft}`,onActionCallback:tt},ze.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kt&&ze.createElement("li",null,kt),ze.createElement("li",{className:"btn-full-screen"},ze.createElement(re,{icon:`${wt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:wt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:tt})))},ue=ge(91558),le=ge(78241),$e=ge(92832),Ne=ge(3113),lt=Object.defineProperty,ht=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,He=(he,ve,Se)=>ve in he?lt(he,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):he[ve]=Se,_e=(he,ve)=>{for(var Se in ve||(ve={}))qe.call(ve,Se)&&He(he,Se,ve[Se]);if(Fe)for(var Se of Fe(ve))rt.call(ve,Se)&&He(he,Se,ve[Se]);return he},St=(he,ve)=>ht(he,Vt(ve));const bt={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:he,onCancel:ve})=>{function Se(tt){he(tt)}return ae.createElement(le.default,St(_e({},bt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Se,style:{width:500}}),ae.createElement(le.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement($e.default,null)),ae.createElement(le.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement($e.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ne.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))},Zt=ge(69720),Le=ge(17077),be=ge(43418),Te=ge(95237),Pt=ge(9507),et=ge(59301),Ft=({callback:he,onCancel:ve})=>{const Se=document.createElement("canvas"),tt=Se.getContext("2d");Se.width=1e3,Se.height=800,tt.fillStyle="#ffffff",tt.fillRect(0,0,Se.width,Se.height);const wt=Se.toDataURL("image/png");return et.createElement(be.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},et.createElement(Te.Z,{style:{height:"100vh"}},et.createElement(Pt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:wt,visible:!0,title:String(Date.now())},onOk:ft=>{he({src:ft.url})},onClose:ve})))},de=ge(12378);function ot(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ot,go.CommandHandler),ot.prototype.canAlignSelection=function(){var he=this.diagram;return!(he===null||he.isReadOnly||he.isModelReadOnly||he.selection.count<2)},ot.prototype.alignLeft=function(){var he=this.diagram;he.startTransaction("aligning left");var ve=1/0;he.selection.each(function(Se){Se instanceof go.Link||(ve=Math.min(Se.position.x,ve))}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(ve,Se.position.y))}),he.commitTransaction("aligning left")},ot.prototype.alignRight=function(){var he=this.diagram;he.startTransaction("aligning right");var ve=-1/0;he.selection.each(function(Se){if(!(Se instanceof go.Link)){var tt=Se.actualBounds.x+Se.actualBounds.width;ve=Math.max(tt,ve)}}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(ve-Se.actualBounds.width,Se.position.y))}),he.commitTransaction("aligning right")},ot.prototype.alignTop=function(){var he=this.diagram;he.startTransaction("alignTop");var ve=1/0;he.selection.each(function(Se){Se instanceof go.Link||(ve=Math.min(Se.position.y,ve))}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(Se.position.x,ve))}),he.commitTransaction("alignTop")},ot.prototype.alignBottom=function(){var he=this.diagram;he.startTransaction("aligning bottom");var ve=-1/0;he.selection.each(function(Se){if(!(Se instanceof go.Link)){var tt=Se.actualBounds.y+Se.actualBounds.height;ve=Math.max(tt,ve)}}),he.selection.each(function(Se){Se instanceof go.Link||Se.move(new go.Point(Se.actualBounds.x,ve-Se.actualBounds.height))}),he.commitTransaction("aligning bottom")},ot.prototype.alignCenterX=function(){var he=this.diagram,ve=he.selection.first();if(ve){he.startTransaction("aligning Center X");var Se=ve.actualBounds.x+ve.actualBounds.width/2;he.selection.each(function(tt){tt instanceof go.Link||tt.move(new go.Point(Se-tt.actualBounds.width/2,tt.actualBounds.y))}),he.commitTransaction("aligning Center X")}},ot.prototype.alignCenterY=function(){var he=this.diagram,ve=he.selection.first();if(ve){he.startTransaction("aligning Center Y");var Se=ve.actualBounds.y+ve.actualBounds.height/2;he.selection.each(function(tt){tt instanceof go.Link||tt.move(new go.Point(tt.actualBounds.x,Se-tt.actualBounds.height/2))}),he.commitTransaction("aligning Center Y")}},ot.prototype.alignColumn=function(he){var ve=this.diagram;ve.startTransaction("align Column"),he===void 0&&(he=0),he=parseFloat(he);var Se=new Array;ve.selection.each(function(kt){kt instanceof go.Link||Se.push(kt)});for(var tt=0;tt0){for(var kt=ft.elt(gn-1);kt!==null&&kt.isTreeExpanded&&!kt.isTreeLeaf;){var Yt=this._sortTreeChildrenByY(kt);kt=Yt.last()}kt!==null&&he.select(kt)}else he.select(wt)}}else if(Se.key==="Down")if(ve.isTreeExpanded&&!ve.isTreeLeaf){var tt=this._sortTreeChildrenByY(ve).first();tt!==null&&he.select(tt)}else for(;ve!==null;){var wt=ve.findTreeParentNode();if(wt===null)break;var ft=this._sortTreeChildrenByY(wt),gn=ft.indexOf(ve);if(gnft.y?1:wt.xft.x?1:0}),ve},ot.prototype.copyToClipboard=function(he){go.CommandHandler.prototype.copyToClipboard.call(this,he),this._lastPasteOffset.set(this.pasteOffset)},ot.prototype.pasteFromClipboard=function(){var he=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(he,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),he},Object.defineProperty(ot.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(he){if(he!=="move"&&he!=="select"&&he!=="scroll"&&he!=="tree"&&he!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+he);this._arrowKeyBehavior=he}}),Object.defineProperty(ot.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(he){if(!(he instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+he);this._pasteOffset.set(he)}});var Bt=ot,Wt=ge(63720),Dt=ge(43604),Ie=ge(38986),we={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},pe=ge(59301),ke=(he,ve,Se)=>new Promise((tt,wt)=>{var ft=Yt=>{try{kt(Se.next(Yt))}catch(vn){wt(vn)}},gn=Yt=>{try{kt(Se.throw(Yt))}catch(vn){wt(vn)}},kt=Yt=>Yt.done?tt(Yt.value):Promise.resolve(Yt.value).then(ft,gn);kt((Se=Se.apply(he,ve)).next())});function Ze({onCancel:he,callback:ve}){let Se=(0,ae.useRef)(),tt=(0,ae.useRef)(),wt=(0,ae.useRef)(),ft=(0,ae.useRef)(!1);const gn=(0,ae.useRef)(!1),[kt,Yt]=(0,ae.useState)(0);function vn(){const Je=de.bx.make,Jt={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"};Se.current=new de.S0(tt.current,{padding:20,grid:Je(de.s_,"Grid",Je(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Je(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ke=>{var ut=Ke.diagram.commandHandler.addTopLevelParts(Ke.diagram.selection,!0);ut||Ke.diagram.currentTool.doCancel()},commandHandler:Je(Bt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ke=>{var ut=Ke.subject;ut.location=ut.location.copy().snapToGridPoint(Ke.diagram.grid.gridOrigin,Ke.diagram.grid.gridCellSize),setTimeout(()=>{Ke.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ke=>{var ut=Ke.subject;setTimeout(()=>{Ke.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ke=>{var ut=Ke.parameter.part;ut.invalidateConnectedLinks();var Et=Ke.subject;Ke.diagram.toolManager.linkingTool.isForwards?Et.toNode.invalidateConnectedLinks():Et.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Se.current.nodeTemplate=Je(de.NB,"Auto",{locationSpot:de.z6.Center,locationObjectName:"SHAPE",desiredSize:new de.$u(120,60),minSize:new de.$u(40,40),resizable:!0,resizeCellSize:new de.$u(10,10),rotatable:!0},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),new de.KX("desiredSize","size",de.$u.parse).makeTwoWay(de.$u.stringify),Je(de.bn,{name:"SHAPE",fill:Jt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("figure"),new de.KX("fill"),new de.KX("stroke","borderColor"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Je(de.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Je(de.al,{margin:1,textAlign:"center",overflow:de.al.OverflowEllipsis,editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Se.current.nodeTemplate.toolTip=Je("ToolTip",Je(de.s_,"Vertical",{maxSize:new de.$u(200,NaN)},Je(de.al,{font:"bold 10pt sans-serif",textAlign:"center"},new de.KX("text")),Je(de.al,{font:"10pt sans-serif",textAlign:"center"},new de.KX("text","details"))));function An(Ke,ut){var Et=(mt,Ut)=>{mt.handled=!0,mt.diagram.model.commit(Kt=>{var Tt=Ut.part.adornedPart,un=new de.E9().setRectSpot(Tt.actualBounds,Ke);un.subtract(Tt.location),un.scale(2,2),un.x+=Math.sign(un.x)*130,un.y+=Math.sign(un.y)*130,un.add(Tt.location),un.snapToGridPoint(mt.diagram.grid.gridOrigin,mt.diagram.grid.gridCellSize);var cn=Kt.copyNodeData(Tt.data);Kt.setGroupKeyForNodeData(cn,Kt.getGroupKeyForNodeData(Tt.data)),Kt.addNodeData(cn);var oa={from:Tt.key,to:Kt.getKeyForNodeData(cn)};Kt.addLinkData(oa);var Qn=mt.diagram.findNodeForData(cn);Qn.location=un,mt.diagram.select(Qn),setTimeout(()=>{mt.diagram.commandHandler.editTextBlock()},20)})};return Je(de.bn,{figure:ut,alignment:Ke,alignmentFocus:Ke.opposite(),width:Ke.equals(de.z6.Top)||Ke.equals(de.z6.Bottom)?25:18,height:Ke.equals(de.z6.Top)||Ke.equals(de.z6.Bottom)?18:25,fill:"orange",stroke:Jt.white,strokeWidth:4,mouseEnter:(mt,Ut)=>Ut.fill="dodgerblue",mouseLeave:(mt,Ut)=>Ut.fill="orange",isActionable:!0,click:Et,contextClick:Et})}function Zn(Ke){return Je(de.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:(ut,Et)=>Et.fill="dodgerblue",mouseLeave:(ut,Et)=>Et.fill="orange",click:(ut,Et)=>{ut.diagram.commandHandler.showContextMenu(Et.part.adornedPart)}},Ke||{})}Se.current.nodeTemplate.selectionAdornmentTemplate=Je(de.uz,"Spot",Je(de.Vm,{padding:10}),An(de.z6.Top,"TriangleUp"),An(de.z6.Left,"TriangleLeft"),An(de.z6.Right,"TriangleRight"),An(de.z6.Bottom,"TriangleDown"),Zn({alignment:new de.z6(.75,0)}));function Bn(Ke,ut){return(Et,mt)=>{Et.handled=!0,Et.diagram.model.commit(Ut=>{Ut.set(mt.part.adornedPart.data,Ke,ut)})}}function se(Ke,ut){return ut||(ut="color"),Je(de.bn,{width:16,height:16,stroke:"lightgray",fill:Ke,margin:1,background:"transparent",mouseEnter:(Et,mt)=>mt.stroke="dodgerblue",mouseLeave:(Et,mt)=>mt.stroke="lightgray",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ce(){return[Je("ContextMenuButton",Je(de.s_,"Horizontal",se(Jt.white,"fill"),se(Jt.beige,"fill"),se(Jt.extralightblue,"fill"),se(Jt.extralightred,"fill"))),Je("ContextMenuButton",Je(de.s_,"Horizontal",se(Jt.lightgray,"fill"),se(Jt.lightgreen,"fill"),se(Jt.lightblue,"fill"),se(Jt.lightred,"fill")))]}function xe(){return[Je("ContextMenuButton",Je(de.s_,"Horizontal",se(Jt.black),se(Jt.green),se(Jt.blue),se(Jt.red))),Je("ContextMenuButton",Je(de.s_,"Horizontal",se(Jt.white),se(Jt.magenta),se(Jt.purple),se(Jt.orange)))]}function Ge(Ke,ut){return ut||(ut="thickness"),Je(de.bn,"LineH",{width:16,height:16,strokeWidth:Ke,margin:1,background:"transparent",mouseEnter:(Et,mt)=>mt.background="dodgerblue",mouseLeave:(Et,mt)=>mt.background="transparent",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ue(Ke,ut){return ut||(ut="dash"),Je(de.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ke,margin:1,background:"transparent",mouseEnter:(Et,mt)=>mt.background="dodgerblue",mouseLeave:(Et,mt)=>mt.background="transparent",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}function Ve(){return[Je("ContextMenuButton",Je(de.s_,"Horizontal",Ge(1),Ge(2),Ge(3),Ge(4))),Je("ContextMenuButton",Je(de.s_,"Horizontal",Ue(null),Ue([2,4]),Ue([4,4])))]}function je(Ke,ut){return ut||(ut="figure"),Je(de.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ke,margin:1,background:"transparent",mouseEnter:(Et,mt)=>mt.fill="dodgerblue",mouseLeave:(Et,mt)=>mt.fill="lightgray",click:Bn(ut,Ke),contextClick:Bn(ut,Ke)})}Se.current.nodeTemplate.contextMenu=Je("ContextMenu",Je("ContextMenuButton",Je(de.s_,"Horizontal",je("Rectangle"),je("RoundedRectangle"),je("Ellipse"),je("Diamond"))),Je("ContextMenuButton",Je(de.s_,"Horizontal",je("Parallelogram2"),je("ManualOperation"),je("Procedure"),je("Cylinder1"))),Je("ContextMenuButton",Je(de.s_,"Horizontal",je("Terminator"),je("CreateRequest"),je("Document"),je("TriangleDown"))),Ce(),xe(),Ve()),Se.current.groupTemplate=Je(de.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:de.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ke,ut)=>{var Et=ut.addMembers(ut.diagram.selection,!0);Et||ut.diagram.currentTool.doCancel()},avoidable:!1},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),Je(de.s_,"Auto",{name:"BODY"},Je(de.bn,{parameter1:10,fill:Jt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("fill"),new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Je(de.Vm,{background:"transparent",margin:20})),Je(de.al,{alignment:de.z6.Top,alignmentFocus:de.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new de.KX("text"),new de.KX("stroke","color"))),Se.current.groupTemplate.selectionAdornmentTemplate=Je(de.uz,"Spot",Je(de.s_,"Auto",Je(de.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Je(de.Vm,{margin:1.5})),Zn({alignment:de.z6.TopRight,alignmentFocus:de.z6.BottomRight})),Se.current.groupTemplate.contextMenu=Je("ContextMenu",Ce(),xe(),Ve()),Se.current.linkTemplate=Je(de.rU,{layerName:"Foreground",routing:de.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new de.KX("fromSpot","fromSpot",de.z6.parse),new de.KX("toSpot","toSpot",de.z6.parse),new de.KX("fromShortLength","dir",Ke=>Ke>=1?10:0),new de.KX("toShortLength","dir",Ke=>Ke>=1?10:0),new de.KX("points").makeTwoWay(),Je(de.bn,{strokeWidth:2},new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Je(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,0),segmentOrientation:de.rU.OrientAlong,alignmentFocus:de.z6.Right,figure:"circle",width:10,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke===1)),Je(de.bn,{segmentIndex:-1,segmentOffset:new de.E9(-10,6),segmentOrientation:de.rU.OrientPlus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke>=1),new de.KX("width","thickness",Ke=>7+3*Ke),new de.KX("height","thickness",Ke=>7+3*Ke),new de.KX("segmentOffset","thickness",Ke=>new de.E9(-15,4+1.5*Ke))),Je(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,-6),segmentOrientation:de.rU.OrientMinus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",Ke=>Ke===2),new de.KX("width","thickness",Ke=>7+3*Ke),new de.KX("height","thickness",Ke=>7+3*Ke),new de.KX("segmentOffset","thickness",Ke=>new de.E9(-15,4+1.5*Ke))),Je(de.al,{alignmentFocus:new de.z6(0,1,-4,0),editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Se.current.linkTemplate.selectionAdornmentTemplate=Je(de.uz,Je(de.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Oe(2)},new de.KX("pathPattern","thickness",Oe)),Zn({alignmentFocus:new de.z6(0,0,-6,-4)}));function Oe(Ke){return Je(de.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ke+4).toString()+" H3"})}function $t(Ke){var ut="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ke===0?ut="M0 0 M16 16 M0 8 L16 8":Ke===2&&(ut="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Je(de.bn,{geometryString:ut,margin:2,background:"transparent",mouseEnter:(Et,mt)=>mt.background="dodgerblue",mouseLeave:(Et,mt)=>mt.background="transparent",click:Bn("dir",Ke),contextClick:Bn("dir",Ke)})}function Gt(Ke){var ut=(Et,mt)=>{Et.handled=!0,Et.diagram.model.commit(Ut=>{var Kt=mt.part.adornedPart;Ut.set(Kt.data,Ke?"toSpot":"fromSpot",de.z6.stringify(de.z6.AllSides)),(Ke?Kt.toNode:Kt.fromNode).invalidateConnectedLinks()})};return Je(de.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Et,mt)=>mt.background="dodgerblue",mouseLeave:(Et,mt)=>mt.background="transparent",click:ut,contextClick:ut})}function ye(Ke,ut){var Et=0,mt=de.z6.RightSide;Ke.equals(de.z6.Top)?(Et=270,mt=de.z6.TopSide):Ke.equals(de.z6.Left)?(Et=180,mt=de.z6.LeftSide):Ke.equals(de.z6.Bottom)&&(Et=90,mt=de.z6.BottomSide),ut||(Et-=180);var Ut=(Kt,Tt)=>{Kt.handled=!0,Kt.diagram.model.commit(un=>{var cn=Tt.part.adornedPart;un.set(cn.data,ut?"toSpot":"fromSpot",de.z6.stringify(mt)),(ut?cn.toNode:cn.fromNode).invalidateConnectedLinks()})};return Je(de.bn,{alignment:Ke,alignmentFocus:Ke.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Et,background:"transparent",mouseEnter:(Kt,Tt)=>Tt.background="dodgerblue",mouseLeave:(Kt,Tt)=>Tt.background="transparent",click:Ut,contextClick:Ut})}Se.current.linkTemplate.contextMenu=Je("ContextMenu",xe(),Ve(),Je("ContextMenuButton",Je(de.s_,"Horizontal",$t(0),$t(1),$t(2))),Je("ContextMenuButton",Je(de.s_,"Horizontal",Je(de.s_,"Spot",Gt(!1),ye(de.z6.Top,!1),ye(de.z6.Left,!1),ye(de.z6.Right,!1),ye(de.z6.Bottom,!1)),Je(de.s_,"Spot",{margin:new de.Zt(0,0,0,2)},Gt(!0),ye(de.z6.Top,!0),ye(de.z6.Left,!0),ye(de.z6.Right,!0),ye(de.z6.Bottom,!0)))));const nn=`{ "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"}, @@ -86,21 +86,21 @@ {"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 qt=["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 hn(Ke){return console.log("shapeName:",Ke),qt.indexOf(Ke)>=0}var xn=new de.YI(wt.current,{maxSelectionCount:1,linkTemplate:Qe(de.rU,{locationSpot:de.z6.Center,selectionAdornmentTemplate:Qe(de.uz,"Link",{locationSpot:de.z6.Center},Qe(de.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Qe(de.bn,{toArrow:"Standard",stroke:null}))},{routing:de.rU.AvoidsNodes,curve:de.rU.JumpOver,corner:5,toShortLength:4},new de.KX("points"),Qe(de.bn,{isPanelMain:!0,strokeWidth:2}),Qe(de.bn,{toArrow:"Standard",stroke:null})),model:new de.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...de.bn.getFigureGenerators().toArray().map(Ke=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ke.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Se.current.addDiagramListener("TextEdited",function(Ke){var ut;const Ct=Ke.subject.part;var mt=(ut=document.activeElement)==null?void 0:ut.value;typeof mt=="string"&&mt.trim()===""&&Se.current.model.commit(function(Zt){Zt.set(Ct.data,"text","\u672A\u547D\u540D"),Se.current.commandHandler.stopCommand()},"increment")}),xn.nodeTemplate=Qe(de.NB,"Auto",{locationSpot:de.z6.Center},new de.KX("location","location",de.E9.parse).makeTwoWay(de.E9.stringify),Qe(de.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 de.KX("stroke").makeTwoWay(),new de.KX("fill").makeTwoWay(),new de.KX("figure")),Qe(de.al,{margin:new de.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new de.$u(16,16),maxSize:new de.$u(10,NaN),textAlign:"center",editable:!0},new de.KX("key").makeTwoWay())),setTimeout(()=>{Se.current.grid=Qe(de.s_,"Grid",Qe(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qe(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Se.current.grid.visible=!0,Se.current.grid.gridCellStroke="darkgray",Se.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Se.current,Se.current}const kn=()=>ke(this,null,function*(){var Qe=Se.current.makeImage();const Jt=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Qe.src}});ve({src:Jt.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{vn()},500),Yt(Rt+1),()=>{Se.current=null}),[]),pe.createElement("div",{ref:gn,className:ft.current?`${we.maxH60} body-overflow-initial`:"body-overflow-initial"},pe.createElement(be.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Rt,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:pe.createElement(Te.Z,null,pe.createElement(kt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),pe.createElement(kt.Z,{onClick:()=>{var Qe,Jt,An=Se.current.selection.first();if(ft.current=!ft.current,document.activeElement&&An){let Zn=(Jt=(Qe=document.activeElement)==null?void 0:Qe.value)==null?void 0:Jt.trim();typeof Zn=="string"&&Se.current.model.commit(function(Bn){Bn.set(An.data,"text",Zn||"\u672A\u547D\u540D"),Se.current.commandHandler.stopCommand()},"increment")}Yt(Rt+1)}},pe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:he},pe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:we.flowChartWrp},pe.createElement("div",{style:{display:"flex",height:"100%"}},pe.createElement("div",{style:{width:"300px",height:"100%"}},pe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),pe.createElement("div",{style:{height:"calc(100% - 50px)"},className:we.myPaletteDiv,ref:wt})),pe.createElement("div",{style:{flex:1,position:"relative"}},pe.createElement("div",{ref:nt,style:{height:"80vh"}}))),pe.createElement("div",{className:"tr"},pe.createElement(Ne.ZP,{size:"large",onClick:kn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=Ze,Bt=ge(5112),xt=ge(5871);const Mt=Bt.ZP.Group,Dt={margin:"0 8px"};var vt=({callback:he,onCancel:ve})=>{function Se(nt){he(nt)}return ae.createElement(le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Se},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Dt},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Dt},"\u884C\u6570"),ae.createElement(le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(xt.Z,null)),ae.createElement("span",{style:Dt},"\u5217\u6570"),ae.createElement(le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(xt.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Dt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(le.default.Item,{name:"align"},ae.createElement(Mt,null,ae.createElement(Bt.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(Bt.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(Bt.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(Bt.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ne.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))},At=ge(78673),Pn=ge(43001),wn=ge.n(Pn),on=(0,ae.forwardRef)(({use3d:he,width:ve,height:Se,callback:nt,showSaveButton:wt},ft)=>{const gn=(0,ae.useRef)(),Rt=(0,ae.useRef)(),[Yt,vn]=(0,ae.useState)(!1),kn=(0,ae.useRef)({id:gn,appName:"graphing",width:ve||1e3,height:Se||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)(()=>{Rt.current=new(wn())(kn.current,!0),window.onload=function(){Rt.current.inject("applet_container")}},[]);const Qe=()=>{var Jt=window.ggbApplet.getPNGBase64(1,!0,72);return nt&&nt(Jt),Jt};return(0,ae.useEffect)(()=>{kn.current.appName=Yt?"3D":"graphing",Rt.current.inject("applet_container")},[Yt]),(0,ae.useEffect)(()=>{vn(he)},[he]),(0,ae.useImperativeHandle)(ft,()=>({getImgData:Qe})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:gn}),ae.createElement(Te.Z,{align:"middle"},ae.createElement(kt.Z,{flex:1},ae.createElement(At.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Yt,onChange:Jt=>vn(Jt)})),ae.createElement(kt.Z,null,ae.createElement(Ne.ZP,{size:"large",onClick:Qe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),en=ge(76562),Pe=ge(1012),Be=ge(8591);const Ae="link",at="upload-image",st="add-flowchart",Gt="draw-image",Nt="add-flowchart",Lt="code-block",zt="add-table",Xt="------------",Wt={default:Xt,left:`:${Xt}`,center:`:${Xt}:`,right:`${Xt}:`};var Qt=ge(37808),Sn=(he,ve,Se)=>new Promise((nt,wt)=>{var ft=Yt=>{try{Rt(Se.next(Yt))}catch(vn){wt(vn)}},gn=Yt=>{try{Rt(Se.throw(Yt))}catch(vn){wt(vn)}},Rt=Yt=>Yt.done?nt(Yt.value):Promise.resolve(Yt.value).then(ft,gn);Rt((Se=Se.apply(he,ve)).next())});function fn(){}let Fn=0;const rn=1e4,tn="\u2581",pn="@\u2581\u2581@",Cn="@\u2581@",En=` +]}`;var qt=["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 hn(Ke){return console.log("shapeName:",Ke),qt.indexOf(Ke)>=0}var xn=new de.YI(wt.current,{maxSelectionCount:1,linkTemplate:Je(de.rU,{locationSpot:de.z6.Center,selectionAdornmentTemplate:Je(de.uz,"Link",{locationSpot:de.z6.Center},Je(de.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Je(de.bn,{toArrow:"Standard",stroke:null}))},{routing:de.rU.AvoidsNodes,curve:de.rU.JumpOver,corner:5,toShortLength:4},new de.KX("points"),Je(de.bn,{isPanelMain:!0,strokeWidth:2}),Je(de.bn,{toArrow:"Standard",stroke:null})),model:new de.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...de.bn.getFigureGenerators().toArray().map(Ke=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ke.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Se.current.addDiagramListener("TextEdited",function(Ke){var ut;const Et=Ke.subject.part;var mt=(ut=document.activeElement)==null?void 0:ut.value;typeof mt=="string"&&mt.trim()===""&&Se.current.model.commit(function(Ut){Ut.set(Et.data,"text","\u672A\u547D\u540D"),Se.current.commandHandler.stopCommand()},"increment")}),xn.nodeTemplate=Je(de.NB,"Auto",{locationSpot:de.z6.Center},new de.KX("location","location",de.E9.parse).makeTwoWay(de.E9.stringify),Je(de.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 de.KX("stroke").makeTwoWay(),new de.KX("fill").makeTwoWay(),new de.KX("figure")),Je(de.al,{margin:new de.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new de.$u(16,16),maxSize:new de.$u(10,NaN),textAlign:"center",editable:!0},new de.KX("key").makeTwoWay())),setTimeout(()=>{Se.current.grid=Je(de.s_,"Grid",Je(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Je(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Se.current.grid.visible=!0,Se.current.grid.gridCellStroke="darkgray",Se.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Se.current,Se.current}const kn=()=>ke(this,null,function*(){var Je=Se.current.makeImage();const Jt=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Je.src}});ve({src:Jt.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{vn()},500),Yt(kt+1),()=>{Se.current=null}),[]),pe.createElement("div",{ref:gn,className:ft.current?`${we.maxH60} body-overflow-initial`:"body-overflow-initial"},pe.createElement(be.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!kt,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:pe.createElement(Te.Z,null,pe.createElement(Dt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),pe.createElement(Dt.Z,{onClick:()=>{var Je,Jt,An=Se.current.selection.first();if(ft.current=!ft.current,document.activeElement&&An){let Zn=(Jt=(Je=document.activeElement)==null?void 0:Je.value)==null?void 0:Jt.trim();typeof Zn=="string"&&Se.current.model.commit(function(Bn){Bn.set(An.data,"text",Zn||"\u672A\u547D\u540D"),Se.current.commandHandler.stopCommand()},"increment")}Yt(kt+1)}},pe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:he},pe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:we.flowChartWrp},pe.createElement("div",{style:{display:"flex",height:"100%"}},pe.createElement("div",{style:{width:"300px",height:"100%"}},pe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),pe.createElement("div",{style:{height:"calc(100% - 50px)"},className:we.myPaletteDiv,ref:wt})),pe.createElement("div",{style:{flex:1,position:"relative"}},pe.createElement("div",{ref:tt,style:{height:"80vh"}}))),pe.createElement("div",{className:"tr"},pe.createElement(Ne.ZP,{size:"large",onClick:kn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=Ze,xt=ge(5112),Ct=ge(5871);const Mt=xt.ZP.Group,At={margin:"0 8px"};var vt=({callback:he,onCancel:ve})=>{function Se(tt){he(tt)}return ae.createElement(le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Se},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:At},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:At},"\u884C\u6570"),ae.createElement(le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(Ct.Z,null)),ae.createElement("span",{style:At},"\u5217\u6570"),ae.createElement(le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(Ct.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:At},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(le.default.Item,{name:"align"},ae.createElement(Mt,null,ae.createElement(xt.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(xt.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(xt.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(xt.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ne.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))},Rt=ge(78673),Pn=ge(43001),wn=ge.n(Pn),on=(0,ae.forwardRef)(({use3d:he,width:ve,height:Se,callback:tt,showSaveButton:wt},ft)=>{const gn=(0,ae.useRef)(),kt=(0,ae.useRef)(),[Yt,vn]=(0,ae.useState)(!1),kn=(0,ae.useRef)({id:gn,appName:"graphing",width:ve||1e3,height:Se||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)(()=>{kt.current=new(wn())(kn.current,!0),window.onload=function(){kt.current.inject("applet_container")}},[]);const Je=()=>{var Jt=window.ggbApplet.getPNGBase64(1,!0,72);return tt&&tt(Jt),Jt};return(0,ae.useEffect)(()=>{kn.current.appName=Yt?"3D":"graphing",kt.current.inject("applet_container")},[Yt]),(0,ae.useEffect)(()=>{vn(he)},[he]),(0,ae.useImperativeHandle)(ft,()=>({getImgData:Je})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:gn}),ae.createElement(Te.Z,{align:"middle"},ae.createElement(Dt.Z,{flex:1},ae.createElement(Rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Yt,onChange:Jt=>vn(Jt)})),ae.createElement(Dt.Z,null,ae.createElement(Ne.ZP,{size:"large",onClick:Je,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),en=ge(76562),Pe=ge(1012),Be=ge(8591);const Ae="link",nt="upload-image",st="add-flowchart",Ot="draw-image",It="add-flowchart",Lt="code-block",Nt="add-table",Xt="------------",_t={default:Xt,left:`:${Xt}`,center:`:${Xt}:`,right:`${Xt}:`};var Qt=ge(37808),Sn=(he,ve,Se)=>new Promise((tt,wt)=>{var ft=Yt=>{try{kt(Se.next(Yt))}catch(vn){wt(vn)}},gn=Yt=>{try{kt(Se.throw(Yt))}catch(vn){wt(vn)}},kt=Yt=>Yt.done?tt(Yt.value):Promise.resolve(Yt.value).then(ft,gn);kt((Se=Se.apply(he,ve)).next())});function fn(){}let Fn=0;const rn=1e4,tn="\u2581",pn="@\u2581\u2581@",Cn="@\u2581@",En=` **\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`,sn=["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 Nn(he){return/^\d+$/.test(he)?`${he}px`:he}const In=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",_n={[In+"-B"]:"bold",[In+"-I"]:"italic"},na={[Ae]:"\u6DFB\u52A0\u94FE\u63A5",[Lt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[at]:"\u6DFB\u52A0\u56FE\u7247",[Gt]:"\u6DFB\u52A0\u753B\u56FE",[st]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[zt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jn=({defaultValue:he="",onChange:ve,width:Se="100%",height:nt=400,miniToolbar:wt=!1,isFocus:ft=!1,watch:gn,insertTemp:Rt,mode:Yt="markdown",id:vn="markdown-editor-id",showResizeBar:kn=!1,noStorage:Qe=!1,showNullButton:Jt=!1,showNullProgramButton:An=!1,hidetoolBar:Zn=!1,fullScreen:Bn=!1,onBlur:se,onCMBeforeChange:Ce,onFullScreen:xe,className:Ge="",disablePaste:Ue=!1,disabled:Ve=!1,disabledFill:je=!1,placeholder:Oe="",values:Et="",extraUse:$t})=>{const[ye,nn]=(0,ae.useState)(null),[qt,hn]=(0,ae.useState)(he),[xn,Ke]=(0,ae.useState)(gn),[ut,Ct]=(0,ae.useState)(Bn),[mt,Zt]=(0,ae.useState)(""),[Kt,It]=(0,ae.useState)(0),[un,cn]=(0,ae.useState)(nt),[oa,Qn]=(0,ae.useState)(!1),qn=(0,ae.useRef)((0,Pe.Z)()),ca=(0,ae.useRef)(!1),Sa=(0,ae.useRef)(),[Pa,da]=(0,ae.useState)(0),[Vn,$n]=(0,ae.useState)(0),ta=(0,ae.useRef)(),ga=(0,ae.useRef)(),ia=(0,ae.useRef)(),aa=(0,ae.useRef)(),ea=()=>Sn(void 0,null,function*(){var yt;const gt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:qn.current}});(yt=gt==null?void 0:gt.attachments)!=null&&yt.length&&(console.log("cm:",ye,ta),gt.attachments.map(ct=>{ct.content_type.indexOf("image")>-1?ye.replaceSelection(`![,](/api/attachments/${ct.id}?type=${ct.content_type})`):ct.content_type.indexOf("video")>-1?ye.replaceSelection(``):ct.content_type.indexOf("pdf")>-1?ye.replaceSelection(`${ct.name}`):ye.replaceSelection(`[${ct.name}](${ENV.API_SERVER}/api/attachments/${ct.id}?type=${ct.content_type})`)}))});(0,ae.useEffect)(()=>{const yt=window.scrollY||window.pageYOffset;hn(Et),ye==null||ye.setValue(Et),window.scrollTo(0,yt)},[Et]),(0,ae.useEffect)(()=>{xe==null||xe(ut)},[ut]),(0,ae.useEffect)(()=>{if(ta.current){let yt=function(ct,pt){var ln;if(Ue){pt.preventDefault();return}const zn=pt.clipboardData;if(zn){const Rn=zn.types.toString(),Dn=zn.items;if(Rn==="Files"||zn.types.indexOf("Files")>-1){if(pt.preventDefault(),Yt=="stex")return;try{let jn=Dn[1];((ln=Dn[0])==null?void 0:ln.kind)==="file"&&(jn=Dn[0]);const Hn=jn.getAsFile(),sa=Hn.name.split(".").pop();(0,Le.I)(Hn,Kn=>{var Ht,dn,yn;Kn.id?((Ht=Hn==null?void 0:Hn.type)==null?void 0:Ht.indexOf("image"))>-1?gt.replaceSelection(``):((dn=Hn==null?void 0:Hn.type)==null?void 0:dn.indexOf("video"))>-1?gt.replaceSelection(``):((yn=Hn==null?void 0:Hn.type)==null?void 0:yn.indexOf("pdf"))>-1?gt.replaceSelection(`${Hn.name}`):sn.includes(sa)?gt.replaceSelection(`${Hn.name}`):gt.replaceSelection(`[${Hn.name}](/api/attachments/${Kn.id}?type=${Kn.content_type})`):(Kn==null?void 0:Kn.status)===401&&(Be.ZP.warning((Kn==null?void 0:Kn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(jn){Be.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const gt=qe().fromTextArea(ta.current,{mode:Yt,lineNumbers:!wt,lineWrapping:!0,value:he,autoCloseTags:!An,autoCloseBrackets:!0});return gt.on("keyup",function(ct,pt){pt.keyCode===8&&(ct.getValue()==""?gt.setOption("placeholder",Oe):gt.setOption("placeholder",null))}),gt.on("keydown",function(ct,pt){if(pt.keyCode===8){var ln=jt(ct);ln&&pt.preventDefault()}}),ft&>.focus(),gt.on("paste",yt),gt.on("dragleave",function(ct,pt){ga.current.classList.remove("mouse-hover-md")}),Ve&>.on("beforeChange",function(ct,pt){(pt.origin==="paste"||pt.origin==="+input")&&pt.cancel()}),nn(gt),()=>{gt.off("paste",yt)}}},[]);const ha=(0,ae.useCallback)(()=>{if(ga.current)try{}catch(yt){console.log(yt,"---- to set md editor body height")}},[un,ga,ut]);(0,ae.useEffect)(()=>{function yt(){let gt=new Ye.Z(ct=>{for(let pt of ct)(pt.target.offsetHeight>0||pt.target.offsetWidth>0)&&(ha(),ye.setSize("100%","100%"),ye.refresh())});return gt.observe(ta.current.parentElement),gt}if(ye){const gt=yt();return()=>{var ct,pt;(ct=ta.current)!=null&&ct.parentElement&>.unobserve((pt=ta.current)==null?void 0:pt.parentElement)}}},[ye,ha]),(0,ae.useEffect)(()=>{if(ye){let yt=[];for(const[gt,ct]of Object.entries(_n)){let pt={[gt]:()=>{Gn(ct)}};yt.push(pt),ye.addKeyMap(pt)}return Sa.current=setInterval(()=>{ca.current&&ea()},4e3),()=>{clearInterval(Sa.current);for(let gt of yt)ye.removeKeyMap(gt)}}},[ye]),(0,ae.useEffect)(()=>{Bn!==ut&&Ct(Bn)},[Bn]),(0,Qt.Z)(()=>{if(!Qe&&Kt>0){let yt=new Date().getTime(),gt=window.sessionStorage.getItem(vn);yt>=Kt+rn&&(!gt||gt!==qt)&&(window.sessionStorage.setItem(vn,qt),Qn(!0))}},rn),(0,ae.useEffect)(()=>{Ke(gn)},[ye,gn]),(0,ae.useEffect)(()=>{ye&&ft&&ye.focus()},[ye,ft]),(0,ae.useEffect)(()=>{if(xn&&ye){let yt=function(ct){let pt=ct.target;if(aa.current){let ln=pt.scrollTop/pt.scrollHeight;aa.current.scrollTop=aa.current.scrollHeight*ln}};const gt=ye.getScrollerElement();return gt.addEventListener("scroll",yt),()=>{gt.removeEventListener("scroll",yt)}}},[ye,xn]),(0,ae.useEffect)(()=>{if(ye&&Ce){let yt=function(gt,ct){Ce(gt,ct)};return ye.on("beforeChange",yt),()=>{ye.off("beforeChange",yt)}}},[ye,Ce]),(0,ae.useEffect)(()=>{if(ye&&se){let yt=function(){se(ye.getValue())};return ye.on("blur",yt),()=>{ye.off("blur",yt)}}},[ye,se]);function jt(yt,gt){var ct=yt.getDoc(),pt=ct.getCursor(),ln=ct.getLine(pt.line),zn=ln.charAt(pt.ch-1),Rn=ln.lastIndexOf("@\u2581@",pt.ch),Dn=ln.lastIndexOf("@\u2581\u2581@",pt.ch),jn=Rn>Dn?Rn:Dn,Hn=Rn>Dn?3:4;if(pn.indexOf(zn)===-1)return null;if(console.log("change1:",gt,yt,ln,pt,jn,Rn,Dn,zn),jn>=0&&pt.ch-jn<5){var sa=jn+Hn;return ct.replaceRange("",{line:pt.line,ch:jn},{line:pt.line,ch:sa}),{line:pt.line,ch:sa}}return null}(0,ae.useEffect)(()=>{if(ye){let yt=function(gt,ct){const pt=gt.getValue();hn(pt),It(new Date().getTime()),gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ve&&(An?ve(pt,On(pt)):ve(pt))};return ye.on("change",yt),()=>{ye.off("change",yt)}}},[ye,ve]),(0,ae.useEffect)(()=>{if(ye)if(he==null)ye.setValue(""),hn("");else{const yt=window.scrollY||window.pageYOffset;he!==ye.getValue()&&(ye.setValue(he),hn(he),ye.setCursor(Ve?1:ye.lineCount(),0),window.scrollTo(0,yt))}},[ye,he]);const Gn=(0,ae.useCallback)(yt=>{const gt=ye.getCursor(),ct=ye.getSelection();let pt=ct.split(` -`);switch(yt){case"bold":return ye.replaceSelection("**"+ct+"**"),ct===""&&ye.setCursor(gt.line,gt.ch+2),ye.focus();case"italic":return ye.replaceSelection("*"+ct+"*"),ct===""&&ye.setCursor(gt.line,gt.ch+1),ye.focus();case"code":return ye.replaceSelection("`"+ct+"`"),ct===""&&ye.setCursor(gt.line,gt.ch+1),ye.focus();case"inline-latex":return Zt("inline-latex"),ye.focus();case"latex":return ye.replaceSelection("```latex\n"+ct+"\n```"),ye.setCursor(gt.line+1,ct.length+1),ye.focus();case"line-break":return ye.replaceSelection(`
+\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,sn=["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 Nn(he){return/^\d+$/.test(he)?`${he}px`:he}const In=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",_n={[In+"-B"]:"bold",[In+"-I"]:"italic"},na={[Ae]:"\u6DFB\u52A0\u94FE\u63A5",[Lt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[nt]:"\u6DFB\u52A0\u56FE\u7247",[Ot]:"\u6DFB\u52A0\u753B\u56FE",[st]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Nt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jn=({defaultValue:he="",onChange:ve,width:Se="100%",height:tt=400,miniToolbar:wt=!1,isFocus:ft=!1,watch:gn,insertTemp:kt,mode:Yt="markdown",id:vn="markdown-editor-id",showResizeBar:kn=!1,noStorage:Je=!1,showNullButton:Jt=!1,showNullProgramButton:An=!1,hidetoolBar:Zn=!1,fullScreen:Bn=!1,onBlur:se,onCMBeforeChange:Ce,onFullScreen:xe,className:Ge="",disablePaste:Ue=!1,disabled:Ve=!1,disabledFill:je=!1,placeholder:Oe="",values:$t="",extraUse:Gt})=>{const[ye,nn]=(0,ae.useState)(null),[qt,hn]=(0,ae.useState)(he),[xn,Ke]=(0,ae.useState)(gn),[ut,Et]=(0,ae.useState)(Bn),[mt,Ut]=(0,ae.useState)(""),[Kt,Tt]=(0,ae.useState)(0),[un,cn]=(0,ae.useState)(tt),[oa,Qn]=(0,ae.useState)(!1),qn=(0,ae.useRef)((0,Pe.Z)()),ca=(0,ae.useRef)(!1),Sa=(0,ae.useRef)(),[Pa,da]=(0,ae.useState)(0),[Vn,$n]=(0,ae.useState)(0),ta=(0,ae.useRef)(),ga=(0,ae.useRef)(),ia=(0,ae.useRef)(),aa=(0,ae.useRef)(),ea=()=>Sn(void 0,null,function*(){var yt;const gt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:qn.current}});(yt=gt==null?void 0:gt.attachments)!=null&&yt.length&&(console.log("cm:",ye,ta),gt.attachments.map(ct=>{ct.content_type.indexOf("image")>-1?ye.replaceSelection(`![,](/api/attachments/${ct.id}?type=${ct.content_type})`):ct.content_type.indexOf("video")>-1?ye.replaceSelection(``):ct.content_type.indexOf("pdf")>-1?ye.replaceSelection(`${ct.name}`):ye.replaceSelection(`[${ct.name}](${ENV.API_SERVER}/api/attachments/${ct.id}?type=${ct.content_type})`)}))});(0,ae.useEffect)(()=>{const yt=window.scrollY||window.pageYOffset;hn($t),ye==null||ye.setValue($t),window.scrollTo(0,yt)},[$t]),(0,ae.useEffect)(()=>{xe==null||xe(ut)},[ut]),(0,ae.useEffect)(()=>{if(ta.current){let yt=function(ct,pt){var ln;if(Ue){pt.preventDefault();return}const zn=pt.clipboardData;if(zn){const Rn=zn.types.toString(),Dn=zn.items;if(Rn==="Files"||zn.types.indexOf("Files")>-1){if(pt.preventDefault(),Yt=="stex")return;try{let jn=Dn[1];((ln=Dn[0])==null?void 0:ln.kind)==="file"&&(jn=Dn[0]);const Hn=jn.getAsFile(),sa=Hn.name.split(".").pop();(0,Le.I)(Hn,Kn=>{var Ht,dn,yn;Kn.id?((Ht=Hn==null?void 0:Hn.type)==null?void 0:Ht.indexOf("image"))>-1?gt.replaceSelection(``):((dn=Hn==null?void 0:Hn.type)==null?void 0:dn.indexOf("video"))>-1?gt.replaceSelection(``):((yn=Hn==null?void 0:Hn.type)==null?void 0:yn.indexOf("pdf"))>-1?gt.replaceSelection(`${Hn.name}`):sn.includes(sa)?gt.replaceSelection(`${Hn.name}`):gt.replaceSelection(`[${Hn.name}](/api/attachments/${Kn.id}?type=${Kn.content_type})`):(Kn==null?void 0:Kn.status)===401&&(Be.ZP.warning((Kn==null?void 0:Kn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(jn){Be.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const gt=Qe().fromTextArea(ta.current,{mode:Yt,lineNumbers:!wt,lineWrapping:!0,value:he,autoCloseTags:!An,autoCloseBrackets:!0});return gt.on("keyup",function(ct,pt){pt.keyCode===8&&(ct.getValue()==""?gt.setOption("placeholder",Oe):gt.setOption("placeholder",null))}),gt.on("keydown",function(ct,pt){if(pt.keyCode===8){var ln=jt(ct);ln&&pt.preventDefault()}}),ft&>.focus(),gt.on("paste",yt),gt.on("dragleave",function(ct,pt){ga.current.classList.remove("mouse-hover-md")}),Ve&>.on("beforeChange",function(ct,pt){(pt.origin==="paste"||pt.origin==="+input")&&pt.cancel()}),nn(gt),()=>{gt.off("paste",yt)}}},[]);const ha=(0,ae.useCallback)(()=>{if(ga.current)try{}catch(yt){console.log(yt,"---- to set md editor body height")}},[un,ga,ut]);(0,ae.useEffect)(()=>{function yt(){let gt=new Ye.Z(ct=>{for(let pt of ct)(pt.target.offsetHeight>0||pt.target.offsetWidth>0)&&(ha(),ye.setSize("100%","100%"),ye.refresh())});return gt.observe(ta.current.parentElement),gt}if(ye){const gt=yt();return()=>{var ct,pt;(ct=ta.current)!=null&&ct.parentElement&>.unobserve((pt=ta.current)==null?void 0:pt.parentElement)}}},[ye,ha]),(0,ae.useEffect)(()=>{if(ye){let yt=[];for(const[gt,ct]of Object.entries(_n)){let pt={[gt]:()=>{Gn(ct)}};yt.push(pt),ye.addKeyMap(pt)}return Sa.current=setInterval(()=>{ca.current&&ea()},4e3),()=>{clearInterval(Sa.current);for(let gt of yt)ye.removeKeyMap(gt)}}},[ye]),(0,ae.useEffect)(()=>{Bn!==ut&&Et(Bn)},[Bn]),(0,Qt.Z)(()=>{if(!Je&&Kt>0){let yt=new Date().getTime(),gt=window.sessionStorage.getItem(vn);yt>=Kt+rn&&(!gt||gt!==qt)&&(window.sessionStorage.setItem(vn,qt),Qn(!0))}},rn),(0,ae.useEffect)(()=>{Ke(gn)},[ye,gn]),(0,ae.useEffect)(()=>{ye&&ft&&ye.focus()},[ye,ft]),(0,ae.useEffect)(()=>{if(xn&&ye){let yt=function(ct){let pt=ct.target;if(aa.current){let ln=pt.scrollTop/pt.scrollHeight;aa.current.scrollTop=aa.current.scrollHeight*ln}};const gt=ye.getScrollerElement();return gt.addEventListener("scroll",yt),()=>{gt.removeEventListener("scroll",yt)}}},[ye,xn]),(0,ae.useEffect)(()=>{if(ye&&Ce){let yt=function(gt,ct){Ce(gt,ct)};return ye.on("beforeChange",yt),()=>{ye.off("beforeChange",yt)}}},[ye,Ce]),(0,ae.useEffect)(()=>{if(ye&&se){let yt=function(){se(ye.getValue())};return ye.on("blur",yt),()=>{ye.off("blur",yt)}}},[ye,se]);function jt(yt,gt){var ct=yt.getDoc(),pt=ct.getCursor(),ln=ct.getLine(pt.line),zn=ln.charAt(pt.ch-1),Rn=ln.lastIndexOf("@\u2581@",pt.ch),Dn=ln.lastIndexOf("@\u2581\u2581@",pt.ch),jn=Rn>Dn?Rn:Dn,Hn=Rn>Dn?3:4;if(pn.indexOf(zn)===-1)return null;if(console.log("change1:",gt,yt,ln,pt,jn,Rn,Dn,zn),jn>=0&&pt.ch-jn<5){var sa=jn+Hn;return ct.replaceRange("",{line:pt.line,ch:jn},{line:pt.line,ch:sa}),{line:pt.line,ch:sa}}return null}(0,ae.useEffect)(()=>{if(ye){let yt=function(gt,ct){const pt=gt.getValue();hn(pt),Tt(new Date().getTime()),gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ve&&(An?ve(pt,On(pt)):ve(pt))};return ye.on("change",yt),()=>{ye.off("change",yt)}}},[ye,ve]),(0,ae.useEffect)(()=>{if(ye)if(he==null)ye.setValue(""),hn("");else{const yt=window.scrollY||window.pageYOffset;he!==ye.getValue()&&(ye.setValue(he),hn(he),ye.setCursor(Ve?1:ye.lineCount(),0),window.scrollTo(0,yt))}},[ye,he]);const Gn=(0,ae.useCallback)(yt=>{const gt=ye.getCursor(),ct=ye.getSelection();let pt=ct.split(` +`);switch(yt){case"bold":return ye.replaceSelection("**"+ct+"**"),ct===""&&ye.setCursor(gt.line,gt.ch+2),ye.focus();case"italic":return ye.replaceSelection("*"+ct+"*"),ct===""&&ye.setCursor(gt.line,gt.ch+1),ye.focus();case"code":return ye.replaceSelection("`"+ct+"`"),ct===""&&ye.setCursor(gt.line,gt.ch+1),ye.focus();case"inline-latex":return Ut("inline-latex"),ye.focus();case"latex":return ye.replaceSelection("```latex\n"+ct+"\n```"),ye.setCursor(gt.line+1,ct.length+1),ye.focus();case"line-break":return ye.replaceSelection(`
`),ye.focus();case"list-ul":return ct===""?ye.replaceSelection("- "+ct):ye.replaceSelection(pt.map(ln=>ln===""?"":`- ${ln}`).join(` `)),ye.focus();case"list-ol":return ct===""?ye.replaceSelection("1. "+ct):ye.replaceSelection(pt.map((ln,zn)=>ln===""?"":`${zn+1}. ${ln}`).join(` -`)),ye.focus();case"add-null-ch":return ct===""&&ye.setCursor(gt.line,gt.ch),ye.replaceSelection(tn),ye.focus();case"add-signal":return ct===""&&ye.setCursor(gt.line,gt.ch),ye.replaceSelection(Cn),ye.focus();case"add-multiple":return ct===""&&ye.setCursor(gt.line,gt.ch),ye.replaceSelection(pn),ye.focus();case"inster-template-1":return ct===""&&ye.setCursor(gt.line,gt.ch),ye.replaceSelection(En),ye.focus();case"eraser":return ye.setValue(""),ye.focus();case"trigger-watch":return Ke(!xn),ye.focus();case"trigger-full-screen":return Ct(!ut),ye.focus();case Ae:Zt(Ae);return;case Lt:Zt(Lt);return;case at:Zt(at);return;case Gt:Zt(Gt);return;case"maths-latex":Zt("maths-latex");return;case st:Zt(st);return;case zt:Zt(zt);return;default:throw new Error}},[ye,xn,ut]),Tn=(0,ae.useCallback)((yt,gt)=>{var ct,pt,ln,zn,Rn,Dn;switch(Zt(""),mt){case Ae:const{title:Ht,link:dn}=yt;return ye.replaceSelection(`[${Ht}](${dn})`),ye.focus();case Lt:const{language:yn,content:an}=yt;return ye.replaceSelection(["```"+yn,an,"```"].join(` -`)),ye.focus();case"maths-latex":for(var jn=atob(yt),Hn=new Uint8Array(jn.length),sa=0;sa{ma.id?ye.replaceSelection(`![,](/api/attachments/${ma.id}?type=${ma.content_type})`):(ma==null?void 0:ma.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ye.replaceSelection("`$$"+yt+"$$`");break;case at:case Gt:case Nt:const{src:mn,alt:Wn}=yt,bn=gt,fa=(ln=(pt=(ct=bn==null?void 0:bn.name)==null?void 0:ct.split("."))==null?void 0:pt.pop)==null?void 0:ln.call(pt);return((zn=bn==null?void 0:bn.type)==null?void 0:zn.indexOf("image"))>-1||!(bn!=null&&bn.type)?bn.align||bn.width?ye.replaceSelection(`

${Wn||

`):ye.replaceSelection(`${Wn||`):((Rn=bn==null?void 0:bn.type)==null?void 0:Rn.indexOf("video"))>-1?ye.replaceSelection(``):((Dn=bn==null?void 0:bn.type)==null?void 0:Dn.indexOf("pdf"))>-1?ye.replaceSelection(`${bn.name}`):sn.includes(fa)?ye.replaceSelection(`${bn.name}`):ye.replaceSelection(`[${bn.name}](${mn})`),ye.focus();case zt:const{row:ua,col:wa,align:Ea}=yt;let Fa=` -`;for(let ma=0;ma{var ct,pt,ln,zn,Rn,Dn;switch(Ut(""),mt){case Ae:const{title:Ht,link:dn}=yt;return ye.replaceSelection(`[${Ht}](${dn})`),ye.focus();case Lt:const{language:yn,content:an}=yt;return ye.replaceSelection(["```"+yn,an,"```"].join(` +`)),ye.focus();case"maths-latex":for(var jn=atob(yt),Hn=new Uint8Array(jn.length),sa=0;sa{ma.id?ye.replaceSelection(`![,](/api/attachments/${ma.id}?type=${ma.content_type})`):(ma==null?void 0:ma.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ye.replaceSelection("`$$"+yt+"$$`");break;case nt:case Ot:case It:const{src:mn,alt:Wn}=yt,bn=gt,fa=(ln=(pt=(ct=bn==null?void 0:bn.name)==null?void 0:ct.split("."))==null?void 0:pt.pop)==null?void 0:ln.call(pt);return((zn=bn==null?void 0:bn.type)==null?void 0:zn.indexOf("image"))>-1||!(bn!=null&&bn.type)?bn.align||bn.width?ye.replaceSelection(`

${Wn||

`):ye.replaceSelection(`${Wn||`):((Rn=bn==null?void 0:bn.type)==null?void 0:Rn.indexOf("video"))>-1?ye.replaceSelection(``):((Dn=bn==null?void 0:bn.type)==null?void 0:Dn.indexOf("pdf"))>-1?ye.replaceSelection(`${bn.name}`):sn.includes(fa)?ye.replaceSelection(`${bn.name}`):ye.replaceSelection(`[${bn.name}](${mn})`),ye.focus();case Nt:const{row:ua,col:wa,align:Ea}=yt;let Fa=` +`;for(let ma=0;ma{switch(mt){case Ae:return ae.createElement(Ot,{callback:Tn,onCancel:Xn});case Lt:return ae.createElement(_t.Z,{callback:Tn,onCancel:Xn});case at:return ae.createElement(Le.Z,{callback:Tn,onCancel:Xn});case st:return ae.createElement(dt,{callback:Tn,onCancel:Xn});case zt:return ae.createElement(vt,{callback:Tn,onCancel:Xn});case"maths-latex":return ae.createElement(on,{showSaveButton:!0,callback:Tn});case"inline-latex":return ae.createElement(en.Z,{showSaveButton:!0,callback:Tn});default:return null}},[mt]);function Xn(){Zt("")}(0,ae.useEffect)(()=>{if(ia.current){let yt=function(Rn){ln=!0,zn=Rn.pageY},gt=function(){ln=!1},ct=function(Rn){if(ln){let Dn=Rn.pageY-zn;Dn<0&&(Dn=0),Dn>300&&(Dn=300);let jn=nt+Dn+"px";cn(jn)}},pt=ia.current,ln=!1,zn=0;return pt.addEventListener("mousedown",yt),document.addEventListener("mousemove",ct),document.addEventListener("mouseup",gt),()=>{pt.removeEventListener("mousedown",yt),document.removeEventListener("mousemove",ct),document.removeEventListener("mouseup",gt)}}},[ye,ia]),(0,ae.useEffect)(()=>{cn(nt)},[nt]);const ra=Nn(Se),va=Nn(un),pa={width:ra,height:va},Mn=(0,ae.useMemo)(()=>{if(Kt){let yt=new Date(Kt),gt=yt.getHours(),ct=yt.getMinutes(),pt=yt.getSeconds();return gt=gt<10?"0"+gt:gt,ct=ct<10?"0"+ct:ct,pt=pt<10?"0"+pt:pt,`${gt}:${ct}:${pt}`}return 0},[Kt]),On=yt=>{const gt=[];if(An){let ct=-1;yt=yt.replace(/(@▁▁@|@▁@)/g,function(pt,ln,zn){gt.push({multiLine:pt!==Cn})})}return gt};function la(){window.sessionStorage.removeItem(vn),Qn(!1),It(0)}function La(){Qn(!1),It(0),ye.setValue(window.sessionStorage.getItem(vn))}(0,ae.useEffect)(()=>{na[mt]&&mt!==Gt&&mt!==st&&setTimeout(()=>{const yt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth/2-yt.offsetWidth/2,ct=window.innerHeight/2-yt.offsetHeight/2;da(gt),$n(ct)},0)},[mt]);const ya=yt=>{yt.preventDefault();const gt=yt.clientX-Pa,ct=yt.clientY-Vn;document.body.onmousemove=pt=>{let ln=pt.clientX-gt,zn=pt.clientY-ct;const Rn=document.getElementsByClassName("markdown-popup-form")[0],Dn=window.innerWidth-Rn.offsetWidth,jn=window.innerHeight-Rn.offsetHeight;ln=Math.max(0,Math.min(ln,Dn)),zn=Math.max(0,Math.min(zn,jn)),ba(pt.clientX,pt.clientY,gt,ct)&&(da(ln),$n(zn))},document.body.onmouseup=function(){document.body.onmousemove=null}},ba=(yt,gt,ct,pt)=>{const ln=document.body.clientHeight,zn=document.body.clientWidth;return yt<20&&ct>yt||yt>zn-20&&ctgt||gt>ln-20&&pt$e in le?De(le,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):le[$e]=Ne,E=(le,$e)=>{for(var Ne in $e||($e={}))y.call($e,Ne)&&b(le,Ne,$e[Ne]);if(a)for(var Ne of a($e))x.call($e,Ne)&&b(le,Ne,$e[Ne]);return le},z=(le,$e)=>ze(le,ne($e));const{useForm:ee}=ae.default,te={width:280,marginRight:10},oe={labelCol:{span:5},wrapperCol:{span:19}};var re=({callback:le,onCancel:$e})=>{const[Ne]=ee();let lt=(0,Me.useRef)();function ht(et){lt.current.width=Ne.getFieldValue("width"),lt.current.align=Ne.getFieldValue("align"),le(et,lt.current)}function Vt(et,rt){if(et.status===-1){fe.ZP.error(et.message);return}Ne.setFieldsValue({src:`/api/attachments/${et.id}`,type:rt.type})}function Fe(et){let rt=et.target.files[0];lt.current=rt,ue(rt,Vt)}return We.createElement(ae.default,z(E({form:Ne},oe),{className:"upload-image-panel",onFinish:ht,style:{width:470,overflow:"hidden"}}),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},We.createElement("div",{className:"flex-container"},We.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},We.createElement(qe.default,{style:te})),We.createElement(ie,{onFileChange:Fe}))),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},We.createElement(qe.default,{style:{width:264}})),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},We.createElement(Ye.Z,null,We.createElement(ae.default.Item,{name:"width",style:{margin:0}},We.createElement(ce.Z,{style:{width:264}})),We.createElement("span",{className:"ml8"},"%"))),We.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},We.createElement(Xe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),We.createElement("aside",null,We.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},We.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),We.createElement(me.ZP,{type:"default",onClick:$e},"\u53D6\u6D88"))))};function ie({onFileChange:le}){return We.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",We.createElement("input",{type:"file",onChange:le}))}function ue(le,$e){if(!le)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Re.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ne=new FormData;Ne.append("editormd-image-file",le),Ne.append("file_param_name","editormd-image-file"),Ne.append("byxhr","true");var lt=new window.XMLHttpRequest;lt.withCredentials=!0,lt.addEventListener("load",function(ht){$e(JSON.parse(ht.target.responseText),le)},!1),lt.addEventListener("error",function(ht){console.error(ht)},!1),lt.open("POST",`${ot.KI}/api/attachments.json`),lt.send(Ne)}},91558:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return qe}});var ae=ge(59301),fe=ge(4676);class qe extends ae.Component{constructor(ce){super(ce);const Xe=window.document;this.node=Xe.createElement("div"),Xe.body.appendChild(this.node)}render(){const{children:ce}=this.props;return(0,fe.createPortal)(ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},37808:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return fe}});var ae=ge(59301);function fe(qe,Ye){const ce=(0,ae.useRef)();(0,ae.useEffect)(()=>{ce.current=qe}),(0,ae.useEffect)(()=>{function Xe(){ce.current()}if(Ye!==null){let me=setInterval(Xe,Ye);return()=>clearInterval(me)}},[Ye])}},34840:function(Ee,it,ge){"use strict";ge.r(it),ge.d(it,{default:function(){return rt}});var ae=ge(78241),fe=ge(8591),qe=ge(66104),Ye=ge(92832),ce=ge(3113),Xe=ge(14809),me=ge(59301),ot={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},Me=ot,Re=ge(7657),We=function(_e,St){return me.createElement(Re.Z,(0,Xe.Z)({},_e,{ref:St,icon:Me}))},De=me.forwardRef(We),ze=De,ne={contentWrapper:"contentWrapper___qc2Bs",nav:"nav___txjSF",btnWrapper:"btnWrapper___CqsYo",createBtn:"createBtn___KT_Hw"},a=ge(39793),y=ge(54580),x=ge(59301),E=({value:He,onChange:_e,initValues:St=[]})=>{const[bt,Ot]=(0,me.useState)(()=>St.length>0?St.map(be=>({uid:be.name,name:be.name,url:be.url,size:0,type:""})):[]),_t=(be,Te)=>{const Pt=be.size<=314572800;return console.log(be.size),Pt?!0:(fe.ZP.error("\u6587\u4EF6\u8D85\u8FC7300MB"),!1)},Le=({fileList:be})=>{const Te=be.map(Pt=>{var tt;return(tt=Pt.response)==null?void 0:tt.id});_e(Te),Ot(be)};return x.createElement(y.default,{action:"/api/attachments.json",beforeUpload:_t,onChange:Le,fileList:bt},x.createElement(ce.ZP,null,"\u4E0A\u4F20\u6587\u4EF6"))},z=ge(62772),ee=ge(43418),te=ge(346),oe=ge(59301),re=(He,_e,St)=>new Promise((bt,Ot)=>{var _t=Te=>{try{be(St.next(Te))}catch(Pt){Ot(Pt)}},Le=Te=>{try{be(St.throw(Te))}catch(Pt){Ot(Pt)}},be=Te=>Te.done?bt(Te.value):Promise.resolve(Te.value).then(_t,Le);be((St=St.apply(He,_e)).next())});const ie=He=>new Promise((_e,St)=>{const bt=new FileReader;bt.readAsDataURL(He),bt.onload=()=>_e(bt.result),bt.onerror=Ot=>St(Ot)}),ue=He=>{const _e=He.size/1024/1024<2;return _e||fe.ZP.error("\u7167\u7247\u8D85\u8FC72MB"),_e};var $e=({onChange:He,coverUrl:_e})=>{const[St,bt]=(0,me.useState)(()=>_e?[{uid:"-1",size:0,type:"",name:"",url:`${te.Z.API_SERVER}${_e}`}]:[]);(0,me.useEffect)(()=>{if(_e){const Je=_e.match(/\d+$/);Je!=null&&Je.length&&He(Je[0])}},[_e]);const Ot=({fileList:Je,file:Tt})=>{if(Tt.status==="done"){const{response:Ut}=Tt;Ut.id?He(Ut.id):fe.ZP.error(Ut.message)}Tt.status==="removed"&&He(void 0),bt(Je)},[_t,Le]=(0,me.useState)(!1),[be,Te]=(0,me.useState)(""),[Pt,tt]=(0,me.useState)(""),Ft=Je=>re(void 0,null,function*(){!Je.url&&!Je.preview&&(Je.preview=yield ie(Je.originFileObj)),Te(Je.url||Je.preview),Le(!0),tt(Je.name||Je.url.substring(Je.url.lastIndexOf("/")+1))}),de=()=>Le(!1);return oe.createElement(oe.Fragment,null,oe.createElement(y.default,{action:"/api/attachments.json",listType:"picture-card",accept:"image/jpeg,image/jpg,image/png",beforeUpload:ue,onChange:Ot,fileList:St,onPreview:Ft},St.length===1?null:oe.createElement(z.Z,null)),oe.createElement("span",null,"\u6CE8\u610F\uFF1A\u652F\u6301\u4E0A\u4F20.jpg/.png\u683C\u5F0F\u7684\u56FE\u7247\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M\uFF0C\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20"),oe.createElement(ee.default,{visible:_t,title:Pt,footer:null,onCancel:de},oe.createElement("img",{alt:"example",style:{width:"100%"},src:be})))},Ne=ge(25690),lt=ge(82220),ht=ge(59301),Vt=(He,_e,St)=>new Promise((bt,Ot)=>{var _t=Te=>{try{be(St.next(Te))}catch(Pt){Ot(Pt)}},Le=Te=>{try{be(St.throw(Te))}catch(Pt){Ot(Pt)}},be=Te=>Te.done?bt(Te.value):Promise.resolve(Te.value).then(_t,Le);be((St=St.apply(He,_e)).next())});const Fe=({value:He="",onChange:_e=()=>{}})=>ht.createElement(a.Z,{onChange:_e,watch:!0,defaultValue:He});var rt=()=>{const[He]=ae.default.useForm(),[_e,St]=(0,me.useState)(),{id:bt}=(0,Ne.useParams)();(0,me.useEffect)(()=>{bt?(0,lt.sJ)(bt).then(be=>{St(be.school_inform)}):St({})},[]);const[Ot,_t]=(0,me.useState)(!1),Le=()=>Vt(void 0,null,function*(){try{yield He.validateFields();const be=He.getFieldsValue();if(_t(!0),bt){const Te=yield(0,lt.X4)(bt,be);_t(!1),Te.status===0&&(fe.ZP.success("\u7F16\u8F91\u6210\u529F"),Ne.history.push("/"))}else{const Te=yield(0,lt.St)(be);_t(!1),Te.status===0&&(fe.ZP.success("\u65B0\u5EFA\u6210\u529F"),Ne.history.push("/"))}}catch(be){}});return ht.createElement("div",null,ht.createElement("div",{className:`${ne.contentWrapper} ${ne.nav}`},ht.createElement(qe.Z,null,ht.createElement(qe.Z.Item,{href:"/"},ht.createElement(ze,null)),ht.createElement(qe.Z.Item,null,bt?"\u7F16\u8F91\u6821\u5185\u52A8\u6001":"\u65B0\u5EFA\u6821\u5185\u52A8\u6001"))),_e&&ht.createElement("div",{className:ne.contentWrapper},ht.createElement(ae.default,{form:He,autoComplete:"off",labelCol:{span:2},wrapperCol:{span:20},initialValues:_e},ht.createElement(ae.default.Item,{label:"\u6807\u9898",name:"name",required:!0,rules:[{required:!0}]},ht.createElement(Ye.default,{maxLength:60})),ht.createElement(ae.default.Item,{label:"\u5C01\u9762\u56FE",required:!0},ht.createElement(ae.default.Item,{name:"cover_id",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u5C01\u9762\u56FE"}]},ht.createElement($e,{coverUrl:_e==null?void 0:_e.cover_url}))),ht.createElement(ae.default.Item,{label:"\u5185\u5BB9",name:"description",required:!0,rules:[{required:!0}]},ht.createElement(Fe,null)),ht.createElement(ae.default.Item,{label:"\u9644\u4EF6",name:"attachment_ids"},ht.createElement(E,{initValues:_e==null?void 0:_e.attachments}))),ht.createElement("div",{className:ne.btnWrapper},ht.createElement(ce.ZP,{onClick:Le,className:ne.createBtn,type:"primary",loading:Ot},bt?"\u786E\u8BA4":"\u786E\u8BA4\u65B0\u5EFA"),ht.createElement(ce.ZP,{onClick:()=>Ne.history.push("/")},"\u53D6\u6D88"))))}},56762:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return fe}});var ae=ge(59301);function fe(){const[,qe]=ae.useReducer(Ye=>Ye+1,0);return qe}},66104:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return Vt}});var ae=ge(92310),fe=ge.n(ae),qe=ge(11592),Ye=ge(26112),ce=ge(59301),Xe=ge(92343),me=ge(36355),ot=ge(84105),Me=ge(91857);const Re=Fe=>{let{children:et}=Fe;const{getPrefixCls:rt}=ce.useContext(me.E_),He=rt("breadcrumb");return ce.createElement("li",{className:`${He}-separator`,"aria-hidden":"true"},et===""?et:et||"/")};Re.__ANT_BREADCRUMB_SEPARATOR=!0;var We=Re,De=function(Fe,et){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&et.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_eet[_e]||He)}function ne(Fe,et,rt,He){if(rt==null)return null;const{className:_e,onClick:St}=et,bt=De(et,["className","onClick"]),Ot=Object.assign(Object.assign({},(0,Ye.Z)(bt,{data:!0,aria:!0})),{onClick:St});return He!==void 0?ce.createElement("a",Object.assign({},Ot,{className:fe()(`${Fe}-link`,_e),href:He}),rt):ce.createElement("span",Object.assign({},Ot,{className:fe()(`${Fe}-link`,_e)}),rt)}function a(Fe,et){return(He,_e,St,bt,Ot)=>{if(et)return et(He,_e,St,bt);const _t=ze(He,_e);return ne(Fe,He,_t,Ot)}}var y=function(Fe,et){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&et.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{const{prefixCls:et,separator:rt="/",children:He,menu:_e,overlay:St,dropdownProps:bt,href:Ot}=Fe,Le=(be=>{if(_e||St){const Te=Object.assign({},bt);if(_e){const Pt=_e||{},{items:tt}=Pt,Ft=y(Pt,["items"]);Te.menu=Object.assign(Object.assign({},Ft),{items:tt==null?void 0:tt.map((de,Je)=>{var{key:Tt,title:Ut,label:kt,path:Ie}=de,we=y(de,["key","title","label","path"]);let pe=kt!=null?kt:Ut;return Ie&&(pe=ce.createElement("a",{href:`${Ot}${Ie}`},pe)),Object.assign(Object.assign({},we),{key:Tt!=null?Tt:Je,label:pe})})})}else St&&(Te.overlay=St);return ce.createElement(Me.Z,Object.assign({placement:"bottom"},Te),ce.createElement("span",{className:`${et}-overlay-link`},be,ce.createElement(ot.Z,null)))}return be})(He);return Le!=null?ce.createElement(ce.Fragment,null,ce.createElement("li",null,Le),rt&&ce.createElement(We,null,rt)):null},b=Fe=>{const{prefixCls:et,children:rt,href:He}=Fe,_e=y(Fe,["prefixCls","children","href"]),{getPrefixCls:St}=ce.useContext(me.E_),bt=St("breadcrumb",et);return ce.createElement(x,Object.assign({},_e,{prefixCls:bt}),ne(bt,_e,rt,He))};b.__ANT_BREADCRUMB_ITEM=!0;var E=b,z=ge(17313),ee=ge(83116),te=ge(37613);const oe=Fe=>{const{componentCls:et,iconCls:rt}=Fe;return{[et]:Object.assign(Object.assign({},(0,z.Wf)(Fe)),{color:Fe.itemColor,fontSize:Fe.fontSize,[rt]:{fontSize:Fe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Fe.linkColor,transition:`color ${Fe.motionDurationMid}`,padding:`0 ${Fe.paddingXXS}px`,borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",marginInline:-Fe.marginXXS,"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover}},(0,z.Qy)(Fe)),"li:last-child":{color:Fe.lastItemColor},[`${et}-separator`]:{marginInline:Fe.separatorMargin,color:Fe.separatorColor},[`${et}-link`]:{[` +`),ye.focus();default:throw new Error}},[ye,mt]),Un=(0,ae.useMemo)(()=>{switch(mt){case Ae:return ae.createElement(zt,{callback:Tn,onCancel:Xn});case Lt:return ae.createElement(Zt.Z,{callback:Tn,onCancel:Xn});case nt:return ae.createElement(Le.Z,{callback:Tn,onCancel:Xn});case st:return ae.createElement(dt,{callback:Tn,onCancel:Xn});case Nt:return ae.createElement(vt,{callback:Tn,onCancel:Xn});case"maths-latex":return ae.createElement(on,{showSaveButton:!0,callback:Tn});case"inline-latex":return ae.createElement(en.Z,{showSaveButton:!0,callback:Tn});default:return null}},[mt]);function Xn(){Ut("")}(0,ae.useEffect)(()=>{if(ia.current){let yt=function(Rn){ln=!0,zn=Rn.pageY},gt=function(){ln=!1},ct=function(Rn){if(ln){let Dn=Rn.pageY-zn;Dn<0&&(Dn=0),Dn>300&&(Dn=300);let jn=tt+Dn+"px";cn(jn)}},pt=ia.current,ln=!1,zn=0;return pt.addEventListener("mousedown",yt),document.addEventListener("mousemove",ct),document.addEventListener("mouseup",gt),()=>{pt.removeEventListener("mousedown",yt),document.removeEventListener("mousemove",ct),document.removeEventListener("mouseup",gt)}}},[ye,ia]),(0,ae.useEffect)(()=>{cn(tt)},[tt]);const ra=Nn(Se),va=Nn(un),pa={width:ra,height:va},Mn=(0,ae.useMemo)(()=>{if(Kt){let yt=new Date(Kt),gt=yt.getHours(),ct=yt.getMinutes(),pt=yt.getSeconds();return gt=gt<10?"0"+gt:gt,ct=ct<10?"0"+ct:ct,pt=pt<10?"0"+pt:pt,`${gt}:${ct}:${pt}`}return 0},[Kt]),On=yt=>{const gt=[];if(An){let ct=-1;yt=yt.replace(/(@▁▁@|@▁@)/g,function(pt,ln,zn){gt.push({multiLine:pt!==Cn})})}return gt};function la(){window.sessionStorage.removeItem(vn),Qn(!1),Tt(0)}function La(){Qn(!1),Tt(0),ye.setValue(window.sessionStorage.getItem(vn))}(0,ae.useEffect)(()=>{na[mt]&&mt!==Ot&&mt!==st&&setTimeout(()=>{const yt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth/2-yt.offsetWidth/2,ct=window.innerHeight/2-yt.offsetHeight/2;da(gt),$n(ct)},0)},[mt]);const ya=yt=>{yt.preventDefault();const gt=yt.clientX-Pa,ct=yt.clientY-Vn;document.body.onmousemove=pt=>{let ln=pt.clientX-gt,zn=pt.clientY-ct;const Rn=document.getElementsByClassName("markdown-popup-form")[0],Dn=window.innerWidth-Rn.offsetWidth,jn=window.innerHeight-Rn.offsetHeight;ln=Math.max(0,Math.min(ln,Dn)),zn=Math.max(0,Math.min(zn,jn)),ba(pt.clientX,pt.clientY,gt,ct)&&(da(ln),$n(zn))},document.body.onmouseup=function(){document.body.onmousemove=null}},ba=(yt,gt,ct,pt)=>{const ln=document.body.clientHeight,zn=document.body.clientWidth;return yt<20&&ct>yt||yt>zn-20&&ctgt||gt>ln-20&&pt$e in le?De(le,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):le[$e]=Ne,E=(le,$e)=>{for(var Ne in $e||($e={}))y.call($e,Ne)&&b(le,Ne,$e[Ne]);if(a)for(var Ne of a($e))x.call($e,Ne)&&b(le,Ne,$e[Ne]);return le},z=(le,$e)=>ze(le,ne($e));const{useForm:ee}=ae.default,te={width:280,marginRight:10},oe={labelCol:{span:5},wrapperCol:{span:19}};var re=({callback:le,onCancel:$e})=>{const[Ne]=ee();let lt=(0,Me.useRef)();function ht(qe){lt.current.width=Ne.getFieldValue("width"),lt.current.align=Ne.getFieldValue("align"),le(qe,lt.current)}function Vt(qe,rt){if(qe.status===-1){fe.ZP.error(qe.message);return}Ne.setFieldsValue({src:`/api/attachments/${qe.id}`,type:rt.type})}function Fe(qe){let rt=qe.target.files[0];lt.current=rt,ue(rt,Vt)}return We.createElement(ae.default,z(E({form:Ne},oe),{className:"upload-image-panel",onFinish:ht,style:{width:470,overflow:"hidden"}}),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},We.createElement("div",{className:"flex-container"},We.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},We.createElement(Qe.default,{style:te})),We.createElement(ie,{onFileChange:Fe}))),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},We.createElement(Qe.default,{style:{width:264}})),We.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},We.createElement(Ye.Z,null,We.createElement(ae.default.Item,{name:"width",style:{margin:0}},We.createElement(ce.Z,{style:{width:264}})),We.createElement("span",{className:"ml8"},"%"))),We.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},We.createElement(Xe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),We.createElement("aside",null,We.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},We.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),We.createElement(me.ZP,{type:"default",onClick:$e},"\u53D6\u6D88"))))};function ie({onFileChange:le}){return We.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",We.createElement("input",{type:"file",onChange:le}))}function ue(le,$e){if(!le)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Re.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ne=new FormData;Ne.append("editormd-image-file",le),Ne.append("file_param_name","editormd-image-file"),Ne.append("byxhr","true");var lt=new window.XMLHttpRequest;lt.withCredentials=!0,lt.addEventListener("load",function(ht){$e(JSON.parse(ht.target.responseText),le)},!1),lt.addEventListener("error",function(ht){console.error(ht)},!1),lt.open("POST",`${at.KI}/api/attachments.json`),lt.send(Ne)}},91558:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return Qe}});var ae=ge(59301),fe=ge(4676);class Qe extends ae.Component{constructor(ce){super(ce);const Xe=window.document;this.node=Xe.createElement("div"),Xe.body.appendChild(this.node)}render(){const{children:ce}=this.props;return(0,fe.createPortal)(ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},37808:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return fe}});var ae=ge(59301);function fe(Qe,Ye){const ce=(0,ae.useRef)();(0,ae.useEffect)(()=>{ce.current=Qe}),(0,ae.useEffect)(()=>{function Xe(){ce.current()}if(Ye!==null){let me=setInterval(Xe,Ye);return()=>clearInterval(me)}},[Ye])}},34840:function(Ee,it,ge){"use strict";ge.r(it),ge.d(it,{default:function(){return rt}});var ae=ge(78241),fe=ge(8591),Qe=ge(66104),Ye=ge(92832),ce=ge(3113),Xe=ge(14809),me=ge(59301),at={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},Me=at,Re=ge(7657),We=function(_e,St){return me.createElement(Re.Z,(0,Xe.Z)({},_e,{ref:St,icon:Me}))},De=me.forwardRef(We),ze=De,ne={contentWrapper:"contentWrapper___qc2Bs",nav:"nav___txjSF",btnWrapper:"btnWrapper___CqsYo",createBtn:"createBtn___KT_Hw"},a=ge(39793),y=ge(54580),x=ge(59301),E=({value:He,onChange:_e,initValues:St=[]})=>{const[bt,zt]=(0,me.useState)(()=>St.length>0?St.map(be=>({uid:be.name,name:be.name,url:be.url,size:0,type:""})):[]),Zt=(be,Te)=>{const Pt=be.size<=314572800;return console.log(be.size),Pt?!0:(fe.ZP.error("\u6587\u4EF6\u8D85\u8FC7300MB"),!1)},Le=({fileList:be})=>{const Te=be.map(Pt=>{var et;return(et=Pt.response)==null?void 0:et.id});_e(Te),zt(be)};return x.createElement(y.default,{action:"/api/attachments.json",beforeUpload:Zt,onChange:Le,fileList:bt},x.createElement(ce.ZP,null,"\u4E0A\u4F20\u6587\u4EF6"))},z=ge(62772),ee=ge(43418),te=ge(346),oe=ge(59301),re=(He,_e,St)=>new Promise((bt,zt)=>{var Zt=Te=>{try{be(St.next(Te))}catch(Pt){zt(Pt)}},Le=Te=>{try{be(St.throw(Te))}catch(Pt){zt(Pt)}},be=Te=>Te.done?bt(Te.value):Promise.resolve(Te.value).then(Zt,Le);be((St=St.apply(He,_e)).next())});const ie=He=>new Promise((_e,St)=>{const bt=new FileReader;bt.readAsDataURL(He),bt.onload=()=>_e(bt.result),bt.onerror=zt=>St(zt)}),ue=He=>{const _e=He.size/1024/1024<2;return _e||fe.ZP.error("\u7167\u7247\u8D85\u8FC72MB"),_e};var $e=({onChange:He,coverUrl:_e})=>{const[St,bt]=(0,me.useState)(()=>_e?[{uid:"-1",size:0,type:"",name:"",url:`${te.Z.API_SERVER}${_e}`}]:[]);function zt(Bt){const Wt=Bt.match(/\/attachments\/([^?]+)/);return Wt?Wt[1]:null}(0,me.useEffect)(()=>{if(_e){const Bt=zt(_e);Bt&&He(Bt)}},[_e]);const Zt=({fileList:Bt,file:Wt})=>{if(Wt.status==="done"){const{response:Dt}=Wt;Dt.id?He(Dt.id):fe.ZP.error(Dt.message)}Wt.status==="removed"&&He(void 0),bt(Bt)},[Le,be]=(0,me.useState)(!1),[Te,Pt]=(0,me.useState)(""),[et,Ft]=(0,me.useState)(""),de=Bt=>re(void 0,null,function*(){!Bt.url&&!Bt.preview&&(Bt.preview=yield ie(Bt.originFileObj)),Pt(Bt.url||Bt.preview),be(!0),Ft(Bt.name||Bt.url.substring(Bt.url.lastIndexOf("/")+1))}),ot=()=>be(!1);return oe.createElement(oe.Fragment,null,oe.createElement(y.default,{action:"/api/attachments.json",listType:"picture-card",accept:"image/jpeg,image/jpg,image/png",beforeUpload:ue,onChange:Zt,fileList:St,onPreview:de},St.length===1?null:oe.createElement(z.Z,null)),oe.createElement("span",null,"\u6CE8\u610F\uFF1A\u652F\u6301\u4E0A\u4F20.jpg/.png\u683C\u5F0F\u7684\u56FE\u7247\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M\uFF0C\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20"),oe.createElement(ee.default,{visible:Le,title:et,footer:null,onCancel:ot},oe.createElement("img",{alt:"example",style:{width:"100%"},src:Te})))},Ne=ge(25690),lt=ge(82220),ht=ge(59301),Vt=(He,_e,St)=>new Promise((bt,zt)=>{var Zt=Te=>{try{be(St.next(Te))}catch(Pt){zt(Pt)}},Le=Te=>{try{be(St.throw(Te))}catch(Pt){zt(Pt)}},be=Te=>Te.done?bt(Te.value):Promise.resolve(Te.value).then(Zt,Le);be((St=St.apply(He,_e)).next())});const Fe=({value:He="",onChange:_e=()=>{}})=>ht.createElement(a.Z,{onChange:_e,watch:!0,defaultValue:He});var rt=()=>{const[He]=ae.default.useForm(),[_e,St]=(0,me.useState)(),{id:bt}=(0,Ne.useParams)();(0,me.useEffect)(()=>{bt?(0,lt.sJ)(bt).then(be=>{St(be.school_inform)}):St({})},[]);const[zt,Zt]=(0,me.useState)(!1),Le=()=>Vt(void 0,null,function*(){try{yield He.validateFields();const be=He.getFieldsValue();if(Zt(!0),bt){const Te=yield(0,lt.X4)(bt,be);Zt(!1),Te.status===0&&(fe.ZP.success("\u7F16\u8F91\u6210\u529F"),Ne.history.push("/"))}else{const Te=yield(0,lt.St)(be);Zt(!1),Te.status===0&&(fe.ZP.success("\u65B0\u5EFA\u6210\u529F"),Ne.history.push("/"))}}catch(be){}});return ht.createElement("div",null,ht.createElement("div",{className:`${ne.contentWrapper} ${ne.nav}`},ht.createElement(Qe.Z,null,ht.createElement(Qe.Z.Item,{href:"/"},ht.createElement(ze,null)),ht.createElement(Qe.Z.Item,null,bt?"\u7F16\u8F91\u6821\u5185\u52A8\u6001":"\u65B0\u5EFA\u6821\u5185\u52A8\u6001"))),_e&&ht.createElement("div",{className:ne.contentWrapper},ht.createElement(ae.default,{form:He,autoComplete:"off",labelCol:{span:2},wrapperCol:{span:20},initialValues:_e},ht.createElement(ae.default.Item,{label:"\u6807\u9898",name:"name",required:!0,rules:[{required:!0}]},ht.createElement(Ye.default,{maxLength:60})),ht.createElement(ae.default.Item,{label:"\u5C01\u9762\u56FE",required:!0},ht.createElement(ae.default.Item,{name:"cover_id",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u5C01\u9762\u56FE"}]},ht.createElement($e,{coverUrl:_e==null?void 0:_e.cover_url}))),ht.createElement(ae.default.Item,{label:"\u5185\u5BB9",name:"description",required:!0,rules:[{required:!0}]},ht.createElement(Fe,null)),ht.createElement(ae.default.Item,{label:"\u9644\u4EF6",name:"attachment_ids"},ht.createElement(E,{initValues:_e==null?void 0:_e.attachments}))),ht.createElement("div",{className:ne.btnWrapper},ht.createElement(ce.ZP,{onClick:Le,className:ne.createBtn,type:"primary",loading:zt},bt?"\u786E\u8BA4":"\u786E\u8BA4\u65B0\u5EFA"),ht.createElement(ce.ZP,{onClick:()=>Ne.history.push("/")},"\u53D6\u6D88"))))}},56762:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return fe}});var ae=ge(59301);function fe(){const[,Qe]=ae.useReducer(Ye=>Ye+1,0);return Qe}},66104:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return Vt}});var ae=ge(92310),fe=ge.n(ae),Qe=ge(11592),Ye=ge(26112),ce=ge(59301),Xe=ge(92343),me=ge(36355),at=ge(84105),Me=ge(91857);const Re=Fe=>{let{children:qe}=Fe;const{getPrefixCls:rt}=ce.useContext(me.E_),He=rt("breadcrumb");return ce.createElement("li",{className:`${He}-separator`,"aria-hidden":"true"},qe===""?qe:qe||"/")};Re.__ANT_BREADCRUMB_SEPARATOR=!0;var We=Re,De=function(Fe,qe){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&qe.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_eqe[_e]||He)}function ne(Fe,qe,rt,He){if(rt==null)return null;const{className:_e,onClick:St}=qe,bt=De(qe,["className","onClick"]),zt=Object.assign(Object.assign({},(0,Ye.Z)(bt,{data:!0,aria:!0})),{onClick:St});return He!==void 0?ce.createElement("a",Object.assign({},zt,{className:fe()(`${Fe}-link`,_e),href:He}),rt):ce.createElement("span",Object.assign({},zt,{className:fe()(`${Fe}-link`,_e)}),rt)}function a(Fe,qe){return(He,_e,St,bt,zt)=>{if(qe)return qe(He,_e,St,bt);const Zt=ze(He,_e);return ne(Fe,He,Zt,zt)}}var y=function(Fe,qe){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&qe.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{const{prefixCls:qe,separator:rt="/",children:He,menu:_e,overlay:St,dropdownProps:bt,href:zt}=Fe,Le=(be=>{if(_e||St){const Te=Object.assign({},bt);if(_e){const Pt=_e||{},{items:et}=Pt,Ft=y(Pt,["items"]);Te.menu=Object.assign(Object.assign({},Ft),{items:et==null?void 0:et.map((de,ot)=>{var{key:Bt,title:Wt,label:Dt,path:Ie}=de,we=y(de,["key","title","label","path"]);let pe=Dt!=null?Dt:Wt;return Ie&&(pe=ce.createElement("a",{href:`${zt}${Ie}`},pe)),Object.assign(Object.assign({},we),{key:Bt!=null?Bt:ot,label:pe})})})}else St&&(Te.overlay=St);return ce.createElement(Me.Z,Object.assign({placement:"bottom"},Te),ce.createElement("span",{className:`${qe}-overlay-link`},be,ce.createElement(at.Z,null)))}return be})(He);return Le!=null?ce.createElement(ce.Fragment,null,ce.createElement("li",null,Le),rt&&ce.createElement(We,null,rt)):null},b=Fe=>{const{prefixCls:qe,children:rt,href:He}=Fe,_e=y(Fe,["prefixCls","children","href"]),{getPrefixCls:St}=ce.useContext(me.E_),bt=St("breadcrumb",qe);return ce.createElement(x,Object.assign({},_e,{prefixCls:bt}),ne(bt,_e,rt,He))};b.__ANT_BREADCRUMB_ITEM=!0;var E=b,z=ge(17313),ee=ge(83116),te=ge(37613);const oe=Fe=>{const{componentCls:qe,iconCls:rt}=Fe;return{[qe]:Object.assign(Object.assign({},(0,z.Wf)(Fe)),{color:Fe.itemColor,fontSize:Fe.fontSize,[rt]:{fontSize:Fe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Fe.linkColor,transition:`color ${Fe.motionDurationMid}`,padding:`0 ${Fe.paddingXXS}px`,borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",marginInline:-Fe.marginXXS,"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover}},(0,z.Qy)(Fe)),"li:last-child":{color:Fe.lastItemColor},[`${qe}-separator`]:{marginInline:Fe.separatorMargin,color:Fe.separatorColor},[`${qe}-link`]:{[` > ${rt} + span, > ${rt} + a - `]:{marginInlineStart:Fe.marginXXS}},[`${et}-overlay-link`]:{borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",padding:`0 ${Fe.paddingXXS}px`,marginInline:-Fe.marginXXS,[`> ${rt}`]:{marginInlineStart:Fe.marginXXS,fontSize:Fe.fontSizeIcon},"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover,a:{color:Fe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}})}};var re=(0,ee.Z)("Breadcrumb",Fe=>{const et=(0,te.TS)(Fe,{});return[oe(et)]},Fe=>({itemColor:Fe.colorTextDescription,lastItemColor:Fe.colorText,iconFontSize:Fe.fontSize,linkColor:Fe.colorTextDescription,linkHoverColor:Fe.colorText,separatorColor:Fe.colorTextDescription,separatorMargin:Fe.marginXS})),ie=function(Fe,et){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&et.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{var{breadcrumbName:bt}=St,Ot=ie(St,["breadcrumbName"]);return Object.assign(Object.assign({},Ot),{title:bt})})}),_e}function le(Fe,et){return(0,ce.useMemo)(()=>Fe||(et?et.map(ue):null),[Fe,et])}var $e=function(Fe,et){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&et.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{if(et===void 0)return et;let rt=(et||"").replace(/^\//,"");return Object.keys(Fe).forEach(He=>{rt=rt.replace(`:${He}`,Fe[He])}),rt},lt=Fe=>{const{prefixCls:et,separator:rt="/",style:He,className:_e,rootClassName:St,routes:bt,items:Ot,children:_t,itemRender:Le,params:be={}}=Fe,Te=$e(Fe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Pt,direction:tt,breadcrumb:Ft}=ce.useContext(me.E_);let de;const Je=Pt("breadcrumb",et),[Tt,Ut]=re(Je),kt=le(Ot,bt),Ie=a(Je,Le);if(kt&&kt.length>0){const ke=[],Ze=Ot||bt;de=kt.map((dt,Bt)=>{const{path:xt,key:Mt,type:Dt,menu:vt,overlay:At,onClick:Pn,className:wn,separator:Ln,dropdownProps:on}=dt,en=Ne(be,xt);en!==void 0&&ke.push(en);const Pe=Mt!=null?Mt:Bt;if(Dt==="separator")return ce.createElement(We,{key:Pe},Ln);const Be={},Ae=Bt===kt.length-1;vt?Be.menu=vt:At&&(Be.overlay=At);let{href:at}=dt;return ke.length&&en!==void 0&&(at=`#/${ke.join("/")}`),ce.createElement(x,Object.assign({key:Pe},Be,(0,Ye.Z)(dt,{data:!0,aria:!0}),{className:wn,dropdownProps:on,href:at,separator:Ae?"":rt,onClick:Pn,prefixCls:Je}),Ie(dt,be,Ze,ke,at))})}else if(_t){const ke=(0,qe.Z)(_t).length;de=(0,qe.Z)(_t).map((Ze,dt)=>{if(!Ze)return Ze;const Bt=dt===ke-1;return(0,Xe.Tm)(Ze,{separator:Bt?"":rt,key:dt})})}const we=fe()(Je,Ft==null?void 0:Ft.className,{[`${Je}-rtl`]:tt==="rtl"},_e,St,Ut),pe=Object.assign(Object.assign({},Ft==null?void 0:Ft.style),He);return Tt(ce.createElement("nav",Object.assign({className:we,style:pe},Te),ce.createElement("ol",null,de)))};lt.Item=E,lt.Separator=We;var ht=lt,Vt=ht},91857:function(Ee,it,ge){"use strict";var ae=ge(59301),fe=ge(38819),qe=ge(92310),Ye=ge.n(qe),ce=ge(31561),Xe=ge(70425),me=ge(18929),ot=ge(2738),Me=ge(79676),Re=ge(53487),We=ge(92343),De=ge(36355),ze=ge(20834),ne=ge(40875),a=ge(88088),y=ge(47211);const x=null,b=te=>{const{menu:oe,arrow:re,prefixCls:ie,children:ue,trigger:le,disabled:$e,dropdownRender:Ne,getPopupContainer:lt,overlayClassName:ht,rootClassName:Vt,open:Fe,onOpenChange:et,visible:rt,onVisibleChange:He,mouseEnterDelay:_e=.15,mouseLeaveDelay:St=.1,autoAdjustOverflow:bt=!0,placement:Ot="",overlay:_t,transitionName:Le}=te,{getPopupContainer:be,getPrefixCls:Te,direction:Pt}=ae.useContext(De.E_),tt=ae.useMemo(()=>{const vt=Te();return Le!==void 0?Le:Ot.includes("top")?`${vt}-slide-down`:`${vt}-slide-up`},[Te,Ot,Le]),Ft=ae.useMemo(()=>Ot?Ot.includes("Center")?Ot.slice(0,Ot.indexOf("Center")):Ot:Pt==="rtl"?"bottomRight":"bottomLeft",[Ot,Pt]),de=Te("dropdown",ie),[Je,Tt]=(0,y.Z)(de),[,Ut]=(0,a.Z)(),kt=ae.Children.only(ue),Ie=(0,We.Tm)(kt,{className:Ye()(`${de}-trigger`,{[`${de}-rtl`]:Pt==="rtl"},kt.props.className),disabled:$e}),we=$e?[]:le;let pe;we&&we.includes("contextMenu")&&(pe=!0);const[ke,Ze]=(0,me.Z)(!1,{value:Fe!=null?Fe:rt}),dt=(0,Xe.useEvent)(vt=>{et==null||et(vt),He==null||He(vt),Ze(vt)}),Bt=Ye()(ht,Vt,Tt,{[`${de}-rtl`]:Pt==="rtl"}),xt=(0,Me.Z)({arrowPointAtCenter:typeof re=="object"&&re.pointAtCenter,autoAdjustOverflow:bt,offset:Ut.marginXXS,arrowWidth:re?Ut.sizePopupArrow:0,borderRadius:Ut.borderRadius}),Mt=ae.useCallback(()=>{Ze(!1)},[]),Dt=()=>{let vt;return oe!=null&&oe.items?vt=ae.createElement(ze.default,Object.assign({},oe)):typeof _t=="function"?vt=_t():vt=_t,Ne&&(vt=Ne(vt)),vt=ae.Children.only(typeof vt=="string"?ae.createElement("span",null,vt):vt),ae.createElement(ne.J,{prefixCls:`${de}-menu`,expandIcon:ae.createElement("span",{className:`${de}-menu-submenu-arrow`},ae.createElement(fe.Z,{className:`${de}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Mt,validator:At=>{let{mode:Pn}=At}},vt)};return Je(ae.createElement(ce.Z,Object.assign({alignPoint:pe},(0,ot.Z)(te,["rootClassName"]),{mouseEnterDelay:_e,mouseLeaveDelay:St,visible:ke,builtinPlacements:xt,arrow:!!re,overlayClassName:Bt,prefixCls:de,getPopupContainer:lt||be,transitionName:tt,trigger:we,overlay:Dt,placement:Ft,onVisibleChange:dt}),Ie))};function E(te){return Object.assign(Object.assign({},te),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,Re.Z)(b,"dropdown",te=>te,E),ee=te=>ae.createElement(z,Object.assign({},te),ae.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,it.Z=b},47211:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return We}});var ae=ge(17313),fe=ge(13826),qe=ge(92899),Ye=ge(29878),ce=ge(19447),Xe=ge(83116),me=ge(37613),Me=De=>{const{componentCls:ze,menuCls:ne,colorError:a,colorTextLightSolid:y}=De,x=`${ne}-item`;return{[`${ze}, ${ze}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Re=De=>{const{componentCls:ze,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:te,dropdownEdgeChildPadding:oe,colorTextDisabled:re,fontSizeIcon:ie,controlPaddingHorizontal:ue,colorBgElevated:le}=De;return[{[ze]:Object.assign(Object.assign({},(0,ae.Wf)(De)),{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`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:ie}},[`${ze}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:ie},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${ze}-wrap-open`]:{[`${E}-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${ze}-placement-bottomLeft, + `]:{marginInlineStart:Fe.marginXXS}},[`${qe}-overlay-link`]:{borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",padding:`0 ${Fe.paddingXXS}px`,marginInline:-Fe.marginXXS,[`> ${rt}`]:{marginInlineStart:Fe.marginXXS,fontSize:Fe.fontSizeIcon},"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover,a:{color:Fe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}})}};var re=(0,ee.Z)("Breadcrumb",Fe=>{const qe=(0,te.TS)(Fe,{});return[oe(qe)]},Fe=>({itemColor:Fe.colorTextDescription,lastItemColor:Fe.colorText,iconFontSize:Fe.fontSize,linkColor:Fe.colorTextDescription,linkHoverColor:Fe.colorText,separatorColor:Fe.colorTextDescription,separatorMargin:Fe.marginXS})),ie=function(Fe,qe){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&qe.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{var{breadcrumbName:bt}=St,zt=ie(St,["breadcrumbName"]);return Object.assign(Object.assign({},zt),{title:bt})})}),_e}function le(Fe,qe){return(0,ce.useMemo)(()=>Fe||(qe?qe.map(ue):null),[Fe,qe])}var $e=function(Fe,qe){var rt={};for(var He in Fe)Object.prototype.hasOwnProperty.call(Fe,He)&&qe.indexOf(He)<0&&(rt[He]=Fe[He]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(Fe);_e{if(qe===void 0)return qe;let rt=(qe||"").replace(/^\//,"");return Object.keys(Fe).forEach(He=>{rt=rt.replace(`:${He}`,Fe[He])}),rt},lt=Fe=>{const{prefixCls:qe,separator:rt="/",style:He,className:_e,rootClassName:St,routes:bt,items:zt,children:Zt,itemRender:Le,params:be={}}=Fe,Te=$e(Fe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Pt,direction:et,breadcrumb:Ft}=ce.useContext(me.E_);let de;const ot=Pt("breadcrumb",qe),[Bt,Wt]=re(ot),Dt=le(zt,bt),Ie=a(ot,Le);if(Dt&&Dt.length>0){const ke=[],Ze=zt||bt;de=Dt.map((dt,xt)=>{const{path:Ct,key:Mt,type:At,menu:vt,overlay:Rt,onClick:Pn,className:wn,separator:Ln,dropdownProps:on}=dt,en=Ne(be,Ct);en!==void 0&&ke.push(en);const Pe=Mt!=null?Mt:xt;if(At==="separator")return ce.createElement(We,{key:Pe},Ln);const Be={},Ae=xt===Dt.length-1;vt?Be.menu=vt:Rt&&(Be.overlay=Rt);let{href:nt}=dt;return ke.length&&en!==void 0&&(nt=`#/${ke.join("/")}`),ce.createElement(x,Object.assign({key:Pe},Be,(0,Ye.Z)(dt,{data:!0,aria:!0}),{className:wn,dropdownProps:on,href:nt,separator:Ae?"":rt,onClick:Pn,prefixCls:ot}),Ie(dt,be,Ze,ke,nt))})}else if(Zt){const ke=(0,Qe.Z)(Zt).length;de=(0,Qe.Z)(Zt).map((Ze,dt)=>{if(!Ze)return Ze;const xt=dt===ke-1;return(0,Xe.Tm)(Ze,{separator:xt?"":rt,key:dt})})}const we=fe()(ot,Ft==null?void 0:Ft.className,{[`${ot}-rtl`]:et==="rtl"},_e,St,Wt),pe=Object.assign(Object.assign({},Ft==null?void 0:Ft.style),He);return Bt(ce.createElement("nav",Object.assign({className:we,style:pe},Te),ce.createElement("ol",null,de)))};lt.Item=E,lt.Separator=We;var ht=lt,Vt=ht},91857:function(Ee,it,ge){"use strict";var ae=ge(59301),fe=ge(38819),Qe=ge(92310),Ye=ge.n(Qe),ce=ge(31561),Xe=ge(70425),me=ge(18929),at=ge(2738),Me=ge(79676),Re=ge(53487),We=ge(92343),De=ge(36355),ze=ge(20834),ne=ge(40875),a=ge(88088),y=ge(47211);const x=null,b=te=>{const{menu:oe,arrow:re,prefixCls:ie,children:ue,trigger:le,disabled:$e,dropdownRender:Ne,getPopupContainer:lt,overlayClassName:ht,rootClassName:Vt,open:Fe,onOpenChange:qe,visible:rt,onVisibleChange:He,mouseEnterDelay:_e=.15,mouseLeaveDelay:St=.1,autoAdjustOverflow:bt=!0,placement:zt="",overlay:Zt,transitionName:Le}=te,{getPopupContainer:be,getPrefixCls:Te,direction:Pt}=ae.useContext(De.E_),et=ae.useMemo(()=>{const vt=Te();return Le!==void 0?Le:zt.includes("top")?`${vt}-slide-down`:`${vt}-slide-up`},[Te,zt,Le]),Ft=ae.useMemo(()=>zt?zt.includes("Center")?zt.slice(0,zt.indexOf("Center")):zt:Pt==="rtl"?"bottomRight":"bottomLeft",[zt,Pt]),de=Te("dropdown",ie),[ot,Bt]=(0,y.Z)(de),[,Wt]=(0,a.Z)(),Dt=ae.Children.only(ue),Ie=(0,We.Tm)(Dt,{className:Ye()(`${de}-trigger`,{[`${de}-rtl`]:Pt==="rtl"},Dt.props.className),disabled:$e}),we=$e?[]:le;let pe;we&&we.includes("contextMenu")&&(pe=!0);const[ke,Ze]=(0,me.Z)(!1,{value:Fe!=null?Fe:rt}),dt=(0,Xe.useEvent)(vt=>{qe==null||qe(vt),He==null||He(vt),Ze(vt)}),xt=Ye()(ht,Vt,Bt,{[`${de}-rtl`]:Pt==="rtl"}),Ct=(0,Me.Z)({arrowPointAtCenter:typeof re=="object"&&re.pointAtCenter,autoAdjustOverflow:bt,offset:Wt.marginXXS,arrowWidth:re?Wt.sizePopupArrow:0,borderRadius:Wt.borderRadius}),Mt=ae.useCallback(()=>{Ze(!1)},[]),At=()=>{let vt;return oe!=null&&oe.items?vt=ae.createElement(ze.default,Object.assign({},oe)):typeof Zt=="function"?vt=Zt():vt=Zt,Ne&&(vt=Ne(vt)),vt=ae.Children.only(typeof vt=="string"?ae.createElement("span",null,vt):vt),ae.createElement(ne.J,{prefixCls:`${de}-menu`,expandIcon:ae.createElement("span",{className:`${de}-menu-submenu-arrow`},ae.createElement(fe.Z,{className:`${de}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Mt,validator:Rt=>{let{mode:Pn}=Rt}},vt)};return ot(ae.createElement(ce.Z,Object.assign({alignPoint:pe},(0,at.Z)(te,["rootClassName"]),{mouseEnterDelay:_e,mouseLeaveDelay:St,visible:ke,builtinPlacements:Ct,arrow:!!re,overlayClassName:xt,prefixCls:de,getPopupContainer:lt||be,transitionName:et,trigger:we,overlay:At,placement:Ft,onVisibleChange:dt}),Ie))};function E(te){return Object.assign(Object.assign({},te),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,Re.Z)(b,"dropdown",te=>te,E),ee=te=>ae.createElement(z,Object.assign({},te),ae.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,it.Z=b},47211:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return We}});var ae=ge(17313),fe=ge(13826),Qe=ge(92899),Ye=ge(29878),ce=ge(19447),Xe=ge(83116),me=ge(37613),Me=De=>{const{componentCls:ze,menuCls:ne,colorError:a,colorTextLightSolid:y}=De,x=`${ne}-item`;return{[`${ze}, ${ze}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Re=De=>{const{componentCls:ze,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:te,dropdownEdgeChildPadding:oe,colorTextDisabled:re,fontSizeIcon:ie,controlPaddingHorizontal:ue,colorBgElevated:le}=De;return[{[ze]:Object.assign(Object.assign({},(0,ae.Wf)(De)),{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`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:ie}},[`${ze}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:ie},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${ze}-wrap-open`]:{[`${E}-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${ze}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ze}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ze}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ze}-placement-bottom, @@ -114,30 +114,30 @@ &${b}-slide-down-leave${b}-slide-down-leave-active${ze}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${ze}-placement-bottomRight`]:{animationName:fe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ze}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ze}-placement-top, - &${b}-slide-up-leave${b}-slide-up-leave-active${ze}-placement-topRight`]:{animationName:fe.ly}})},(0,ce.ZP)(De,{colorBg:le,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ze} ${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}},[`${ze}, ${ze}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:le,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,ae.Qy)(De)),{[`${ne}-item-group-title`]:{padding:`${ee}px ${ue}px`,color:De.colorTextDescription,transition:`all ${z}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:te,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ee}px ${ue}px`,color:De.colorText,fontWeight:"normal",fontSize:te,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,ae.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:re,cursor:"not-allowed","&:hover":{color:re,backgroundColor:le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${ze}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${ze}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:ie,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:ue+De.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ze}-menu-submenu-title`]:{[`&, ${ze}-menu-submenu-arrow-icon`]:{color:re,backgroundColor:le,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ze}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,fe.oN)(De,"slide-up"),(0,fe.oN)(De,"slide-down"),(0,qe.Fm)(De,"move-up"),(0,qe.Fm)(De,"move-down"),(0,Ye._y)(De,"zoom-big")]]};var We=(0,Xe.Z)("Dropdown",(De,ze)=>{let{rootPrefixCls:ne}=ze;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:te}=De,oe=(x-b*E)/2,{dropdownArrowOffset:re}=(0,ce.fS)({contentRadius:te}),ie=(0,me.TS)(De,{menuCls:`${ee}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:re,dropdownPaddingVertical:oe,dropdownEdgeChildPadding:z});return[Re(ie),Me(ie)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},45818:function(Ee,it,ge){"use strict";ge.d(it,{D:function(){return z},Z:function(){return oe}});var ae=ge(14809),fe=ge(59301),qe={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"},Ye=qe,ce=ge(7657),Xe=function(ie,ue){return fe.createElement(ce.Z,(0,ae.Z)({},ie,{ref:ue,icon:Ye}))},me=fe.forwardRef(Xe),ot=me,Me=ge(33853),Re=ge(38819),We=ge(92310),De=ge.n(We),ze=ge(2738),a=re=>!isNaN(parseFloat(re))&&isFinite(re),y=ge(36355),x=ge(84966),b=function(re,ie){var ue={};for(var le in re)Object.prototype.hasOwnProperty.call(re,le)&&ie.indexOf(le)<0&&(ue[le]=re[le]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,le=Object.getOwnPropertySymbols(re);$e{let re=0;return function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return re+=1,`${ie}${re}`}})();var oe=fe.forwardRef((re,ie)=>{const{prefixCls:ue,className:le,trigger:$e,children:Ne,defaultCollapsed:lt=!1,theme:ht="dark",style:Vt={},collapsible:Fe=!1,reverseArrow:et=!1,width:rt=200,collapsedWidth:He=80,zeroWidthTriggerStyle:_e,breakpoint:St,onCollapse:bt,onBreakpoint:Ot}=re,_t=b(re,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Le}=(0,fe.useContext)(x.Gs),[be,Te]=(0,fe.useState)("collapsed"in re?re.collapsed:lt),[Pt,tt]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{"collapsed"in re&&Te(re.collapsed)},[re.collapsed]);const Ft=(Ie,we)=>{"collapsed"in re||Te(Ie),bt==null||bt(Ie,we)},de=(0,fe.useRef)();de.current=Ie=>{tt(Ie.matches),Ot==null||Ot(Ie.matches),be!==Ie.matches&&Ft(Ie.matches,"responsive")},(0,fe.useEffect)(()=>{function Ie(pe){return de.current(pe)}let we;if(typeof window!="undefined"){const{matchMedia:pe}=window;if(pe&&St&&St in E){we=pe(`(max-width: ${E[St]})`);try{we.addEventListener("change",Ie)}catch(ke){we.addListener(Ie)}Ie(we)}}return()=>{try{we==null||we.removeEventListener("change",Ie)}catch(pe){we==null||we.removeListener(Ie)}}},[St]),(0,fe.useEffect)(()=>{const Ie=ee("ant-sider-");return Le.addSider(Ie),()=>Le.removeSider(Ie)},[]);const Je=()=>{Ft(!be,"clickTrigger")},{getPrefixCls:Tt}=(0,fe.useContext)(y.E_),Ut=()=>{const Ie=Tt("layout-sider",ue),we=(0,ze.Z)(_t,["collapsed"]),pe=be?He:rt,ke=a(pe)?`${pe}px`:String(pe),Ze=parseFloat(String(He||0))===0?fe.createElement("span",{onClick:Je,className:De()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${et?"right":"left"}`),style:_e},$e||fe.createElement(ot,null)):null,xt={expanded:et?fe.createElement(Re.Z,null):fe.createElement(Me.Z,null),collapsed:et?fe.createElement(Me.Z,null):fe.createElement(Re.Z,null)}[be?"collapsed":"expanded"],Mt=$e!==null?Ze||fe.createElement("div",{className:`${Ie}-trigger`,onClick:Je,style:{width:ke}},$e||xt):null,Dt=Object.assign(Object.assign({},Vt),{flex:`0 0 ${ke}`,maxWidth:ke,minWidth:ke,width:ke}),vt=De()(Ie,`${Ie}-${ht}`,{[`${Ie}-collapsed`]:!!be,[`${Ie}-has-trigger`]:Fe&&$e!==null&&!Ze,[`${Ie}-below`]:!!Pt,[`${Ie}-zero-width`]:parseFloat(ke)===0},le);return fe.createElement("aside",Object.assign({className:vt},we,{style:Dt,ref:ie}),fe.createElement("div",{className:`${Ie}-children`},Ne),Fe||Pt&&Ze?Mt:null)},kt=fe.useMemo(()=>({siderCollapsed:be}),[be]);return fe.createElement(z.Provider,{value:kt},Ut())})},84966:function(Ee,it,ge){"use strict";ge.d(it,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return ze},ZP:function(){return ee}});var ae=ge(95190),fe=ge(92310),qe=ge.n(fe),Ye=ge(2738),ce=ge(59301),Xe=ge(36355),me=ge(83116),Me=te=>{const{componentCls:oe,bodyBg:re,lightSiderBg:ie,lightTriggerBg:ue,lightTriggerColor:le}=te;return{[`${oe}-sider-light`]:{background:ie,[`${oe}-sider-trigger`]:{color:le,background:ue},[`${oe}-sider-zero-width-trigger`]:{color:le,background:ue,border:`1px solid ${re}`,borderInlineStart:0}}}};const Re=te=>{const{antCls:oe,componentCls:re,colorText:ie,triggerColor:ue,footerBg:le,triggerBg:$e,headerHeight:Ne,headerPadding:lt,headerColor:ht,footerPadding:Vt,triggerHeight:Fe,zeroTriggerHeight:et,zeroTriggerWidth:rt,motionDurationMid:He,motionDurationSlow:_e,fontSize:St,borderRadius:bt,bodyBg:Ot,headerBg:_t,siderBg:Le}=te;return{[re]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ot,"&, *":{boxSizing:"border-box"},[`&${re}-has-sider`]:{flexDirection:"row",[`> ${re}, > ${re}-content`]:{width:0}},[`${re}-header, &${re}-footer`]:{flex:"0 0 auto"},[`${re}-sider`]:{position:"relative",minWidth:0,background:Le,transition:`all ${He}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${oe}-menu${oe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Fe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Fe,color:ue,lineHeight:`${Fe}px`,textAlign:"center",background:$e,cursor:"pointer",transition:`all ${He}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ne,insetInlineEnd:-rt,zIndex:1,width:rt,height:et,color:ue,fontSize:te.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Le,borderStartStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${_e} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_e}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-rt,borderStartStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:bt}}}}},Me(te)),{"&-rtl":{direction:"rtl"}}),[`${re}-header`]:{height:Ne,padding:lt,color:ht,lineHeight:`${Ne}px`,background:_t,[`${oe}-menu`]:{lineHeight:"inherit"}},[`${re}-footer`]:{padding:Vt,color:ie,fontSize:St,background:le},[`${re}-content`]:{flex:"auto",minHeight:0}}};var We=(0,me.Z)("Layout",te=>[Re(te)],te=>{const{colorBgLayout:oe,controlHeight:re,controlHeightLG:ie,colorText:ue,controlHeightSM:le,marginXXS:$e,colorTextLightSolid:Ne,colorBgContainer:lt}=te,ht=ie*1.25;return{colorBgHeader:"#001529",colorBgBody:oe,colorBgTrigger:"#002140",bodyBg:oe,headerBg:"#001529",headerHeight:re*2,headerPadding:`0 ${ht}px`,headerColor:ue,footerPadding:`${le}px ${ht}px`,footerBg:oe,siderBg:"#001529",triggerHeight:ie+$e*2,triggerBg:"#002140",triggerColor:Ne,zeroTriggerWidth:ie,zeroTriggerHeight:ie,lightSiderBg:lt,lightTriggerBg:lt,lightTriggerColor:ue}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(te,oe){var re={};for(var ie in te)Object.prototype.hasOwnProperty.call(te,ie)&&oe.indexOf(ie)<0&&(re[ie]=te[ie]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(te);uenull,removeSider:()=>null}});function ne(te){let{suffixCls:oe,tagName:re,displayName:ie}=te;return ue=>ce.forwardRef(($e,Ne)=>ce.createElement(ue,Object.assign({ref:Ne,suffixCls:oe,tagName:re},$e)))}const a=ce.forwardRef((te,oe)=>{const{prefixCls:re,suffixCls:ie,className:ue,tagName:le}=te,$e=De(te,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ne}=ce.useContext(Xe.E_),lt=Ne("layout",re),[ht,Vt]=We(lt),Fe=ie?`${lt}-${ie}`:lt;return ht(ce.createElement(le,Object.assign({className:qe()(re||Fe,ue,Vt),ref:oe},$e)))}),y=ce.forwardRef((te,oe)=>{const{direction:re}=ce.useContext(Xe.E_),[ie,ue]=ce.useState([]),{prefixCls:le,className:$e,rootClassName:Ne,children:lt,hasSider:ht,tagName:Vt,style:Fe}=te,et=De(te,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),rt=(0,Ye.Z)(et,["suffixCls"]),{getPrefixCls:He,layout:_e}=ce.useContext(Xe.E_),St=He("layout",le),[bt,Ot]=We(St),_t=qe()(St,{[`${St}-has-sider`]:typeof ht=="boolean"?ht:ie.length>0,[`${St}-rtl`]:re==="rtl"},_e==null?void 0:_e.className,$e,Ne,Ot),Le=ce.useMemo(()=>({siderHook:{addSider:be=>{ue(Te=>[].concat((0,ae.Z)(Te),[be]))},removeSider:be=>{ue(Te=>Te.filter(Pt=>Pt!==be))}}}),[]);return bt(ce.createElement(ze.Provider,{value:Le},ce.createElement(Vt,Object.assign({ref:oe,className:_t,style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Fe)},rt),lt)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),E=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ee=x},40875:function(Ee,it,ge){"use strict";ge.d(it,{J:function(){return Xe}});var ae=ge(59301),fe=ge(33234),qe=ge(70425),Ye=function(me,ot){var Me={};for(var Re in me)Object.prototype.hasOwnProperty.call(me,Re)&&ot.indexOf(Re)<0&&(Me[Re]=me[Re]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Re=Object.getOwnPropertySymbols(me);We{const{children:Me}=me,Re=Ye(me,["children"]),We=ae.useContext(ce),De=ae.useMemo(()=>Object.assign(Object.assign({},We),Re),[We,Re.prefixCls,Re.mode,Re.selectable]);return ae.createElement(ce.Provider,{value:De},ae.createElement(fe.BR,null,(0,qe.supportNodeRef)(Me)?ae.cloneElement(Me,{ref:ot}):Me))});it.Z=ce},20834:function(Ee,it,ge){"use strict";ge.d(it,{default:function(){return kt}});var ae=ge(15285),fe=ge(59301),qe=ge(45818),Ye=ge(92310),ce=ge.n(Ye),Xe=ge(36355),me=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{const{prefixCls:we,className:pe,dashed:ke}=Ie,Ze=me(Ie,["prefixCls","className","dashed"]),{getPrefixCls:dt}=fe.useContext(Xe.E_),Bt=dt("menu",we),xt=ce()({[`${Bt}-item-divider-dashed`]:!!ke},pe);return fe.createElement(ae.iz,Object.assign({className:xt},Ze))},Re=ge(11592),We=ge(2738),De=ge(6848),ze=ge(92343),a=(0,fe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ie=>{var we;const{className:pe,children:ke,icon:Ze,title:dt,danger:Bt}=Ie,{prefixCls:xt,firstLevel:Mt,direction:Dt,disableMenuItemTitleTooltip:vt,inlineCollapsed:At}=fe.useContext(a),Pn=Be=>{const Ae=fe.createElement("span",{className:`${xt}-title-content`},ke);return(!Ze||(0,ze.l$)(ke)&&ke.type==="span")&&ke&&Be&&Mt&&typeof ke=="string"?fe.createElement("div",{className:`${xt}-inline-collapsed-noicon`},ke.charAt(0)):Ae},{siderCollapsed:wn}=fe.useContext(qe.D);let Ln=dt;typeof dt=="undefined"?Ln=Mt?ke:"":dt===!1&&(Ln="");const on={title:Ln};!wn&&!At&&(on.title=null,on.open=!1);const en=(0,Re.Z)(ke).length;let Pe=fe.createElement(ae.ck,Object.assign({},(0,We.Z)(Ie,["title","icon","danger"]),{className:ce()({[`${xt}-item-danger`]:Bt,[`${xt}-item-only-child`]:(Ze?en+1:en)===1},pe),title:typeof dt=="string"?dt:void 0}),(0,ze.Tm)(Ze,{className:ce()((0,ze.l$)(Ze)?(we=Ze.props)===null||we===void 0?void 0:we.className:"",`${xt}-item-icon`)}),Pn(At));return vt||(Pe=fe.createElement(De.Z,Object.assign({},on,{placement:Dt==="rtl"?"left":"right",overlayClassName:`${xt}-inline-collapsed-tooltip`}),Pe)),Pe},E=Ie=>{var we;const{popupClassName:pe,icon:ke,title:Ze,theme:dt}=Ie,Bt=fe.useContext(a),{prefixCls:xt,inlineCollapsed:Mt,theme:Dt}=Bt,vt=(0,ae.Xl)();let At;if(!ke)At=Mt&&!vt.length&&Ze&&typeof Ze=="string"?fe.createElement("div",{className:`${xt}-inline-collapsed-noicon`},Ze.charAt(0)):fe.createElement("span",{className:`${xt}-title-content`},Ze);else{const wn=(0,ze.l$)(Ze)&&Ze.type==="span";At=fe.createElement(fe.Fragment,null,(0,ze.Tm)(ke,{className:ce()((0,ze.l$)(ke)?(we=ke.props)===null||we===void 0?void 0:we.className:"",`${xt}-item-icon`)}),wn?Ze:fe.createElement("span",{className:`${xt}-title-content`},Ze))}const Pn=fe.useMemo(()=>Object.assign(Object.assign({},Bt),{firstLevel:!1}),[Bt]);return fe.createElement(a.Provider,{value:Pn},fe.createElement(ae.Wd,Object.assign({},(0,We.Z)(Ie,["icon"]),{title:At,popupClassName:ce()(xt,pe,`${xt}-${dt||Dt}`)})))},z=ge(18785),ee=ge(70425),te=ge(62892),oe=ge(40875),re=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{if(we&&typeof we=="object"){const ke=we,{label:Ze,children:dt,key:Bt,type:xt}=ke,Mt=re(ke,["label","children","key","type"]),Dt=Bt!=null?Bt:`tmp-${pe}`;return dt||xt==="group"?xt==="group"?fe.createElement(ae.BW,Object.assign({key:Dt},Mt,{title:Ze}),ie(dt)):fe.createElement(E,Object.assign({key:Dt},Mt,{title:Ze}),ie(dt)):xt==="divider"?fe.createElement(Me,Object.assign({key:Dt},Mt)):fe.createElement(x,Object.assign({key:Dt},Mt),Ze)}return null}).filter(we=>we)}function ue(Ie){return fe.useMemo(()=>Ie&&ie(Ie),[Ie])}var le=ge(64993),$e=ge(17313),Ne=ge(8378),lt=ge(13826),ht=ge(29878),Vt=ge(83116),Fe=ge(37613),rt=Ie=>{const{componentCls:we,motionDurationSlow:pe,horizontalLineHeight:ke,colorSplit:Ze,lineWidth:dt,lineType:Bt,itemPaddingInline:xt}=Ie;return{[`${we}-horizontal`]:{lineHeight:ke,border:0,borderBottom:`${dt}px ${Bt} ${Ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${we}-item, ${we}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:xt},[`> ${we}-item:hover, + &${b}-slide-up-leave${b}-slide-up-leave-active${ze}-placement-topRight`]:{animationName:fe.ly}})},(0,ce.ZP)(De,{colorBg:le,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ze} ${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}},[`${ze}, ${ze}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:le,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,ae.Qy)(De)),{[`${ne}-item-group-title`]:{padding:`${ee}px ${ue}px`,color:De.colorTextDescription,transition:`all ${z}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:te,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ee}px ${ue}px`,color:De.colorText,fontWeight:"normal",fontSize:te,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,ae.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:re,cursor:"not-allowed","&:hover":{color:re,backgroundColor:le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${ze}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${ze}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:ie,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:ue+De.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ze}-menu-submenu-title`]:{[`&, ${ze}-menu-submenu-arrow-icon`]:{color:re,backgroundColor:le,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ze}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,fe.oN)(De,"slide-up"),(0,fe.oN)(De,"slide-down"),(0,Qe.Fm)(De,"move-up"),(0,Qe.Fm)(De,"move-down"),(0,Ye._y)(De,"zoom-big")]]};var We=(0,Xe.Z)("Dropdown",(De,ze)=>{let{rootPrefixCls:ne}=ze;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:te}=De,oe=(x-b*E)/2,{dropdownArrowOffset:re}=(0,ce.fS)({contentRadius:te}),ie=(0,me.TS)(De,{menuCls:`${ee}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:re,dropdownPaddingVertical:oe,dropdownEdgeChildPadding:z});return[Re(ie),Me(ie)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},45818:function(Ee,it,ge){"use strict";ge.d(it,{D:function(){return z},Z:function(){return oe}});var ae=ge(14809),fe=ge(59301),Qe={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"},Ye=Qe,ce=ge(7657),Xe=function(ie,ue){return fe.createElement(ce.Z,(0,ae.Z)({},ie,{ref:ue,icon:Ye}))},me=fe.forwardRef(Xe),at=me,Me=ge(33853),Re=ge(38819),We=ge(92310),De=ge.n(We),ze=ge(2738),a=re=>!isNaN(parseFloat(re))&&isFinite(re),y=ge(36355),x=ge(84966),b=function(re,ie){var ue={};for(var le in re)Object.prototype.hasOwnProperty.call(re,le)&&ie.indexOf(le)<0&&(ue[le]=re[le]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,le=Object.getOwnPropertySymbols(re);$e{let re=0;return function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return re+=1,`${ie}${re}`}})();var oe=fe.forwardRef((re,ie)=>{const{prefixCls:ue,className:le,trigger:$e,children:Ne,defaultCollapsed:lt=!1,theme:ht="dark",style:Vt={},collapsible:Fe=!1,reverseArrow:qe=!1,width:rt=200,collapsedWidth:He=80,zeroWidthTriggerStyle:_e,breakpoint:St,onCollapse:bt,onBreakpoint:zt}=re,Zt=b(re,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Le}=(0,fe.useContext)(x.Gs),[be,Te]=(0,fe.useState)("collapsed"in re?re.collapsed:lt),[Pt,et]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{"collapsed"in re&&Te(re.collapsed)},[re.collapsed]);const Ft=(Ie,we)=>{"collapsed"in re||Te(Ie),bt==null||bt(Ie,we)},de=(0,fe.useRef)();de.current=Ie=>{et(Ie.matches),zt==null||zt(Ie.matches),be!==Ie.matches&&Ft(Ie.matches,"responsive")},(0,fe.useEffect)(()=>{function Ie(pe){return de.current(pe)}let we;if(typeof window!="undefined"){const{matchMedia:pe}=window;if(pe&&St&&St in E){we=pe(`(max-width: ${E[St]})`);try{we.addEventListener("change",Ie)}catch(ke){we.addListener(Ie)}Ie(we)}}return()=>{try{we==null||we.removeEventListener("change",Ie)}catch(pe){we==null||we.removeListener(Ie)}}},[St]),(0,fe.useEffect)(()=>{const Ie=ee("ant-sider-");return Le.addSider(Ie),()=>Le.removeSider(Ie)},[]);const ot=()=>{Ft(!be,"clickTrigger")},{getPrefixCls:Bt}=(0,fe.useContext)(y.E_),Wt=()=>{const Ie=Bt("layout-sider",ue),we=(0,ze.Z)(Zt,["collapsed"]),pe=be?He:rt,ke=a(pe)?`${pe}px`:String(pe),Ze=parseFloat(String(He||0))===0?fe.createElement("span",{onClick:ot,className:De()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${qe?"right":"left"}`),style:_e},$e||fe.createElement(at,null)):null,Ct={expanded:qe?fe.createElement(Re.Z,null):fe.createElement(Me.Z,null),collapsed:qe?fe.createElement(Me.Z,null):fe.createElement(Re.Z,null)}[be?"collapsed":"expanded"],Mt=$e!==null?Ze||fe.createElement("div",{className:`${Ie}-trigger`,onClick:ot,style:{width:ke}},$e||Ct):null,At=Object.assign(Object.assign({},Vt),{flex:`0 0 ${ke}`,maxWidth:ke,minWidth:ke,width:ke}),vt=De()(Ie,`${Ie}-${ht}`,{[`${Ie}-collapsed`]:!!be,[`${Ie}-has-trigger`]:Fe&&$e!==null&&!Ze,[`${Ie}-below`]:!!Pt,[`${Ie}-zero-width`]:parseFloat(ke)===0},le);return fe.createElement("aside",Object.assign({className:vt},we,{style:At,ref:ie}),fe.createElement("div",{className:`${Ie}-children`},Ne),Fe||Pt&&Ze?Mt:null)},Dt=fe.useMemo(()=>({siderCollapsed:be}),[be]);return fe.createElement(z.Provider,{value:Dt},Wt())})},84966:function(Ee,it,ge){"use strict";ge.d(it,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return ze},ZP:function(){return ee}});var ae=ge(95190),fe=ge(92310),Qe=ge.n(fe),Ye=ge(2738),ce=ge(59301),Xe=ge(36355),me=ge(83116),Me=te=>{const{componentCls:oe,bodyBg:re,lightSiderBg:ie,lightTriggerBg:ue,lightTriggerColor:le}=te;return{[`${oe}-sider-light`]:{background:ie,[`${oe}-sider-trigger`]:{color:le,background:ue},[`${oe}-sider-zero-width-trigger`]:{color:le,background:ue,border:`1px solid ${re}`,borderInlineStart:0}}}};const Re=te=>{const{antCls:oe,componentCls:re,colorText:ie,triggerColor:ue,footerBg:le,triggerBg:$e,headerHeight:Ne,headerPadding:lt,headerColor:ht,footerPadding:Vt,triggerHeight:Fe,zeroTriggerHeight:qe,zeroTriggerWidth:rt,motionDurationMid:He,motionDurationSlow:_e,fontSize:St,borderRadius:bt,bodyBg:zt,headerBg:Zt,siderBg:Le}=te;return{[re]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:zt,"&, *":{boxSizing:"border-box"},[`&${re}-has-sider`]:{flexDirection:"row",[`> ${re}, > ${re}-content`]:{width:0}},[`${re}-header, &${re}-footer`]:{flex:"0 0 auto"},[`${re}-sider`]:{position:"relative",minWidth:0,background:Le,transition:`all ${He}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${oe}-menu${oe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Fe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Fe,color:ue,lineHeight:`${Fe}px`,textAlign:"center",background:$e,cursor:"pointer",transition:`all ${He}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ne,insetInlineEnd:-rt,zIndex:1,width:rt,height:qe,color:ue,fontSize:te.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Le,borderStartStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${_e} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_e}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-rt,borderStartStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:bt}}}}},Me(te)),{"&-rtl":{direction:"rtl"}}),[`${re}-header`]:{height:Ne,padding:lt,color:ht,lineHeight:`${Ne}px`,background:Zt,[`${oe}-menu`]:{lineHeight:"inherit"}},[`${re}-footer`]:{padding:Vt,color:ie,fontSize:St,background:le},[`${re}-content`]:{flex:"auto",minHeight:0}}};var We=(0,me.Z)("Layout",te=>[Re(te)],te=>{const{colorBgLayout:oe,controlHeight:re,controlHeightLG:ie,colorText:ue,controlHeightSM:le,marginXXS:$e,colorTextLightSolid:Ne,colorBgContainer:lt}=te,ht=ie*1.25;return{colorBgHeader:"#001529",colorBgBody:oe,colorBgTrigger:"#002140",bodyBg:oe,headerBg:"#001529",headerHeight:re*2,headerPadding:`0 ${ht}px`,headerColor:ue,footerPadding:`${le}px ${ht}px`,footerBg:oe,siderBg:"#001529",triggerHeight:ie+$e*2,triggerBg:"#002140",triggerColor:Ne,zeroTriggerWidth:ie,zeroTriggerHeight:ie,lightSiderBg:lt,lightTriggerBg:lt,lightTriggerColor:ue}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(te,oe){var re={};for(var ie in te)Object.prototype.hasOwnProperty.call(te,ie)&&oe.indexOf(ie)<0&&(re[ie]=te[ie]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(te);uenull,removeSider:()=>null}});function ne(te){let{suffixCls:oe,tagName:re,displayName:ie}=te;return ue=>ce.forwardRef(($e,Ne)=>ce.createElement(ue,Object.assign({ref:Ne,suffixCls:oe,tagName:re},$e)))}const a=ce.forwardRef((te,oe)=>{const{prefixCls:re,suffixCls:ie,className:ue,tagName:le}=te,$e=De(te,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ne}=ce.useContext(Xe.E_),lt=Ne("layout",re),[ht,Vt]=We(lt),Fe=ie?`${lt}-${ie}`:lt;return ht(ce.createElement(le,Object.assign({className:Qe()(re||Fe,ue,Vt),ref:oe},$e)))}),y=ce.forwardRef((te,oe)=>{const{direction:re}=ce.useContext(Xe.E_),[ie,ue]=ce.useState([]),{prefixCls:le,className:$e,rootClassName:Ne,children:lt,hasSider:ht,tagName:Vt,style:Fe}=te,qe=De(te,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),rt=(0,Ye.Z)(qe,["suffixCls"]),{getPrefixCls:He,layout:_e}=ce.useContext(Xe.E_),St=He("layout",le),[bt,zt]=We(St),Zt=Qe()(St,{[`${St}-has-sider`]:typeof ht=="boolean"?ht:ie.length>0,[`${St}-rtl`]:re==="rtl"},_e==null?void 0:_e.className,$e,Ne,zt),Le=ce.useMemo(()=>({siderHook:{addSider:be=>{ue(Te=>[].concat((0,ae.Z)(Te),[be]))},removeSider:be=>{ue(Te=>Te.filter(Pt=>Pt!==be))}}}),[]);return bt(ce.createElement(ze.Provider,{value:Le},ce.createElement(Vt,Object.assign({ref:oe,className:Zt,style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Fe)},rt),lt)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),E=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ee=x},40875:function(Ee,it,ge){"use strict";ge.d(it,{J:function(){return Xe}});var ae=ge(59301),fe=ge(33234),Qe=ge(70425),Ye=function(me,at){var Me={};for(var Re in me)Object.prototype.hasOwnProperty.call(me,Re)&&at.indexOf(Re)<0&&(Me[Re]=me[Re]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Re=Object.getOwnPropertySymbols(me);We{const{children:Me}=me,Re=Ye(me,["children"]),We=ae.useContext(ce),De=ae.useMemo(()=>Object.assign(Object.assign({},We),Re),[We,Re.prefixCls,Re.mode,Re.selectable]);return ae.createElement(ce.Provider,{value:De},ae.createElement(fe.BR,null,(0,Qe.supportNodeRef)(Me)?ae.cloneElement(Me,{ref:at}):Me))});it.Z=ce},20834:function(Ee,it,ge){"use strict";ge.d(it,{default:function(){return Dt}});var ae=ge(15285),fe=ge(59301),Qe=ge(45818),Ye=ge(92310),ce=ge.n(Ye),Xe=ge(36355),me=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{const{prefixCls:we,className:pe,dashed:ke}=Ie,Ze=me(Ie,["prefixCls","className","dashed"]),{getPrefixCls:dt}=fe.useContext(Xe.E_),xt=dt("menu",we),Ct=ce()({[`${xt}-item-divider-dashed`]:!!ke},pe);return fe.createElement(ae.iz,Object.assign({className:Ct},Ze))},Re=ge(11592),We=ge(2738),De=ge(6848),ze=ge(92343),a=(0,fe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ie=>{var we;const{className:pe,children:ke,icon:Ze,title:dt,danger:xt}=Ie,{prefixCls:Ct,firstLevel:Mt,direction:At,disableMenuItemTitleTooltip:vt,inlineCollapsed:Rt}=fe.useContext(a),Pn=Be=>{const Ae=fe.createElement("span",{className:`${Ct}-title-content`},ke);return(!Ze||(0,ze.l$)(ke)&&ke.type==="span")&&ke&&Be&&Mt&&typeof ke=="string"?fe.createElement("div",{className:`${Ct}-inline-collapsed-noicon`},ke.charAt(0)):Ae},{siderCollapsed:wn}=fe.useContext(Qe.D);let Ln=dt;typeof dt=="undefined"?Ln=Mt?ke:"":dt===!1&&(Ln="");const on={title:Ln};!wn&&!Rt&&(on.title=null,on.open=!1);const en=(0,Re.Z)(ke).length;let Pe=fe.createElement(ae.ck,Object.assign({},(0,We.Z)(Ie,["title","icon","danger"]),{className:ce()({[`${Ct}-item-danger`]:xt,[`${Ct}-item-only-child`]:(Ze?en+1:en)===1},pe),title:typeof dt=="string"?dt:void 0}),(0,ze.Tm)(Ze,{className:ce()((0,ze.l$)(Ze)?(we=Ze.props)===null||we===void 0?void 0:we.className:"",`${Ct}-item-icon`)}),Pn(Rt));return vt||(Pe=fe.createElement(De.Z,Object.assign({},on,{placement:At==="rtl"?"left":"right",overlayClassName:`${Ct}-inline-collapsed-tooltip`}),Pe)),Pe},E=Ie=>{var we;const{popupClassName:pe,icon:ke,title:Ze,theme:dt}=Ie,xt=fe.useContext(a),{prefixCls:Ct,inlineCollapsed:Mt,theme:At}=xt,vt=(0,ae.Xl)();let Rt;if(!ke)Rt=Mt&&!vt.length&&Ze&&typeof Ze=="string"?fe.createElement("div",{className:`${Ct}-inline-collapsed-noicon`},Ze.charAt(0)):fe.createElement("span",{className:`${Ct}-title-content`},Ze);else{const wn=(0,ze.l$)(Ze)&&Ze.type==="span";Rt=fe.createElement(fe.Fragment,null,(0,ze.Tm)(ke,{className:ce()((0,ze.l$)(ke)?(we=ke.props)===null||we===void 0?void 0:we.className:"",`${Ct}-item-icon`)}),wn?Ze:fe.createElement("span",{className:`${Ct}-title-content`},Ze))}const Pn=fe.useMemo(()=>Object.assign(Object.assign({},xt),{firstLevel:!1}),[xt]);return fe.createElement(a.Provider,{value:Pn},fe.createElement(ae.Wd,Object.assign({},(0,We.Z)(Ie,["icon"]),{title:Rt,popupClassName:ce()(Ct,pe,`${Ct}-${dt||At}`)})))},z=ge(18785),ee=ge(70425),te=ge(62892),oe=ge(40875),re=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{if(we&&typeof we=="object"){const ke=we,{label:Ze,children:dt,key:xt,type:Ct}=ke,Mt=re(ke,["label","children","key","type"]),At=xt!=null?xt:`tmp-${pe}`;return dt||Ct==="group"?Ct==="group"?fe.createElement(ae.BW,Object.assign({key:At},Mt,{title:Ze}),ie(dt)):fe.createElement(E,Object.assign({key:At},Mt,{title:Ze}),ie(dt)):Ct==="divider"?fe.createElement(Me,Object.assign({key:At},Mt)):fe.createElement(x,Object.assign({key:At},Mt),Ze)}return null}).filter(we=>we)}function ue(Ie){return fe.useMemo(()=>Ie&&ie(Ie),[Ie])}var le=ge(64993),$e=ge(17313),Ne=ge(8378),lt=ge(13826),ht=ge(29878),Vt=ge(83116),Fe=ge(37613),rt=Ie=>{const{componentCls:we,motionDurationSlow:pe,horizontalLineHeight:ke,colorSplit:Ze,lineWidth:dt,lineType:xt,itemPaddingInline:Ct}=Ie;return{[`${we}-horizontal`]:{lineHeight:ke,border:0,borderBottom:`${dt}px ${xt} ${Ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${we}-item, ${we}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ct},[`> ${we}-item:hover, > ${we}-item-active, > ${we}-submenu ${we}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${we}-item, ${we}-submenu-title`]:{transition:[`border-color ${pe}`,`background ${pe}`].join(",")},[`${we}-submenu-arrow`]:{display:"none"}}}},_e=Ie=>{let{componentCls:we,menuArrowOffset:pe}=Ie;return{[`${we}-rtl`]:{direction:"rtl"},[`${we}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${we}-rtl${we}-vertical, - ${we}-submenu-rtl ${we}-vertical`]:{[`${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${pe})`},"&::after":{transform:`rotate(45deg) translateY(${pe})`}}}}};const St=Ie=>Object.assign({},(0,$e.oN)(Ie));var Ot=(Ie,we)=>{const{componentCls:pe,itemColor:ke,itemSelectedColor:Ze,groupTitleColor:dt,itemBg:Bt,subMenuItemBg:xt,itemSelectedBg:Mt,activeBarHeight:Dt,activeBarWidth:vt,activeBarBorderWidth:At,motionDurationSlow:Pn,motionEaseInOut:wn,motionEaseOut:Ln,itemPaddingInline:on,motionDurationMid:en,itemHoverColor:Pe,lineType:Be,colorSplit:Ae,itemDisabledColor:at,dangerItemColor:st,dangerItemHoverColor:Gt,dangerItemSelectedColor:Nt,dangerItemActiveBg:Lt,dangerItemSelectedBg:zt,itemHoverBg:Xt,itemActiveBg:Wt,menuSubMenuBg:Qt,horizontalItemSelectedColor:Sn,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:Fn,horizontalItemHoverBg:rn,popupBg:tn}=Ie;return{[`${pe}-${we}, ${pe}-${we} > ${pe}`]:{color:ke,background:Bt,[`&${pe}-root:focus-visible`]:Object.assign({},St(Ie)),[`${pe}-item-group-title`]:{color:dt},[`${pe}-submenu-selected`]:{[`> ${pe}-submenu-title`]:{color:Ze}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{color:`${at} !important`},[`${pe}-item:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{[`&:hover, > ${pe}-submenu-title:hover`]:{color:Pe}},[`&:not(${pe}-horizontal)`]:{[`${pe}-item:not(${pe}-item-selected)`]:{"&:hover":{backgroundColor:Xt},"&:active":{backgroundColor:Wt}},[`${pe}-submenu-title`]:{"&:hover":{backgroundColor:Xt},"&:active":{backgroundColor:Wt}}},[`${pe}-item-danger`]:{color:st,[`&${pe}-item:hover`]:{[`&:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{color:Gt}},[`&${pe}-item:active`]:{background:Lt}},[`${pe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${pe}-item-selected`]:{color:Ze,[`&${pe}-item-danger`]:{color:Nt},"a, a:hover":{color:"inherit"}},[`& ${pe}-item-selected`]:{backgroundColor:Mt,[`&${pe}-item-danger`]:{backgroundColor:zt}},[`${pe}-item, ${pe}-submenu-title`]:{[`&:not(${pe}-item-disabled):focus-visible`]:Object.assign({},St(Ie))},[`&${pe}-submenu > ${pe}`]:{backgroundColor:Qt},[`&${pe}-popup > ${pe}`]:{backgroundColor:tn},[`&${pe}-horizontal`]:Object.assign(Object.assign({},we==="dark"?{borderBottom:0}:{}),{[`> ${pe}-item, > ${pe}-submenu`]:{top:At,marginTop:-At,marginBottom:0,borderRadius:Fn,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${Dt}px solid transparent`,transition:`border-color ${Pn} ${wn}`,content:'""'},"&:hover, &-active, &-open":{background:rn,"&::after":{borderBottomWidth:Dt,borderBottomColor:Sn}},"&-selected":{color:Sn,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:Dt,borderBottomColor:Sn}}}}),[`&${pe}-root`]:{[`&${pe}-inline, &${pe}-vertical`]:{borderInlineEnd:`${At}px ${Be} ${Ae}`}},[`&${pe}-inline`]:{[`${pe}-sub${pe}-inline`]:{background:xt},[`${pe}-item, ${pe}-submenu-title`]:At&&vt?{width:`calc(100% + ${At}px)`}:{},[`${pe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${vt}px solid ${Ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${en} ${Ln}`,`opacity ${en} ${Ln}`].join(","),content:'""'},[`&${pe}-item-danger`]:{"&::after":{borderInlineEndColor:Nt}}},[`${pe}-selected, ${pe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${en} ${wn}`,`opacity ${en} ${wn}`].join(",")}}}}}};const _t=Ie=>{const{componentCls:we,itemHeight:pe,itemMarginInline:ke,padding:Ze,menuArrowSize:dt,marginXS:Bt,itemMarginBlock:xt}=Ie,Mt=Ze+dt+Bt;return{[`${we}-item`]:{position:"relative",overflow:"hidden"},[`${we}-item, ${we}-submenu-title`]:{height:pe,lineHeight:`${pe}px`,paddingInline:Ze,overflow:"hidden",textOverflow:"ellipsis",marginInline:ke,marginBlock:xt,width:`calc(100% - ${ke*2}px)`},[`> ${we}-item, + ${we}-submenu-rtl ${we}-vertical`]:{[`${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${pe})`},"&::after":{transform:`rotate(45deg) translateY(${pe})`}}}}};const St=Ie=>Object.assign({},(0,$e.oN)(Ie));var zt=(Ie,we)=>{const{componentCls:pe,itemColor:ke,itemSelectedColor:Ze,groupTitleColor:dt,itemBg:xt,subMenuItemBg:Ct,itemSelectedBg:Mt,activeBarHeight:At,activeBarWidth:vt,activeBarBorderWidth:Rt,motionDurationSlow:Pn,motionEaseInOut:wn,motionEaseOut:Ln,itemPaddingInline:on,motionDurationMid:en,itemHoverColor:Pe,lineType:Be,colorSplit:Ae,itemDisabledColor:nt,dangerItemColor:st,dangerItemHoverColor:Ot,dangerItemSelectedColor:It,dangerItemActiveBg:Lt,dangerItemSelectedBg:Nt,itemHoverBg:Xt,itemActiveBg:_t,menuSubMenuBg:Qt,horizontalItemSelectedColor:Sn,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:Fn,horizontalItemHoverBg:rn,popupBg:tn}=Ie;return{[`${pe}-${we}, ${pe}-${we} > ${pe}`]:{color:ke,background:xt,[`&${pe}-root:focus-visible`]:Object.assign({},St(Ie)),[`${pe}-item-group-title`]:{color:dt},[`${pe}-submenu-selected`]:{[`> ${pe}-submenu-title`]:{color:Ze}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{color:`${nt} !important`},[`${pe}-item:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{[`&:hover, > ${pe}-submenu-title:hover`]:{color:Pe}},[`&:not(${pe}-horizontal)`]:{[`${pe}-item:not(${pe}-item-selected)`]:{"&:hover":{backgroundColor:Xt},"&:active":{backgroundColor:_t}},[`${pe}-submenu-title`]:{"&:hover":{backgroundColor:Xt},"&:active":{backgroundColor:_t}}},[`${pe}-item-danger`]:{color:st,[`&${pe}-item:hover`]:{[`&:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{color:Ot}},[`&${pe}-item:active`]:{background:Lt}},[`${pe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${pe}-item-selected`]:{color:Ze,[`&${pe}-item-danger`]:{color:It},"a, a:hover":{color:"inherit"}},[`& ${pe}-item-selected`]:{backgroundColor:Mt,[`&${pe}-item-danger`]:{backgroundColor:Nt}},[`${pe}-item, ${pe}-submenu-title`]:{[`&:not(${pe}-item-disabled):focus-visible`]:Object.assign({},St(Ie))},[`&${pe}-submenu > ${pe}`]:{backgroundColor:Qt},[`&${pe}-popup > ${pe}`]:{backgroundColor:tn},[`&${pe}-horizontal`]:Object.assign(Object.assign({},we==="dark"?{borderBottom:0}:{}),{[`> ${pe}-item, > ${pe}-submenu`]:{top:Rt,marginTop:-Rt,marginBottom:0,borderRadius:Fn,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${At}px solid transparent`,transition:`border-color ${Pn} ${wn}`,content:'""'},"&:hover, &-active, &-open":{background:rn,"&::after":{borderBottomWidth:At,borderBottomColor:Sn}},"&-selected":{color:Sn,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:At,borderBottomColor:Sn}}}}),[`&${pe}-root`]:{[`&${pe}-inline, &${pe}-vertical`]:{borderInlineEnd:`${Rt}px ${Be} ${Ae}`}},[`&${pe}-inline`]:{[`${pe}-sub${pe}-inline`]:{background:Ct},[`${pe}-item, ${pe}-submenu-title`]:Rt&&vt?{width:`calc(100% + ${Rt}px)`}:{},[`${pe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${vt}px solid ${Ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${en} ${Ln}`,`opacity ${en} ${Ln}`].join(","),content:'""'},[`&${pe}-item-danger`]:{"&::after":{borderInlineEndColor:It}}},[`${pe}-selected, ${pe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${en} ${wn}`,`opacity ${en} ${wn}`].join(",")}}}}}};const Zt=Ie=>{const{componentCls:we,itemHeight:pe,itemMarginInline:ke,padding:Ze,menuArrowSize:dt,marginXS:xt,itemMarginBlock:Ct}=Ie,Mt=Ze+dt+xt;return{[`${we}-item`]:{position:"relative",overflow:"hidden"},[`${we}-item, ${we}-submenu-title`]:{height:pe,lineHeight:`${pe}px`,paddingInline:Ze,overflow:"hidden",textOverflow:"ellipsis",marginInline:ke,marginBlock:Ct,width:`calc(100% - ${ke*2}px)`},[`> ${we}-item, > ${we}-submenu > ${we}-submenu-title`]:{height:pe,lineHeight:`${pe}px`},[`${we}-item-group-list ${we}-submenu-title, - ${we}-submenu-title`]:{paddingInlineEnd:Mt}}};var be=Ie=>{const{componentCls:we,iconCls:pe,itemHeight:ke,colorTextLightSolid:Ze,dropdownWidth:dt,controlHeightLG:Bt,motionDurationMid:xt,motionEaseOut:Mt,paddingXL:Dt,itemMarginInline:vt,fontSizeLG:At,motionDurationSlow:Pn,paddingXS:wn,boxShadowSecondary:Ln,collapsedWidth:on,collapsedIconSize:en}=Ie,Pe={height:ke,lineHeight:`${ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[we]:{"&-inline, &-vertical":Object.assign({[`&${we}-root`]:{boxShadow:"none"}},_t(Ie))},[`${we}-submenu-popup`]:{[`${we}-vertical`]:Object.assign(Object.assign({},_t(Ie)),{boxShadow:Ln})}},{[`${we}-submenu-popup ${we}-vertical${we}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${Bt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${we}-inline`]:{width:"100%",[`&${we}-root`]:{[`${we}-item, ${we}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Pn}`,`background ${Pn}`,`padding ${xt} ${Mt}`].join(","),[`> ${we}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${we}-sub${we}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${we}-submenu > ${we}-submenu-title`]:Pe,[`& ${we}-item-group-title`]:{paddingInlineStart:Dt}},[`${we}-item`]:Pe}},{[`${we}-inline-collapsed`]:{width:on,[`&${we}-root`]:{[`${we}-item, ${we}-submenu ${we}-submenu-title`]:{[`> ${we}-inline-collapsed-noicon`]:{fontSize:At,textAlign:"center"}}},[`> ${we}-item, + ${we}-submenu-title`]:{paddingInlineEnd:Mt}}};var be=Ie=>{const{componentCls:we,iconCls:pe,itemHeight:ke,colorTextLightSolid:Ze,dropdownWidth:dt,controlHeightLG:xt,motionDurationMid:Ct,motionEaseOut:Mt,paddingXL:At,itemMarginInline:vt,fontSizeLG:Rt,motionDurationSlow:Pn,paddingXS:wn,boxShadowSecondary:Ln,collapsedWidth:on,collapsedIconSize:en}=Ie,Pe={height:ke,lineHeight:`${ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[we]:{"&-inline, &-vertical":Object.assign({[`&${we}-root`]:{boxShadow:"none"}},Zt(Ie))},[`${we}-submenu-popup`]:{[`${we}-vertical`]:Object.assign(Object.assign({},Zt(Ie)),{boxShadow:Ln})}},{[`${we}-submenu-popup ${we}-vertical${we}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${xt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${we}-inline`]:{width:"100%",[`&${we}-root`]:{[`${we}-item, ${we}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Pn}`,`background ${Pn}`,`padding ${Ct} ${Mt}`].join(","),[`> ${we}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${we}-sub${we}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${we}-submenu > ${we}-submenu-title`]:Pe,[`& ${we}-item-group-title`]:{paddingInlineStart:At}},[`${we}-item`]:Pe}},{[`${we}-inline-collapsed`]:{width:on,[`&${we}-root`]:{[`${we}-item, ${we}-submenu ${we}-submenu-title`]:{[`> ${we}-inline-collapsed-noicon`]:{fontSize:Rt,textAlign:"center"}}},[`> ${we}-item, > ${we}-item-group > ${we}-item-group-list > ${we}-item, > ${we}-item-group > ${we}-item-group-list > ${we}-submenu > ${we}-submenu-title, - > ${we}-submenu > ${we}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${At/2}px - ${vt}px)`,textOverflow:"clip",[` + > ${we}-submenu > ${we}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Rt/2}px - ${vt}px)`,textOverflow:"clip",[` ${we}-submenu-arrow, ${we}-submenu-expand-icon - `]:{opacity:0},[`${we}-item-icon, ${pe}`]:{margin:0,fontSize:en,lineHeight:`${ke}px`,"+ span":{display:"inline-block",opacity:0}}},[`${we}-item-icon, ${pe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${we}-item-icon, ${pe}`]:{display:"none"},"a, a:hover":{color:Ze}},[`${we}-item-group-title`]:Object.assign(Object.assign({},$e.vS),{paddingInline:wn})}}]};const Te=Ie=>{const{componentCls:we,motionDurationSlow:pe,motionDurationMid:ke,motionEaseInOut:Ze,motionEaseOut:dt,iconCls:Bt,iconSize:xt,iconMarginInlineEnd:Mt}=Ie;return{[`${we}-item, ${we}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${pe}`,`background ${pe}`,`padding ${pe} ${Ze}`].join(","),[`${we}-item-icon, ${Bt}`]:{minWidth:xt,fontSize:xt,transition:[`font-size ${ke} ${dt}`,`margin ${pe} ${Ze}`,`color ${pe}`].join(","),"+ span":{marginInlineStart:Mt,opacity:1,transition:[`opacity ${pe} ${Ze}`,`margin ${pe}`,`color ${pe}`].join(",")}},[`${we}-item-icon`]:Object.assign({},(0,$e.Ro)()),[`&${we}-item-only-child`]:{[`> ${Bt}, > ${we}-item-icon`]:{marginInlineEnd:0}}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${we}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Pt=Ie=>{const{componentCls:we,motionDurationSlow:pe,motionEaseInOut:ke,borderRadius:Ze,menuArrowSize:dt,menuArrowOffset:Bt}=Ie;return{[`${we}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${pe} ${ke}, opacity ${pe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:Ze,transition:[`background ${pe} ${ke}`,`transform ${pe} ${ke}`,`top ${pe} ${ke}`,`color ${pe} ${ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Bt})`},"&::after":{transform:`rotate(-45deg) translateY(${Bt})`}}}}},tt=Ie=>{const{antCls:we,componentCls:pe,fontSize:ke,motionDurationSlow:Ze,motionDurationMid:dt,motionEaseInOut:Bt,paddingXS:xt,padding:Mt,colorSplit:Dt,lineWidth:vt,zIndexPopup:At,borderRadiusLG:Pn,subMenuItemBorderRadius:wn,menuArrowSize:Ln,menuArrowOffset:on,lineType:en,menuPanelMaskInset:Pe,groupTitleLineHeight:Be,groupTitleFontSize:Ae}=Ie;return[{"":{[`${pe}`]:Object.assign(Object.assign({},(0,$e.dF)()),{"&-hidden":{display:"none"}})},[`${pe}-submenu-hidden`]:{display:"none"}},{[pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(Ie)),(0,$e.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ze} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${pe}-item`]:{flex:"none"}},[`${pe}-item, ${pe}-submenu, ${pe}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${pe}-item-group-title`]:{padding:`${xt}px ${Mt}px`,fontSize:Ae,lineHeight:Be,transition:`all ${Ze}`},[`&-horizontal ${pe}-submenu`]:{transition:[`border-color ${Ze} ${Bt}`,`background ${Ze} ${Bt}`].join(",")},[`${pe}-submenu, ${pe}-submenu-inline`]:{transition:[`border-color ${Ze} ${Bt}`,`background ${Ze} ${Bt}`,`padding ${dt} ${Bt}`].join(",")},[`${pe}-submenu ${pe}-sub`]:{cursor:"initial",transition:[`background ${Ze} ${Bt}`,`padding ${Ze} ${Bt}`].join(",")},[`${pe}-title-content`]:{transition:`color ${Ze}`},[`${pe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${pe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Dt,borderStyle:en,borderWidth:0,borderTopWidth:vt,marginBlock:vt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Te(Ie)),{[`${pe}-item-group`]:{[`${pe}-item-group-list`]:{margin:0,padding:0,[`${pe}-item, ${pe}-submenu-title`]:{paddingInline:`${ke*2}px ${Mt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:At,borderRadius:Pn,boxShadow:"none",transformOrigin:"0 0",[`&${pe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Pe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Pe},"\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},[`> ${pe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Pn},Te(Ie)),Pt(Ie)),{[`${pe}-item, ${pe}-submenu > ${pe}-submenu-title`]:{borderRadius:wn},[`${pe}-submenu-title::after`]:{transition:`transform ${Ze} ${Bt}`}})}}),Pt(Ie)),{[`&-inline-collapsed ${pe}-submenu-arrow, - &-inline ${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${on})`},"&::after":{transform:`rotate(45deg) translateX(-${on})`}},[`${pe}-submenu-open${pe}-submenu-inline > ${pe}-submenu-title > ${pe}-submenu-arrow`]:{transform:`translateY(-${Ln*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${on})`},"&::before":{transform:`rotate(45deg) translateX(${on})`}}})},{[`${we}-layout-header`]:{[pe]:{lineHeight:"inherit"}}}]};var Ft=(Ie,we)=>(0,Vt.Z)("Menu",ke=>{if(we===!1)return[];const{colorBgElevated:Ze,colorPrimary:dt,colorTextLightSolid:Bt,controlHeightLG:xt,fontSize:Mt,darkItemColor:Dt,darkDangerItemColor:vt,darkItemBg:At,darkSubMenuItemBg:Pn,darkItemSelectedColor:wn,darkItemSelectedBg:Ln,darkDangerItemSelectedBg:on,darkItemHoverBg:en,darkGroupTitleColor:Pe,darkItemHoverColor:Be,darkItemDisabledColor:Ae,darkDangerItemHoverColor:at,darkDangerItemSelectedColor:st,darkDangerItemActiveBg:Gt}=ke,Nt=Mt/7*5,Lt=(0,Fe.TS)(ke,{menuArrowSize:Nt,menuHorizontalHeight:xt*1.15,menuArrowOffset:`${Nt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ze}),zt=(0,Fe.TS)(Lt,{itemColor:Dt,itemHoverColor:Be,groupTitleColor:Pe,itemSelectedColor:wn,itemBg:At,popupBg:At,subMenuItemBg:Pn,itemActiveBg:"transparent",itemSelectedBg:Ln,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Ae,dangerItemColor:vt,dangerItemHoverColor:at,dangerItemSelectedColor:st,dangerItemActiveBg:Gt,dangerItemSelectedBg:on,menuSubMenuBg:Pn,horizontalItemSelectedColor:Bt,horizontalItemSelectedBg:dt});return[tt(Lt),rt(Lt),be(Lt),Ot(Lt,"light"),Ot(zt,"dark"),_e(Lt),(0,Ne.Z)(Lt),(0,lt.oN)(Lt,"slide-up"),(0,lt.oN)(Lt,"slide-down"),(0,ht._y)(Lt,"zoom-big")]},ke=>{const{colorPrimary:Ze,colorError:dt,colorTextDisabled:Bt,colorErrorBg:xt,colorText:Mt,colorTextDescription:Dt,colorBgContainer:vt,colorFillAlter:At,colorFillContent:Pn,lineWidth:wn,lineWidthBold:Ln,controlItemBgActive:on,colorBgTextHover:en,controlHeightLG:Pe,lineHeight:Be,colorBgElevated:Ae,marginXXS:at,padding:st,fontSize:Gt,controlHeightSM:Nt,fontSizeLG:Lt,colorTextLightSolid:zt,colorErrorHover:Xt}=ke,Wt=new le.C(zt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ke.zIndexPopupBase+50,radiusItem:ke.borderRadiusLG,itemBorderRadius:ke.borderRadiusLG,radiusSubMenuItem:ke.borderRadiusSM,subMenuItemBorderRadius:ke.borderRadiusSM,colorItemText:Mt,itemColor:Mt,colorItemTextHover:Mt,itemHoverColor:Mt,colorItemTextHoverHorizontal:Ze,horizontalItemHoverColor:Ze,colorGroupTitle:Dt,groupTitleColor:Dt,colorItemTextSelected:Ze,itemSelectedColor:Ze,colorItemTextSelectedHorizontal:Ze,horizontalItemSelectedColor:Ze,colorItemBg:vt,itemBg:vt,colorItemBgHover:en,itemHoverBg:en,colorItemBgActive:Pn,itemActiveBg:on,colorSubItemBg:At,subMenuItemBg:At,colorItemBgSelected:on,itemSelectedBg:on,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ln,activeBarHeight:Ln,colorActiveBarBorderSize:wn,activeBarBorderWidth:wn,colorItemTextDisabled:Bt,itemDisabledColor:Bt,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:xt,dangerItemActiveBg:xt,colorDangerItemBgSelected:xt,dangerItemSelectedBg:xt,itemMarginInline:ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Pe,groupTitleLineHeight:Be,collapsedWidth:Pe*2,popupBg:Ae,itemMarginBlock:at,itemPaddingInline:st,horizontalLineHeight:`${Pe*1.15}px`,iconSize:Gt,iconMarginInlineEnd:Nt-Gt,collapsedIconSize:Lt,groupTitleFontSize:Gt,darkItemDisabledColor:new le.C(zt).setAlpha(.25).toRgbString(),darkItemColor:Wt,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zt,darkItemSelectedBg:Ze,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:Wt,darkItemHoverColor:zt,darkDangerItemHoverColor:Xt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:dt}},{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),de=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{var pe,ke;const Ze=fe.useContext(oe.Z),dt=Ze||{},{getPrefixCls:Bt,getPopupContainer:xt,direction:Mt,menu:Dt}=fe.useContext(Xe.E_),vt=Bt(),{prefixCls:At,className:Pn,style:wn,theme:Ln="light",expandIcon:on,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:Pe,siderCollapsed:Be,items:Ae,children:at,rootClassName:st,mode:Gt,selectable:Nt,onClick:Lt,overflowedIndicatorPopupClassName:zt}=Ie,Xt=de(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Wt=(0,We.Z)(Xt,["collapsedWidth"]),Qt=ue(Ae)||at;(pe=dt.validator)===null||pe===void 0||pe.call(dt,{mode:Gt});const Sn=(0,ee.useEvent)(function(){var In;Lt==null||Lt.apply(void 0,arguments),(In=dt.onClick)===null||In===void 0||In.call(dt)}),fn=dt.mode||Gt,Fn=Nt!=null?Nt:dt.selectable,rn=fe.useMemo(()=>Be!==void 0?Be:Pe,[Pe,Be]),tn={horizontal:{motionName:`${vt}-slide-up`},inline:(0,te.Z)(vt),other:{motionName:`${vt}-zoom-big`}},pn=Bt("menu",At||dt.prefixCls),[Cn,En]=Ft(pn,!Ze),sn=ce()(`${pn}-${Ln}`,Dt==null?void 0:Dt.className,Pn);let Nn;if(typeof on=="function")Nn=on;else if(on===null||on===!1)Nn=null;else if(dt.expandIcon===null||dt.expandIcon===!1)Nn=null;else{const In=on!=null?on:dt.expandIcon;Nn=(0,ze.Tm)(In,{className:ce()(`${pn}-submenu-expand-icon`,(0,ze.l$)(In)?(ke=In.props)===null||ke===void 0?void 0:ke.className:"")})}const Yn=fe.useMemo(()=>({prefixCls:pn,inlineCollapsed:rn||!1,direction:Mt,firstLevel:!0,theme:Ln,mode:fn,disableMenuItemTitleTooltip:en}),[pn,rn,Mt,en,Ln]);return Cn(fe.createElement(oe.Z.Provider,{value:null},fe.createElement(a.Provider,{value:Yn},fe.createElement(ae.ZP,Object.assign({getPopupContainer:xt,overflowedIndicator:fe.createElement(z.Z,null),overflowedIndicatorPopupClassName:ce()(pn,`${pn}-${Ln}`,zt),mode:fn,selectable:Fn,onClick:Sn},Wt,{inlineCollapsed:rn,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),wn),className:sn,prefixCls:pn,direction:Mt,defaultMotions:tn,expandIcon:Nn,ref:we,rootClassName:ce()(st,En)}),Qt))))});const Ut=(0,fe.forwardRef)((Ie,we)=>{const pe=(0,fe.useRef)(null),ke=fe.useContext(qe.D);return(0,fe.useImperativeHandle)(we,()=>({menu:pe.current,focus:Ze=>{var dt;(dt=pe.current)===null||dt===void 0||dt.focus(Ze)}})),fe.createElement(Tt,Object.assign({ref:pe},Ie,ke))});Ut.Item=x,Ut.SubMenu=E,Ut.Divider=Me,Ut.ItemGroup=ae.BW;var kt=Ut},93948:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return en}});var ae=ge(59301),fe=ge(29679),qe=ge(40001),Ye=ge(19248),ce=ge(99267),Xe=ge(92310),me=ge.n(Xe),ot=ge(2738),Me=ge(36355),Re=ge(14809),We=ge(20439),De=ge(62646),ze={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var Be=(0,ae.useRef)([]),Ae=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var at=Date.now(),st=!1;Be.current.forEach(function(Gt){if(Gt){st=!0;var Nt=Gt.style;Nt.transitionDuration=".3s, .3s, .3s, .06s",Ae.current&&at-Ae.current<100&&(Nt.transitionDuration="0s, 0s")}}),st&&(Ae.current=Date.now())}),Be.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Be){var Ae=(0,We.Z)((0,We.Z)({},ze),Be),at=Ae.className,st=Ae.percent,Gt=Ae.prefixCls,Nt=Ae.strokeColor,Lt=Ae.strokeLinecap,zt=Ae.strokeWidth,Xt=Ae.style,Wt=Ae.trailColor,Qt=Ae.trailWidth,Sn=Ae.transition,fn=(0,De.Z)(Ae,a);delete fn.gapPosition;var Fn=Array.isArray(st)?st:[st],rn=Array.isArray(Nt)?Nt:[Nt],tn=ne(),pn=zt/2,Cn=100-zt/2,En="M ".concat(Lt==="round"?pn:0,",").concat(pn,` - L `).concat(Lt==="round"?Cn:100,",").concat(pn),sn="0 0 100 ".concat(zt),Nn=0;return ae.createElement("svg",(0,Re.Z)({className:me()("".concat(Gt,"-line"),at),viewBox:sn,preserveAspectRatio:"none",style:Xt},fn),ae.createElement("path",{className:"".concat(Gt,"-line-trail"),d:En,strokeLinecap:Lt,stroke:Wt,strokeWidth:Qt||zt,fillOpacity:"0"}),Fn.map(function(Yn,In){var _n=1;switch(Lt){case"round":_n=1-zt/100;break;case"square":_n=1-zt/2/100;break;default:_n=1;break}var na={strokeDasharray:"".concat(Yn*_n,"px, 100px"),strokeDashoffset:"-".concat(Nn,"px"),transition:Sn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Jn=rn[In]||rn[rn.length-1];return Nn+=Yn,ae.createElement("path",{key:In,className:"".concat(Gt,"-line-path"),d:En,strokeLinecap:Lt,stroke:Jn,strokeWidth:zt,fillOpacity:"0",ref:function(ve){tn[In]=ve},style:na})}))},x=y,b=ge(93664),E=ge(50298),z=ge(47273),ee=0,te=(0,z.Z)();function oe(){var Pe;return te?(Pe=ee,ee+=1):Pe="TEST_OR_SSR",Pe}var re=function(Pe){var Be=ae.useState(),Ae=(0,E.Z)(Be,2),at=Ae[0],st=Ae[1];return ae.useEffect(function(){st("rc_progress_".concat(oe()))},[]),Pe||at},ie=function(Be){var Ae=Be.bg,at=Be.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:Ae}},at)};function ue(Pe,Be){return Object.keys(Pe).map(function(Ae){var at=parseFloat(Ae),st="".concat(Math.floor(at*Be),"%");return"".concat(Pe[Ae]," ").concat(st)})}var le=ae.forwardRef(function(Pe,Be){var Ae=Pe.prefixCls,at=Pe.color,st=Pe.gradientId,Gt=Pe.radius,Nt=Pe.style,Lt=Pe.ptg,zt=Pe.strokeLinecap,Xt=Pe.strokeWidth,Wt=Pe.size,Qt=Pe.gapDegree,Sn=at&&(0,b.Z)(at)==="object",fn=Sn?"#FFF":void 0,Fn=Wt/2,rn=ae.createElement("circle",{className:"".concat(Ae,"-circle-path"),r:Gt,cx:Fn,cy:Fn,stroke:fn,strokeLinecap:zt,strokeWidth:Xt,opacity:Lt===0?0:1,style:Nt,ref:Be});if(!Sn)return rn;var tn="".concat(st,"-conic"),pn=Qt?"".concat(180+Qt/2,"deg"):"0deg",Cn=ue(at,(360-Qt)/360),En=ue(at,1),sn="conic-gradient(from ".concat(pn,", ").concat(Cn.join(", "),")"),Nn="linear-gradient(to ".concat(Qt?"bottom":"top",", ").concat(En.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:tn},rn),ae.createElement("foreignObject",{x:0,y:0,width:Wt,height:Wt,mask:"url(#".concat(tn,")")},ae.createElement(ie,{bg:Nn},ae.createElement(ie,{bg:sn}))))}),$e=le,Ne=100,lt=function(Be,Ae,at,st,Gt,Nt,Lt,zt,Xt,Wt){var Qt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Sn=at/100*360*((360-Nt)/360),fn=Nt===0?0:{bottom:0,top:180,left:90,right:-90}[Lt],Fn=(100-st)/100*Ae;Xt==="round"&&st!==100&&(Fn+=Wt/2,Fn>=Ae&&(Fn=Ae-.01));var rn=Ne/2;return{stroke:typeof zt=="string"?zt:void 0,strokeDasharray:"".concat(Ae,"px ").concat(Be),strokeDashoffset:Fn+Qt,transform:"rotate(".concat(Gt+Sn+fn,"deg)"),transformOrigin:"".concat(rn,"px ").concat(rn,"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}},ht=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Vt(Pe){var Be=Pe!=null?Pe:[];return Array.isArray(Be)?Be:[Be]}var Fe=function(Be){var Ae=(0,We.Z)((0,We.Z)({},ze),Be),at=Ae.id,st=Ae.prefixCls,Gt=Ae.steps,Nt=Ae.strokeWidth,Lt=Ae.trailWidth,zt=Ae.gapDegree,Xt=zt===void 0?0:zt,Wt=Ae.gapPosition,Qt=Ae.trailColor,Sn=Ae.strokeLinecap,fn=Ae.style,Fn=Ae.className,rn=Ae.strokeColor,tn=Ae.percent,pn=(0,De.Z)(Ae,ht),Cn=Ne/2,En=re(at),sn="".concat(En,"-gradient"),Nn=Cn-Nt/2,Yn=Math.PI*2*Nn,In=Xt>0?90+Xt/2:-90,_n=Yn*((360-Xt)/360),na=(0,b.Z)(Gt)==="object"?Gt:{count:Gt,space:2},Jn=na.count,he=na.space,ve=Vt(tn),Se=Vt(rn),nt=Se.find(function(kn){return kn&&(0,b.Z)(kn)==="object"}),wt=nt&&(0,b.Z)(nt)==="object",ft=wt?"butt":Sn,gn=lt(Yn,_n,0,100,In,Xt,Wt,Qt,ft,Nt),Rt=ne(),Yt=function(){var Qe=0;return ve.map(function(Jt,An){var Zn=Se[An]||Se[Se.length-1],Bn=lt(Yn,_n,Qe,Jt,In,Xt,Wt,Zn,ft,Nt);return Qe+=Jt,ae.createElement($e,{key:An,color:Zn,ptg:Jt,radius:Nn,prefixCls:st,gradientId:sn,style:Bn,strokeLinecap:ft,strokeWidth:Nt,gapDegree:Xt,ref:function(Ce){Rt[An]=Ce},size:Ne})}).reverse()},vn=function(){var Qe=Math.round(Jn*(ve[0]/100)),Jt=100/Jn,An=0;return new Array(Jn).fill(null).map(function(Zn,Bn){var se=Bn<=Qe-1?Se[0]:Qt,Ce=se&&(0,b.Z)(se)==="object"?"url(#".concat(sn,")"):void 0,xe=lt(Yn,_n,An,Jt,In,Xt,Wt,se,"butt",Nt,he);return An+=(_n-xe.strokeDashoffset+he)*100/_n,ae.createElement("circle",{key:Bn,className:"".concat(st,"-circle-path"),r:Nn,cx:Cn,cy:Cn,stroke:Ce,strokeWidth:Nt,opacity:1,style:xe,ref:function(Ue){Rt[Bn]=Ue}})})};return ae.createElement("svg",(0,Re.Z)({className:me()("".concat(st,"-circle"),Fn),viewBox:"0 0 ".concat(Ne," ").concat(Ne),style:fn,id:at,role:"presentation"},pn),!Jn&&ae.createElement("circle",{className:"".concat(st,"-circle-trail"),r:Nn,cx:Cn,cy:Cn,stroke:Qt,strokeLinecap:ft,strokeWidth:Lt||Nt,style:gn}),Jn?vn():Yt())},et=Fe,rt={Line:x,Circle:et},He=ge(6848),_e=ge(30071);function St(Pe){return!Pe||Pe<0?0:Pe>100?100:Pe}function bt(Pe){let{success:Be,successPercent:Ae}=Pe,at=Ae;return Be&&"progress"in Be&&(at=Be.progress),Be&&"percent"in Be&&(at=Be.percent),at}const Ot=Pe=>{let{percent:Be,success:Ae,successPercent:at}=Pe;const st=St(bt({success:Ae,successPercent:at}));return[st,St(St(Be)-st)]},_t=Pe=>{let{success:Be={},strokeColor:Ae}=Pe;const{strokeColor:at}=Be;return[at||_e.presetPrimaryColors.green,Ae||null]},Le=(Pe,Be,Ae)=>{var at,st,Gt,Nt;let Lt=-1,zt=-1;if(Be==="step"){const Xt=Ae.steps,Wt=Ae.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?(Lt=Pe==="small"?2:14,zt=Wt!=null?Wt:8):typeof Pe=="number"?[Lt,zt]=[Pe,Pe]:[Lt=14,zt=8]=Pe,Lt*=Xt}else if(Be==="line"){const Xt=Ae==null?void 0:Ae.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?zt=Xt||(Pe==="small"?6:8):typeof Pe=="number"?[Lt,zt]=[Pe,Pe]:[Lt=-1,zt=8]=Pe}else(Be==="circle"||Be==="dashboard")&&(typeof Pe=="string"||typeof Pe=="undefined"?[Lt,zt]=Pe==="small"?[60,60]:[120,120]:typeof Pe=="number"?[Lt,zt]=[Pe,Pe]:(Lt=(st=(at=Pe[0])!==null&&at!==void 0?at:Pe[1])!==null&&st!==void 0?st:120,zt=(Nt=(Gt=Pe[0])!==null&&Gt!==void 0?Gt:Pe[1])!==null&&Nt!==void 0?Nt:120));return[Lt,zt]},be=3,Te=Pe=>be/Pe*100;var tt=Pe=>{const{prefixCls:Be,trailColor:Ae=null,strokeLinecap:at="round",gapPosition:st,gapDegree:Gt,width:Nt=120,type:Lt,children:zt,success:Xt,size:Wt=Nt}=Pe,[Qt,Sn]=Le(Wt,"circle");let{strokeWidth:fn}=Pe;fn===void 0&&(fn=Math.max(Te(Qt),6));const Fn={width:Qt,height:Sn,fontSize:Qt*.15+6},rn=ae.useMemo(()=>{if(Gt||Gt===0)return Gt;if(Lt==="dashboard")return 75},[Gt,Lt]),tn=st||Lt==="dashboard"&&"bottom"||void 0,pn=Object.prototype.toString.call(Pe.strokeColor)==="[object Object]",Cn=_t({success:Xt,strokeColor:Pe.strokeColor}),En=me()(`${Be}-inner`,{[`${Be}-circle-gradient`]:pn}),sn=ae.createElement(et,{percent:Ot(Pe),strokeWidth:fn,trailWidth:fn,strokeColor:Cn,strokeLinecap:at,trailColor:Ae,prefixCls:Be,gapDegree:rn,gapPosition:tn});return ae.createElement("div",{className:En,style:Fn},Qt<=20?ae.createElement(He.Z,{title:zt},ae.createElement("span",null,sn)):ae.createElement(ae.Fragment,null,sn,zt))},Ft=function(Pe,Be){var Ae={};for(var at in Pe)Object.prototype.hasOwnProperty.call(Pe,at)&&Be.indexOf(at)<0&&(Ae[at]=Pe[at]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,at=Object.getOwnPropertySymbols(Pe);st{let Be=[];return Object.keys(Pe).forEach(Ae=>{const at=parseFloat(Ae.replace(/%/g,""));isNaN(at)||Be.push({key:at,value:Pe[Ae]})}),Be=Be.sort((Ae,at)=>Ae.key-at.key),Be.map(Ae=>{let{key:at,value:st}=Ae;return`${st} ${at}%`}).join(", ")},Je=(Pe,Be)=>{const{from:Ae=_e.presetPrimaryColors.blue,to:at=_e.presetPrimaryColors.blue,direction:st=Be==="rtl"?"to left":"to right"}=Pe,Gt=Ft(Pe,["from","to","direction"]);if(Object.keys(Gt).length!==0){const Nt=de(Gt);return{backgroundImage:`linear-gradient(${st}, ${Nt})`}}return{backgroundImage:`linear-gradient(${st}, ${Ae}, ${at})`}};var Ut=Pe=>{const{prefixCls:Be,direction:Ae,percent:at,size:st,strokeWidth:Gt,strokeColor:Nt,strokeLinecap:Lt="round",children:zt,trailColor:Xt=null,success:Wt}=Pe,Qt=Nt&&typeof Nt!="string"?Je(Nt,Ae):{backgroundColor:Nt},Sn=Lt==="square"||Lt==="butt"?0:void 0,fn={backgroundColor:Xt||void 0,borderRadius:Sn},Fn=st!=null?st:[-1,Gt||(st==="small"?6:8)],[rn,tn]=Le(Fn,"line",{strokeWidth:Gt}),pn=Object.assign({width:`${St(at)}%`,height:tn,borderRadius:Sn},Qt),Cn=bt(Pe),En={width:`${St(Cn)}%`,height:tn,borderRadius:Sn,backgroundColor:Wt==null?void 0:Wt.strokeColor},sn={width:rn<0?"100%":rn,height:tn};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${Be}-outer`,style:sn},ae.createElement("div",{className:`${Be}-inner`,style:fn},ae.createElement("div",{className:`${Be}-bg`,style:pn}),Cn!==void 0?ae.createElement("div",{className:`${Be}-success-bg`,style:En}):null)),zt)},Ie=Pe=>{const{size:Be,steps:Ae,percent:at=0,strokeWidth:st=8,strokeColor:Gt,trailColor:Nt=null,prefixCls:Lt,children:zt}=Pe,Xt=Math.round(Ae*(at/100)),Wt=Be==="small"?2:14,Qt=Be!=null?Be:[Wt,st],[Sn,fn]=Le(Qt,"step",{steps:Ae,strokeWidth:st}),Fn=Sn/Ae,rn=new Array(Ae);for(let tn=0;tn{const Be=Pe?"100%":"-100%";return new we.Keyframes(`antProgress${Pe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Bt=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:Object.assign(Object.assign({},(0,pe.Wf)(Pe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Pe.fontSize,marginInlineEnd:Pe.marginXS,marginBottom:Pe.marginXS},[`${Be}-outer`]:{display:"inline-block",width:"100%"},[`&${Be}-show-info`]:{[`${Be}-outer`]:{marginInlineEnd:`calc(-2em - ${Pe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Pe.paddingXS}px)`}},[`${Be}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Pe.remainingColor,borderRadius:Pe.lineBorderRadius},[`${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.defaultColor}},[`${Be}-success-bg, ${Be}-bg`]:{position:"relative",backgroundColor:Pe.defaultColor,borderRadius:Pe.lineBorderRadius,transition:`all ${Pe.motionDurationSlow} ${Pe.motionEaseInOutCirc}`},[`${Be}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Pe.colorSuccess},[`${Be}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Pe.marginXS,color:Pe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ae]:{fontSize:Pe.fontSize}},[`&${Be}-status-active`]:{[`${Be}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Pe.colorBgContainer,borderRadius:Pe.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:Pe.progressActiveMotionDuration,animationTimingFunction:Pe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Be}-rtl${Be}-status-active`]:{[`${Be}-bg::before`]:{animationName:dt(!0)}},[`&${Be}-status-exception`]:{[`${Be}-bg`]:{backgroundColor:Pe.colorError},[`${Be}-text`]:{color:Pe.colorError}},[`&${Be}-status-exception ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.colorError}},[`&${Be}-status-success`]:{[`${Be}-bg`]:{backgroundColor:Pe.colorSuccess},[`${Be}-text`]:{color:Pe.colorSuccess}},[`&${Be}-status-success ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.colorSuccess}}})}},xt=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:{[`${Be}-circle-trail`]:{stroke:Pe.remainingColor},[`&${Be}-circle ${Be}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Be}-circle ${Be}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Pe.circleTextColor,fontSize:Pe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ae]:{fontSize:`${Pe.fontSize/Pe.fontSizeSM}em`}},[`${Be}-circle&-status-exception`]:{[`${Be}-text`]:{color:Pe.colorError}},[`${Be}-circle&-status-success`]:{[`${Be}-text`]:{color:Pe.colorSuccess}}},[`${Be}-inline-circle`]:{lineHeight:1,[`${Be}-inner`]:{verticalAlign:"bottom"}}}},Mt=Pe=>{const{componentCls:Be}=Pe;return{[Be]:{[`${Be}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Pe.progressStepMinWidth,marginInlineEnd:Pe.progressStepMarginInlineEnd,backgroundColor:Pe.remainingColor,transition:`all ${Pe.motionDurationSlow}`,"&-active":{backgroundColor:Pe.defaultColor}}}}}},Dt=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:{[`${Be}-small&-line, ${Be}-small&-line ${Be}-text ${Ae}`]:{fontSize:Pe.fontSizeSM}}}};var vt=(0,ke.Z)("Progress",Pe=>{const Be=Pe.marginXXS/2,Ae=(0,Ze.TS)(Pe,{progressStepMarginInlineEnd:Be,progressStepMinWidth:Be,progressActiveMotionDuration:"2.4s"});return[Bt(Ae),xt(Ae),Mt(Ae),Dt(Ae)]},Pe=>({circleTextColor:Pe.colorText,defaultColor:Pe.colorInfo,remainingColor:Pe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),At=function(Pe,Be){var Ae={};for(var at in Pe)Object.prototype.hasOwnProperty.call(Pe,at)&&Be.indexOf(at)<0&&(Ae[at]=Pe[at]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,at=Object.getOwnPropertySymbols(Pe);st{const{prefixCls:Ae,className:at,rootClassName:st,steps:Gt,strokeColor:Nt,percent:Lt=0,size:zt="default",showInfo:Xt=!0,type:Wt="line",status:Qt,format:Sn,style:fn}=Pe,Fn=At(Pe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),rn=ae.useMemo(()=>{var ve,Se;const nt=bt(Pe);return parseInt(nt!==void 0?(ve=nt!=null?nt:0)===null||ve===void 0?void 0:ve.toString():(Se=Lt!=null?Lt:0)===null||Se===void 0?void 0:Se.toString(),10)},[Lt,Pe.success,Pe.successPercent]),tn=ae.useMemo(()=>!wn.includes(Qt)&&rn>=100?"success":Qt||"normal",[Qt,rn]),{getPrefixCls:pn,direction:Cn,progress:En}=ae.useContext(Me.E_),sn=pn("progress",Ae),[Nn,Yn]=vt(sn),In=ae.useMemo(()=>{if(!Xt)return null;const ve=bt(Pe);let Se;const nt=Sn||(ft=>`${ft}%`),wt=Wt==="line";return Sn||tn!=="exception"&&tn!=="success"?Se=nt(St(Lt),St(ve)):tn==="exception"?Se=wt?ae.createElement(Ye.Z,null):ae.createElement(ce.Z,null):tn==="success"&&(Se=wt?ae.createElement(fe.Z,null):ae.createElement(qe.Z,null)),ae.createElement("span",{className:`${sn}-text`,title:typeof Se=="string"?Se:void 0},Se)},[Xt,Lt,rn,tn,Wt,sn,Sn]),_n=Array.isArray(Nt)?Nt[0]:Nt,na=typeof Nt=="string"||Array.isArray(Nt)?Nt:void 0;let Jn;Wt==="line"?Jn=Gt?ae.createElement(Ie,Object.assign({},Pe,{strokeColor:na,prefixCls:sn,steps:Gt}),In):ae.createElement(Ut,Object.assign({},Pe,{strokeColor:_n,prefixCls:sn,direction:Cn}),In):(Wt==="circle"||Wt==="dashboard")&&(Jn=ae.createElement(tt,Object.assign({},Pe,{strokeColor:_n,prefixCls:sn,progressStatus:tn}),In));const he=me()(sn,`${sn}-status-${tn}`,`${sn}-${Wt==="dashboard"&&"circle"||Gt&&"steps"||Wt}`,{[`${sn}-inline-circle`]:Wt==="circle"&&Le(zt,"circle")[0]<=20,[`${sn}-show-info`]:Xt,[`${sn}-${zt}`]:typeof zt=="string",[`${sn}-rtl`]:Cn==="rtl"},En==null?void 0:En.className,at,st,Yn);return Nn(ae.createElement("div",Object.assign({ref:Be,style:Object.assign(Object.assign({},En==null?void 0:En.style),fn),className:he,role:"progressbar","aria-valuenow":rn},(0,ot.Z)(Fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Jn))}),en=on},54580:function(Ee,it,ge){"use strict";ge.d(it,{default:function(){return Bn}});var ae=ge(59301),fe=ge(95190),qe=ge(92310),Ye=ge.n(qe),ce=ge(14809),Xe=ge(99153),me=ge(84851),ot=ge(19257),Me=ge(93046),Re=ge(4635),We=ge(62646),De=ge(70539),ze=ge(93664),ne=ge(95764),a=ge(26112);function y(se,Ce){var xe="cannot ".concat(se.method," ").concat(se.action," ").concat(Ce.status,"'"),Ge=new Error(xe);return Ge.status=Ce.status,Ge.method=se.method,Ge.url=se.action,Ge}function x(se){var Ce=se.responseText||se.response;if(!Ce)return Ce;try{return JSON.parse(Ce)}catch(xe){return Ce}}function b(se){var Ce=new XMLHttpRequest;se.onProgress&&Ce.upload&&(Ce.upload.onprogress=function(Ve){Ve.total>0&&(Ve.percent=Ve.loaded/Ve.total*100),se.onProgress(Ve)});var xe=new FormData;se.data&&Object.keys(se.data).forEach(function(Ue){var Ve=se.data[Ue];if(Array.isArray(Ve)){Ve.forEach(function(je){xe.append("".concat(Ue,"[]"),je)});return}xe.append(Ue,Ve)}),se.file instanceof Blob?xe.append(se.filename,se.file,se.file.name):xe.append(se.filename,se.file),Ce.onerror=function(Ve){se.onError(Ve)},Ce.onload=function(){return Ce.status<200||Ce.status>=300?se.onError(y(se,Ce),x(Ce)):se.onSuccess(x(Ce),Ce)},Ce.open(se.method,se.action,!0),se.withCredentials&&"withCredentials"in Ce&&(Ce.withCredentials=!0);var Ge=se.headers||{};return Ge["X-Requested-With"]!==null&&Ce.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ge).forEach(function(Ue){Ge[Ue]!==null&&Ce.setRequestHeader(Ue,Ge[Ue])}),Ce.send(xe),{abort:function(){Ce.abort()}}}var E=+new Date,z=0;function ee(){return"rc-upload-".concat(E,"-").concat(++z)}var te=ge(48736),oe=function(se,Ce){if(se&&Ce){var xe=Array.isArray(Ce)?Ce:Ce.split(","),Ge=se.name||"",Ue=se.type||"",Ve=Ue.replace(/\/.*$/,"");return xe.some(function(je){var Oe=je.trim();if(/^\*(\/\*)?$/.test(je))return!0;if(Oe.charAt(0)==="."){var Et=Ge.toLowerCase(),$t=Oe.toLowerCase(),ye=[$t];return($t===".jpg"||$t===".jpeg")&&(ye=[".jpg",".jpeg"]),ye.some(function(nn){return Et.endsWith(nn)})}return/\/\*$/.test(Oe)?Ve===Oe.replace(/\/.*$/,""):Ue===Oe?!0:/^\w+$/.test(Oe)?((0,te.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Oe,"'.Skip for check.")),!0):!1})}return!0};function re(se,Ce){var xe=se.createReader(),Ge=[];function Ue(){xe.readEntries(function(Ve){var je=Array.prototype.slice.apply(Ve);Ge=Ge.concat(je);var Oe=!je.length;Oe?Ce(Ge):Ue()})}Ue()}var ie=function(Ce,xe,Ge){var Ue=function Ve(je,Oe){je&&(je.path=Oe||"",je.isFile?je.file(function(Et){Ge(Et)&&(je.fullPath&&!Et.webkitRelativePath&&(Object.defineProperties(Et,{webkitRelativePath:{writable:!0}}),Et.webkitRelativePath=je.fullPath.replace(/^\//,""),Object.defineProperties(Et,{webkitRelativePath:{writable:!1}})),xe([Et]))}):je.isDirectory&&re(je,function(Et){Et.forEach(function($t){Ve($t,"".concat(Oe).concat(je.name,"/"))})}))};Ce.forEach(function(Ve){Ue(Ve.webkitGetAsEntry())})},ue=ie,le=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],$e=function(se){(0,ot.Z)(xe,se);var Ce=(0,Me.Z)(xe);function xe(){var Ge;(0,Xe.Z)(this,xe);for(var Ue=arguments.length,Ve=new Array(Ue),je=0;je{let{uid:Ve}=Ue;return Ve===se.uid});return Ge===-1?xe.push(se):xe[Ge]=se,xe}function At(se,Ce){const xe=se.uid!==void 0?"uid":"name";return Ce.filter(Ge=>Ge[xe]===se[xe])[0]}function Pn(se,Ce){const xe=se.uid!==void 0?"uid":"name",Ge=Ce.filter(Ue=>Ue[xe]!==se[xe]);return Ge.length===Ce.length?null:Ge}const wn=function(){const Ce=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Ge=Ce[Ce.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ge)||[""])[0]},Ln=se=>se.indexOf("image/")===0,on=se=>{if(se.type&&!se.thumbUrl)return Ln(se.type);const Ce=se.thumbUrl||se.url||"",xe=wn(Ce);return/^data:image\//.test(Ce)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(xe)?!0:!(/^data:/.test(Ce)||xe)},en=200;function Pe(se){return new Promise(Ce=>{if(!se.type||!Ln(se.type)){Ce("");return}const xe=document.createElement("canvas");xe.width=en,xe.height=en,xe.style.cssText=`position: fixed; left: 0; top: 0; width: ${en}px; height: ${en}px; z-index: 9999; display: none;`,document.body.appendChild(xe);const Ge=xe.getContext("2d"),Ue=new Image;if(Ue.onload=()=>{const{width:Ve,height:je}=Ue;let Oe=en,Et=en,$t=0,ye=0;Ve>je?(Et=je*(en/Ve),ye=-(Et-Oe)/2):(Oe=Ve*(en/je),$t=-(Oe-Et)/2),Ge.drawImage(Ue,$t,ye,Oe,Et);const nn=xe.toDataURL();document.body.removeChild(xe),window.URL.revokeObjectURL(Ue.src),Ce(nn)},Ue.crossOrigin="anonymous",se.type.startsWith("image/svg+xml")){const Ve=new FileReader;Ve.onload=()=>{Ve.result&&(Ue.src=Ve.result)},Ve.readAsDataURL(se)}else if(se.type.startsWith("image/gif")){const Ve=new FileReader;Ve.onload=()=>{Ve.result&&Ce(Ve.result)},Ve.readAsDataURL(se)}else Ue.src=window.URL.createObjectURL(se)})}var Be=ge(26227),Ae=ge(41464),at=ge(15277),st=ge(93948),Gt=ge(6848),Lt=ae.forwardRef((se,Ce)=>{let{prefixCls:xe,className:Ge,style:Ue,locale:Ve,listType:je,file:Oe,items:Et,progress:$t,iconRender:ye,actionIconRender:nn,itemRender:qt,isImgUrl:hn,showPreviewIcon:xn,showRemoveIcon:Ke,showDownloadIcon:ut,previewIcon:Ct,removeIcon:mt,downloadIcon:Zt,onPreview:Kt,onDownload:It,onClose:un}=se;var cn,oa;const{status:Qn}=Oe,[qn,ca]=ae.useState(Qn);ae.useEffect(()=>{Qn!=="removed"&&ca(Qn)},[Qn]);const[Sa,Pa]=ae.useState(!1);ae.useEffect(()=>{const Mn=setTimeout(()=>{Pa(!0)},300);return()=>{clearTimeout(Mn)}},[]);const da=ye(Oe);let Vn=ae.createElement("div",{className:`${xe}-icon`},da);if(je==="picture"||je==="picture-card"||je==="picture-circle")if(qn==="uploading"||!Oe.thumbUrl&&!Oe.url){const Mn=Ye()(`${xe}-list-item-thumbnail`,{[`${xe}-list-item-file`]:qn!=="uploading"});Vn=ae.createElement("div",{className:Mn},da)}else{const Mn=hn!=null&&hn(Oe)?ae.createElement("img",{src:Oe.thumbUrl||Oe.url,alt:Oe.name,className:`${xe}-list-item-image`,crossOrigin:Oe.crossOrigin}):da,On=Ye()(`${xe}-list-item-thumbnail`,{[`${xe}-list-item-file`]:hn&&!hn(Oe)});Vn=ae.createElement("a",{className:On,onClick:la=>Kt(Oe,la),href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Mn)}const $n=Ye()(`${xe}-list-item`,`${xe}-list-item-${qn}`),ta=typeof Oe.linkProps=="string"?JSON.parse(Oe.linkProps):Oe.linkProps,ga=Ke?nn((typeof mt=="function"?mt(Oe):mt)||ae.createElement(Be.Z,null),()=>un(Oe),xe,Ve.removeFile):null,ia=ut&&qn==="done"?nn((typeof Zt=="function"?Zt(Oe):Zt)||ae.createElement(Ae.Z,null),()=>It(Oe),xe,Ve.downloadFile):null,aa=je!=="picture-card"&&je!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:Ye()(`${xe}-list-item-actions`,{picture:je==="picture"})},ia,ga),ea=Ye()(`${xe}-list-item-name`),ha=Oe.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ea,title:Oe.name},ta,{href:Oe.url,onClick:Mn=>Kt(Oe,Mn)}),Oe.name),aa]:[ae.createElement("span",{key:"view",className:ea,onClick:Mn=>Kt(Oe,Mn),title:Oe.name},Oe.name),aa],jt={pointerEvents:"none",opacity:.5},Gn=xn?ae.createElement("a",{href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Oe.url||Oe.thumbUrl?void 0:jt,onClick:Mn=>Kt(Oe,Mn),title:Ve.previewFile},typeof Ct=="function"?Ct(Oe):Ct||ae.createElement(at.Z,null)):null,Tn=(je==="picture-card"||je==="picture-circle")&&qn!=="uploading"&&ae.createElement("span",{className:`${xe}-list-item-actions`},Gn,qn==="done"&&ia,ga),{getPrefixCls:Un}=ae.useContext(He.E_),Xn=Un(),ra=ae.createElement("div",{className:$n},Vn,ha,Tn,Sa&&ae.createElement(Ze.default,{motionName:`${Xn}-fade`,visible:qn==="uploading",motionDeadline:2e3},Mn=>{let{className:On}=Mn;const la="percent"in Oe?ae.createElement(st.Z,Object.assign({},$t,{type:"line",percent:Oe.percent,"aria-label":Oe["aria-label"],"aria-labelledby":Oe["aria-labelledby"]})):null;return ae.createElement("div",{className:Ye()(`${xe}-list-item-progress`,On)},la)})),va=Oe.response&&typeof Oe.response=="string"?Oe.response:((cn=Oe.error)===null||cn===void 0?void 0:cn.statusText)||((oa=Oe.error)===null||oa===void 0?void 0:oa.message)||Ve.uploadError,pa=qn==="error"?ae.createElement(Gt.Z,{title:va,getPopupContainer:Mn=>Mn.parentNode},ra):ra;return ae.createElement("div",{className:Ye()(`${xe}-list-item-container`,Ge),style:Ue,ref:Ce},qt?qt(pa,Oe,Et,{download:It.bind(null,Oe),preview:Kt.bind(null,Oe),remove:un.bind(null,Oe)}):pa)});const zt=(se,Ce)=>{const{listType:xe="text",previewFile:Ge=Pe,onPreview:Ue,onDownload:Ve,onRemove:je,locale:Oe,iconRender:Et,isImageUrl:$t=on,prefixCls:ye,items:nn=[],showPreviewIcon:qt=!0,showRemoveIcon:hn=!0,showDownloadIcon:xn=!1,removeIcon:Ke,previewIcon:ut,downloadIcon:Ct,progress:mt={size:[-1,2],showInfo:!1},appendAction:Zt,appendActionVisible:Kt=!0,itemRender:It,disabled:un}=se,cn=(0,dt.Z)(),[oa,Qn]=ae.useState(!1);ae.useEffect(()=>{xe!=="picture"&&xe!=="picture-card"&&xe!=="picture-circle"||(nn||[]).forEach(jt=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(jt.originFileObj instanceof File||jt.originFileObj instanceof Blob)||jt.thumbUrl!==void 0||(jt.thumbUrl="",Ge&&Ge(jt.originFileObj).then(Gn=>{jt.thumbUrl=Gn||"",cn()}))})},[xe,nn,Ge]),ae.useEffect(()=>{Qn(!0)},[]);const qn=(jt,Gn)=>{if(Ue)return Gn==null||Gn.preventDefault(),Ue(jt)},ca=jt=>{typeof Ve=="function"?Ve(jt):jt.url&&window.open(jt.url)},Sa=jt=>{je==null||je(jt)},Pa=jt=>{if(Et)return Et(jt,xe);const Gn=jt.status==="uploading",Tn=$t&&$t(jt)?ae.createElement(ke,null):ae.createElement(Pt,null);let Un=Gn?ae.createElement(tt.Z,null):ae.createElement(Ut,null);return xe==="picture"?Un=Gn?ae.createElement(tt.Z,null):Tn:(xe==="picture-card"||xe==="picture-circle")&&(Un=Gn?Oe.uploading:Tn),Un},da=(jt,Gn,Tn,Un)=>{const Xn={type:"text",size:"small",title:Un,onClick:ra=>{Gn(),(0,xt.l$)(jt)&&jt.props.onClick&&jt.props.onClick(ra)},className:`${Tn}-list-item-action`,disabled:un};if((0,xt.l$)(jt)){const ra=(0,xt.Tm)(jt,Object.assign(Object.assign({},jt.props),{onClick:()=>{}}));return ae.createElement(Mt.ZP,Object.assign({},Xn,{icon:ra}))}return ae.createElement(Mt.ZP,Object.assign({},Xn),ae.createElement("span",null,jt))};ae.useImperativeHandle(Ce,()=>({handlePreview:qn,handleDownload:ca}));const{getPrefixCls:Vn}=ae.useContext(He.E_),$n=Vn("upload",ye),ta=Vn(),ga=Ye()(`${$n}-list`,`${$n}-list-${xe}`),ia=(0,fe.Z)(nn.map(jt=>({key:jt.uid,file:jt})));let ea={motionDeadline:2e3,motionName:`${$n}-${xe==="picture-card"||xe==="picture-circle"?"animate-inline":"animate"}`,keys:ia,motionAppear:oa};const ha=ae.useMemo(()=>{const jt=Object.assign({},(0,Bt.Z)(ta));return delete jt.onAppearEnd,delete jt.onEnterEnd,delete jt.onLeaveEnd,jt},[ta]);return xe!=="picture-card"&&xe!=="picture-circle"&&(ea=Object.assign(Object.assign({},ha),ea)),ae.createElement("div",{className:ga},ae.createElement(Ze.CSSMotionList,Object.assign({},ea,{component:!1}),jt=>{let{key:Gn,file:Tn,className:Un,style:Xn}=jt;return ae.createElement(Lt,{key:Gn,locale:Oe,prefixCls:$n,className:Un,style:Xn,file:Tn,items:nn,progress:mt,listType:xe,isImgUrl:$t,showPreviewIcon:qt,showRemoveIcon:hn,showDownloadIcon:xn,removeIcon:Ke,previewIcon:ut,downloadIcon:Ct,iconRender:Pa,actionIconRender:da,itemRender:It,onPreview:qn,onDownload:ca,onClose:Sa})}),Zt&&ae.createElement(Ze.default,Object.assign({},ea,{visible:Kt,forceRender:!0}),jt=>{let{className:Gn,style:Tn}=jt;return(0,xt.Tm)(Zt,Un=>({className:Ye()(Un.className,Gn),style:Object.assign(Object.assign(Object.assign({},Tn),{pointerEvents:Gn?"none":void 0}),Un.style)}))}))};var Wt=ae.forwardRef(zt),Qt=ge(17313),Sn=ge(8378),fn=ge(83116),Fn=ge(37613),tn=se=>{const{componentCls:Ce,iconCls:xe}=se;return{[`${Ce}-wrapper`]:{[`${Ce}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:se.colorFillAlter,border:`${se.lineWidth}px dashed ${se.colorBorder}`,borderRadius:se.borderRadiusLG,cursor:"pointer",transition:`border-color ${se.motionDurationSlow}`,[Ce]:{padding:`${se.padding}px 0`},[`${Ce}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ce}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ce}-disabled):hover`]:{borderColor:se.colorPrimaryHover},[`p${Ce}-drag-icon`]:{marginBottom:se.margin,[xe]:{color:se.colorPrimary,fontSize:se.uploadThumbnailSize}},[`p${Ce}-text`]:{margin:`0 0 ${se.marginXXS}px`,color:se.colorTextHeading,fontSize:se.fontSizeLG},[`p${Ce}-hint`]:{color:se.colorTextDescription,fontSize:se.fontSize},[`&${Ce}-disabled`]:{cursor:"not-allowed",[`p${Ce}-drag-icon ${xe}, + `]:{opacity:0},[`${we}-item-icon, ${pe}`]:{margin:0,fontSize:en,lineHeight:`${ke}px`,"+ span":{display:"inline-block",opacity:0}}},[`${we}-item-icon, ${pe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${we}-item-icon, ${pe}`]:{display:"none"},"a, a:hover":{color:Ze}},[`${we}-item-group-title`]:Object.assign(Object.assign({},$e.vS),{paddingInline:wn})}}]};const Te=Ie=>{const{componentCls:we,motionDurationSlow:pe,motionDurationMid:ke,motionEaseInOut:Ze,motionEaseOut:dt,iconCls:xt,iconSize:Ct,iconMarginInlineEnd:Mt}=Ie;return{[`${we}-item, ${we}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${pe}`,`background ${pe}`,`padding ${pe} ${Ze}`].join(","),[`${we}-item-icon, ${xt}`]:{minWidth:Ct,fontSize:Ct,transition:[`font-size ${ke} ${dt}`,`margin ${pe} ${Ze}`,`color ${pe}`].join(","),"+ span":{marginInlineStart:Mt,opacity:1,transition:[`opacity ${pe} ${Ze}`,`margin ${pe}`,`color ${pe}`].join(",")}},[`${we}-item-icon`]:Object.assign({},(0,$e.Ro)()),[`&${we}-item-only-child`]:{[`> ${xt}, > ${we}-item-icon`]:{marginInlineEnd:0}}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${we}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Pt=Ie=>{const{componentCls:we,motionDurationSlow:pe,motionEaseInOut:ke,borderRadius:Ze,menuArrowSize:dt,menuArrowOffset:xt}=Ie;return{[`${we}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${pe} ${ke}, opacity ${pe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:Ze,transition:[`background ${pe} ${ke}`,`transform ${pe} ${ke}`,`top ${pe} ${ke}`,`color ${pe} ${ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${xt})`},"&::after":{transform:`rotate(-45deg) translateY(${xt})`}}}}},et=Ie=>{const{antCls:we,componentCls:pe,fontSize:ke,motionDurationSlow:Ze,motionDurationMid:dt,motionEaseInOut:xt,paddingXS:Ct,padding:Mt,colorSplit:At,lineWidth:vt,zIndexPopup:Rt,borderRadiusLG:Pn,subMenuItemBorderRadius:wn,menuArrowSize:Ln,menuArrowOffset:on,lineType:en,menuPanelMaskInset:Pe,groupTitleLineHeight:Be,groupTitleFontSize:Ae}=Ie;return[{"":{[`${pe}`]:Object.assign(Object.assign({},(0,$e.dF)()),{"&-hidden":{display:"none"}})},[`${pe}-submenu-hidden`]:{display:"none"}},{[pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(Ie)),(0,$e.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ze} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${pe}-item`]:{flex:"none"}},[`${pe}-item, ${pe}-submenu, ${pe}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${pe}-item-group-title`]:{padding:`${Ct}px ${Mt}px`,fontSize:Ae,lineHeight:Be,transition:`all ${Ze}`},[`&-horizontal ${pe}-submenu`]:{transition:[`border-color ${Ze} ${xt}`,`background ${Ze} ${xt}`].join(",")},[`${pe}-submenu, ${pe}-submenu-inline`]:{transition:[`border-color ${Ze} ${xt}`,`background ${Ze} ${xt}`,`padding ${dt} ${xt}`].join(",")},[`${pe}-submenu ${pe}-sub`]:{cursor:"initial",transition:[`background ${Ze} ${xt}`,`padding ${Ze} ${xt}`].join(",")},[`${pe}-title-content`]:{transition:`color ${Ze}`},[`${pe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${pe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:At,borderStyle:en,borderWidth:0,borderTopWidth:vt,marginBlock:vt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Te(Ie)),{[`${pe}-item-group`]:{[`${pe}-item-group-list`]:{margin:0,padding:0,[`${pe}-item, ${pe}-submenu-title`]:{paddingInline:`${ke*2}px ${Mt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Rt,borderRadius:Pn,boxShadow:"none",transformOrigin:"0 0",[`&${pe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Pe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Pe},"\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},[`> ${pe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Pn},Te(Ie)),Pt(Ie)),{[`${pe}-item, ${pe}-submenu > ${pe}-submenu-title`]:{borderRadius:wn},[`${pe}-submenu-title::after`]:{transition:`transform ${Ze} ${xt}`}})}}),Pt(Ie)),{[`&-inline-collapsed ${pe}-submenu-arrow, + &-inline ${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${on})`},"&::after":{transform:`rotate(45deg) translateX(-${on})`}},[`${pe}-submenu-open${pe}-submenu-inline > ${pe}-submenu-title > ${pe}-submenu-arrow`]:{transform:`translateY(-${Ln*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${on})`},"&::before":{transform:`rotate(45deg) translateX(${on})`}}})},{[`${we}-layout-header`]:{[pe]:{lineHeight:"inherit"}}}]};var Ft=(Ie,we)=>(0,Vt.Z)("Menu",ke=>{if(we===!1)return[];const{colorBgElevated:Ze,colorPrimary:dt,colorTextLightSolid:xt,controlHeightLG:Ct,fontSize:Mt,darkItemColor:At,darkDangerItemColor:vt,darkItemBg:Rt,darkSubMenuItemBg:Pn,darkItemSelectedColor:wn,darkItemSelectedBg:Ln,darkDangerItemSelectedBg:on,darkItemHoverBg:en,darkGroupTitleColor:Pe,darkItemHoverColor:Be,darkItemDisabledColor:Ae,darkDangerItemHoverColor:nt,darkDangerItemSelectedColor:st,darkDangerItemActiveBg:Ot}=ke,It=Mt/7*5,Lt=(0,Fe.TS)(ke,{menuArrowSize:It,menuHorizontalHeight:Ct*1.15,menuArrowOffset:`${It*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ze}),Nt=(0,Fe.TS)(Lt,{itemColor:At,itemHoverColor:Be,groupTitleColor:Pe,itemSelectedColor:wn,itemBg:Rt,popupBg:Rt,subMenuItemBg:Pn,itemActiveBg:"transparent",itemSelectedBg:Ln,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Ae,dangerItemColor:vt,dangerItemHoverColor:nt,dangerItemSelectedColor:st,dangerItemActiveBg:Ot,dangerItemSelectedBg:on,menuSubMenuBg:Pn,horizontalItemSelectedColor:xt,horizontalItemSelectedBg:dt});return[et(Lt),rt(Lt),be(Lt),zt(Lt,"light"),zt(Nt,"dark"),_e(Lt),(0,Ne.Z)(Lt),(0,lt.oN)(Lt,"slide-up"),(0,lt.oN)(Lt,"slide-down"),(0,ht._y)(Lt,"zoom-big")]},ke=>{const{colorPrimary:Ze,colorError:dt,colorTextDisabled:xt,colorErrorBg:Ct,colorText:Mt,colorTextDescription:At,colorBgContainer:vt,colorFillAlter:Rt,colorFillContent:Pn,lineWidth:wn,lineWidthBold:Ln,controlItemBgActive:on,colorBgTextHover:en,controlHeightLG:Pe,lineHeight:Be,colorBgElevated:Ae,marginXXS:nt,padding:st,fontSize:Ot,controlHeightSM:It,fontSizeLG:Lt,colorTextLightSolid:Nt,colorErrorHover:Xt}=ke,_t=new le.C(Nt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ke.zIndexPopupBase+50,radiusItem:ke.borderRadiusLG,itemBorderRadius:ke.borderRadiusLG,radiusSubMenuItem:ke.borderRadiusSM,subMenuItemBorderRadius:ke.borderRadiusSM,colorItemText:Mt,itemColor:Mt,colorItemTextHover:Mt,itemHoverColor:Mt,colorItemTextHoverHorizontal:Ze,horizontalItemHoverColor:Ze,colorGroupTitle:At,groupTitleColor:At,colorItemTextSelected:Ze,itemSelectedColor:Ze,colorItemTextSelectedHorizontal:Ze,horizontalItemSelectedColor:Ze,colorItemBg:vt,itemBg:vt,colorItemBgHover:en,itemHoverBg:en,colorItemBgActive:Pn,itemActiveBg:on,colorSubItemBg:Rt,subMenuItemBg:Rt,colorItemBgSelected:on,itemSelectedBg:on,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ln,activeBarHeight:Ln,colorActiveBarBorderSize:wn,activeBarBorderWidth:wn,colorItemTextDisabled:xt,itemDisabledColor:xt,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:Ct,dangerItemActiveBg:Ct,colorDangerItemBgSelected:Ct,dangerItemSelectedBg:Ct,itemMarginInline:ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Pe,groupTitleLineHeight:Be,collapsedWidth:Pe*2,popupBg:Ae,itemMarginBlock:nt,itemPaddingInline:st,horizontalLineHeight:`${Pe*1.15}px`,iconSize:Ot,iconMarginInlineEnd:It-Ot,collapsedIconSize:Lt,groupTitleFontSize:Ot,darkItemDisabledColor:new le.C(Nt).setAlpha(.25).toRgbString(),darkItemColor:_t,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Nt,darkItemSelectedBg:Ze,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:_t,darkItemHoverColor:Nt,darkDangerItemHoverColor:Xt,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:dt}},{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),de=function(Ie,we){var pe={};for(var ke in Ie)Object.prototype.hasOwnProperty.call(Ie,ke)&&we.indexOf(ke)<0&&(pe[ke]=Ie[ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(Ie);Ze{var pe,ke;const Ze=fe.useContext(oe.Z),dt=Ze||{},{getPrefixCls:xt,getPopupContainer:Ct,direction:Mt,menu:At}=fe.useContext(Xe.E_),vt=xt(),{prefixCls:Rt,className:Pn,style:wn,theme:Ln="light",expandIcon:on,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:Pe,siderCollapsed:Be,items:Ae,children:nt,rootClassName:st,mode:Ot,selectable:It,onClick:Lt,overflowedIndicatorPopupClassName:Nt}=Ie,Xt=de(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),_t=(0,We.Z)(Xt,["collapsedWidth"]),Qt=ue(Ae)||nt;(pe=dt.validator)===null||pe===void 0||pe.call(dt,{mode:Ot});const Sn=(0,ee.useEvent)(function(){var In;Lt==null||Lt.apply(void 0,arguments),(In=dt.onClick)===null||In===void 0||In.call(dt)}),fn=dt.mode||Ot,Fn=It!=null?It:dt.selectable,rn=fe.useMemo(()=>Be!==void 0?Be:Pe,[Pe,Be]),tn={horizontal:{motionName:`${vt}-slide-up`},inline:(0,te.Z)(vt),other:{motionName:`${vt}-zoom-big`}},pn=xt("menu",Rt||dt.prefixCls),[Cn,En]=Ft(pn,!Ze),sn=ce()(`${pn}-${Ln}`,At==null?void 0:At.className,Pn);let Nn;if(typeof on=="function")Nn=on;else if(on===null||on===!1)Nn=null;else if(dt.expandIcon===null||dt.expandIcon===!1)Nn=null;else{const In=on!=null?on:dt.expandIcon;Nn=(0,ze.Tm)(In,{className:ce()(`${pn}-submenu-expand-icon`,(0,ze.l$)(In)?(ke=In.props)===null||ke===void 0?void 0:ke.className:"")})}const Yn=fe.useMemo(()=>({prefixCls:pn,inlineCollapsed:rn||!1,direction:Mt,firstLevel:!0,theme:Ln,mode:fn,disableMenuItemTitleTooltip:en}),[pn,rn,Mt,en,Ln]);return Cn(fe.createElement(oe.Z.Provider,{value:null},fe.createElement(a.Provider,{value:Yn},fe.createElement(ae.ZP,Object.assign({getPopupContainer:Ct,overflowedIndicator:fe.createElement(z.Z,null),overflowedIndicatorPopupClassName:ce()(pn,`${pn}-${Ln}`,Nt),mode:fn,selectable:Fn,onClick:Sn},_t,{inlineCollapsed:rn,style:Object.assign(Object.assign({},At==null?void 0:At.style),wn),className:sn,prefixCls:pn,direction:Mt,defaultMotions:tn,expandIcon:Nn,ref:we,rootClassName:ce()(st,En)}),Qt))))});const Wt=(0,fe.forwardRef)((Ie,we)=>{const pe=(0,fe.useRef)(null),ke=fe.useContext(Qe.D);return(0,fe.useImperativeHandle)(we,()=>({menu:pe.current,focus:Ze=>{var dt;(dt=pe.current)===null||dt===void 0||dt.focus(Ze)}})),fe.createElement(Bt,Object.assign({ref:pe},Ie,ke))});Wt.Item=x,Wt.SubMenu=E,Wt.Divider=Me,Wt.ItemGroup=ae.BW;var Dt=Wt},93948:function(Ee,it,ge){"use strict";ge.d(it,{Z:function(){return en}});var ae=ge(59301),fe=ge(29679),Qe=ge(40001),Ye=ge(19248),ce=ge(99267),Xe=ge(92310),me=ge.n(Xe),at=ge(2738),Me=ge(36355),Re=ge(14809),We=ge(20439),De=ge(62646),ze={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var Be=(0,ae.useRef)([]),Ae=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var nt=Date.now(),st=!1;Be.current.forEach(function(Ot){if(Ot){st=!0;var It=Ot.style;It.transitionDuration=".3s, .3s, .3s, .06s",Ae.current&&nt-Ae.current<100&&(It.transitionDuration="0s, 0s")}}),st&&(Ae.current=Date.now())}),Be.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Be){var Ae=(0,We.Z)((0,We.Z)({},ze),Be),nt=Ae.className,st=Ae.percent,Ot=Ae.prefixCls,It=Ae.strokeColor,Lt=Ae.strokeLinecap,Nt=Ae.strokeWidth,Xt=Ae.style,_t=Ae.trailColor,Qt=Ae.trailWidth,Sn=Ae.transition,fn=(0,De.Z)(Ae,a);delete fn.gapPosition;var Fn=Array.isArray(st)?st:[st],rn=Array.isArray(It)?It:[It],tn=ne(),pn=Nt/2,Cn=100-Nt/2,En="M ".concat(Lt==="round"?pn:0,",").concat(pn,` + L `).concat(Lt==="round"?Cn:100,",").concat(pn),sn="0 0 100 ".concat(Nt),Nn=0;return ae.createElement("svg",(0,Re.Z)({className:me()("".concat(Ot,"-line"),nt),viewBox:sn,preserveAspectRatio:"none",style:Xt},fn),ae.createElement("path",{className:"".concat(Ot,"-line-trail"),d:En,strokeLinecap:Lt,stroke:_t,strokeWidth:Qt||Nt,fillOpacity:"0"}),Fn.map(function(Yn,In){var _n=1;switch(Lt){case"round":_n=1-Nt/100;break;case"square":_n=1-Nt/2/100;break;default:_n=1;break}var na={strokeDasharray:"".concat(Yn*_n,"px, 100px"),strokeDashoffset:"-".concat(Nn,"px"),transition:Sn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Jn=rn[In]||rn[rn.length-1];return Nn+=Yn,ae.createElement("path",{key:In,className:"".concat(Ot,"-line-path"),d:En,strokeLinecap:Lt,stroke:Jn,strokeWidth:Nt,fillOpacity:"0",ref:function(ve){tn[In]=ve},style:na})}))},x=y,b=ge(93664),E=ge(50298),z=ge(47273),ee=0,te=(0,z.Z)();function oe(){var Pe;return te?(Pe=ee,ee+=1):Pe="TEST_OR_SSR",Pe}var re=function(Pe){var Be=ae.useState(),Ae=(0,E.Z)(Be,2),nt=Ae[0],st=Ae[1];return ae.useEffect(function(){st("rc_progress_".concat(oe()))},[]),Pe||nt},ie=function(Be){var Ae=Be.bg,nt=Be.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:Ae}},nt)};function ue(Pe,Be){return Object.keys(Pe).map(function(Ae){var nt=parseFloat(Ae),st="".concat(Math.floor(nt*Be),"%");return"".concat(Pe[Ae]," ").concat(st)})}var le=ae.forwardRef(function(Pe,Be){var Ae=Pe.prefixCls,nt=Pe.color,st=Pe.gradientId,Ot=Pe.radius,It=Pe.style,Lt=Pe.ptg,Nt=Pe.strokeLinecap,Xt=Pe.strokeWidth,_t=Pe.size,Qt=Pe.gapDegree,Sn=nt&&(0,b.Z)(nt)==="object",fn=Sn?"#FFF":void 0,Fn=_t/2,rn=ae.createElement("circle",{className:"".concat(Ae,"-circle-path"),r:Ot,cx:Fn,cy:Fn,stroke:fn,strokeLinecap:Nt,strokeWidth:Xt,opacity:Lt===0?0:1,style:It,ref:Be});if(!Sn)return rn;var tn="".concat(st,"-conic"),pn=Qt?"".concat(180+Qt/2,"deg"):"0deg",Cn=ue(nt,(360-Qt)/360),En=ue(nt,1),sn="conic-gradient(from ".concat(pn,", ").concat(Cn.join(", "),")"),Nn="linear-gradient(to ".concat(Qt?"bottom":"top",", ").concat(En.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:tn},rn),ae.createElement("foreignObject",{x:0,y:0,width:_t,height:_t,mask:"url(#".concat(tn,")")},ae.createElement(ie,{bg:Nn},ae.createElement(ie,{bg:sn}))))}),$e=le,Ne=100,lt=function(Be,Ae,nt,st,Ot,It,Lt,Nt,Xt,_t){var Qt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Sn=nt/100*360*((360-It)/360),fn=It===0?0:{bottom:0,top:180,left:90,right:-90}[Lt],Fn=(100-st)/100*Ae;Xt==="round"&&st!==100&&(Fn+=_t/2,Fn>=Ae&&(Fn=Ae-.01));var rn=Ne/2;return{stroke:typeof Nt=="string"?Nt:void 0,strokeDasharray:"".concat(Ae,"px ").concat(Be),strokeDashoffset:Fn+Qt,transform:"rotate(".concat(Ot+Sn+fn,"deg)"),transformOrigin:"".concat(rn,"px ").concat(rn,"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}},ht=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Vt(Pe){var Be=Pe!=null?Pe:[];return Array.isArray(Be)?Be:[Be]}var Fe=function(Be){var Ae=(0,We.Z)((0,We.Z)({},ze),Be),nt=Ae.id,st=Ae.prefixCls,Ot=Ae.steps,It=Ae.strokeWidth,Lt=Ae.trailWidth,Nt=Ae.gapDegree,Xt=Nt===void 0?0:Nt,_t=Ae.gapPosition,Qt=Ae.trailColor,Sn=Ae.strokeLinecap,fn=Ae.style,Fn=Ae.className,rn=Ae.strokeColor,tn=Ae.percent,pn=(0,De.Z)(Ae,ht),Cn=Ne/2,En=re(nt),sn="".concat(En,"-gradient"),Nn=Cn-It/2,Yn=Math.PI*2*Nn,In=Xt>0?90+Xt/2:-90,_n=Yn*((360-Xt)/360),na=(0,b.Z)(Ot)==="object"?Ot:{count:Ot,space:2},Jn=na.count,he=na.space,ve=Vt(tn),Se=Vt(rn),tt=Se.find(function(kn){return kn&&(0,b.Z)(kn)==="object"}),wt=tt&&(0,b.Z)(tt)==="object",ft=wt?"butt":Sn,gn=lt(Yn,_n,0,100,In,Xt,_t,Qt,ft,It),kt=ne(),Yt=function(){var Je=0;return ve.map(function(Jt,An){var Zn=Se[An]||Se[Se.length-1],Bn=lt(Yn,_n,Je,Jt,In,Xt,_t,Zn,ft,It);return Je+=Jt,ae.createElement($e,{key:An,color:Zn,ptg:Jt,radius:Nn,prefixCls:st,gradientId:sn,style:Bn,strokeLinecap:ft,strokeWidth:It,gapDegree:Xt,ref:function(Ce){kt[An]=Ce},size:Ne})}).reverse()},vn=function(){var Je=Math.round(Jn*(ve[0]/100)),Jt=100/Jn,An=0;return new Array(Jn).fill(null).map(function(Zn,Bn){var se=Bn<=Je-1?Se[0]:Qt,Ce=se&&(0,b.Z)(se)==="object"?"url(#".concat(sn,")"):void 0,xe=lt(Yn,_n,An,Jt,In,Xt,_t,se,"butt",It,he);return An+=(_n-xe.strokeDashoffset+he)*100/_n,ae.createElement("circle",{key:Bn,className:"".concat(st,"-circle-path"),r:Nn,cx:Cn,cy:Cn,stroke:Ce,strokeWidth:It,opacity:1,style:xe,ref:function(Ue){kt[Bn]=Ue}})})};return ae.createElement("svg",(0,Re.Z)({className:me()("".concat(st,"-circle"),Fn),viewBox:"0 0 ".concat(Ne," ").concat(Ne),style:fn,id:nt,role:"presentation"},pn),!Jn&&ae.createElement("circle",{className:"".concat(st,"-circle-trail"),r:Nn,cx:Cn,cy:Cn,stroke:Qt,strokeLinecap:ft,strokeWidth:Lt||It,style:gn}),Jn?vn():Yt())},qe=Fe,rt={Line:x,Circle:qe},He=ge(6848),_e=ge(30071);function St(Pe){return!Pe||Pe<0?0:Pe>100?100:Pe}function bt(Pe){let{success:Be,successPercent:Ae}=Pe,nt=Ae;return Be&&"progress"in Be&&(nt=Be.progress),Be&&"percent"in Be&&(nt=Be.percent),nt}const zt=Pe=>{let{percent:Be,success:Ae,successPercent:nt}=Pe;const st=St(bt({success:Ae,successPercent:nt}));return[st,St(St(Be)-st)]},Zt=Pe=>{let{success:Be={},strokeColor:Ae}=Pe;const{strokeColor:nt}=Be;return[nt||_e.presetPrimaryColors.green,Ae||null]},Le=(Pe,Be,Ae)=>{var nt,st,Ot,It;let Lt=-1,Nt=-1;if(Be==="step"){const Xt=Ae.steps,_t=Ae.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?(Lt=Pe==="small"?2:14,Nt=_t!=null?_t:8):typeof Pe=="number"?[Lt,Nt]=[Pe,Pe]:[Lt=14,Nt=8]=Pe,Lt*=Xt}else if(Be==="line"){const Xt=Ae==null?void 0:Ae.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?Nt=Xt||(Pe==="small"?6:8):typeof Pe=="number"?[Lt,Nt]=[Pe,Pe]:[Lt=-1,Nt=8]=Pe}else(Be==="circle"||Be==="dashboard")&&(typeof Pe=="string"||typeof Pe=="undefined"?[Lt,Nt]=Pe==="small"?[60,60]:[120,120]:typeof Pe=="number"?[Lt,Nt]=[Pe,Pe]:(Lt=(st=(nt=Pe[0])!==null&&nt!==void 0?nt:Pe[1])!==null&&st!==void 0?st:120,Nt=(It=(Ot=Pe[0])!==null&&Ot!==void 0?Ot:Pe[1])!==null&&It!==void 0?It:120));return[Lt,Nt]},be=3,Te=Pe=>be/Pe*100;var et=Pe=>{const{prefixCls:Be,trailColor:Ae=null,strokeLinecap:nt="round",gapPosition:st,gapDegree:Ot,width:It=120,type:Lt,children:Nt,success:Xt,size:_t=It}=Pe,[Qt,Sn]=Le(_t,"circle");let{strokeWidth:fn}=Pe;fn===void 0&&(fn=Math.max(Te(Qt),6));const Fn={width:Qt,height:Sn,fontSize:Qt*.15+6},rn=ae.useMemo(()=>{if(Ot||Ot===0)return Ot;if(Lt==="dashboard")return 75},[Ot,Lt]),tn=st||Lt==="dashboard"&&"bottom"||void 0,pn=Object.prototype.toString.call(Pe.strokeColor)==="[object Object]",Cn=Zt({success:Xt,strokeColor:Pe.strokeColor}),En=me()(`${Be}-inner`,{[`${Be}-circle-gradient`]:pn}),sn=ae.createElement(qe,{percent:zt(Pe),strokeWidth:fn,trailWidth:fn,strokeColor:Cn,strokeLinecap:nt,trailColor:Ae,prefixCls:Be,gapDegree:rn,gapPosition:tn});return ae.createElement("div",{className:En,style:Fn},Qt<=20?ae.createElement(He.Z,{title:Nt},ae.createElement("span",null,sn)):ae.createElement(ae.Fragment,null,sn,Nt))},Ft=function(Pe,Be){var Ae={};for(var nt in Pe)Object.prototype.hasOwnProperty.call(Pe,nt)&&Be.indexOf(nt)<0&&(Ae[nt]=Pe[nt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,nt=Object.getOwnPropertySymbols(Pe);st{let Be=[];return Object.keys(Pe).forEach(Ae=>{const nt=parseFloat(Ae.replace(/%/g,""));isNaN(nt)||Be.push({key:nt,value:Pe[Ae]})}),Be=Be.sort((Ae,nt)=>Ae.key-nt.key),Be.map(Ae=>{let{key:nt,value:st}=Ae;return`${st} ${nt}%`}).join(", ")},ot=(Pe,Be)=>{const{from:Ae=_e.presetPrimaryColors.blue,to:nt=_e.presetPrimaryColors.blue,direction:st=Be==="rtl"?"to left":"to right"}=Pe,Ot=Ft(Pe,["from","to","direction"]);if(Object.keys(Ot).length!==0){const It=de(Ot);return{backgroundImage:`linear-gradient(${st}, ${It})`}}return{backgroundImage:`linear-gradient(${st}, ${Ae}, ${nt})`}};var Wt=Pe=>{const{prefixCls:Be,direction:Ae,percent:nt,size:st,strokeWidth:Ot,strokeColor:It,strokeLinecap:Lt="round",children:Nt,trailColor:Xt=null,success:_t}=Pe,Qt=It&&typeof It!="string"?ot(It,Ae):{backgroundColor:It},Sn=Lt==="square"||Lt==="butt"?0:void 0,fn={backgroundColor:Xt||void 0,borderRadius:Sn},Fn=st!=null?st:[-1,Ot||(st==="small"?6:8)],[rn,tn]=Le(Fn,"line",{strokeWidth:Ot}),pn=Object.assign({width:`${St(nt)}%`,height:tn,borderRadius:Sn},Qt),Cn=bt(Pe),En={width:`${St(Cn)}%`,height:tn,borderRadius:Sn,backgroundColor:_t==null?void 0:_t.strokeColor},sn={width:rn<0?"100%":rn,height:tn};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${Be}-outer`,style:sn},ae.createElement("div",{className:`${Be}-inner`,style:fn},ae.createElement("div",{className:`${Be}-bg`,style:pn}),Cn!==void 0?ae.createElement("div",{className:`${Be}-success-bg`,style:En}):null)),Nt)},Ie=Pe=>{const{size:Be,steps:Ae,percent:nt=0,strokeWidth:st=8,strokeColor:Ot,trailColor:It=null,prefixCls:Lt,children:Nt}=Pe,Xt=Math.round(Ae*(nt/100)),_t=Be==="small"?2:14,Qt=Be!=null?Be:[_t,st],[Sn,fn]=Le(Qt,"step",{steps:Ae,strokeWidth:st}),Fn=Sn/Ae,rn=new Array(Ae);for(let tn=0;tn{const Be=Pe?"100%":"-100%";return new we.Keyframes(`antProgress${Pe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},xt=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:Object.assign(Object.assign({},(0,pe.Wf)(Pe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Pe.fontSize,marginInlineEnd:Pe.marginXS,marginBottom:Pe.marginXS},[`${Be}-outer`]:{display:"inline-block",width:"100%"},[`&${Be}-show-info`]:{[`${Be}-outer`]:{marginInlineEnd:`calc(-2em - ${Pe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Pe.paddingXS}px)`}},[`${Be}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Pe.remainingColor,borderRadius:Pe.lineBorderRadius},[`${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.defaultColor}},[`${Be}-success-bg, ${Be}-bg`]:{position:"relative",backgroundColor:Pe.defaultColor,borderRadius:Pe.lineBorderRadius,transition:`all ${Pe.motionDurationSlow} ${Pe.motionEaseInOutCirc}`},[`${Be}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Pe.colorSuccess},[`${Be}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Pe.marginXS,color:Pe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ae]:{fontSize:Pe.fontSize}},[`&${Be}-status-active`]:{[`${Be}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Pe.colorBgContainer,borderRadius:Pe.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:Pe.progressActiveMotionDuration,animationTimingFunction:Pe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Be}-rtl${Be}-status-active`]:{[`${Be}-bg::before`]:{animationName:dt(!0)}},[`&${Be}-status-exception`]:{[`${Be}-bg`]:{backgroundColor:Pe.colorError},[`${Be}-text`]:{color:Pe.colorError}},[`&${Be}-status-exception ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.colorError}},[`&${Be}-status-success`]:{[`${Be}-bg`]:{backgroundColor:Pe.colorSuccess},[`${Be}-text`]:{color:Pe.colorSuccess}},[`&${Be}-status-success ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:Pe.colorSuccess}}})}},Ct=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:{[`${Be}-circle-trail`]:{stroke:Pe.remainingColor},[`&${Be}-circle ${Be}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Be}-circle ${Be}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Pe.circleTextColor,fontSize:Pe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ae]:{fontSize:`${Pe.fontSize/Pe.fontSizeSM}em`}},[`${Be}-circle&-status-exception`]:{[`${Be}-text`]:{color:Pe.colorError}},[`${Be}-circle&-status-success`]:{[`${Be}-text`]:{color:Pe.colorSuccess}}},[`${Be}-inline-circle`]:{lineHeight:1,[`${Be}-inner`]:{verticalAlign:"bottom"}}}},Mt=Pe=>{const{componentCls:Be}=Pe;return{[Be]:{[`${Be}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Pe.progressStepMinWidth,marginInlineEnd:Pe.progressStepMarginInlineEnd,backgroundColor:Pe.remainingColor,transition:`all ${Pe.motionDurationSlow}`,"&-active":{backgroundColor:Pe.defaultColor}}}}}},At=Pe=>{const{componentCls:Be,iconCls:Ae}=Pe;return{[Be]:{[`${Be}-small&-line, ${Be}-small&-line ${Be}-text ${Ae}`]:{fontSize:Pe.fontSizeSM}}}};var vt=(0,ke.Z)("Progress",Pe=>{const Be=Pe.marginXXS/2,Ae=(0,Ze.TS)(Pe,{progressStepMarginInlineEnd:Be,progressStepMinWidth:Be,progressActiveMotionDuration:"2.4s"});return[xt(Ae),Ct(Ae),Mt(Ae),At(Ae)]},Pe=>({circleTextColor:Pe.colorText,defaultColor:Pe.colorInfo,remainingColor:Pe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Rt=function(Pe,Be){var Ae={};for(var nt in Pe)Object.prototype.hasOwnProperty.call(Pe,nt)&&Be.indexOf(nt)<0&&(Ae[nt]=Pe[nt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,nt=Object.getOwnPropertySymbols(Pe);st{const{prefixCls:Ae,className:nt,rootClassName:st,steps:Ot,strokeColor:It,percent:Lt=0,size:Nt="default",showInfo:Xt=!0,type:_t="line",status:Qt,format:Sn,style:fn}=Pe,Fn=Rt(Pe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),rn=ae.useMemo(()=>{var ve,Se;const tt=bt(Pe);return parseInt(tt!==void 0?(ve=tt!=null?tt:0)===null||ve===void 0?void 0:ve.toString():(Se=Lt!=null?Lt:0)===null||Se===void 0?void 0:Se.toString(),10)},[Lt,Pe.success,Pe.successPercent]),tn=ae.useMemo(()=>!wn.includes(Qt)&&rn>=100?"success":Qt||"normal",[Qt,rn]),{getPrefixCls:pn,direction:Cn,progress:En}=ae.useContext(Me.E_),sn=pn("progress",Ae),[Nn,Yn]=vt(sn),In=ae.useMemo(()=>{if(!Xt)return null;const ve=bt(Pe);let Se;const tt=Sn||(ft=>`${ft}%`),wt=_t==="line";return Sn||tn!=="exception"&&tn!=="success"?Se=tt(St(Lt),St(ve)):tn==="exception"?Se=wt?ae.createElement(Ye.Z,null):ae.createElement(ce.Z,null):tn==="success"&&(Se=wt?ae.createElement(fe.Z,null):ae.createElement(Qe.Z,null)),ae.createElement("span",{className:`${sn}-text`,title:typeof Se=="string"?Se:void 0},Se)},[Xt,Lt,rn,tn,_t,sn,Sn]),_n=Array.isArray(It)?It[0]:It,na=typeof It=="string"||Array.isArray(It)?It:void 0;let Jn;_t==="line"?Jn=Ot?ae.createElement(Ie,Object.assign({},Pe,{strokeColor:na,prefixCls:sn,steps:Ot}),In):ae.createElement(Wt,Object.assign({},Pe,{strokeColor:_n,prefixCls:sn,direction:Cn}),In):(_t==="circle"||_t==="dashboard")&&(Jn=ae.createElement(et,Object.assign({},Pe,{strokeColor:_n,prefixCls:sn,progressStatus:tn}),In));const he=me()(sn,`${sn}-status-${tn}`,`${sn}-${_t==="dashboard"&&"circle"||Ot&&"steps"||_t}`,{[`${sn}-inline-circle`]:_t==="circle"&&Le(Nt,"circle")[0]<=20,[`${sn}-show-info`]:Xt,[`${sn}-${Nt}`]:typeof Nt=="string",[`${sn}-rtl`]:Cn==="rtl"},En==null?void 0:En.className,nt,st,Yn);return Nn(ae.createElement("div",Object.assign({ref:Be,style:Object.assign(Object.assign({},En==null?void 0:En.style),fn),className:he,role:"progressbar","aria-valuenow":rn},(0,at.Z)(Fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Jn))}),en=on},54580:function(Ee,it,ge){"use strict";ge.d(it,{default:function(){return Bn}});var ae=ge(59301),fe=ge(95190),Qe=ge(92310),Ye=ge.n(Qe),ce=ge(14809),Xe=ge(99153),me=ge(84851),at=ge(19257),Me=ge(93046),Re=ge(4635),We=ge(62646),De=ge(70539),ze=ge(93664),ne=ge(95764),a=ge(26112);function y(se,Ce){var xe="cannot ".concat(se.method," ").concat(se.action," ").concat(Ce.status,"'"),Ge=new Error(xe);return Ge.status=Ce.status,Ge.method=se.method,Ge.url=se.action,Ge}function x(se){var Ce=se.responseText||se.response;if(!Ce)return Ce;try{return JSON.parse(Ce)}catch(xe){return Ce}}function b(se){var Ce=new XMLHttpRequest;se.onProgress&&Ce.upload&&(Ce.upload.onprogress=function(Ve){Ve.total>0&&(Ve.percent=Ve.loaded/Ve.total*100),se.onProgress(Ve)});var xe=new FormData;se.data&&Object.keys(se.data).forEach(function(Ue){var Ve=se.data[Ue];if(Array.isArray(Ve)){Ve.forEach(function(je){xe.append("".concat(Ue,"[]"),je)});return}xe.append(Ue,Ve)}),se.file instanceof Blob?xe.append(se.filename,se.file,se.file.name):xe.append(se.filename,se.file),Ce.onerror=function(Ve){se.onError(Ve)},Ce.onload=function(){return Ce.status<200||Ce.status>=300?se.onError(y(se,Ce),x(Ce)):se.onSuccess(x(Ce),Ce)},Ce.open(se.method,se.action,!0),se.withCredentials&&"withCredentials"in Ce&&(Ce.withCredentials=!0);var Ge=se.headers||{};return Ge["X-Requested-With"]!==null&&Ce.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ge).forEach(function(Ue){Ge[Ue]!==null&&Ce.setRequestHeader(Ue,Ge[Ue])}),Ce.send(xe),{abort:function(){Ce.abort()}}}var E=+new Date,z=0;function ee(){return"rc-upload-".concat(E,"-").concat(++z)}var te=ge(48736),oe=function(se,Ce){if(se&&Ce){var xe=Array.isArray(Ce)?Ce:Ce.split(","),Ge=se.name||"",Ue=se.type||"",Ve=Ue.replace(/\/.*$/,"");return xe.some(function(je){var Oe=je.trim();if(/^\*(\/\*)?$/.test(je))return!0;if(Oe.charAt(0)==="."){var $t=Ge.toLowerCase(),Gt=Oe.toLowerCase(),ye=[Gt];return(Gt===".jpg"||Gt===".jpeg")&&(ye=[".jpg",".jpeg"]),ye.some(function(nn){return $t.endsWith(nn)})}return/\/\*$/.test(Oe)?Ve===Oe.replace(/\/.*$/,""):Ue===Oe?!0:/^\w+$/.test(Oe)?((0,te.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Oe,"'.Skip for check.")),!0):!1})}return!0};function re(se,Ce){var xe=se.createReader(),Ge=[];function Ue(){xe.readEntries(function(Ve){var je=Array.prototype.slice.apply(Ve);Ge=Ge.concat(je);var Oe=!je.length;Oe?Ce(Ge):Ue()})}Ue()}var ie=function(Ce,xe,Ge){var Ue=function Ve(je,Oe){je&&(je.path=Oe||"",je.isFile?je.file(function($t){Ge($t)&&(je.fullPath&&!$t.webkitRelativePath&&(Object.defineProperties($t,{webkitRelativePath:{writable:!0}}),$t.webkitRelativePath=je.fullPath.replace(/^\//,""),Object.defineProperties($t,{webkitRelativePath:{writable:!1}})),xe([$t]))}):je.isDirectory&&re(je,function($t){$t.forEach(function(Gt){Ve(Gt,"".concat(Oe).concat(je.name,"/"))})}))};Ce.forEach(function(Ve){Ue(Ve.webkitGetAsEntry())})},ue=ie,le=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],$e=function(se){(0,at.Z)(xe,se);var Ce=(0,Me.Z)(xe);function xe(){var Ge;(0,Xe.Z)(this,xe);for(var Ue=arguments.length,Ve=new Array(Ue),je=0;je{let{uid:Ve}=Ue;return Ve===se.uid});return Ge===-1?xe.push(se):xe[Ge]=se,xe}function Rt(se,Ce){const xe=se.uid!==void 0?"uid":"name";return Ce.filter(Ge=>Ge[xe]===se[xe])[0]}function Pn(se,Ce){const xe=se.uid!==void 0?"uid":"name",Ge=Ce.filter(Ue=>Ue[xe]!==se[xe]);return Ge.length===Ce.length?null:Ge}const wn=function(){const Ce=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Ge=Ce[Ce.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ge)||[""])[0]},Ln=se=>se.indexOf("image/")===0,on=se=>{if(se.type&&!se.thumbUrl)return Ln(se.type);const Ce=se.thumbUrl||se.url||"",xe=wn(Ce);return/^data:image\//.test(Ce)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(xe)?!0:!(/^data:/.test(Ce)||xe)},en=200;function Pe(se){return new Promise(Ce=>{if(!se.type||!Ln(se.type)){Ce("");return}const xe=document.createElement("canvas");xe.width=en,xe.height=en,xe.style.cssText=`position: fixed; left: 0; top: 0; width: ${en}px; height: ${en}px; z-index: 9999; display: none;`,document.body.appendChild(xe);const Ge=xe.getContext("2d"),Ue=new Image;if(Ue.onload=()=>{const{width:Ve,height:je}=Ue;let Oe=en,$t=en,Gt=0,ye=0;Ve>je?($t=je*(en/Ve),ye=-($t-Oe)/2):(Oe=Ve*(en/je),Gt=-(Oe-$t)/2),Ge.drawImage(Ue,Gt,ye,Oe,$t);const nn=xe.toDataURL();document.body.removeChild(xe),window.URL.revokeObjectURL(Ue.src),Ce(nn)},Ue.crossOrigin="anonymous",se.type.startsWith("image/svg+xml")){const Ve=new FileReader;Ve.onload=()=>{Ve.result&&(Ue.src=Ve.result)},Ve.readAsDataURL(se)}else if(se.type.startsWith("image/gif")){const Ve=new FileReader;Ve.onload=()=>{Ve.result&&Ce(Ve.result)},Ve.readAsDataURL(se)}else Ue.src=window.URL.createObjectURL(se)})}var Be=ge(26227),Ae=ge(41464),nt=ge(15277),st=ge(93948),Ot=ge(6848),Lt=ae.forwardRef((se,Ce)=>{let{prefixCls:xe,className:Ge,style:Ue,locale:Ve,listType:je,file:Oe,items:$t,progress:Gt,iconRender:ye,actionIconRender:nn,itemRender:qt,isImgUrl:hn,showPreviewIcon:xn,showRemoveIcon:Ke,showDownloadIcon:ut,previewIcon:Et,removeIcon:mt,downloadIcon:Ut,onPreview:Kt,onDownload:Tt,onClose:un}=se;var cn,oa;const{status:Qn}=Oe,[qn,ca]=ae.useState(Qn);ae.useEffect(()=>{Qn!=="removed"&&ca(Qn)},[Qn]);const[Sa,Pa]=ae.useState(!1);ae.useEffect(()=>{const Mn=setTimeout(()=>{Pa(!0)},300);return()=>{clearTimeout(Mn)}},[]);const da=ye(Oe);let Vn=ae.createElement("div",{className:`${xe}-icon`},da);if(je==="picture"||je==="picture-card"||je==="picture-circle")if(qn==="uploading"||!Oe.thumbUrl&&!Oe.url){const Mn=Ye()(`${xe}-list-item-thumbnail`,{[`${xe}-list-item-file`]:qn!=="uploading"});Vn=ae.createElement("div",{className:Mn},da)}else{const Mn=hn!=null&&hn(Oe)?ae.createElement("img",{src:Oe.thumbUrl||Oe.url,alt:Oe.name,className:`${xe}-list-item-image`,crossOrigin:Oe.crossOrigin}):da,On=Ye()(`${xe}-list-item-thumbnail`,{[`${xe}-list-item-file`]:hn&&!hn(Oe)});Vn=ae.createElement("a",{className:On,onClick:la=>Kt(Oe,la),href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Mn)}const $n=Ye()(`${xe}-list-item`,`${xe}-list-item-${qn}`),ta=typeof Oe.linkProps=="string"?JSON.parse(Oe.linkProps):Oe.linkProps,ga=Ke?nn((typeof mt=="function"?mt(Oe):mt)||ae.createElement(Be.Z,null),()=>un(Oe),xe,Ve.removeFile):null,ia=ut&&qn==="done"?nn((typeof Ut=="function"?Ut(Oe):Ut)||ae.createElement(Ae.Z,null),()=>Tt(Oe),xe,Ve.downloadFile):null,aa=je!=="picture-card"&&je!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:Ye()(`${xe}-list-item-actions`,{picture:je==="picture"})},ia,ga),ea=Ye()(`${xe}-list-item-name`),ha=Oe.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ea,title:Oe.name},ta,{href:Oe.url,onClick:Mn=>Kt(Oe,Mn)}),Oe.name),aa]:[ae.createElement("span",{key:"view",className:ea,onClick:Mn=>Kt(Oe,Mn),title:Oe.name},Oe.name),aa],jt={pointerEvents:"none",opacity:.5},Gn=xn?ae.createElement("a",{href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Oe.url||Oe.thumbUrl?void 0:jt,onClick:Mn=>Kt(Oe,Mn),title:Ve.previewFile},typeof Et=="function"?Et(Oe):Et||ae.createElement(nt.Z,null)):null,Tn=(je==="picture-card"||je==="picture-circle")&&qn!=="uploading"&&ae.createElement("span",{className:`${xe}-list-item-actions`},Gn,qn==="done"&&ia,ga),{getPrefixCls:Un}=ae.useContext(He.E_),Xn=Un(),ra=ae.createElement("div",{className:$n},Vn,ha,Tn,Sa&&ae.createElement(Ze.default,{motionName:`${Xn}-fade`,visible:qn==="uploading",motionDeadline:2e3},Mn=>{let{className:On}=Mn;const la="percent"in Oe?ae.createElement(st.Z,Object.assign({},Gt,{type:"line",percent:Oe.percent,"aria-label":Oe["aria-label"],"aria-labelledby":Oe["aria-labelledby"]})):null;return ae.createElement("div",{className:Ye()(`${xe}-list-item-progress`,On)},la)})),va=Oe.response&&typeof Oe.response=="string"?Oe.response:((cn=Oe.error)===null||cn===void 0?void 0:cn.statusText)||((oa=Oe.error)===null||oa===void 0?void 0:oa.message)||Ve.uploadError,pa=qn==="error"?ae.createElement(Ot.Z,{title:va,getPopupContainer:Mn=>Mn.parentNode},ra):ra;return ae.createElement("div",{className:Ye()(`${xe}-list-item-container`,Ge),style:Ue,ref:Ce},qt?qt(pa,Oe,$t,{download:Tt.bind(null,Oe),preview:Kt.bind(null,Oe),remove:un.bind(null,Oe)}):pa)});const Nt=(se,Ce)=>{const{listType:xe="text",previewFile:Ge=Pe,onPreview:Ue,onDownload:Ve,onRemove:je,locale:Oe,iconRender:$t,isImageUrl:Gt=on,prefixCls:ye,items:nn=[],showPreviewIcon:qt=!0,showRemoveIcon:hn=!0,showDownloadIcon:xn=!1,removeIcon:Ke,previewIcon:ut,downloadIcon:Et,progress:mt={size:[-1,2],showInfo:!1},appendAction:Ut,appendActionVisible:Kt=!0,itemRender:Tt,disabled:un}=se,cn=(0,dt.Z)(),[oa,Qn]=ae.useState(!1);ae.useEffect(()=>{xe!=="picture"&&xe!=="picture-card"&&xe!=="picture-circle"||(nn||[]).forEach(jt=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(jt.originFileObj instanceof File||jt.originFileObj instanceof Blob)||jt.thumbUrl!==void 0||(jt.thumbUrl="",Ge&&Ge(jt.originFileObj).then(Gn=>{jt.thumbUrl=Gn||"",cn()}))})},[xe,nn,Ge]),ae.useEffect(()=>{Qn(!0)},[]);const qn=(jt,Gn)=>{if(Ue)return Gn==null||Gn.preventDefault(),Ue(jt)},ca=jt=>{typeof Ve=="function"?Ve(jt):jt.url&&window.open(jt.url)},Sa=jt=>{je==null||je(jt)},Pa=jt=>{if($t)return $t(jt,xe);const Gn=jt.status==="uploading",Tn=Gt&&Gt(jt)?ae.createElement(ke,null):ae.createElement(Pt,null);let Un=Gn?ae.createElement(et.Z,null):ae.createElement(Wt,null);return xe==="picture"?Un=Gn?ae.createElement(et.Z,null):Tn:(xe==="picture-card"||xe==="picture-circle")&&(Un=Gn?Oe.uploading:Tn),Un},da=(jt,Gn,Tn,Un)=>{const Xn={type:"text",size:"small",title:Un,onClick:ra=>{Gn(),(0,Ct.l$)(jt)&&jt.props.onClick&&jt.props.onClick(ra)},className:`${Tn}-list-item-action`,disabled:un};if((0,Ct.l$)(jt)){const ra=(0,Ct.Tm)(jt,Object.assign(Object.assign({},jt.props),{onClick:()=>{}}));return ae.createElement(Mt.ZP,Object.assign({},Xn,{icon:ra}))}return ae.createElement(Mt.ZP,Object.assign({},Xn),ae.createElement("span",null,jt))};ae.useImperativeHandle(Ce,()=>({handlePreview:qn,handleDownload:ca}));const{getPrefixCls:Vn}=ae.useContext(He.E_),$n=Vn("upload",ye),ta=Vn(),ga=Ye()(`${$n}-list`,`${$n}-list-${xe}`),ia=(0,fe.Z)(nn.map(jt=>({key:jt.uid,file:jt})));let ea={motionDeadline:2e3,motionName:`${$n}-${xe==="picture-card"||xe==="picture-circle"?"animate-inline":"animate"}`,keys:ia,motionAppear:oa};const ha=ae.useMemo(()=>{const jt=Object.assign({},(0,xt.Z)(ta));return delete jt.onAppearEnd,delete jt.onEnterEnd,delete jt.onLeaveEnd,jt},[ta]);return xe!=="picture-card"&&xe!=="picture-circle"&&(ea=Object.assign(Object.assign({},ha),ea)),ae.createElement("div",{className:ga},ae.createElement(Ze.CSSMotionList,Object.assign({},ea,{component:!1}),jt=>{let{key:Gn,file:Tn,className:Un,style:Xn}=jt;return ae.createElement(Lt,{key:Gn,locale:Oe,prefixCls:$n,className:Un,style:Xn,file:Tn,items:nn,progress:mt,listType:xe,isImgUrl:Gt,showPreviewIcon:qt,showRemoveIcon:hn,showDownloadIcon:xn,removeIcon:Ke,previewIcon:ut,downloadIcon:Et,iconRender:Pa,actionIconRender:da,itemRender:Tt,onPreview:qn,onDownload:ca,onClose:Sa})}),Ut&&ae.createElement(Ze.default,Object.assign({},ea,{visible:Kt,forceRender:!0}),jt=>{let{className:Gn,style:Tn}=jt;return(0,Ct.Tm)(Ut,Un=>({className:Ye()(Un.className,Gn),style:Object.assign(Object.assign(Object.assign({},Tn),{pointerEvents:Gn?"none":void 0}),Un.style)}))}))};var _t=ae.forwardRef(Nt),Qt=ge(17313),Sn=ge(8378),fn=ge(83116),Fn=ge(37613),tn=se=>{const{componentCls:Ce,iconCls:xe}=se;return{[`${Ce}-wrapper`]:{[`${Ce}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:se.colorFillAlter,border:`${se.lineWidth}px dashed ${se.colorBorder}`,borderRadius:se.borderRadiusLG,cursor:"pointer",transition:`border-color ${se.motionDurationSlow}`,[Ce]:{padding:`${se.padding}px 0`},[`${Ce}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ce}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ce}-disabled):hover`]:{borderColor:se.colorPrimaryHover},[`p${Ce}-drag-icon`]:{marginBottom:se.margin,[xe]:{color:se.colorPrimary,fontSize:se.uploadThumbnailSize}},[`p${Ce}-text`]:{margin:`0 0 ${se.marginXXS}px`,color:se.colorTextHeading,fontSize:se.fontSizeLG},[`p${Ce}-hint`]:{color:se.colorTextDescription,fontSize:se.fontSize},[`&${Ce}-disabled`]:{cursor:"not-allowed",[`p${Ce}-drag-icon ${xe}, p${Ce}-text, p${Ce}-hint - `]:{color:se.colorTextDisabled}}}}}},Cn=se=>{const{componentCls:Ce,antCls:xe,iconCls:Ge,fontSize:Ue,lineHeight:Ve}=se,je=`${Ce}-list-item`,Oe=`${je}-actions`,Et=`${je}-action`,$t=Math.round(Ue*Ve);return{[`${Ce}-wrapper`]:{[`${Ce}-list`]:Object.assign(Object.assign({},(0,Qt.dF)()),{lineHeight:se.lineHeight,[je]:{position:"relative",height:se.lineHeight*Ue,marginTop:se.marginXS,fontSize:Ue,display:"flex",alignItems:"center",transition:`background-color ${se.motionDurationSlow}`,"&:hover":{backgroundColor:se.controlItemBgHover},[`${je}-name`]:Object.assign(Object.assign({},Qt.vS),{padding:`0 ${se.paddingXS}px`,lineHeight:Ve,flex:"auto",transition:`all ${se.motionDurationSlow}`}),[Oe]:{[Et]:{opacity:0},[`${Et}${xe}-btn-sm`]:{height:$t,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${Et}:focus-visible, - &.picture ${Et} - `]:{opacity:1},[Ge]:{color:se.actionsColor,transition:`all ${se.motionDurationSlow}`},[`&:hover ${Ge}`]:{color:se.colorText}},[`${Ce}-icon ${Ge}`]:{color:se.colorTextDescription,fontSize:Ue},[`${je}-progress`]:{position:"absolute",bottom:-se.uploadProgressOffset,width:"100%",paddingInlineStart:Ue+se.paddingXS,fontSize:Ue,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${je}:hover ${Et}`]:{opacity:1,color:se.colorText},[`${je}-error`]:{color:se.colorError,[`${je}-name, ${Ce}-icon ${Ge}`]:{color:se.colorError},[Oe]:{[`${Ge}, ${Ge}:hover`]:{color:se.colorError},[Et]:{opacity:1}}},[`${Ce}-list-item-container`]:{transition:`opacity ${se.motionDurationSlow}, height ${se.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},En=ge(93083),sn=ge(1950);const Nn=new En.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Yn=new En.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var _n=se=>{const{componentCls:Ce}=se,xe=`${Ce}-animate-inline`;return[{[`${Ce}-wrapper`]:{[`${xe}-appear, ${xe}-enter, ${xe}-leave`]:{animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseInOutCirc,animationFillMode:"forwards"},[`${xe}-appear, ${xe}-enter`]:{animationName:Nn},[`${xe}-leave`]:{animationName:Yn}}},{[`${Ce}-wrapper`]:(0,sn.J$)(se)},Nn,Yn]},na=ge(30071),Jn=ge(64993);const he=se=>{const{componentCls:Ce,iconCls:xe,uploadThumbnailSize:Ge,uploadProgressOffset:Ue}=se,Ve=`${Ce}-list`,je=`${Ve}-item`;return{[`${Ce}-wrapper`]:{[` + `]:{color:se.colorTextDisabled}}}}}},Cn=se=>{const{componentCls:Ce,antCls:xe,iconCls:Ge,fontSize:Ue,lineHeight:Ve}=se,je=`${Ce}-list-item`,Oe=`${je}-actions`,$t=`${je}-action`,Gt=Math.round(Ue*Ve);return{[`${Ce}-wrapper`]:{[`${Ce}-list`]:Object.assign(Object.assign({},(0,Qt.dF)()),{lineHeight:se.lineHeight,[je]:{position:"relative",height:se.lineHeight*Ue,marginTop:se.marginXS,fontSize:Ue,display:"flex",alignItems:"center",transition:`background-color ${se.motionDurationSlow}`,"&:hover":{backgroundColor:se.controlItemBgHover},[`${je}-name`]:Object.assign(Object.assign({},Qt.vS),{padding:`0 ${se.paddingXS}px`,lineHeight:Ve,flex:"auto",transition:`all ${se.motionDurationSlow}`}),[Oe]:{[$t]:{opacity:0},[`${$t}${xe}-btn-sm`]:{height:Gt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${$t}:focus-visible, + &.picture ${$t} + `]:{opacity:1},[Ge]:{color:se.actionsColor,transition:`all ${se.motionDurationSlow}`},[`&:hover ${Ge}`]:{color:se.colorText}},[`${Ce}-icon ${Ge}`]:{color:se.colorTextDescription,fontSize:Ue},[`${je}-progress`]:{position:"absolute",bottom:-se.uploadProgressOffset,width:"100%",paddingInlineStart:Ue+se.paddingXS,fontSize:Ue,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${je}:hover ${$t}`]:{opacity:1,color:se.colorText},[`${je}-error`]:{color:se.colorError,[`${je}-name, ${Ce}-icon ${Ge}`]:{color:se.colorError},[Oe]:{[`${Ge}, ${Ge}:hover`]:{color:se.colorError},[$t]:{opacity:1}}},[`${Ce}-list-item-container`]:{transition:`opacity ${se.motionDurationSlow}, height ${se.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},En=ge(93083),sn=ge(1950);const Nn=new En.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Yn=new En.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var _n=se=>{const{componentCls:Ce}=se,xe=`${Ce}-animate-inline`;return[{[`${Ce}-wrapper`]:{[`${xe}-appear, ${xe}-enter, ${xe}-leave`]:{animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseInOutCirc,animationFillMode:"forwards"},[`${xe}-appear, ${xe}-enter`]:{animationName:Nn},[`${xe}-leave`]:{animationName:Yn}}},{[`${Ce}-wrapper`]:(0,sn.J$)(se)},Nn,Yn]},na=ge(30071),Jn=ge(64993);const he=se=>{const{componentCls:Ce,iconCls:xe,uploadThumbnailSize:Ge,uploadProgressOffset:Ue}=se,Ve=`${Ce}-list`,je=`${Ve}-item`;return{[`${Ce}-wrapper`]:{[` ${Ve}${Ve}-picture, ${Ve}${Ve}-picture-card, ${Ve}${Ve}-picture-circle `]:{[je]:{position:"relative",height:Ge+se.lineWidth*2+se.paddingXS*2,padding:se.paddingXS,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusLG,"&:hover":{background:"transparent"},[`${je}-thumbnail`]:Object.assign(Object.assign({},Qt.vS),{width:Ge,height:Ge,lineHeight:`${Ge+se.paddingSM}px`,textAlign:"center",flex:"none",[xe]:{fontSize:se.fontSizeHeading2,color:se.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${je}-progress`]:{bottom:Ue,width:`calc(100% - ${se.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Ge+se.paddingXS}},[`${je}-error`]:{borderColor:se.colorError,[`${je}-thumbnail ${xe}`]:{[`svg path[fill='${na.blue[0]}']`]:{fill:se.colorErrorBg},[`svg path[fill='${na.blue.primary}']`]:{fill:se.colorError}}},[`${je}-uploading`]:{borderStyle:"dashed",[`${je}-name`]:{marginBottom:Ue}}},[`${Ve}${Ve}-picture-circle ${je}`]:{[`&, &::before, ${je}-thumbnail`]:{borderRadius:"50%"}}}}},ve=se=>{const{componentCls:Ce,iconCls:xe,fontSizeLG:Ge,colorTextLightSolid:Ue}=se,Ve=`${Ce}-list`,je=`${Ve}-item`,Oe=se.uploadPicCardSize;return{[` ${Ce}-wrapper${Ce}-picture-card-wrapper, ${Ce}-wrapper${Ce}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Qt.dF)()),{display:"inline-block",width:"100%",[`${Ce}${Ce}-select`]:{width:Oe,height:Oe,marginInlineEnd:se.marginXS,marginBottom:se.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:se.colorFillAlter,border:`${se.lineWidth}px dashed ${se.colorBorder}`,borderRadius:se.borderRadiusLG,cursor:"pointer",transition:`border-color ${se.motionDurationSlow}`,[`> ${Ce}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ce}-disabled):hover`]:{borderColor:se.colorPrimary}},[`${Ve}${Ve}-picture-card, ${Ve}${Ve}-picture-circle`]:{[`${Ve}-item-container`]:{display:"inline-block",width:Oe,height:Oe,marginBlock:`0 ${se.marginXS}px`,marginInline:`0 ${se.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[je]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${se.paddingXS*2}px)`,height:`calc(100% - ${se.paddingXS*2}px)`,backgroundColor:se.colorBgMask,opacity:0,transition:`all ${se.motionDurationSlow}`,content:'" "'}},[`${je}:hover`]:{[`&::before, ${je}-actions`]:{opacity:1}},[`${je}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${se.motionDurationSlow}`,[`${xe}-eye, ${xe}-download, ${xe}-delete`]:{zIndex:10,width:Ge,margin:`0 ${se.marginXXS}px`,fontSize:Ge,cursor:"pointer",transition:`all ${se.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${je}-actions, ${je}-actions:hover`]:{[`${xe}-eye, ${xe}-download, ${xe}-delete`]:{color:new Jn.C(Ue).setAlpha(.65).toRgbString(),"&:hover":{color:Ue}}},[`${je}-thumbnail, ${je}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${je}-name`]:{display:"none",textAlign:"center"},[`${je}-file + ${je}-name`]:{position:"absolute",bottom:se.margin,display:"block",width:`calc(100% - ${se.paddingXS*2}px)`},[`${je}-uploading`]:{[`&${je}`]:{backgroundColor:se.colorFillAlter},[`&::before, ${xe}-eye, ${xe}-download, ${xe}-delete`]:{display:"none"}},[`${je}-progress`]:{bottom:se.marginXL,width:`calc(100% - ${se.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ce}-wrapper${Ce}-picture-circle-wrapper`]:{[`${Ce}${Ce}-select`]:{borderRadius:"50%"}}}};var nt=se=>{const{componentCls:Ce}=se;return{[`${Ce}-rtl`]:{direction:"rtl"}}};const wt=se=>{const{componentCls:Ce,colorTextDisabled:xe}=se;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},(0,Qt.Wf)(se)),{[Ce]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ce}-select`]:{display:"inline-block"},[`${Ce}-disabled`]:{color:xe,cursor:"not-allowed"}})}};var ft=(0,fn.Z)("Upload",se=>{const{fontSizeHeading3:Ce,fontSize:xe,lineHeight:Ge,lineWidth:Ue,controlHeightLG:Ve}=se,je=Math.round(xe*Ge),Oe=(0,Fn.TS)(se,{uploadThumbnailSize:Ce*2,uploadProgressOffset:je/2+Ue,uploadPicCardSize:Ve*2.55});return[wt(Oe),tn(Oe),he(Oe),ve(Oe),Cn(Oe),_n(Oe),nt(Oe),(0,Sn.Z)(Oe)]},se=>({actionsColor:se.colorTextDescription})),gn=function(se,Ce,xe,Ge){function Ue(Ve){return Ve instanceof xe?Ve:new xe(function(je){je(Ve)})}return new(xe||(xe=Promise))(function(Ve,je){function Oe(ye){try{$t(Ge.next(ye))}catch(nn){je(nn)}}function Et(ye){try{$t(Ge.throw(ye))}catch(nn){je(nn)}}function $t(ye){ye.done?Ve(ye.value):Ue(ye.value).then(Oe,Et)}$t((Ge=Ge.apply(se,Ce||[])).next())})};const Rt=`__LIST_IGNORE_${Date.now()}__`,Yt=(se,Ce)=>{const{fileList:xe,defaultFileList:Ge,onRemove:Ue,showUploadList:Ve=!0,listType:je="text",onPreview:Oe,onDownload:Et,onChange:$t,onDrop:ye,previewFile:nn,disabled:qt,locale:hn,iconRender:xn,isImageUrl:Ke,progress:ut,prefixCls:Ct,className:mt,type:Zt="select",children:Kt,style:It,itemRender:un,maxCount:cn,data:oa={},multiple:Qn=!1,action:qn="",accept:ca="",supportServerRender:Sa=!0,rootClassName:Pa}=se,da=ae.useContext(_e.Z),Vn=qt!=null?qt:da,[$n,ta]=(0,et.Z)(Ge||[],{value:xe,postState:Ht=>Ht!=null?Ht:[]}),[ga,ia]=ae.useState("drop"),aa=ae.useRef(null);ae.useMemo(()=>{const Ht=Date.now();(xe||[]).forEach((dn,yn)=>{!dn.uid&&!Object.isFrozen(dn)&&(dn.uid=`__AUTO__${Ht}_${yn}__`)})},[xe]);const ea=(Ht,dn,yn)=>{let an=(0,fe.Z)(dn),mn=!1;cn===1?an=an.slice(-1):cn&&(mn=an.length>cn,an=an.slice(0,cn)),(0,rt.flushSync)(()=>{ta(an)});const Wn={file:Ht,fileList:an};yn&&(Wn.event=yn),(!mn||an.some(bn=>bn.uid===Ht.uid))&&(0,rt.flushSync)(()=>{$t==null||$t(Wn)})},ha=(Ht,dn)=>gn(void 0,void 0,void 0,function*(){const{beforeUpload:yn,transformFile:an}=se;let mn=Ht;if(yn){const Wn=yield yn(Ht,dn);if(Wn===!1)return!1;if(delete Ht[Rt],Wn===Rt)return Object.defineProperty(Ht,Rt,{value:!0,configurable:!0}),!1;typeof Wn=="object"&&Wn&&(mn=Wn)}return an&&(mn=yield an(mn)),mn}),jt=Ht=>{const dn=Ht.filter(mn=>!mn.file[Rt]);if(!dn.length)return;const yn=dn.map(mn=>Dt(mn.file));let an=(0,fe.Z)($n);yn.forEach(mn=>{an=vt(mn,an)}),yn.forEach((mn,Wn)=>{let bn=mn;if(dn[Wn].parsedFile)mn.status="uploading";else{const{originFileObj:fa}=mn;let ua;try{ua=new File([fa],fa.name,{type:fa.type})}catch(wa){ua=new Blob([fa],{type:fa.type}),ua.name=fa.name,ua.lastModifiedDate=new Date,ua.lastModified=new Date().getTime()}ua.uid=mn.uid,bn=ua}ea(bn,an)})},Gn=(Ht,dn,yn)=>{try{typeof Ht=="string"&&(Ht=JSON.parse(Ht))}catch(Wn){}if(!At(dn,$n))return;const an=Dt(dn);an.status="done",an.percent=100,an.response=Ht,an.xhr=yn;const mn=vt(an,$n);ea(an,mn)},Tn=(Ht,dn)=>{if(!At(dn,$n))return;const yn=Dt(dn);yn.status="uploading",yn.percent=Ht.percent;const an=vt(yn,$n);ea(yn,an,Ht)},Un=(Ht,dn,yn)=>{if(!At(yn,$n))return;const an=Dt(yn);an.error=Ht,an.response=dn,an.status="error";const mn=vt(an,$n);ea(an,mn)},Xn=Ht=>{let dn;Promise.resolve(typeof Ue=="function"?Ue(Ht):Ue).then(yn=>{var an;if(yn===!1)return;const mn=Pn(Ht,$n);mn&&(dn=Object.assign(Object.assign({},Ht),{status:"removed"}),$n==null||$n.forEach(Wn=>{const bn=dn.uid!==void 0?"uid":"name";Wn[bn]===dn[bn]&&!Object.isFrozen(Wn)&&(Wn.status="removed")}),(an=aa.current)===null||an===void 0||an.abort(dn),ea(dn,mn))})},ra=Ht=>{ia(Ht.type),Ht.type==="drop"&&(ye==null||ye(Ht))};ae.useImperativeHandle(Ce,()=>({onBatchStart:jt,onSuccess:Gn,onProgress:Tn,onError:Un,fileList:$n,upload:aa.current}));const{getPrefixCls:va,direction:pa,upload:Mn}=ae.useContext(He.E_),On=va("upload",Ct),la=Object.assign(Object.assign({onBatchStart:jt,onError:Un,onProgress:Tn,onSuccess:Gn},se),{data:oa,multiple:Qn,action:qn,accept:ca,supportServerRender:Sa,prefixCls:On,disabled:Vn,beforeUpload:ha,onChange:void 0});delete la.className,delete la.style,(!Kt||Vn)&&delete la.id;const[La,ya]=ft(On),[ba]=(0,St.Z)("Upload",bt.Z.Upload),{showRemoveIcon:yt,showPreviewIcon:gt,showDownloadIcon:ct,removeIcon:pt,previewIcon:ln,downloadIcon:zn}=typeof Ve=="boolean"?{}:Ve,Rn=(Ht,dn)=>Ve?ae.createElement(Wt,{prefixCls:On,listType:je,items:$n,previewFile:nn,onPreview:Oe,onDownload:Et,onRemove:Xn,showRemoveIcon:!Vn&&yt,showPreviewIcon:gt,showDownloadIcon:ct,removeIcon:pt,previewIcon:ln,downloadIcon:zn,iconRender:xn,locale:Object.assign(Object.assign({},ba),hn),isImageUrl:Ke,progress:ut,appendAction:Ht,appendActionVisible:dn,itemRender:un,disabled:Vn}):Ht,Dn=Ye()(`${On}-wrapper`,mt,Pa,ya,Mn==null?void 0:Mn.className,{[`${On}-rtl`]:pa==="rtl",[`${On}-picture-card-wrapper`]:je==="picture-card",[`${On}-picture-circle-wrapper`]:je==="picture-circle"}),jn=Object.assign(Object.assign({},Mn==null?void 0:Mn.style),It);if(Zt==="drag"){const Ht=Ye()(ya,On,`${On}-drag`,{[`${On}-drag-uploading`]:$n.some(dn=>dn.status==="uploading"),[`${On}-drag-hover`]:ga==="dragover",[`${On}-disabled`]:Vn,[`${On}-rtl`]:pa==="rtl"});return La(ae.createElement("span",{className:Dn},ae.createElement("div",{className:Ht,style:jn,onDrop:ra,onDragOver:ra,onDragLeave:ra},ae.createElement(Fe,Object.assign({},la,{ref:aa,className:`${On}-btn`}),ae.createElement("div",{className:`${On}-drag-container`},Kt))),Rn()))}const Hn=Ye()(On,`${On}-select`,{[`${On}-disabled`]:Vn}),Kn=(Ht=>ae.createElement("div",{className:Hn,style:Ht},ae.createElement(Fe,Object.assign({},la,{ref:aa}))))(Kt?void 0:{display:"none"});return La(je==="picture-card"||je==="picture-circle"?ae.createElement("span",{className:Dn},Rn(Kn,!!Kt)):ae.createElement("span",{className:Dn},Kn,Rn()))};var kn=ae.forwardRef(Yt),Qe=function(se,Ce){var xe={};for(var Ge in se)Object.prototype.hasOwnProperty.call(se,Ge)&&Ce.indexOf(Ge)<0&&(xe[Ge]=se[Ge]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Ge=Object.getOwnPropertySymbols(se);Ue{var{style:xe,height:Ge}=se,Ue=Qe(se,["style","height"]);return ae.createElement(kn,Object.assign({ref:Ce},Ue,{type:"drag",style:Object.assign(Object.assign({},xe),{height:Ge})}))});const Zn=kn;Zn.Dragger=An,Zn.LIST_IGNORE=Rt;var Bn=Zn}}]); + `]:Object.assign(Object.assign({},(0,Qt.dF)()),{display:"inline-block",width:"100%",[`${Ce}${Ce}-select`]:{width:Oe,height:Oe,marginInlineEnd:se.marginXS,marginBottom:se.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:se.colorFillAlter,border:`${se.lineWidth}px dashed ${se.colorBorder}`,borderRadius:se.borderRadiusLG,cursor:"pointer",transition:`border-color ${se.motionDurationSlow}`,[`> ${Ce}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ce}-disabled):hover`]:{borderColor:se.colorPrimary}},[`${Ve}${Ve}-picture-card, ${Ve}${Ve}-picture-circle`]:{[`${Ve}-item-container`]:{display:"inline-block",width:Oe,height:Oe,marginBlock:`0 ${se.marginXS}px`,marginInline:`0 ${se.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[je]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${se.paddingXS*2}px)`,height:`calc(100% - ${se.paddingXS*2}px)`,backgroundColor:se.colorBgMask,opacity:0,transition:`all ${se.motionDurationSlow}`,content:'" "'}},[`${je}:hover`]:{[`&::before, ${je}-actions`]:{opacity:1}},[`${je}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${se.motionDurationSlow}`,[`${xe}-eye, ${xe}-download, ${xe}-delete`]:{zIndex:10,width:Ge,margin:`0 ${se.marginXXS}px`,fontSize:Ge,cursor:"pointer",transition:`all ${se.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${je}-actions, ${je}-actions:hover`]:{[`${xe}-eye, ${xe}-download, ${xe}-delete`]:{color:new Jn.C(Ue).setAlpha(.65).toRgbString(),"&:hover":{color:Ue}}},[`${je}-thumbnail, ${je}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${je}-name`]:{display:"none",textAlign:"center"},[`${je}-file + ${je}-name`]:{position:"absolute",bottom:se.margin,display:"block",width:`calc(100% - ${se.paddingXS*2}px)`},[`${je}-uploading`]:{[`&${je}`]:{backgroundColor:se.colorFillAlter},[`&::before, ${xe}-eye, ${xe}-download, ${xe}-delete`]:{display:"none"}},[`${je}-progress`]:{bottom:se.marginXL,width:`calc(100% - ${se.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ce}-wrapper${Ce}-picture-circle-wrapper`]:{[`${Ce}${Ce}-select`]:{borderRadius:"50%"}}}};var tt=se=>{const{componentCls:Ce}=se;return{[`${Ce}-rtl`]:{direction:"rtl"}}};const wt=se=>{const{componentCls:Ce,colorTextDisabled:xe}=se;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},(0,Qt.Wf)(se)),{[Ce]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ce}-select`]:{display:"inline-block"},[`${Ce}-disabled`]:{color:xe,cursor:"not-allowed"}})}};var ft=(0,fn.Z)("Upload",se=>{const{fontSizeHeading3:Ce,fontSize:xe,lineHeight:Ge,lineWidth:Ue,controlHeightLG:Ve}=se,je=Math.round(xe*Ge),Oe=(0,Fn.TS)(se,{uploadThumbnailSize:Ce*2,uploadProgressOffset:je/2+Ue,uploadPicCardSize:Ve*2.55});return[wt(Oe),tn(Oe),he(Oe),ve(Oe),Cn(Oe),_n(Oe),tt(Oe),(0,Sn.Z)(Oe)]},se=>({actionsColor:se.colorTextDescription})),gn=function(se,Ce,xe,Ge){function Ue(Ve){return Ve instanceof xe?Ve:new xe(function(je){je(Ve)})}return new(xe||(xe=Promise))(function(Ve,je){function Oe(ye){try{Gt(Ge.next(ye))}catch(nn){je(nn)}}function $t(ye){try{Gt(Ge.throw(ye))}catch(nn){je(nn)}}function Gt(ye){ye.done?Ve(ye.value):Ue(ye.value).then(Oe,$t)}Gt((Ge=Ge.apply(se,Ce||[])).next())})};const kt=`__LIST_IGNORE_${Date.now()}__`,Yt=(se,Ce)=>{const{fileList:xe,defaultFileList:Ge,onRemove:Ue,showUploadList:Ve=!0,listType:je="text",onPreview:Oe,onDownload:$t,onChange:Gt,onDrop:ye,previewFile:nn,disabled:qt,locale:hn,iconRender:xn,isImageUrl:Ke,progress:ut,prefixCls:Et,className:mt,type:Ut="select",children:Kt,style:Tt,itemRender:un,maxCount:cn,data:oa={},multiple:Qn=!1,action:qn="",accept:ca="",supportServerRender:Sa=!0,rootClassName:Pa}=se,da=ae.useContext(_e.Z),Vn=qt!=null?qt:da,[$n,ta]=(0,qe.Z)(Ge||[],{value:xe,postState:Ht=>Ht!=null?Ht:[]}),[ga,ia]=ae.useState("drop"),aa=ae.useRef(null);ae.useMemo(()=>{const Ht=Date.now();(xe||[]).forEach((dn,yn)=>{!dn.uid&&!Object.isFrozen(dn)&&(dn.uid=`__AUTO__${Ht}_${yn}__`)})},[xe]);const ea=(Ht,dn,yn)=>{let an=(0,fe.Z)(dn),mn=!1;cn===1?an=an.slice(-1):cn&&(mn=an.length>cn,an=an.slice(0,cn)),(0,rt.flushSync)(()=>{ta(an)});const Wn={file:Ht,fileList:an};yn&&(Wn.event=yn),(!mn||an.some(bn=>bn.uid===Ht.uid))&&(0,rt.flushSync)(()=>{Gt==null||Gt(Wn)})},ha=(Ht,dn)=>gn(void 0,void 0,void 0,function*(){const{beforeUpload:yn,transformFile:an}=se;let mn=Ht;if(yn){const Wn=yield yn(Ht,dn);if(Wn===!1)return!1;if(delete Ht[kt],Wn===kt)return Object.defineProperty(Ht,kt,{value:!0,configurable:!0}),!1;typeof Wn=="object"&&Wn&&(mn=Wn)}return an&&(mn=yield an(mn)),mn}),jt=Ht=>{const dn=Ht.filter(mn=>!mn.file[kt]);if(!dn.length)return;const yn=dn.map(mn=>At(mn.file));let an=(0,fe.Z)($n);yn.forEach(mn=>{an=vt(mn,an)}),yn.forEach((mn,Wn)=>{let bn=mn;if(dn[Wn].parsedFile)mn.status="uploading";else{const{originFileObj:fa}=mn;let ua;try{ua=new File([fa],fa.name,{type:fa.type})}catch(wa){ua=new Blob([fa],{type:fa.type}),ua.name=fa.name,ua.lastModifiedDate=new Date,ua.lastModified=new Date().getTime()}ua.uid=mn.uid,bn=ua}ea(bn,an)})},Gn=(Ht,dn,yn)=>{try{typeof Ht=="string"&&(Ht=JSON.parse(Ht))}catch(Wn){}if(!Rt(dn,$n))return;const an=At(dn);an.status="done",an.percent=100,an.response=Ht,an.xhr=yn;const mn=vt(an,$n);ea(an,mn)},Tn=(Ht,dn)=>{if(!Rt(dn,$n))return;const yn=At(dn);yn.status="uploading",yn.percent=Ht.percent;const an=vt(yn,$n);ea(yn,an,Ht)},Un=(Ht,dn,yn)=>{if(!Rt(yn,$n))return;const an=At(yn);an.error=Ht,an.response=dn,an.status="error";const mn=vt(an,$n);ea(an,mn)},Xn=Ht=>{let dn;Promise.resolve(typeof Ue=="function"?Ue(Ht):Ue).then(yn=>{var an;if(yn===!1)return;const mn=Pn(Ht,$n);mn&&(dn=Object.assign(Object.assign({},Ht),{status:"removed"}),$n==null||$n.forEach(Wn=>{const bn=dn.uid!==void 0?"uid":"name";Wn[bn]===dn[bn]&&!Object.isFrozen(Wn)&&(Wn.status="removed")}),(an=aa.current)===null||an===void 0||an.abort(dn),ea(dn,mn))})},ra=Ht=>{ia(Ht.type),Ht.type==="drop"&&(ye==null||ye(Ht))};ae.useImperativeHandle(Ce,()=>({onBatchStart:jt,onSuccess:Gn,onProgress:Tn,onError:Un,fileList:$n,upload:aa.current}));const{getPrefixCls:va,direction:pa,upload:Mn}=ae.useContext(He.E_),On=va("upload",Et),la=Object.assign(Object.assign({onBatchStart:jt,onError:Un,onProgress:Tn,onSuccess:Gn},se),{data:oa,multiple:Qn,action:qn,accept:ca,supportServerRender:Sa,prefixCls:On,disabled:Vn,beforeUpload:ha,onChange:void 0});delete la.className,delete la.style,(!Kt||Vn)&&delete la.id;const[La,ya]=ft(On),[ba]=(0,St.Z)("Upload",bt.Z.Upload),{showRemoveIcon:yt,showPreviewIcon:gt,showDownloadIcon:ct,removeIcon:pt,previewIcon:ln,downloadIcon:zn}=typeof Ve=="boolean"?{}:Ve,Rn=(Ht,dn)=>Ve?ae.createElement(_t,{prefixCls:On,listType:je,items:$n,previewFile:nn,onPreview:Oe,onDownload:$t,onRemove:Xn,showRemoveIcon:!Vn&&yt,showPreviewIcon:gt,showDownloadIcon:ct,removeIcon:pt,previewIcon:ln,downloadIcon:zn,iconRender:xn,locale:Object.assign(Object.assign({},ba),hn),isImageUrl:Ke,progress:ut,appendAction:Ht,appendActionVisible:dn,itemRender:un,disabled:Vn}):Ht,Dn=Ye()(`${On}-wrapper`,mt,Pa,ya,Mn==null?void 0:Mn.className,{[`${On}-rtl`]:pa==="rtl",[`${On}-picture-card-wrapper`]:je==="picture-card",[`${On}-picture-circle-wrapper`]:je==="picture-circle"}),jn=Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Tt);if(Ut==="drag"){const Ht=Ye()(ya,On,`${On}-drag`,{[`${On}-drag-uploading`]:$n.some(dn=>dn.status==="uploading"),[`${On}-drag-hover`]:ga==="dragover",[`${On}-disabled`]:Vn,[`${On}-rtl`]:pa==="rtl"});return La(ae.createElement("span",{className:Dn},ae.createElement("div",{className:Ht,style:jn,onDrop:ra,onDragOver:ra,onDragLeave:ra},ae.createElement(Fe,Object.assign({},la,{ref:aa,className:`${On}-btn`}),ae.createElement("div",{className:`${On}-drag-container`},Kt))),Rn()))}const Hn=Ye()(On,`${On}-select`,{[`${On}-disabled`]:Vn}),Kn=(Ht=>ae.createElement("div",{className:Hn,style:Ht},ae.createElement(Fe,Object.assign({},la,{ref:aa}))))(Kt?void 0:{display:"none"});return La(je==="picture-card"||je==="picture-circle"?ae.createElement("span",{className:Dn},Rn(Kn,!!Kt)):ae.createElement("span",{className:Dn},Kn,Rn()))};var kn=ae.forwardRef(Yt),Je=function(se,Ce){var xe={};for(var Ge in se)Object.prototype.hasOwnProperty.call(se,Ge)&&Ce.indexOf(Ge)<0&&(xe[Ge]=se[Ge]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Ge=Object.getOwnPropertySymbols(se);Ue{var{style:xe,height:Ge}=se,Ue=Je(se,["style","height"]);return ae.createElement(kn,Object.assign({ref:Ce},Ue,{type:"drag",style:Object.assign(Object.assign({},xe),{height:Ge})}))});const Zn=kn;Zn.Dragger=An,Zn.LIST_IGNORE=kt;var Bn=Zn}}]); diff --git a/umi.075eb931.js b/umi.bd95a2dc.js similarity index 99% rename from umi.075eb931.js rename to umi.bd95a2dc.js index 5190993778..9f4ba1a3a8 100644 --- a/umi.075eb931.js +++ b/umi.bd95a2dc.js @@ -964,7 +964,7 @@ http://j.mp/37Fkd5Q `)},{label:"include ",content:["#include "].join(` `)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var u=e(53184),a=e.n(u),x=($t,Bt,rr)=>new Promise((je,Et)=>{var jt=ht=>{try{yt(rr.next(ht))}catch(qe){Et(qe)}},rt=ht=>{try{yt(rr.throw(ht))}catch(qe){Et(qe)}},yt=ht=>ht.done?je(ht.value):Promise.resolve(ht.value).then(jt,rt);yt((rr=rr.apply($t,Bt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=($t,Bt,rr,je)=>{const Et=Bt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:rr.lineNumber,endColumn:rr.column});return Array.from(new Set(Et.match(/\b\w{2,}\b/g)||[])).map(rt=>({label:rt,kind:$t.languages.CompletionItemKind.Text,insertText:rt,range:je}))},m=($t,Bt,rr,je)=>{$t.languages.registerCompletionItemProvider(Bt,{provideCompletionItems(Et,jt){const rt=Et.getWordUntilPosition(jt),yt={startLineNumber:jt.lineNumber,endLineNumber:jt.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},ht=Et.getLineContent(jt.lineNumber).substring(rt.startColumn-2,rt.endColumn);return{suggestions:[...y($t,Et,jt,yt),...rr.map(Be=>({label:Be,kind:$t.languages.CompletionItemKind.Keyword,documentation:Be,insertText:Be,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:yt})),...je.map(Be=>({label:Be.label,kind:$t.languages.CompletionItemKind.Snippet,documentation:Be.content,insertText:ht.startsWith("#")?Be.content.replace(/#/,""):Be.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:yt}))]}}})};var b=$t=>{p.languages.forEach(Bt=>{$t.languages.registerDocumentFormattingEditProvider(Bt,{provideDocumentFormattingEdits(rr){return x(this,null,function*(){const je=a()(rr.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:rr.getFullModelRange(),text:je}]})}})}),m($t,"java",c.keywords,c.quickKey),m($t,"cpp",f.keywords,f.quickKey),m($t,"c",l.keywords,[]),m($t,"python",o.keywords,o.quickKey),m($t,"scala",h.keywords,h.quickKey)};const A="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=($t,Bt,rr)=>Bt in $t?k($t,Bt,{enumerable:!0,configurable:!0,writable:!0,value:rr}):$t[Bt]=rr,C=($t,Bt,rr)=>R($t,typeof Bt!="symbol"?Bt+"":Bt,rr);const O=class kd{constructor(Bt,rr,je){this.placeholder=Bt,this.editor=rr,this.monaco=je,rr.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};C(O,"ID","editor.widget.placeholderHint");var B=O,N=e(96236),K=e(8591),G=e(6848),H=e(89392),se=e(49535),Q=e(56102),le=Object.defineProperty,J=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,q=($t,Bt,rr)=>Bt in $t?le($t,Bt,{enumerable:!0,configurable:!0,writable:!0,value:rr}):$t[Bt]=rr,ce=($t,Bt)=>{for(var rr in Bt||(Bt={}))ue.call(Bt,rr)&&q($t,rr,Bt[rr]);if(V)for(var rr of V(Bt))te.call(Bt,rr)&&q($t,rr,Bt[rr]);return $t},Z=($t,Bt)=>J($t,ee(Bt)),j=($t,Bt)=>{var rr={};for(var je in $t)ue.call($t,je)&&Bt.indexOf(je)<0&&(rr[je]=$t[je]);if($t!=null&&V)for(var je of V($t))Bt.indexOf(je)<0&&te.call($t,je)&&(rr[je]=$t[je]);return rr},ae=($t,Bt,rr)=>new Promise((je,Et)=>{var jt=ht=>{try{yt(rr.next(ht))}catch(qe){Et(qe)}},rt=ht=>{try{yt(rr.throw(ht))}catch(qe){Et(qe)}},yt=ht=>ht.done?je(ht.value):Promise.resolve(ht.value).then(jt,rt);yt((rr=rr.apply($t,Bt)).next())});function me($t){return/^\d+$/.test($t)?`${$t}px`:$t}function Te(){}let Oe=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ne($t=[]){let Bt=$t;if(Array.isArray($t)){for(let rr=0;rr<$t.length;rr++){let je=He[$t[rr]];if(je)return je}return Bt[0]}return He[Bt]||Bt}let Ft=null;var bt=$t=>{var Bt=$t,{width:rr="100%",height:je="100%",value:Et,language:jt="javascript",style:rt={},options:yt={},overrideServices:ht={},theme:qe="vs-dark",onEditBlur:Be,isCopy:xe=!1,onSave:Re,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Xe=Te,editorDidMount:pt=Te,onFocus:xt=Te,onBreakPoint:ir=Te,breakPointValue:Jt=[],filename:Le="educoder.txt",errorLine:tt,errorContent:Kt="",highlightLine:Mt,openBreakPoint:Wt=!1,placeholder:Ht=""}=Bt,Pt=j(Bt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Qt=(0,r.useRef)(),Ze=(0,r.useRef)({}),fe=(0,r.useRef)(),pe=(0,r.useRef)(),It=(0,r.useRef)([]),Ce=(0,r.useRef)(!1),dt=(0,r.useRef)(),Gt=(0,r.useRef)(),Ct=(0,r.useRef)(!1),[Pe,St]=(0,r.useState)(!1);function ze(){let Xt;return Qt.current&&(Xt=new i.Z(gt=>{for(let lt of gt)(lt.target.offsetHeight>0||lt.target.offsetWidth>0)&&Ze.current.instance.layout()}),Xt.observe(Qt.current)),Xt}function it(){K.ZP.warning({content:decodeURIComponent(A),key:"monaco-editor-tip"})}const Ie=()=>{let Xt=Ze.current.instance;if(Et!=null&&Xt&&Pe){const gt=Xt.getModel();gt&&Et!==gt.getValue()&&(Oe=!0,gt.setValue(Et),Xt.layout(),Oe=!1)}};(0,r.useEffect)(()=>{const Xt=se.Z.subscribe("formatDocument",gt=>{var lt;let ft=Ze.current.instance;(lt=ft==null?void 0:ft.getAction)==null||lt.call(ft,"editor.action.formatDocument").run()});return window.updateMonacoValue=gt=>{Xe(gt)},Xt},[]),(0,r.useEffect)(()=>{var Xt;let gt=Ze.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{Ie()},500),Et&&(Et!=null&&Et.length)&&((Xt=gt==null?void 0:gt.updateOptions)==null||Xt.call(gt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Et.split(/\r\n|\r|\n/g).length))+3,5)}))},[Et,Pe,Ze.current]),(0,r.useEffect)(()=>{if(tt&&Ze.current&&Ze.current.instance){let gt=Ze.current.instance;gt.changeViewZones(function(lt){var ft=document.createElement("div");ft.style.padding="10px 20px",ft.style.width="calc(100% - 20px)",ft.className="my-error-line-wrp",ft.innerHTML=Kt,lt.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:ft})});var Xt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};gt.addOverlayWidget(Xt),gt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Ze.current,Pe]);const Lt=(Xt="",gt)=>{if(!Xt||Xt.trim()==="")return!0;const ft=Ze.current.instance.getModel().getLineTokens(gt);let Ut=!1;for(let br=0;br<2;br++)ft.getStandardTokenType(br)===1&&(Ut=!0);return Ut};(0,r.useEffect)(()=>{var Xt;const gt=(Xt=Ze.current)==null?void 0:Xt.instance;if(gt&&Pe&&We){const lt=gt.onDidBlurEditorWidget(()=>{Ct.current=!1}),ft=gt.onDidFocusEditorText(()=>{Ct.current=!0});return()=>{lt.dispose(),ft.dispose()}}},[Ze.current,Pe,We]),(0,r.useEffect)(()=>{var Xt;if((Xt=Ze.current)!=null&&Xt.instance&&Pe&&Wt){let gt=Ze.current.instance,lt=gt.getModel();if(!lt)return;(()=>{var Tn;let jn=[],yn=[];const Ei=lt.getAllDecorations();for(let Si of Ei)Si.options.className==="highlighted-line"&&(jn.push((Tn=Si==null?void 0:Si.range)==null?void 0:Tn.startLineNumber),yn.push(Si==null?void 0:Si.id));if(Mt===jn[0])return;lt.deltaDecorations(yn,[]);const ei=lt.getLineCount();Mt&&Mt<=ei&&(gt.deltaDecorations([],[{range:new Ft.Range(Mt,1,Mt,lt.getLineMaxColumn(Mt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),gt.revealLineInCenter(Mt))})();const Ut=(Tn=!1)=>{var jn;let yn=[],Ei=[];const ei=lt.getAllDecorations();for(let Si of ei)Si.options.linesDecorationsClassName==="breakpoints-select"&&(yn.push((jn=Si==null?void 0:Si.range)==null?void 0:jn.startLineNumber),Ei.push(Si==null?void 0:Si.id));if(Tn)return{lines:yn,ids:Ei};ir(yn)},br=Tn=>ae(void 0,null,function*(){let jn={range:new Ft.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield lt.deltaDecorations([],[jn]),Ut()}),vr=Tn=>ae(void 0,null,function*(){let jn=[];const yn=gt.getLineDecorations(Tn);for(let Ei of yn)Ei.options.linesDecorationsClassName==="breakpoints-select"&&jn.push(Ei.id);yield lt.deltaDecorations(jn,[]),Ut()}),at=Tn=>{let jn=gt.getLineDecorations(Tn);for(let yn of jn)if(yn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(Jt,Ut(!0).lines)){lt.deltaDecorations(Ut(!0).ids,[]);const Tn=Jt.map(jn=>({range:new Ft.Range(jn,1,jn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));lt.deltaDecorations([],Tn)}const Cr=gt.onDidChangeModelContent(Tn=>{let jn=gt.getPosition();if(jn){let yn=jn.lineNumber;clearTimeout(Gt.current),Gt.current=setTimeout(()=>{Lt(lt.getLineContent(yn),yn)?vr(yn):at(yn)?(vr(yn),br(yn)):Ut()},100)}}),on=gt.onMouseDown(Tn=>{var jn,yn,Ei;if(Tn.target.detail&&((Ei=(yn=(jn=Tn.target)==null?void 0:jn.element)==null?void 0:yn.className)!=null&&Ei.includes("line-numbers"))){let ei=Tn.target.position.lineNumber;if(Lt(lt.getLineContent(ei),ei))return;at(ei)?vr(ei):br(ei)}}),Fn=Tn=>{let jn={range:new Ft.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};It.current=gt.deltaDecorations(It.current,[jn])},$r=()=>{It.current=gt.deltaDecorations(It.current,[])},Nn=gt.onMouseMove(Tn=>{var jn,yn,Ei;if($r(),Tn.target.detail&&((Ei=(yn=(jn=Tn.target)==null?void 0:jn.element)==null?void 0:yn.className)!=null&&Ei.includes("line-numbers"))){let ei=Tn.target.position.lineNumber;if(Lt(lt.getLineContent(ei),ei))return;Fn(ei)}}),zn=gt.onMouseLeave(()=>{$r()});return()=>{Cr.dispose(),on.dispose(),Nn.dispose(),zn.dispose()}}},[Ze.current,Pe,Jt,Mt,Wt,jt]),(0,r.useEffect)(()=>{var Xt;(Xt=Ze.current)!=null&&Xt.instance&&Wt&&Ze.current.instance.setPosition({lineNumber:0,column:0})},[Mt]);function Me(){let Xt=Ze.current.instance;if(Xt){const gt=Xt.getSelection(),lt=Ze.current.pastePos||{},ft=new Ft.Range(lt.startLineNumber||gt.endLineNumber,lt.startColumn||gt.endColumn,lt.endLineNumber||gt.endLineNumber,lt.endColumn||gt.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:ft,text:""}])},300)}}function Ir(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),Re())}const At=()=>{if(Ge&&Ze.current.instance){const Xt=Ze.current.instance.getContentHeight();Jr(Xt{if(!Ct.current)return;const{keyCode:gt,ctrlKey:lt,metaKey:ft,target:Ut,type:br}=Xt;return(br==="paste"||(gt===67||gt===86)&&(ft||lt))&&Ut.nodeName==="TEXTAREA"&&(it(),Xt.preventDefault()),!1};function Rr(Xt,gt){var lt=window.URL||window.webkitURL||window,ft=new Blob([gt]),Ut=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ut.href=lt.createObjectURL(ft),Ut.download=Xt,Hr(Ut)}(0,r.useEffect)(()=>{At()},[At]),(0,r.useEffect)(()=>{Qt.current&&!Pe&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(Xt=>{try{Ft=Xt,Ze.current.instance=Ft.editor.create(Qt.current,{value:Et,language:Ne(jt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ht);const gt=Ze.current.instance;let Ut=[...N.BH._menuItems].find(Cr=>Cr[0]._debugName=="EditorContext")[1],br=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vr=(Cr,on)=>{var Fn,$r;let Nn=Cr._first;do on.includes(($r=(Fn=Nn.element)==null?void 0:Fn.command)==null?void 0:$r.id)&&Cr._remove(Nn);while(Nn=Nn.next)};if(pt(gt,Ft),setTimeout(()=>{At(),Ze.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Rr(Le||"educoder.txt",gt.getValue())}})},500),Ze.current.subscription=gt.onDidChangeModelContent(Cr=>{Ce.current?clearTimeout(dt.current):(At(),Xe(gt.getValue(),Cr)),dt.current=setTimeout(()=>{Ce.current=!1},500)}),window.Monaco||b(Ft,Ne(jt)),We&&(vr(Ut,br),Qt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yr),window.removeEventListener("paste",Yr),window.addEventListener("keydown",Yr),window.addEventListener("paste",Yr)),window.Monaco=Ft,Be&>.onDidBlurEditorWidget(()=>{Be(gt.getValue())}),xt&>.onDidFocusEditorText(()=>{xt(gt.getValue())}),We)try{gt.onDidPaste(Cr=>{const on=gt.getSelection(),Fn=Ze.current.pastePos||{},$r=new Ft.Range(Fn.startLineNumber||on.endLineNumber,Fn.startColumn||on.endColumn,Fn.endLineNumber||on.endLineNumber,Fn.endColumn||on.endColumn);gt.executeEdits("",[{range:Cr.range,text:""}])})}catch(Cr){}let at=ze();return Ht&&typeof Ht=="string"&&new B(Ht,gt,Ft),St(!0),()=>{const Cr=Ze.current.instance;Cr.dispose();const on=Cr.getModel();on&&on.dispose(),Ze.current.subscription&&Ze.current.subscription.dispose(),at.unobserve(Qt.current)}}catch(gt){}})},[]),(0,r.useEffect)(()=>{if(Ze.current.instance&&Pe)return document.addEventListener("keydown",Ir,!1),()=>{document.removeEventListener("keydown",Ir)}},[Re,Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;if(Xt&&Pe){let gt=Ne(jt);Ft.editor.setModelLanguage(Xt.getModel(),gt)}},[jt,Pe]),(0,r.useEffect)(()=>{Ze.current.instance&&Pe&&Ft.editor.setTheme(qe)},[qe,Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;fe.current=yt,Xt&&Pe&&(Xt.updateOptions(ce({},yt)),setTimeout(()=>{Xt.getModel().updateOptions(ce({},yt))},200))},[JSON.stringify(yt),Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;Xt&&Pe&&Xt.layout()},[rr,je,Pe]);const[Or,pr]=(0,r.useState)(me(rr)),[Nr,Jr]=(0,r.useState)(me(je)),sn=Z(ce({},rt),{width:Or,height:Nr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Qt,style:sn},xe&&r.createElement(Q.CopyToClipboard,{text:Et,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Rt({width:$t="100%",height:Bt="100%",original:rr,modified:je,language:Et,options:jt={}}){const rt=(0,r.useRef)(),[yt,ht]=(0,r.useState)(null);function qe(Ge){let We;return rt.current&&(We=new i.Z(Xe=>{for(let pt of Xe)(pt.target.offsetHeight>0||pt.target.offsetWidth>0)&&Ge.layout()}),We.observe(rt.current)),We}(0,r.useEffect)(()=>(rt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Ft=Ge;const We=Ft.editor.createDiffEditor(rt.current,Z(ce({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},jt),{wordWrap:!0}));ht(We);let Xe=qe(We);return()=>{We.dispose();const pt=We.getModel();pt&&pt.dispose(),Xe.unobserve(rt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{yt&&yt.setModel({original:Ft.editor.createModel(rr,Et),modified:Ft.editor.createModel(je,Et)})},[rr,je,Et,yt]);const Be=me($t),xe=me(Bt),Re={width:Be,height:xe};return r.createElement("div",{className:"my-diff-editor",ref:rt,style:Re})}},32026:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,C)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:C}):k[R]=C,p=(k,R)=>{for(var C in R||(R={}))u.call(R,C)&&x(k,C,R[C]);if(h)for(var C of h(R))a.call(R,C)&&x(k,C,R[C]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var C={};for(var O in k)u.call(k,O)&&R.indexOf(O)<0&&(C[O]=k[O]);if(k!=null&&h)for(var O of h(k))R.indexOf(O)<0&&a.call(k,O)&&(C[O]=k[O]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:C}){yield C({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:C,select:O}){const{userInfo:M}=yield O(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:C,select:O}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield O(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:C,select:O}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield O(Q=>Q.engineeringEvaluteList),{userInfo:H}=yield O(Q=>Q.user);let se=K.active[b[1]];if(se){let Q={id:se,page:B||1,per_page:N||G.pageSize};M&&(Q=y(p({},Q),{page:G.pageNo}));const le=yield R(r._y,Q),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:Q.page,total:le.count,pageSize:Q.per_page||G.pageSize,dataSource:le.ec_courses.map((ee,V)=>y(p({},ee),{key:Q.page>1?(Q.page-1)*Q.per_page+V+1:V+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:C}){const{headerData:O}=yield C(M=>M.engineeringEvaluteList);O.active[b[1]]&&(yield R(r.F,O.active[b[1]]))},*compute({payload:k},{call:R,put:C}){const O=k,{all:M}=O,B=m(O,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let C=k.headerData.active;return R.active&&(C=y(p({},C),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:C})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:C})=>{C==="/"&&k({type:"query"})})}}};_.Z=A},55305:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:R,subjective_questions:C,practical_questions:O,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},96999:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},98750:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return O},Zm:function(){return u},bz:function(){return f},eF:function(){return A},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return C}});var r=e(38986),i=(N,K,G)=>new Promise((H,se)=>{var Q=ee=>{try{J(G.next(ee))}catch(V){se(V)}},le=ee=>{try{J(G.throw(ee))}catch(V){se(V)}},J=ee=>ee.done?H(ee.value):Promise.resolve(ee.value).then(Q,le);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function C(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function O(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},97402:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,A)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):m[b]=A,h=(m,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(m,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(m,A,b[A]);return m},u=(m,b,A)=>new Promise((k,R)=>{var C=B=>{try{M(A.next(B))}catch(N){R(N)}},O=B=>{try{M(A.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(C,O);M((A=A.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},44203:function(d,_,e){"use strict";e.d(_,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var K=se=>{try{H(M.next(se))}catch(Q){N(Q)}},G=se=>{try{H(M.throw(se))}catch(Q){N(Q)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function m(C){return u(this,null,function*(){const{id:O}=C;return delete C.id,(0,r.ZP)(`/api/files/${O}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function A(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},32967:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return A},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var K=se=>{try{H(M.next(se))}catch(Q){N(Q)}},G=se=>{try{H(M.throw(se))}catch(Q){N(Q)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function m(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function A(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},82264:function(d,_,e){"use strict";e.d(_,{$T:function(){return vr},A:function(){return Ht},Ab:function(){return ei},Al:function(){return q},BQ:function(){return ht},BR:function(){return te},Bn:function(){return Ge},Cq:function(){return Ut},DJ:function(){return Ne},Dd:function(){return m},Ds:function(){return Be},EO:function(){return Pt},Ed:function(){return Ft},F9:function(){return pt},FU:function(){return ir},Fg:function(){return b},GV:function(){return rr},Gk:function(){return J},Gm:function(){return jt},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return Jr},IU:function(){return Ce},J2:function(){return $t},K$:function(){return xe},KP:function(){return bt},KT:function(){return Oe},L$:function(){return Kt},LH:function(){return O},Lk:function(){return Yi},Ls:function(){return ae},MA:function(){return Fn},Mc:function(){return Qn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return It},Ns:function(){return sn},O3:function(){return He},Pj:function(){return Et},QX:function(){return pe},QZ:function(){return Te},R2:function(){return V},Rk:function(){return br},S9:function(){return Mt},U8:function(){return gt},UD:function(){return Rr},U_:function(){return se},Uy:function(){return pr},V8:function(){return K},Vw:function(){return j},W0:function(){return Gt},W7:function(){return qe},WK:function(){return $r},Wr:function(){return Ei},YR:function(){return Ze},Z0:function(){return Ie},ZL:function(){return St},ZT:function(){return Si},ZX:function(){return zn},Z_:function(){return M},_0:function(){return B},_9:function(){return rt},_B:function(){return Di},aP:function(){return Ct},aQ:function(){return yt},aZ:function(){return Le},al:function(){return Wt},bm:function(){return Yr},bz:function(){return We},c_:function(){return ft},ds:function(){return Hr},fN:function(){return Nn},fr:function(){return Qt},g4:function(){return Bt},gq:function(){return R},hf:function(){return Z},i:function(){return Lt},i6:function(){return Cr},i7:function(){return Nr},iE:function(){return a},ih:function(){return Tn},kW:function(){return Rt},km:function(){return Xt},nP:function(){return p},nQ:function(){return Xe},nX:function(){return Ir},oM:function(){return Re},oR:function(){return fa},o_:function(){return Pe},pf:function(){return At},pr:function(){return zi},pv:function(){return at},qB:function(){return ce},r2:function(){return N},rS:function(){return C},s:function(){return jn},sb:function(){return tt},sm:function(){return y},t1:function(){return je},tB:function(){return yn},tR:function(){return xt},td:function(){return dt},uh:function(){return Jt},up:function(){return lt},v2:function(){return x},vV:function(){return ze},w9:function(){return Q},wR:function(){return on},yS:function(){return fe},yV:function(){return ee},yd:function(){return Me},zg:function(){return me}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(kt,vt,Pi)=>vt in kt?i(kt,vt,{enumerable:!0,configurable:!0,writable:!0,value:Pi}):kt[vt]=Pi,h=(kt,vt)=>{for(var Pi in vt||(vt={}))c.call(vt,Pi)&&o(kt,Pi,vt[Pi]);if(l)for(var Pi of l(vt))f.call(vt,Pi)&&o(kt,Pi,vt[Pi]);return kt},u=(kt,vt,Pi)=>new Promise((Gi,ui)=>{var wa=vn=>{try{qn(Pi.next(vn))}catch(nr){ui(nr)}},hi=vn=>{try{qn(Pi.throw(vn))}catch(nr){ui(nr)}},qn=vn=>vn.done?Gi(vn.value):Promise.resolve(vn.value).then(wa,hi);qn((Pi=Pi.apply(kt,vt)).next())});const a=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/course_videos/configs.json`,{method:"put",body:kt})}),x=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:kt})}),p=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:kt})}),y=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:kt})}),m=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:kt})}),b=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:kt})}),A=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:kt})}),k=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:kt})});function R(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},kt.permissions)})})}function C(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},kt)})})}function O(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/ai_status_query.json`,{method:"Get",params:kt})})}function M(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},kt)})})}function B(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/get_user_portrait_config.json`,{method:"Get",params:kt})})}function N(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_user_portrait_config.json?id=${kt.coursesId}`,{method:"put",body:h({},kt)})})}function K(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},kt)})})}function G(kt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},kt)})})}function H(kt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},kt)})})}function se(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/top_banner.json`,{method:"get",params:h({},kt)})})}function Q(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id||kt.coursesId}/left_banner.json`,{method:"get",params:h({},kt)})})}function le(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons.json`,{method:"get",params:h({},kt)})})}function J(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons/list.json`,{method:"get",params:h({},kt)})})}function ee(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/graduation_topics.json`,{method:"get",params:h({},kt)})})}function V(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/graduation_tasks.json`,{method:"get",params:h({},kt)})})}function ue(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${kt.id}/exercises.json`,{method:"get",params:h({},kt)})})}function te(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/polls.json`,{method:"get",params:h({},kt)})})}function q(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons.json`,{method:"get",params:h({},kt)})})}function ce(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_groups.json`,{method:"get",params:h({},kt)})})}function Z(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/all_course_groups.json`,{method:"get",params:h({},kt)})})}function j(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/attendances.json`,{method:"get",params:h({},kt)})})}function ae(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${kt.coursesId}/attendances.json`,{method:"get",params:h({},kt)})})}function me(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${kt.id}/edit.json`,{method:"get",params:h({},kt)})})}function Te(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/informs.json`,{method:"get",params:h({},kt)})})}function Oe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},kt)})})}function He(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_videos.json`,{method:"get",params:h({},kt)})})}function Ne(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/live_links.json`,{method:"get",params:h({},kt)})})}function Ft(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},kt)})})}function bt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${kt.categoryId}/messages.json`,{method:"get",params:h({},kt)})})}function Rt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_groups.json`,{method:"get",params:h({},kt)})})}function $t(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/students.json`,{method:"get",params:h({},kt)})})}function Bt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/statistics.json`,{method:"get",params:h({},kt)})})}function rr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/work_score.json`,{method:"get",params:h({},kt)})})}function je(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/act_score.json`,{method:"get",params:h({},kt)})})}function Et(kt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},kt)})})}function jt(kt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},kt)})})}function rt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},kt)})})}function yt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},kt)})})}function ht(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},kt)})})}function qe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},kt)})})}function Be(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},kt)})})}function xe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:kt})})}function Re(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:kt})})}function Ge(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:kt})})}function We(kt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:kt})})}function Xe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:kt})})}function pt(kt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},kt)})})}function xt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.identifier}/add_student_groups.json`,{method:"post",body:kt})})}function ir(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:kt})})}function Jt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/add_teacher.json`,{method:"post",body:kt})})}function Le(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/add_students_by_search.json`,{method:"post",body:kt})})}function tt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/set_public_or_private.json`,{method:"post",body:kt})})}function Kt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/set_invite_code_halt.json`,{method:"post",body:kt})})}function Mt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/duplicate_course.json`,{method:"post",body:kt})})}function Wt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_end_date.json`,{method:"put",body:kt})})}function Ht(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}.json`,{method:"delete",body:kt})})}function Pt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/settings.json`,{method:"get",params:h({},kt)})})}function Qt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}.json`,{method:"put",body:kt})})}function Ze(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},kt)})})}function pe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},kt)})})}function It(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},kt)})})}function Ce(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},kt)})})}function dt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},kt)})})}function Gt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},kt)})})}function Ct(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},kt)})})}function Pe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},kt)})})}function St(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},kt)})})}function ze(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},kt)})})}function it(kt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${kt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},kt)})})}function Ie(kt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${kt.id}.json`,{method:"delete",params:{export:!0}})})}function Lt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${kt.id}.json`,{method:"delete",params:{export:!0}})})}function Me(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${kt.id}/sticky_module.json`,{method:"get"})})}function Ir(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${kt.id}/hidden_module.json`,{method:"get"})})}function At(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:kt})})}function Hr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${kt.id}.json`,{method:"get",params:kt})})}function Yr(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:kt})})}function Rr(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:kt})})}function Or(kt){return u(this,null,function*(){return Fetch(`/api/polls/${kt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},kt)})})}function pr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},kt)})})}function Nr(kt){return(0,r.ZP)(`/api/polls/${kt.categoryId}/start_answer.json`,{method:"get",params:h({},kt)})}function Jr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${kt.questionId}/poll_votes.json`,{method:"post",body:kt})})}function sn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${kt.categoryId}/commit_poll.json`,{method:"post",body:kt})})}function Xt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.courseId}/tasks_list.json`,{method:"get",params:kt})})}function gt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.courseId}/update_task_position.json`,{method:"post",body:kt})})}function lt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:kt})})}function ft(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/all_course_groups.json`,{method:"get",params:kt})})}function Ut(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/polls/all_course_groups.json`,{method:"get",params:kt})})}function br(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/students.json`,{method:"get",params:kt})})}function vr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${kt.categoryId}/rename_group.json`,{method:"POST",body:kt})})}function at(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${kt.categoryId}.json`,{method:"delete",body:kt})})}function Cr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/join_course_group.json`,{method:"POST",body:kt})})}function on(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/transfer_to_course_group.json`,{method:"post",body:kt})})}function Fn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/delete_from_course.json`,{method:"post",body:kt})})}function $r(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/join_course_group.json`,{method:"post",body:kt})})}function Nn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/exit_course.json`,{method:"post"})})}function zn(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},kt)})})}function Tn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users/${kt.user_id}/edit.json`,{method:"get",params:kt})})}function jn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users.json`,{method:"post",body:kt})})}function yn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users/${kt.user_id}.json`,{method:"put",body:kt})})}function Ei(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${kt.id}/move_category.json`,{method:"post",body:kt})})}function ei(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${kt.id}/move_category.json`,{method:"post",body:kt})})}function Si(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/courseware.json`,{method:"get",params:kt})})}function zi(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt}/mark_wrong_topic.json`,{method:"get",params:vt})})}function Di(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt}/cancel_wrong_topic.json`,{method:"get",params:vt})})}function fa(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt}/allow_end_group.json`,{method:"get",params:vt})})}function Qn(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:vt})})}function Yi(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${kt}/get_content_for_commit_id.json`,{method:"get",params:vt})})}},73801:function(d,_,e){"use strict";e.d(_,{$M:function(){return Bt},$P:function(){return ir},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return te},IN:function(){return Be},JM:function(){return We},Ju:function(){return $t},Mn:function(){return qe},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return A},Qp:function(){return V},R9:function(){return se},Ux:function(){return ue},Vy:function(){return He},XJ:function(){return j},XR:function(){return bt},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return xe},ml:function(){return ce},o3:function(){return je},pA:function(){return jt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return yt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return pt},rV:function(){return C},rZ:function(){return Xe},rk:function(){return Te},rm:function(){return ee},sK:function(){return J},sL:function(){return rt},su:function(){return Re},tC:function(){return Oe},tO:function(){return Ne},u9:function(){return q},uZ:function(){return me},vV:function(){return K},xx:function(){return Jt},y8:function(){return Rt},yS:function(){return N},zF:function(){return y},zc:function(){return Q},zj:function(){return O},zz:function(){return xt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Le,tt,Kt)=>tt in Le?i(Le,tt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Le[tt]=Kt,h=(Le,tt)=>{for(var Kt in tt||(tt={}))c.call(tt,Kt)&&o(Le,Kt,tt[Kt]);if(l)for(var Kt of l(tt))f.call(tt,Kt)&&o(Le,Kt,tt[Kt]);return Le},u=(Le,tt,Kt)=>new Promise((Mt,Wt)=>{var Ht=Ze=>{try{Qt(Kt.next(Ze))}catch(fe){Wt(fe)}},Pt=Ze=>{try{Qt(Kt.throw(Ze))}catch(fe){Wt(fe)}},Qt=Ze=>Ze.done?Mt(Ze.value):Promise.resolve(Ze.value).then(Ht,Pt);Qt((Kt=Kt.apply(Le,tt)).next())});const a=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/create_guide.json`,{method:"post",body:Le}),x=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/guides.json`,{method:"get",params:Le}),p=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.competition_team_id}/edit_info.json`,{method:"put",body:Le});function y(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_result.json`,{method:"post",body:Le})})}function m(Le){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Le)})})}function b(Le){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Le})})}function A(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post"})})}function k(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_staff.json`,{method:"get"})})}function R(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/common_header.json`,{method:"get"})})}function C(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/${Le.url}`,{method:"get",params:h({},Le)})})}function O(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_md_content.json`,{method:"post",body:Le})})}function M(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function B(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}/edit.json`,{method:"get",params:Le})})}function N(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}.json`,{method:"put",body:Le})})}function K(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}/leave.json`,{method:"post",body:Le})})}function G(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}.json`,{method:"delete"})})}function H(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post",body:Le})})}function se(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/add_managers.json`,{method:"post",body:Le})})}function Q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/join.json`,{method:"post",body:Le})})}function le(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/teachers.json`,{method:"get",params:Le})})}function J(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/students.json`,{method:"get",params:Le})})}function ee(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/crud_team_members.json`,{method:"post",body:Le})})}function V(Le){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Le})})}function ue(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/chart_rules.json`,{method:"get"})})}function te(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/charts.json`,{method:"get",params:Le})})}function q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/results.json`,{method:"get",params:Le})})}function ce(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/md_tab_rules.json`,{method:"get",params:Le})})}function Z(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize.json`,{method:"get",params:Le})})}function j(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.id}.json`,{method:"get",params:Le})})}function ae(Le){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Le})})}function me(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/phone_bind.json`,{method:"post",body:Le})})}function Te(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/email_bind.json`,{method:"post",body:Le})})}function Oe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize_leader_account.json`,{method:"put",body:Le})})}function Ft(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/shixun_detail.json`,{method:"get"})})}function bt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/course_detail.json`,{method:"get"})})}function Rt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Le.id}.json`,{method:"delete"})})}function $t(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/get_certificate_info.json`,{method:"get",params:Le})})}function Bt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/basic_setting.json`,{method:"post",body:Le})})}function rr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function je(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/common_header.json`,{method:"get"})})}function Et(Le){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Le})})}function jt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/search_managers.json`,{method:"get",params:Le})})}function rt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_managers.json`,{method:"get"})})}function yt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/add_managers.json`,{method:"post",body:Le})})}function ht(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/delete_managers.json`,{method:"delete",body:Le})})}function qe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_picture.json`,{method:"get"})})}function Be(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/identifier_exist.json`,{method:"post",body:Le})})}function xe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_shixun_settings.json`,{method:"get"})})}function Re(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_add.json`,{method:"post",body:Le})})}function Ge(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_delete.json`,{method:"delete",body:Le})})}function We(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_select.json`,{method:"post",body:Le})})}function Xe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/info_finish.json`,{method:"get"})})}function pt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/competition_review.json`,{method:"post",body:h({},Le)})})}function xt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function ir(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/all_team_members.json`,{method:"get",params:Le})})}function Jt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Le})})}},1103:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return O},ff:function(){return A},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return le},bA:function(){return ee},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return C},Xl:function(){return B},y9:function(){return G},No:function(){return se},ay:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,te,q)=>te in ue?i(ue,te,{enumerable:!0,configurable:!0,writable:!0,value:q}):ue[te]=q,a=(ue,te)=>{for(var q in te||(te={}))o.call(te,q)&&u(ue,q,te[q]);if(f)for(var q of f(te))h.call(te,q)&&u(ue,q,te[q]);return ue},x=(ue,te)=>l(ue,c(te)),p=(ue,te)=>{var q={};for(var ce in ue)o.call(ue,ce)&&te.indexOf(ce)<0&&(q[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))te.indexOf(ce)<0&&h.call(ue,ce)&&(q[ce]=ue[ce]);return q},y=(ue,te,q)=>new Promise((ce,Z)=>{var j=Te=>{try{me(q.next(Te))}catch(Oe){Z(Oe)}},ae=Te=>{try{me(q.throw(Te))}catch(Oe){Z(Oe)}},me=Te=>Te.done?ce(Te.value):Promise.resolve(Te.value).then(j,ae);me((q=q.apply(ue,te)).next())});const m=ue=>y(void 0,null,function*(){var te=ue,{id:q}=te,ce=p(te,["id"]);return(0,r.ZP)(`/api/ec_years/${q}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let te=document.createElement("iframe");te.src=`/api/ec_years/${ue}/course_results.xlsx`,te.style.display="none",document.body.appendChild(te)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:te,class_name:q=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${te}.json`,{method:"get",params:{class_name:q}}),R=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),O=ue=>{let te=document.createElement("iframe");te.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,te.style.display="none",document.body.appendChild(te)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${te}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:te,formula_two:q,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:te,formula_two_id:q,formula_three_id:ce}}),H=({ec_year_id:ue,id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${te}.json`,{method:"get"}),se=ue=>{var te=ue,{ec_year_id:q,type:ce,goal_value:Z}=te,j=p(te,["ec_year_id","type","goal_value"]);let ae=`?type=${ce}`,me={method:"PUT"};return ce==="all"&&(ae+=`&goal_value=${Z}`),ce==="each"&&(me=x(a({},me),{body:j})),(0,r.ZP)(`/api/ec_years/${q}/ec_graduation_results/set_goal_value${ae}`,me)};var Q=(ue,te,q)=>new Promise((ce,Z)=>{var j=Te=>{try{me(q.next(Te))}catch(Oe){Z(Oe)}},ae=Te=>{try{me(q.throw(Te))}catch(Oe){Z(Oe)}},me=Te=>Te.done?ce(Te.value):Promise.resolve(Te.value).then(j,ae);me((q=q.apply(ue,te)).next())});const le=ue=>Q(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),J=ue=>Q(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),ee=({ec_year_id:ue,school_id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:te}}),V=({id:ue,name:te})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${te}`,{method:"PUT"})},81722:function(d,_,e){"use strict";e.d(_,{$Q:function(){return O},$l:function(){return vr},BJ:function(){return ht},CD:function(){return tt},Cd:function(){return pt},Cl:function(){return Me},Di:function(){return rr},Fl:function(){return jt},G$:function(){return ce},GK:function(){return Et},Ip:function(){return xe},J:function(){return Z},KE:function(){return rt},L8:function(){return Qt},LP:function(){return Re},MK:function(){return je},Mb:function(){return Rr},N0:function(){return G},N3:function(){return Ne},OO:function(){return R},P8:function(){return sn},PJ:function(){return ae},PT:function(){return pr},Qc:function(){return se},RK:function(){return q},Ty:function(){return it},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Jt},Ul:function(){return Xe},VL:function(){return Wt},Vj:function(){return fe},W4:function(){return ir},WL:function(){return pe},Wj:function(){return te},X4:function(){return Be},Xn:function(){return Hr},Xo:function(){return le},YY:function(){return Bt},Ym:function(){return N},Yu:function(){return Xt},ZD:function(){return Jr},Zg:function(){return Ir},_B:function(){return Le},_F:function(){return Or},_U:function(){return ee},_u:function(){return me},aU:function(){return K},ab:function(){return Lt},cC:function(){return ze},cV:function(){return V},ck:function(){return Nr},dp:function(){return H},eA:function(){return Ut},fG:function(){return A},gA:function(){return ue},gG:function(){return Yr},gJ:function(){return gt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return St},kp:function(){return Ht},lL:function(){return C},lf:function(){return He},n$:function(){return Oe},n7:function(){return J},nF:function(){return Ze},o3:function(){return lt},oS:function(){return Ge},oX:function(){return Mt},oy:function(){return Ie},p7:function(){return B},pL:function(){return Kt},pu:function(){return qe},q6:function(){return Pt},qf:function(){return $t},qz:function(){return We},s:function(){return Ct},sA:function(){return It},sS:function(){return ft},tX:function(){return Gt},uR:function(){return bt},ux:function(){return yt},wy:function(){return Rt},xA:function(){return Pe},yE:function(){return Q},yu:function(){return Ce},zP:function(){return M},zR:function(){return br}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(at,Cr,on)=>Cr in at?i(at,Cr,{enumerable:!0,configurable:!0,writable:!0,value:on}):at[Cr]=on,a=(at,Cr)=>{for(var on in Cr||(Cr={}))o.call(Cr,on)&&u(at,on,Cr[on]);if(f)for(var on of f(Cr))h.call(Cr,on)&&u(at,on,Cr[on]);return at},x=(at,Cr)=>l(at,c(Cr)),p=(at,Cr,on)=>new Promise((Fn,$r)=>{var Nn=jn=>{try{Tn(on.next(jn))}catch(yn){$r(yn)}},zn=jn=>{try{Tn(on.throw(jn))}catch(yn){$r(yn)}},Tn=jn=>jn.done?Fn(jn.value):Promise.resolve(jn.value).then(Nn,zn);Tn((on=on.apply(at,Cr)).next())});const y=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:at}),m=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:at}),b=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:at}),A=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:at}),k=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:at}),R=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score.json`,{method:"get",params:at}),C=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:at}),O=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/score_ranges.json`,{method:"get",params:at}),M=at=>(0,r.ZP)(`/api/exercises/${at.id}/sava_exam_summary.json`,{method:"post",body:at}),B=at=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:at}),N=at=>(0,r.ZP)(`/api/exercises/${at.id}/generate_exam_summary.json`,{method:"post",body:at}),K=at=>(0,r.ZP)(`/api/exercises/${at.id}/exam_summary_settings.json`,{method:"post",body:at}),G=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/review_exercise_user.json`,{method:"post",body:at})}),H=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/code_check.json`,{method:"get",params:at}),se=at=>(0,r.ZP)(`/api/exercises/${at.id}/reset_pwd.json`,{method:"post",body:at}),Q=at=>(0,r.ZP)(`/api/exercises/${at.id}/encrypt_or_decrypt.json`,{method:"post",body:at}),le=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time_or_force.json`,{method:"post",body:at})}),J=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_time.json`,{method:"Get",params:at})}),ee=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_question_result.json`,{method:"get",params:at}),V=at=>(0,r.ZP)(`/api/exercises/${at.id}/get_question_type_alias.json`,{method:"get",params:at});function ue(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/teacher_update.json`,{method:"post",body:a({},at)})})}function te(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/adjust_comment.json`,{method:"post",body:a({},at)})})}function q(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/edit_question_type_alias.json`,{method:"POST",body:at})})}function ce(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.json`,{method:"get",params:a({},at)})})}function Z(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},at)})})}function j(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/video_push_url.json`,{method:"get",params:a({},at)})})}function ae(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},at)})})}function me(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_result.json`,{method:"get",params:a({},at)})})}function Te(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},at)})})}function Oe(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},at)})})}function He(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},at)})})}function Ne(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},at)})})}function Ft(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/common_header.json`,{method:"get",params:a({},at)})})}function bt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises.json`,{method:"post",body:a({},at)})})}function Rt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}.json`,{method:"put",body:a({},at)})})}function $t(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}.json`,{method:"get",params:a({},at)})})}function Bt(at){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},at)})})}function rr(at){return p(this,null,function*(){const{id:Cr}=at;return delete at.id,(0,r.ZP)(`/api/exercise_questions/${Cr}.json`,{method:"put",body:a({},at)})})}function je(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_questions.json`,{method:"post",body:a({},at)})})}function Et(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/up_down.json`,{method:"post",body:a({},at)})})}function jt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}.json`,{method:"delete"})})}function rt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},at)})})}function yt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/publish_groups.json`,{method:"get",params:a({},at)})})}function ht(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},at)})})}function qe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/consult_exercise.json`,{method:"post",body:a({},at)})})}function Be(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},at)})})}function xe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Re(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/batch_adjust_score.json`,{method:"post",body:a({},at)})})}function Ge(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function We(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time.json`,{method:"post",body:a({},at)})})}function Xe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function xt(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/commit_setting.json`,{method:"post",body:a({},at)})})}function ir(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},at)})})}function Jt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},at),{export:!0})})})}function Le(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},at),{login:null})})}function tt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start.json`,{method:"get",params:a({},at)})}function Kt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start_unlock.json`,{method:"post",body:a({},at)})}function Mt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.questionId}/exercise_answers.json`,{method:"post",body:at})})}function Wt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_exercise.json`,{method:"post",body:at})})}function Ht(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_commit_exercise.json`,{method:"post",body:at})})}function Pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_exercise.json`,{method:"post",body:at})})}function Qt(at){return(0,r.ZP)(`/api/${at.url}`,{method:"get",params:a({},at)})}function Ze(at){return(0,r.ZP)(`/api/problems/${at.id}/start.json`,{method:"get",params:a({},at)})}function fe(at){return(0,r.ZP)(`/api/exercises/${at.id}/begin_commit.json`,{method:"get",params:a({},at)})}function pe(at){return(0,r.ZP)(`/api/exercises/${at.id}/simulate_begin_commit.json`,{method:"get",params:a({},at)})}function It(at){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},at)})}function Ce(at){return console.log("params:",at),(0,r.ZP)(`/api/exercises/${at.categoryId}/edit.json`,{method:"get",params:a({},at)})}function dt(at){return(0,r.ZP)(`/api/exercises/${at.id}/get_objective_scores.json`,{method:"get",params:a({},at)})}function Gt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_modal.json`,{method:"get",params:a({},at)})}function Ct(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/student_redo_lists.json`,{method:"get",params:a({},at)})}function Pe(at){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:at})}function St(at){return(0,r.ZP)(`/api/exercises/${at.id}/exercise_header.json`,{method:"get",params:a({},at)})}function ze(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/allow_close_camera.json`,{method:"post",body:a({},at)})}function it(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},at)})}function Ie(at){return(0,r.ZP)(`/api/exercises/${at.id}/record_screen`,{method:"post",params:a({},at)})}function Lt(at){return(0,r.ZP)(`/api/exercises/${at.id}/unbind_ip.json`,{method:"post",body:a({},at)})}function Me(at){return(0,r.ZP)(`/api/exercises/${at.id}/check_ip.json`,{method:"get",params:a({},at)})}function Ir(at){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/check_user_exercise.json`,{method:"get",params:a({},at)})}function At(at){return Fetch(`/api/exercises/${at.id}/make_up_students.json`,{method:"get",params:a({},at)})}function Hr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},at)})})}function Yr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.question_id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Rr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${at.categoryId}/simulate_exercise.json`,{method:"post",body:a({},at)})})}function Or(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},at)})})}function pr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_time.json`,{method:"get",params:a({},at)})})}function Nr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_screen_at.json`,{method:"post",body:a({},at)})})}function Jr(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/unlock_user`,{method:"post",body:Cr})})}function sn(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/save_screen_record.json`,{method:"post",body:Cr})})}function Xt(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/screen_record_list.json`,{method:"get",params:Cr})})}function gt(at){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},at)})})}function lt(at){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:at})})}function ft(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/mark.json`,{method:"post",body:Cr})})}function Ut(at){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${at}/exit_delete_pod.json`,{method:"post",body:at})})}function br(at){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:at})})}function vr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/send_to_item_bank.json`,{method:"post",body:a({},at)})})}},94670:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return O},YP:function(){return C},b4:function(){return k},bc:function(){return a},dX:function(){return A},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,se)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:se}):G[H]=se,h=(G,H)=>{for(var se in H||(H={}))c.call(H,se)&&o(G,se,H[se]);if(l)for(var se of l(H))f.call(H,se)&&o(G,se,H[se]);return G},u=(G,H,se)=>new Promise((Q,le)=>{var J=ue=>{try{V(se.next(ue))}catch(te){le(te)}},ee=ue=>{try{V(se.throw(ue))}catch(te){le(te)}},V=ue=>ue.done?Q(ue.value):Promise.resolve(ue.value).then(J,ee);V((se=se.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function O(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},22072:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((A,k)=>{var R=M=>{try{O(b.next(M))}catch(B){k(B)}},C=M=>{try{O(b.throw(M))}catch(B){k(B)}},O=M=>M.done?A(M.value):Promise.resolve(M.value).then(R,C);O((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return O},NA:function(){return R},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return C},_n:function(){return se},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Q,le,J)=>le in Q?i(Q,le,{enumerable:!0,configurable:!0,writable:!0,value:J}):Q[le]=J,h=(Q,le)=>{for(var J in le||(le={}))c.call(le,J)&&o(Q,J,le[J]);if(l)for(var J of l(le))f.call(le,J)&&o(Q,J,le[J]);return Q},u=(Q,le,J)=>new Promise((ee,V)=>{var ue=ce=>{try{q(J.next(ce))}catch(Z){V(Z)}},te=ce=>{try{q(J.throw(ce))}catch(Z){V(Z)}},q=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);q((J=J.apply(Q,le)).next())});function a(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}.json`,{method:"get",params:h({},Q)})})}function x(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}/tasks_list.json`,{method:"get",params:h({},Q)})})}function p(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/show_detail.json`,{method:"get",params:h({},Q)})})}function y(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}.json`,{method:"get",params:h({},Q)})})}function m(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},Q)})})}function b(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/accept_student_topic.json`,{method:"post",body:h({},Q)})})}function A(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Q.categoryId}/show_comment.json`,{method:"get",params:h({},Q)})})}function k(Q){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},Q)})})}function R(Q){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},Q)})})}function C(Q){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},Q)})})}function O(Q){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},Q)})})}function M(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},Q)})})}function B(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/edit.json`,{method:"get",params:h({},Q)})})}function N(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics`,{method:"post",body:h({},Q)})})}function K(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}`,{method:"put",body:h({},Q)})})}function G(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_tasks`,{method:"post",body:h({},Q)})})}function H(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}.json`,{method:"put",body:h({},Q)})})}function se(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}/edit.json`,{method:"get",params:h({},Q)})})}},12309:function(d,_,e){"use strict";e.d(_,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return ce},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return C},Ot:function(){return R},Ou:function(){return ee},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return te},Wz:function(){return f},Xh:function(){return p},Xw:function(){return Q},YS:function(){return H},Zd:function(){return q},bS:function(){return O},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return se},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return j}});var r=e(38986),i=(ae,me,Te)=>new Promise((Oe,He)=>{var Ne=Rt=>{try{bt(Te.next(Rt))}catch($t){He($t)}},Ft=Rt=>{try{bt(Te.throw(Rt))}catch($t){He($t)}},bt=Rt=>Rt.done?Oe(Rt.value):Promise.resolve(Rt.value).then(Ne,Ft);bt((Te=Te.apply(ae,me)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function m(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function C(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function O(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function K(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function G(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function H(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function se(ae){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(me=ae.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function Q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function le(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function ee(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function V(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function ue(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function te(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:me})})}function q(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:me})})}function ce(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:me})})}function j(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},82220:function(d,_,e){"use strict";e.d(_,{C:function(){return R},Cl:function(){return se},LA:function(){return p},Mw:function(){return M},NX:function(){return b},Rm:function(){return o},SE:function(){return G},S_:function(){return y},St:function(){return N},Tt:function(){return u},X4:function(){return K},Yu:function(){return k},Zz:function(){return m},aC:function(){return C},cR:function(){return a},eX:function(){return f},h$:function(){return h},sJ:function(){return B},su:function(){return A},tS:function(){return H},vm:function(){return x},wu:function(){return O},zo:function(){return l}});var r=e(38986),i=(Q,le,J)=>new Promise((ee,V)=>{var ue=ce=>{try{q(J.next(ce))}catch(Z){V(Z)}},te=ce=>{try{q(J.throw(ce))}catch(Z){V(Z)}},q=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);q((J=J.apply(Q,le)).next())}),l=(Q=>(Q.FinishWork="1",Q.Exercise="2",Q.OnlinePracticeTime="3",Q.SuccessTimes="4",Q))(l||{});const c=Q=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:Q})}),f=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:Q})}),o=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:Q})}),h=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:Q})});function u(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:Q})})}const m=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:Q})}),b=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:Q})}),A=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:Q})}),k=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:Q})});function R(){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_course_shixun.json",{method:"Get"})})}function C(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_statistics.json",{method:"Get",params:Q})})}function O(){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_dynamic_data.json",{method:"Get"})})}function M(Q){return i(this,null,function*(){return(0,r.ZP)("/api/school_informs.json",{method:"Get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"Get"})})}function N(Q){return i(this,null,function*(){return(0,r.ZP)("/api/school_informs.json",{method:"post",body:Q})})}function K(Q,le){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"put",body:le})})}function G(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"delete"})})}function H(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_course_list.json",{method:"Get",params:Q})})}function se(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/upload_course_list.json",{method:"post",body:Q},!0)})}},50958:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,C,O)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):R[C]=O,h=(R,C)=>{for(var O in C||(C={}))c.call(C,O)&&o(R,O,C[O]);if(l)for(var O of l(C))f.call(C,O)&&o(R,O,C[O]);return R},u=(R,C,O)=>new Promise((M,B)=>{var N=H=>{try{G(O.next(H))}catch(se){B(se)}},K=H=>{try{G(O.throw(H))}catch(se){B(se)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((O=O.apply(R,C)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function A(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},49379:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return O},ms:function(){return R},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((H,se)=>{var Q=ee=>{try{J(G.next(ee))}catch(V){se(V)}},le=ee=>{try{J(G.throw(ee))}catch(V){se(V)}},J=ee=>ee.done?H(ee.value):Promise.resolve(ee.value).then(Q,le);J((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function C(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function O(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},93629:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return te},Dm:function(){return le},Dq:function(){return Te},Gd:function(){return m},Hb:function(){return Oe},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return K},Pl:function(){return A},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return Q},kF:function(){return He},kp:function(){return O},lc:function(){return C},oF:function(){return ce},q$:function(){return h},qN:function(){return se},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return ue},wX:function(){return ee},yE:function(){return f}});var r=e(38986),i=(Ne,Ft,bt)=>new Promise((Rt,$t)=>{var Bt=Et=>{try{je(bt.next(Et))}catch(jt){$t(jt)}},rr=Et=>{try{je(bt.throw(Et))}catch(jt){$t(jt)}},je=Et=>Et.done?Rt(Et.value):Promise.resolve(Et.value).then(Bt,rr);je((bt=bt.apply(Ne,Ft)).next())});const l=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/code_check.json`,{method:"get",params:Ne}),c=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/reset_pwd.json`,{method:"post",body:Ne}),f=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/encrypt_or_decrypt.json`,{method:"post",body:Ne}),o=Ne=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Ne}),h=Ne=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Ne}),u=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/copy.json`,{method:"post",body:Ne}),a=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/get_question_type_alias.json`,{method:"get",params:Ne});function x(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_question_type_alias.json`,{method:"POST",body:Ne})})}function p(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Ne})})}function y(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Ne})})}function m(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Ne})})}function b(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_public.json`,{method:"post"})})}function A(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_private.json`,{method:"post"})})}function k(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"delete"})})}function R(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ne})})}const C=Ne=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Ne});function O(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function M(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"get",params:Ne})})}function B(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_score`,{method:"post",body:Ne})})}function N(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_shixun_score.json`,{method:"post",body:Ne})})}function K(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}.json`,{method:"delete"})})}function G(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Ne})})}function H(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Ne})})}function se(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/adjust_position.json`,{method:"post",body:Ne})})}function Q(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function le(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Ne})})}function J(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Ne})})}function ee(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/set_public.json`,{method:"post",body:Ne})})}function V(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Ne})})}function ue(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/update_exam.json`,{method:"put",body:Ne})})}function te(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_exam.json`,{method:"get"})})}function q(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ce(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Ne})})}function Z(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Ft})})}function j(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.exam_id}/examination_banks_item_banks/${Ne.question_id}.json`,{method:"delete"})})}function ae(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Ft})})}function me(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function Te(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function Oe(Ne,Ft,bt){return i(this,null,function*(){const Rt=new FormData;return Rt.append("file",Ft),Rt.append("sub_discipline_id",bt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:Rt},!0)})}function He(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},36714:function(d,_,e){"use strict";e.d(_,{$D:function(){return V},A2:function(){return Ge},A7:function(){return Pe},AQ:function(){return G},Ax:function(){return Kt},Bn:function(){return it},CI:function(){return xt},DQ:function(){return Ce},DU:function(){return yt},EP:function(){return ee},Ep:function(){return Re},Er:function(){return Te},Ex:function(){return Ht},FD:function(){return dt},F_:function(){return rt},Fg:function(){return p},GY:function(){return fe},Go:function(){return j},Gz:function(){return y},Hl:function(){return m},JS:function(){return $t},KM:function(){return q},M2:function(){return Xe},MO:function(){return Oe},Mt:function(){return pt},Mu:function(){return Mt},NV:function(){return ze},Q:function(){return He},Sp:function(){return K},VO:function(){return Gt},VU:function(){return C},WD:function(){return Ze},WO:function(){return me},WW:function(){return Pt},_C:function(){return St},_V:function(){return tt},bw:function(){return J},bz:function(){return It},c3:function(){return Rt},eJ:function(){return Z},ef:function(){return jt},fh:function(){return R},fj:function(){return ae},hS:function(){return b},hZ:function(){return a},jT:function(){return Ct},ke:function(){return Qt},lk:function(){return N},mQ:function(){return B},ms:function(){return Jt},mx:function(){return Ft},nq:function(){return x},ol:function(){return pe},p:function(){return se},p4:function(){return Ne},pU:function(){return M},rS:function(){return Bt},rs:function(){return ce},s0:function(){return We},sm:function(){return bt},tS:function(){return A},tu:function(){return O},ue:function(){return H},vf:function(){return Be},w4:function(){return Q},xG:function(){return xe},xn:function(){return qe},yN:function(){return le},yy:function(){return Le}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ie,Lt,Me)=>Lt in Ie?i(Ie,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ie[Lt]=Me,h=(Ie,Lt)=>{for(var Me in Lt||(Lt={}))c.call(Lt,Me)&&o(Ie,Me,Lt[Me]);if(l)for(var Me of l(Lt))f.call(Lt,Me)&&o(Ie,Me,Lt[Me]);return Ie},u=(Ie,Lt,Me)=>new Promise((Ir,At)=>{var Hr=Or=>{try{Rr(Me.next(Or))}catch(pr){At(pr)}},Yr=Or=>{try{Rr(Me.throw(Or))}catch(pr){At(pr)}},Rr=Or=>Or.done?Ir(Or.value):Promise.resolve(Or.value).then(Hr,Yr);Rr((Me=Me.apply(Ie,Lt)).next())}),a=(Ie=>(Ie[Ie.All=0]="All",Ie[Ie.Excellent=1]="Excellent",Ie[Ie.Recommend=2]="Recommend",Ie[Ie.NewOnline=3]="NewOnline",Ie[Ie.NewBuilding=4]="NewBuilding",Ie))(a||{});const x=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Ie})}),p=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Ie})}),y=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Ie})}),m=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Ie})}),b=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Ie})});function A(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Ie)})})}function k(Ie){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Ie)})})}function R(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Ie)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/paths/platform_systems.json",{method:"get"})})}function O(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"PUT",body:Ie})})}function M(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Ie})})}function B(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/edit.json`,{method:"get"})})}function N(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"get",params:h({identifier:Ie.id},Ie)})})}function K(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}.json`,{method:"get",params:h({identifier:Ie.id},Ie)})})}function G(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/right_banner.json`,{method:"get",params:Ie})})}function H(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses.json`,{method:"get",params:Ie})})}const se=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Ie})}),Q=Ie=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Ie.id}/children.json`,{method:"Get",params:Ie})});function le(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Ie})})}function J(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/update_team_title.json`,{method:"post",body:Ie})})}function ee(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/delete_member.json`,{method:"Delete",body:Ie})})}function V(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses/${Ie==null?void 0:Ie.courseid}.json`,{method:"Delete"})})}function ue(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/up_member_position.json`,{method:"post",body:Ie})})}function te(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/down_member_position.json`,{method:"post",body:Ie})})}function q(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Ie})})}function ce(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Ie})})}function Z(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"Delete",body:Ie})})}function j(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/publish.json`,{method:"post",body:Ie})})}function ae(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/cancel_publish.json`,{method:"post",body:Ie})})}function me(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/apply_public.json`,{method:"post",body:Ie})})}function Te(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/cancel_public.json`,{method:"post",body:Ie})})}function Oe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/choose_course.json`,{method:"get",params:Ie})})}function He(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/send_to_course.json`,{method:"post",body:Ie})})}function Ne(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ie.id}/send_to_course.json`,{method:"post",body:Ie})})}function Ft(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/add_subject_members.json`,{method:"post",body:Ie})})}function bt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses.json`,{method:"post",body:Ie})})}function Rt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/appointment.json`,{method:"post",body:Ie})})}function $t(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}/join_excellent_course.json`,{method:"post",body:Ie})})}function Bt(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Ie})})}function rr(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/statistics_info.json`,{method:"get",params:Ie})})}function je(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/shixun_analyze.json`,{method:"get",params:Ie})})}function Et(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/learning_analyze.json`,{method:"get",params:Ie})})}function jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/learning_statistics.json`,{method:"get",params:Ie})})}function rt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/shixun_statistics.json`,{method:"get",params:Ie})})}function yt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/study_analyze/${Ie.type}.json`,{method:"get",params:Ie})})}function ht(Ie){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Ie})})}function qe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}.json`,{method:"put",body:Ie})})}function Be(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_shixun_to_stage.json`,{method:"post",body:Ie})})}const xe=Ie=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Ie})});function Re(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/select_shixun_to_stage.json`,{method:"post",body:Ie})})}function Ge(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_video_to_stage.json`,{method:"post",body:Ie})})}function We(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_attachment_to_stage.json`,{method:"post",body:Ie})})}function Xe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie.id}.json`,{method:"put",body:Ie})})}function pt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_blank_to_stage.json`,{method:"post",body:Ie})})}function xt(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Ie})})}function ir(Ie){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Ie})})}function Jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/up_position.json`,{method:"get"})})}function Le(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/down_position.json`,{method:"get"})})}function tt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}.json`,{method:"delete"})})}function Kt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.pathId}/discusses.json`,{method:"get",params:h({},Ie)})})}function Mt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Ie)})})}function Wt(Ie){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Ie)})})}function Ht(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.stage_id}/items/move_position`,{method:"post",body:h({},Ie)})})}function Pt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.stage_id}/items/${Ie.id}`,{method:"delete"})})}function Qt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}/excellent_discuss`,{method:"post",body:h({},Ie)})})}function Ze(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/post_discuss`,{method:"post",body:h({},Ie)})})}function fe(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Ie})})}function pe(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Ie})})}function It(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Ie})})}function Ce(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.id}/add_homework_to_stage.json`,{method:"post",body:Ie})})}function dt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie==null?void 0:Ie.id}/edit.json`,{method:"get",params:Ie})})}function Gt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie==null?void 0:Ie.id}.json`,{method:"put",body:Ie})})}function Ct(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_id}/subjects/subject_homework.json`,{method:"get",params:Ie})})}function Pe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_id}/courses/course_homework.json`,{method:"get",params:Ie})})}function St(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.id}/batch_add_homework_to_stage.json`,{method:"post",body:Ie})})}function ze(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Ie})})}function it(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_login}/subjects/cancel.json`,{method:"get",params:Ie})})}},7299:function(d,_,e){"use strict";e.d(_,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return q},MK:function(){return G},Q9:function(){return O},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return H},kp:function(){return Q},lf:function(){return C},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return V},wh:function(){return se},wo:function(){return te},x$:function(){return ee}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,ae,me)=>ae in j?i(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,h=(j,ae)=>{for(var me in ae||(ae={}))c.call(ae,me)&&o(j,me,ae[me]);if(l)for(var me of l(ae))f.call(ae,me)&&o(j,me,ae[me]);return j},u=(j,ae,me)=>new Promise((Te,Oe)=>{var He=bt=>{try{Ft(me.next(bt))}catch(Rt){Oe(Rt)}},Ne=bt=>{try{Ft(me.throw(bt))}catch(Rt){Oe(Rt)}},Ft=bt=>bt.done?Te(bt.value):Promise.resolve(bt.value).then(He,Ne);Ft((me=me.apply(j,ae)).next())});const a=j=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function C(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function O(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function K(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function se(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function Q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function le(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function ee(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function V(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ue(j){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function te(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function ce(j){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},46722:function(d,_,e){"use strict";e.d(_,{$c:function(){return pt},A1:function(){return We},Bd:function(){return O},Bo:function(){return J},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return R},Dm:function(){return je},FG:function(){return le},GW:function(){return Et},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return rr},LS:function(){return rt},MZ:function(){return xe},Mr:function(){return Q},NZ:function(){return Ft},Of:function(){return A},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ht},RT:function(){return Le},Rp:function(){return yt},U6:function(){return H},Vl:function(){return te},Wk:function(){return se},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return xt},d1:function(){return y},dt:function(){return ir},et:function(){return me},ex:function(){return b},fY:function(){return Te},fn:function(){return C},hI:function(){return bt},hg:function(){return Be},iT:function(){return ee},lS:function(){return Ne},nD:function(){return jt},qN:function(){return ae},rV:function(){return N},s:function(){return He},sD:function(){return Re},sS:function(){return Bt},ts:function(){return V},vi:function(){return Xe},wX:function(){return qe},x5:function(){return K},zh:function(){return Oe}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Kt,Mt)=>Kt in tt?i(tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):tt[Kt]=Mt,a=(tt,Kt)=>{for(var Mt in Kt||(Kt={}))o.call(Kt,Mt)&&u(tt,Mt,Kt[Mt]);if(f)for(var Mt of f(Kt))h.call(Kt,Mt)&&u(tt,Mt,Kt[Mt]);return tt},x=(tt,Kt)=>l(tt,c(Kt)),p=(tt,Kt,Mt)=>new Promise((Wt,Ht)=>{var Pt=fe=>{try{Ze(Mt.next(fe))}catch(pe){Ht(pe)}},Qt=fe=>{try{Ze(Mt.throw(fe))}catch(pe){Ht(pe)}},Ze=fe=>fe.done?Wt(fe.value):Promise.resolve(fe.value).then(Pt,Qt);Ze((Mt=Mt.apply(tt,Kt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function C(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function O(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function Q(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function ue(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function te(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function ce(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function j(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Te(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function Oe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function Rt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function $t(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function rr(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function Et(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function jt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ht(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Be(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function xe(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function Re(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function Ge(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function We(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Xe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function pt(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function xt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function ir(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function Jt(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Le(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(A){x(A)}},y=b=>{try{m(u.throw(b))}catch(A){x(A)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},1247:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return je},BD:function(){return Xe},Be:function(){return qe},Dx:function(){return te},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return A},H:function(){return Bt},H1:function(){return rr},Hj:function(){return xt},JA:function(){return Jt},JG:function(){return ue},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return $t},NA:function(){return bt},PC:function(){return Ne},PP:function(){return Ft},PW:function(){return rt},Q3:function(){return q},QC:function(){return Le},Qt:function(){return We},Qz:function(){return O},R$:function(){return Ze},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return Wt},Ul:function(){return ee},VB:function(){return dt},Vs:function(){return Ht},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Rt},Yn:function(){return b},Z8:function(){return K},ak:function(){return jt},cN:function(){return B},co:function(){return Be},cz:function(){return Oe},fK:function(){return G},gG:function(){return He},gZ:function(){return Mt},h$:function(){return N},ku:function(){return Re},lf:function(){return ae},m7:function(){return V},mQ:function(){return M},mz:function(){return ht},n$:function(){return j},oK:function(){return y},oN:function(){return Gt},pH:function(){return pt},pb:function(){return Ce},qP:function(){return tt},ql:function(){return Kt},rN:function(){return xe},sw:function(){return me},t1:function(){return Te},to:function(){return Q},ub:function(){return ir},ux:function(){return ce},wS:function(){return It},wT:function(){return C},yT:function(){return Et},yy:function(){return Pt},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Pe,St,ze)=>St in Pe?i(Pe,St,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Pe[St]=ze,a=(Pe,St)=>{for(var ze in St||(St={}))o.call(St,ze)&&u(Pe,ze,St[ze]);if(f)for(var ze of f(St))h.call(St,ze)&&u(Pe,ze,St[ze]);return Pe},x=(Pe,St)=>l(Pe,c(St)),p=(Pe,St,ze)=>new Promise((it,Ie)=>{var Lt=At=>{try{Ir(ze.next(At))}catch(Hr){Ie(Hr)}},Me=At=>{try{Ir(ze.throw(At))}catch(Hr){Ie(Hr)}},Ir=At=>At.done?it(At.value):Promise.resolve(At.value).then(Lt,Me);Ir((ze=ze.apply(Pe,St)).next())});const y=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.id}/update_journals.json`,{method:"post",body:Pe})}),m=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/change_score.json`,{method:"post",body:Pe})}),b=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/history_comment`,{method:"Get",params:Pe})}),A=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/feedback_know`,{method:"Get",params:Pe})}),k=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.userId}/student_work_feedbacks.json`,{method:"POST",body:Pe})}),R=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.userId}/feedback_list.json`,{method:"Get",params:Pe})}),C=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.userId}/histories.json`,{method:"Get",params:Pe})}),O=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/feedback_list`,{method:"Get",params:Pe})}),M=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Pe})}),B=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/appeal_list`,{method:"Get",params:Pe})});function N(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/works_list.json`,{method:"post",body:a({},Pe)})})}function K(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Pe.categoryId}/student_works.json`,{method:"get",params:a({},Pe)})})}function G(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Pe.categoryId}/header_info.json`,{method:"get",params:a({},Pe)})})}function H(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe}/query_game_url.json`,{method:"get"})})}function se(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function Q(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}.json`,{method:"get"})})}function le(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/code_review_results.json`,{method:"get",params:a({},Pe)})})}function J(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Pe)})})}function ee(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/settings.json`,{method:"get",params:a({},Pe)})})}function V(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_settings.json`,{method:"post",body:a({},Pe)})})}function ue(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/group_list.json`,{method:"get",params:a({},Pe)})})}function te(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Pe)})})}function q(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.coursesId}/reference_answer.json`,{method:"get",params:a({},Pe)})})}function ce(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/publish_groups.json`,{method:"get",params:a({},Pe)})})}function Z(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/end_groups.json`,{method:"get",params:a({},Pe)})})}function j(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Pe)})})}function ae(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Pe)})})}function me(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/shixun_work_report.json`,{method:"get",params:Pe})})}function Te(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Pe})})}function Oe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Pe),{id:Pe.categoryId})})})}function He(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Pe)})})}function Ne(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/show_comment.json`,{method:"get",params:a({},Pe)})})}function Ft(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Pe)})})}function bt(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Pe)})})}function Rt(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Pe)})})}function $t(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Pe)})})}function Bt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_explanation.json`,{method:"post",body:a({},Pe)})})}function rr(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons.json`,{method:"post",body:a({},Pe)})})}function je(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}.json`,{method:"put",body:a({},Pe)})})}function Et(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Pe.id}.json`,{method:"put",body:a({},Pe)})})}function jt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Pe)})})}function rt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/edit.json`,{method:"get",params:a({},Pe)})})}function yt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}.json`,{method:"put",body:a({},Pe)})})}function ht(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Pe)})})}function qe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Pe)})})}function Be(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Pe)})})}function xe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Re(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Pe)})})}function Ge(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Pe)})})}function We(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Pe)})})}function Xe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/edit.json`,{method:"get",params:a({},Pe)})})}function pt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Pe.id}.json`,{method:"get",params:a({},Pe)})})}function xt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}.json`,{method:"get",params:a({},Pe)})})}function ir(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/supply_attachments.json`,{method:"get",params:a({},Pe)})})}function Jt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/comment_list.json`,{method:"get",params:a({},Pe)})})}function Le(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/destroy_score.json`,{method:"delete",body:a({},Pe)})})}function tt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/add_score_reply.json`,{method:"post",body:a({},Pe)})})}function Kt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/all_student_works.json`,{method:"get",params:a({},Pe)})})}function Mt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Pe)})})}function Wt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/score_status.json`,{method:"get",params:a({},Pe)})})}function Ht(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_score.json`,{method:"get",params:a({},Pe)})})}function Pt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/add_score.json`,{method:"post",body:a({},Pe)})})}function Qt(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe.userId}/cancel_appeal.json`,{method:"post",body:a({},Pe)})})}function Ze(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Pe)})})}function fe(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Pe)})})}function pe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Pe.id}/reset_my_game.json`,{method:"get",params:a({},Pe)})})}function It(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/commit_des.json`,{method:"get",params:a({},Pe)})})}function Ce(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/update_des.json`,{method:"post",body:a({},Pe)})})}function dt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Pe)})})}function Gt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Pe)})})}function Ct(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Pe)})})}},75736:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Or},AE:function(){return Ht},AQ:function(){return M},Ag:function(){return St},Ar:function(){return ce},At:function(){return gt},BK:function(){return K},Bj:function(){return jt},DC:function(){return je},Dz:function(){return lt},E4:function(){return rr},EH:function(){return ae},Ee:function(){return on},Er:function(){return te},FB:function(){return N},Fg:function(){return A},GI:function(){return Oe},Gr:function(){return ht},Gu:function(){return Te},Gz:function(){return b},HS:function(){return kt},Hl:function(){return y},IT:function(){return Ct},I_:function(){return C},Ir:function(){return G},Je:function(){return Me},K:function(){return Ut},K0:function(){return Cr},KM:function(){return J},K_:function(){return Nr},LK:function(){return Ir},LP:function(){return He},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return j},Op:function(){return Rr},P2:function(){return Rt},Po:function(){return O},Ps:function(){return qe},Q:function(){return V},Q1:function(){return br},QA:function(){return zi},Ql:function(){return xe},Rs:function(){return Le},SG:function(){return Yi},Tn:function(){return Qt},Tr:function(){return Di},U0:function(){return Xe},U9:function(){return Be},UQ:function(){return Ce},Ui:function(){return pr},Vx:function(){return at},WO:function(){return q},WT:function(){return fa},Wi:function(){return rt},Wl:function(){return ze},X$:function(){return $t},Yn:function(){return fe},Z2:function(){return Et},ZO:function(){return yt},Zt:function(){return ft},_7:function(){return ee},_9:function(){return pe},aH:function(){return Re},al:function(){return ir},b8:function(){return Z},bq:function(){return Ze},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return Lt},h4:function(){return vr},hS:function(){return m},he:function(){return R},hn:function(){return Q},ii:function(){return Jt},im:function(){return It},j8:function(){return Ne},jq:function(){return Yr},kF:function(){return Hr},km:function(){return xt},l3:function(){return bt},m7:function(){return We},mI:function(){return Si},n5:function(){return B},nu:function(){return At},p0:function(){return Gt},q0:function(){return Wt},q9:function(){return Xt},qA:function(){return sn},rO:function(){return Mt},rs:function(){return le},sr:function(){return dt},t2:function(){return Pe},tX:function(){return Fn},uo:function(){return pt},v3:function(){return Ie},w:function(){return it},xK:function(){return Pt},xg:function(){return Kt},xk:function(){return Bt},yE:function(){return Ge},yx:function(){return ei},zD:function(){return se},zH:function(){return Jr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(vt,Pi,Gi)=>Pi in vt?i(vt,Pi,{enumerable:!0,configurable:!0,writable:!0,value:Gi}):vt[Pi]=Gi,a=(vt,Pi)=>{for(var Gi in Pi||(Pi={}))o.call(Pi,Gi)&&u(vt,Gi,Pi[Gi]);if(f)for(var Gi of f(Pi))h.call(Pi,Gi)&&u(vt,Gi,Pi[Gi]);return vt},x=(vt,Pi)=>l(vt,c(Pi)),p=(vt,Pi,Gi)=>new Promise((ui,wa)=>{var hi=nr=>{try{vn(Gi.next(nr))}catch(_t){wa(_t)}},qn=nr=>{try{vn(Gi.throw(nr))}catch(_t){wa(_t)}},vn=nr=>nr.done?ui(nr.value):Promise.resolve(nr.value).then(hi,qn);vn((Gi=Gi.apply(vt,Pi)).next())});const y=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:vt})}),m=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:vt})}),b=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:vt})}),A=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:vt})}),k=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:vt})});function R(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},vt)})})}function C(vt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},vt||{})})})}function O(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"Get",params:vt})})}function M(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/show_right.json`,{method:"Get"})})}function B(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges.json`,{method:"Get"})})}function N(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:vt.save_type}})})}function K(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/jupyter_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function G(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function H(vt){return p(this,null,function*(){return(0,r.ZP)(vt.url,{method:"Get"})})}function se(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_up.json`,{method:"Get"})})}function Q(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_down.json`,{method:"Get"})})}function le(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function J(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function ee(vt){return p(this,null,function*(){const{id:Pi}=vt||{};return(0,r.ZP)(`/api/shixuns/${Pi}/search_user_courses.json`,{method:"Get",params:vt})})}function V(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt==null?void 0:vt.id}/send_to_course.json`,{method:"Post",body:a({},vt)})})}function ue(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_publish.json`,{method:"Get"})})}function te(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_apply_public.json`,{method:"Get"})})}function q(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/apply_public.json`,{method:"post",body:a({},vt)})})}function ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/publish.json`,{method:"Get"})})}function Z(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${vt.id}.json`,{method:"delete"})})}function ae(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:vt})})}function me(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:vt})})}function Te(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:vt})})}function Oe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_newest_record.json`,{method:"Get"})})}function He(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_shixun.json`,{method:"post",body:vt})})}function Ne(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators.json`,{method:"Get",params:vt})})}function Ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_members_added.json`,{method:"post",body:vt})})}function bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/add_members_group.json`,{method:"post",body:vt})})}function Rt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"Get",params:vt})})}function $t(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"post",body:vt})})}function Bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:vt.userId}})})}function rr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/ranking_list.json`,{method:"Get"})})}function je(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/settings.json`,{method:"Get"})})}function Et(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:vt.mirror_id}})})}function jt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_script_contents.json`,{method:"Get",params:vt})})}function rt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_custom_script.json`,{method:"Get",params:vt})})}function yt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_for_jupyter.json`,{method:"put",body:vt})})}function ht(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"delete"})})}function Be(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/close.json`,{method:"post",body:vt})})}function xe(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:vt})})}function Re(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_permission_setting.json`,{method:"post",body:vt})})}function Ge(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_learn_setting.json`,{method:"post",body:vt})})}function We(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_setting`,{method:"post",body:vt})})}function Xe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_data_sets.json`,{method:"Get",params:vt})})}function pt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:vt.deleteId}})})}function xt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/new.json`,{method:"get"})})}function ir(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/challenges.json`,{method:"post",body:a({},vt)})})}function Jt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/edit.json`,{method:"get",params:{tab:vt.tab}})})}function Le(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"put",body:a({},vt)})})}function tt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/move_position.json`,{method:"post",body:a({},vt)})})}function Mt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"delete",body:a({},vt)})})}function Wt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit.json`,{method:"get",params:a({},vt)})})}function Ht(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/answer.json`,{method:"get",params:a({},vt)})})}function Pt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/crud_answer.json`,{method:"post",body:a({},vt)})})}function Qt(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_choose_question.json`,{method:"post",body:a({},vt)});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_blank_question.json`,{method:"post",body:a({},vt)});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_judge_question.json`,{method:"post",body:a({},vt)})})}function Ze(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})})})}function fe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:vt.questionId}})})}function pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function It(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function Ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},vt),{choose_id:vt.questionId})})})}function dt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Gt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Ct(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function Pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function St(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/repository.json`,{method:"post",body:vt})})}function ze(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/repository.json`,{method:"post",body:vt})})}function it(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/secret_repository.json`,{method:"post",body:vt})})}function Ie(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Me(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/commits.json`,{method:"post",body:vt})})}function Ir(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/file_content.json`,{method:"post",body:vt})})}function At(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/file_content.json`,{method:"post",body:vt})})}function Hr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_file.json`,{method:"post",body:vt})})}function Yr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/update_file.json`,{method:"post",body:vt})})}function Rr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/upload_git_folder.json`,{method:"post",body:{path:vt.path,secret_repository:vt.secret_repository}})})}function Or(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/${vt.url}`,{method:"Get"})})}function pr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:vt})})}function Nr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:vt})})}function Jr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:vt})})}function sn(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:vt})})}function Xt(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:vt})})}function gt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/fork_list.json`,{method:"Get",params:vt})})}function lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/change_editable.json`,{method:"put",body:a({},vt)})})}function ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/set_secret_dir.json`,{method:"post",body:a({},vt)})})}function Ut(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:vt})})}function br(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:vt})})}function vr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function at(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function Cr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_secret_repository.json`,{method:"post",body:a({},vt)})})}function on(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/exist_exercise.json`,{method:"get",params:a({},vt)})})}function Fn(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${vt.id}.json`,{method:"get",params:a({},vt)})})}function $r(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/publish.json`,{method:"post",body:a({},vt)})})}function Nn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_vnc.json`,{method:"post",params:a({},vt)})})}function zn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_webssh.json`,{method:"post",params:a({},vt)})})}function Tn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/save_image.json`,{method:"post",body:a({},vt)})})}function jn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/delete_image.json`,{method:"post",body:a({},vt)})})}function yn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/extend_vnc.json`,{method:"post",body:a({},vt)})})}function Ei(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/reset_vnc_link.json`,{method:"post",body:a({},vt)})})}function ei(vt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},vt)})})}function Si(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},vt)})})}function zi(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},vt)})})}function Di(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:vt})})}function fa(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${vt}`,{method:"get",params:{is_initiative_study:1}})})}function Qn(vt){return p(this,null,function*(){return Fetch(`/api/shixuns/${vt.id}/update_shixun_study_num.json`,{method:"post",body:a({},vt)})})}function Yi(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:vt})})}function kt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt}/recommend_config.json`,{method:"get"})})}},49234:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return C},oZ:function(){return m},rM:function(){return O},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,se,Q)=>se in H?i(H,se,{enumerable:!0,configurable:!0,writable:!0,value:Q}):H[se]=Q,h=(H,se)=>{for(var Q in se||(se={}))c.call(se,Q)&&o(H,Q,se[Q]);if(l)for(var Q of l(se))f.call(se,Q)&&o(H,Q,se[Q]);return H},u=(H,se,Q)=>new Promise((le,J)=>{var ee=te=>{try{ue(Q.next(te))}catch(q){J(q)}},V=te=>{try{ue(Q.throw(te))}catch(q){J(q)}},ue=te=>te.done?le(te.value):Promise.resolve(te.value).then(ee,V);ue((Q=Q.apply(H,se)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function C(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function O(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:se})})}function K(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:se})})}function G(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:se})})}},86245:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return ee},DA:function(){return O},DH:function(){return p},Ef:function(){return te},Es:function(){return b},Ex:function(){return $t},FM:function(){return Q},Fn:function(){return q},Gq:function(){return rr},Ho:function(){return B},IU:function(){return me},JJ:function(){return ce},Ol:function(){return Ne},Qx:function(){return se},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Bt},dE:function(){return ae},dt:function(){return j},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return C},nV:function(){return He},o1:function(){return Ft},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Oe},vR:function(){return A},w3:function(){return K},x4:function(){return R},z2:function(){return bt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(je,Et,jt)=>Et in je?i(je,Et,{enumerable:!0,configurable:!0,writable:!0,value:jt}):je[Et]=jt,h=(je,Et)=>{for(var jt in Et||(Et={}))c.call(Et,jt)&&o(je,jt,Et[jt]);if(l)for(var jt of l(Et))f.call(Et,jt)&&o(je,jt,Et[jt]);return je},u=(je,Et,jt)=>new Promise((rt,yt)=>{var ht=xe=>{try{Be(jt.next(xe))}catch(Re){yt(Re)}},qe=xe=>{try{Be(jt.throw(xe))}catch(Re){yt(Re)}},Be=xe=>xe.done?rt(xe.value):Promise.resolve(xe.value).then(ht,qe);Be((jt=jt.apply(je,Et)).next())});const a=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}/move.json`,{method:"post",body:je})}),x=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"delete",body:je})}),p=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"put",body:je})}),y=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:je})}),m=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:je})});function b(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},je)})})}function A(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},je)})})}function R(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},je)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function O(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/homepage_info.json`,{method:"get"})})}function M(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/courses.json`,{method:"get",params:je})})}function N(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/shixuns.json`,{method:"get",params:je})})}function K(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/subjects.json`,{method:"get",params:je})})}function G(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/projects.json`,{method:"get",params:je})})}function H(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos.json`,{method:"get",params:je})})}function se(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/review.json`,{method:"get",params:je})})}function Q(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.id}.json`,{method:"delete"})})}function le(je){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:je})})}function J(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:je})})}function ee(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:je})})}function V(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:je})})}function ue(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}function te(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:je})})}function q(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.object_id}/create_course_video.json`,{method:"post",body:je})})}function ce(je){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${je.topicId}.json`,{method:"get",params:je})})}function Z(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},je)})})}function j(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/batch_publish.json`,{method:"post",body:je})})}function ae(je){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${je.identifier}/cancel.json`,{method:"delete",body:h({},je)})})}function me(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},je)})})}function Te(je){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},je)})})}function Oe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Ne(je){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:je})}function Ft(je){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:je})}function bt(je){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},je)})}function Rt(je){return Fetch("/api/weapps/register.json",{method:"post",body:h({},je)})}function $t(je){return(0,r.ZP)(`/api/users/accounts/${je.login}/password.json`,{method:"put",body:h({},je)})}function Bt(je){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},je)})}function rr(je){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},je)})}},69618:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return Q},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return se},jK:function(){return R},yN:function(){return H}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,ee,V)=>ee in J?i(J,ee,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[ee]=V,h=(J,ee)=>{for(var V in ee||(ee={}))c.call(ee,V)&&o(J,V,ee[V]);if(l)for(var V of l(ee))f.call(ee,V)&&o(J,V,ee[V]);return J},u=(J,ee,V)=>new Promise((ue,te)=>{var q=j=>{try{Z(V.next(j))}catch(ae){te(ae)}},ce=j=>{try{Z(V.throw(j))}catch(ae){te(ae)}},Z=j=>j.done?ue(j.value):Promise.resolve(j.value).then(q,ce);Z((V=V.apply(J,ee)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function C(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function O(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function se(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function Q(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function le(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},466:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return O},sT:function(){return b},tS:function(){return N},xt:function(){return C},y2:function(){return l}});var r=e(38986),i=(H,se,Q)=>new Promise((le,J)=>{var ee=te=>{try{ue(Q.next(te))}catch(q){J(q)}},V=te=>{try{ue(Q.throw(te))}catch(q){J(q)}},ue=te=>te.done?le(te.value):Promise.resolve(te.value).then(ee,V);ue((Q=Q.apply(H,se)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function C(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function O(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:se})})}function M(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:se})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:se})})}function K(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:se})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},48790:function(d,_,e){"use strict";e.d(_,{$O:function(){return ee},EO:function(){return pt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return Xe},JL:function(){return C},Jd:function(){return J},Ny:function(){return k},RV:function(){return Q},Rb:function(){return N},Rm:function(){return G},V9:function(){return j},Yh:function(){return q},aN:function(){return b},aQ:function(){return u},ag:function(){return We},bg:function(){return ir},d8:function(){return B},dE:function(){return se},eB:function(){return le},eY:function(){return Jt},fn:function(){return Ge},h:function(){return Ht},j5:function(){return m},m$:function(){return Le},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Kt},y8:function(){return xt}});var r=e(25690),i=(Pt=>(Pt[Pt.SuperAdmin=1]="SuperAdmin",Pt[Pt.Operation=2]="Operation",Pt[Pt.CertifiedTeacher=5]="CertifiedTeacher",Pt[Pt.TrainingProduction=8]="TrainingProduction",Pt[Pt.UncertifiedTeacher=12]="UncertifiedTeacher",Pt[Pt.Student=15]="Student",Pt))(i||{}),l=(Pt=>(Pt[Pt.SuperAdmin=1]="SuperAdmin",Pt[Pt.Operation=2]="Operation",Pt[Pt.Admin=5]="Admin",Pt[Pt.Teacher=8]="Teacher",Pt[Pt.Assistant=12]="Assistant",Pt[Pt.Student=15]="Student",Pt))(l||{}),c=(Pt=>(Pt[Pt.SuperAdmin=0]="SuperAdmin",Pt[Pt.Teacher=1]="Teacher",Pt[Pt.Student=2]="Student",Pt))(c||{});const f=Pt=>{const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return Pt.some(fe=>fe==(Ze==null?void 0:Ze.role))},o=Pt=>{const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return Ze!=null&&Ze.own?!0:Pt.some(fe=>{var pe;return fe==((pe=Ze==null?void 0:Ze.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Pt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Qt}=Pt;return Qt.main_site},u=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return(Pt=Ze==null?void 0:Ze.course)==null?void 0:Pt.course_is_end},a=()=>{const{user:Pt}=getDvaApp()._store.getState(),{userInfo:Qt}=Pt;return Qt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),C=()=>f([1,2,5]),O=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),se=()=>o([15]),Q=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),J=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return((Pt=Ze==null?void 0:Ze.course)==null?void 0:Pt.course_role)===null},ee=()=>{var Pt;const{user:Qt,globalSetting:Ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Qt,pe=((Pt=Ze==null?void 0:Ze.setting)==null?void 0:Pt.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},V=(Pt=!0,Qt=!1)=>f([1,2,5,8,12,15]),ue=(Pt=!0,Qt=!1)=>Qt||!Qt&&f([1]),te=(Pt=!0,Qt=!1)=>Qt||!Qt&&f([1,2]),q=()=>f([15]),ce=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Z=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),j=(Pt=!0,Qt=!1)=>{const{user:Ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ze;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},ae=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),me=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),Te=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Oe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),He=(Pt=!0,Qt=!1)=>Pt?f([1,2,5]):Qt||!Qt&&f([1,2]),Ne=(Pt=!0,Qt=!1)=>Pt?f([1]):!1,Ft=(Pt=!0,Qt=!1)=>f([1,2,5,8,12,15]),bt=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),Rt=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),$t=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Bt=(Pt=!0,Qt=!1)=>Pt?!1:Qt||!Qt&&f([1,2]),rr=(Pt=!0,Qt=!1)=>Pt?Qt||!Qt&&f([1,2]):!1,je=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):!1,Et=(Pt=!0,Qt=!1)=>Pt?!Qt&&f([1,2,5,8,12]):!1,jt=(Pt=!0,Qt=!1)=>Pt?f([1,2,5]):Qt||!Qt&&f([1,2]),rt=(Pt=!0,Qt=!1)=>f([1,2,5,8,12]),yt=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),ht=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),qe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),Be=(Pt=!0,Qt=!1)=>Pt?Qt||!Qt&&f([1,2]):!1,xe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),Re=(Pt=!0,Qt=!1)=>o([8]),Ge=()=>f([1]),We=()=>f([1,2]),Xe=()=>f([15]),pt=()=>f([1,2,5]),xt=()=>f([1,2,5,12]),ir=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState();return!!((Pt=Qt.userInfo)!=null&&Pt.login)},Jt=()=>{const{user:Pt}=(0,r.getDvaApp)()._store.getState();return Pt.userInfo},Le=()=>{var Pt,Qt;const{user:Ze}=(0,r.getDvaApp)()._store.getState();return!!((Qt=(Pt=Ze.userInfo)==null?void 0:Pt.path)!=null&&Qt.own)},tt=Pt=>{const{graduations:Qt}=(0,r.getDvaApp)()._store.getState(),{details:Ze}=Qt;return Pt.some(fe=>fe===(Ze==null?void 0:Ze.user_identity))},Kt=()=>tt([0,1]),Mt=()=>tt([0]),Wt=()=>tt([1]),Ht=()=>tt([2])},32162:function(d,_,e){"use strict";e.d(_,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},77935:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.14",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return ue},ZP:function(){return le},d4:function(){return te},gz:function(){return ce},rz:function(){return Q},v_:function(){return q}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=(j,ae,me)=>ae in j?y(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,O=(j,ae)=>{for(var me in ae||(ae={}))k.call(ae,me)&&C(j,me,ae[me]);if(A)for(var me of A(ae))R.call(ae,me)&&C(j,me,ae[me]);return j},M=(j,ae)=>m(j,b(ae)),B=(j,ae,me)=>new Promise((Te,Oe)=>{var He=bt=>{try{Ft(me.next(bt))}catch(Rt){Oe(Rt)}},Ne=bt=>{try{Ft(me.throw(bt))}catch(Rt){Oe(Rt)}},Ft=bt=>bt.done?Te(bt.value):Promise.resolve(bt.value).then(He,Ne);Ft((me=me.apply(j,ae)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(j,ae)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const me=K[j.status]||j.statusText;let Te;var Oe=j.json();yield Oe.then((Ne,Ft)=>{setTimeout(()=>{let bt=(0,u.getDvaApp)()},400),Te=Ne.message,window.showNetworkErrorTip(Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:Ne.message?"":me})});const He=new Error(me);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Te||me}}),H=(j,ae)=>{const me=j.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function se(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ae){return!1}}const Q=j=>{j=j||{};let ae="";for(let me in j)typeof j[me]=="object"?Array.isArray(j[me])&&j[me].forEach((Te,Oe)=>{ae+="&"+me+"[]="+Te}):j[me]!==void 0&&(ae+="&"+me+"="+(se(j[me])?j[me]:encodeURIComponent(j[me])));return ae.substr(1)};function le(j,ae,me,Te){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const Oe=O({},ae),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=He,Ft=j+(Oe.body?JSON.stringify(Oe.body):""),bt=o().sha256().update(Ft).digest("hex"),Rt={credentials:"include",withCredentials:!0},$t={};Ne!=null&&Ne.login&&($t.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&($t.zzsud=Ne==null?void 0:Ne.school_id),Oe.params=O(O({},Oe.params||{}),$t));let Bt=O(O({},Rt),(0,x.cloneDeep)(Oe));(Bt.method==="POST"||Bt.method==="PUT"||Bt.method==="PATCH"||Bt.method==="DELETE")&&(me?(Bt.headers=M(O({_method:ae.method.toUpperCase()},Bt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Bt.body=Oe.body):(Bt.headers=O({Accept:"application/json",_method:ae.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Bt.headers),Bt.body=JSON.stringify(Oe.body))),Bt.method=="GET"?(Bt.headers=M(O({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Bt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Oe.params&&Q(Oe.params)&&(j+="?"+Q(Oe.params))):$t.zzud&&(j+="?"+Q(O({},$t)));const rr=Oe.expirys&&60;let je;(yt=>{yt.json="application/json;charset=UTF-8",yt.form="application/x-www-form-urlencoded; charset=UTF-8"})(je||(je={}));let Et;(yt=>{yt.get="GET",yt.post="POST"})(Et||(Et={}));const jt=yt=>B(this,null,function*(){const ht=yield yt.arrayBuffer();let qe;const Be=new Blob([ht]);try{qe=yt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const xe=document.createElement("a"),Re=window.URL.createObjectURL(Be),Ge=qe;return xe.href=Re,xe.download=Ge,xe.click(),window.URL.revokeObjectURL(Re),ht});let rt=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(rt=""),Bt.method=="GET"&&Bt.params&&Object.keys(Bt.params).map(yt=>{if(Bt.params[yt]&&!Array.isArray(Bt.params[yt]))try{Bt.params[yt]=encodeURIComponent(decodeURIComponent(Bt.params[yt]))}catch(ht){Bt.params[yt]=encodeURIComponent(Bt.params[yt])}}),(0,a.Ec)(Bt,j),Te&&(rt=""),Bt.headers._method=Bt.method,Bt.headers["X-HTTP-Method-Override"]=Bt.method,Bt.method!=="GET"&&(Bt.method="POST"),fetch(rt+j,Bt).then(yt=>G(yt,O({url:r.Z.API_SERVER+j},Bt))).then(yt=>H(yt,bt)).then(yt=>B(this,null,function*(){var ht,qe,Be,xe;try{const Ge=yt.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(yt.status===204)return yt.text();let Re;if(yt.headers.get("content-type").indexOf("application/json")>-1){Re=yield yt.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Xe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,pt=/\/api\/attachments\/(\d+)/g,xt=/\/attachments\/download\/(\d+)/g;let ir=JSON.stringify(Re).replace(pt,(Jt,Le,tt,Kt)=>{const Mt=Le||tt||Kt;return"/api/attachments/"+(0,a.Jn)(Mt)}).replace(xt,(Jt,Le,tt)=>{const Kt=Le||tt;return"/attachments/download/"+(0,a.Jn)(Kt)}).replace(Ge,(Jt,Le,tt,Kt)=>{const Mt=Le||tt||Kt;return"(/api/attachments/"+(0,a.Jn)(Mt)}).replace(We,(Jt,Le,tt)=>{const Kt=Le||tt;return'"/api/attachments/'+(0,a.Jn)(Kt)}).replace(Xe,(Jt,Le,tt)=>{const Kt=Le||tt;return"(/files/uploads/"+(0,a.Jn)(Kt)}).replace(/\r\n/g,` +`)}]};var u=e(53184),a=e.n(u),x=($t,Bt,rr)=>new Promise((je,Et)=>{var jt=ht=>{try{yt(rr.next(ht))}catch(qe){Et(qe)}},rt=ht=>{try{yt(rr.throw(ht))}catch(qe){Et(qe)}},yt=ht=>ht.done?je(ht.value):Promise.resolve(ht.value).then(jt,rt);yt((rr=rr.apply($t,Bt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=($t,Bt,rr,je)=>{const Et=Bt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:rr.lineNumber,endColumn:rr.column});return Array.from(new Set(Et.match(/\b\w{2,}\b/g)||[])).map(rt=>({label:rt,kind:$t.languages.CompletionItemKind.Text,insertText:rt,range:je}))},m=($t,Bt,rr,je)=>{$t.languages.registerCompletionItemProvider(Bt,{provideCompletionItems(Et,jt){const rt=Et.getWordUntilPosition(jt),yt={startLineNumber:jt.lineNumber,endLineNumber:jt.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},ht=Et.getLineContent(jt.lineNumber).substring(rt.startColumn-2,rt.endColumn);return{suggestions:[...y($t,Et,jt,yt),...rr.map(Be=>({label:Be,kind:$t.languages.CompletionItemKind.Keyword,documentation:Be,insertText:Be,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:yt})),...je.map(Be=>({label:Be.label,kind:$t.languages.CompletionItemKind.Snippet,documentation:Be.content,insertText:ht.startsWith("#")?Be.content.replace(/#/,""):Be.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:yt}))]}}})};var b=$t=>{p.languages.forEach(Bt=>{$t.languages.registerDocumentFormattingEditProvider(Bt,{provideDocumentFormattingEdits(rr){return x(this,null,function*(){const je=a()(rr.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:rr.getFullModelRange(),text:je}]})}})}),m($t,"java",c.keywords,c.quickKey),m($t,"cpp",f.keywords,f.quickKey),m($t,"c",l.keywords,[]),m($t,"python",o.keywords,o.quickKey),m($t,"scala",h.keywords,h.quickKey)};const A="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=($t,Bt,rr)=>Bt in $t?k($t,Bt,{enumerable:!0,configurable:!0,writable:!0,value:rr}):$t[Bt]=rr,C=($t,Bt,rr)=>R($t,typeof Bt!="symbol"?Bt+"":Bt,rr);const O=class kd{constructor(Bt,rr,je){this.placeholder=Bt,this.editor=rr,this.monaco=je,rr.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};C(O,"ID","editor.widget.placeholderHint");var B=O,N=e(96236),K=e(8591),G=e(6848),H=e(89392),se=e(49535),Q=e(56102),le=Object.defineProperty,J=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,q=($t,Bt,rr)=>Bt in $t?le($t,Bt,{enumerable:!0,configurable:!0,writable:!0,value:rr}):$t[Bt]=rr,ce=($t,Bt)=>{for(var rr in Bt||(Bt={}))ue.call(Bt,rr)&&q($t,rr,Bt[rr]);if(V)for(var rr of V(Bt))te.call(Bt,rr)&&q($t,rr,Bt[rr]);return $t},Z=($t,Bt)=>J($t,ee(Bt)),j=($t,Bt)=>{var rr={};for(var je in $t)ue.call($t,je)&&Bt.indexOf(je)<0&&(rr[je]=$t[je]);if($t!=null&&V)for(var je of V($t))Bt.indexOf(je)<0&&te.call($t,je)&&(rr[je]=$t[je]);return rr},ae=($t,Bt,rr)=>new Promise((je,Et)=>{var jt=ht=>{try{yt(rr.next(ht))}catch(qe){Et(qe)}},rt=ht=>{try{yt(rr.throw(ht))}catch(qe){Et(qe)}},yt=ht=>ht.done?je(ht.value):Promise.resolve(ht.value).then(jt,rt);yt((rr=rr.apply($t,Bt)).next())});function me($t){return/^\d+$/.test($t)?`${$t}px`:$t}function Te(){}let Oe=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ne($t=[]){let Bt=$t;if(Array.isArray($t)){for(let rr=0;rr<$t.length;rr++){let je=He[$t[rr]];if(je)return je}return Bt[0]}return He[Bt]||Bt}let Ft=null;var bt=$t=>{var Bt=$t,{width:rr="100%",height:je="100%",value:Et,language:jt="javascript",style:rt={},options:yt={},overrideServices:ht={},theme:qe="vs-dark",onEditBlur:Be,isCopy:xe=!1,onSave:Re,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Xe=Te,editorDidMount:pt=Te,onFocus:xt=Te,onBreakPoint:ir=Te,breakPointValue:Jt=[],filename:Le="educoder.txt",errorLine:tt,errorContent:Kt="",highlightLine:Mt,openBreakPoint:Wt=!1,placeholder:Ht=""}=Bt,Pt=j(Bt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Qt=(0,r.useRef)(),Ze=(0,r.useRef)({}),fe=(0,r.useRef)(),pe=(0,r.useRef)(),It=(0,r.useRef)([]),Ce=(0,r.useRef)(!1),dt=(0,r.useRef)(),Gt=(0,r.useRef)(),Ct=(0,r.useRef)(!1),[Pe,St]=(0,r.useState)(!1);function ze(){let Xt;return Qt.current&&(Xt=new i.Z(gt=>{for(let lt of gt)(lt.target.offsetHeight>0||lt.target.offsetWidth>0)&&Ze.current.instance.layout()}),Xt.observe(Qt.current)),Xt}function it(){K.ZP.warning({content:decodeURIComponent(A),key:"monaco-editor-tip"})}const Ie=()=>{let Xt=Ze.current.instance;if(Et!=null&&Xt&&Pe){const gt=Xt.getModel();gt&&Et!==gt.getValue()&&(Oe=!0,gt.setValue(Et),Xt.layout(),Oe=!1)}};(0,r.useEffect)(()=>{const Xt=se.Z.subscribe("formatDocument",gt=>{var lt;let ft=Ze.current.instance;(lt=ft==null?void 0:ft.getAction)==null||lt.call(ft,"editor.action.formatDocument").run()});return window.updateMonacoValue=gt=>{Xe(gt)},Xt},[]),(0,r.useEffect)(()=>{var Xt;let gt=Ze.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{Ie()},500),Et&&(Et!=null&&Et.length)&&((Xt=gt==null?void 0:gt.updateOptions)==null||Xt.call(gt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Et.split(/\r\n|\r|\n/g).length))+3,5)}))},[Et,Pe,Ze.current]),(0,r.useEffect)(()=>{if(tt&&Ze.current&&Ze.current.instance){let gt=Ze.current.instance;gt.changeViewZones(function(lt){var ft=document.createElement("div");ft.style.padding="10px 20px",ft.style.width="calc(100% - 20px)",ft.className="my-error-line-wrp",ft.innerHTML=Kt,lt.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:ft})});var Xt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};gt.addOverlayWidget(Xt),gt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Ze.current,Pe]);const Lt=(Xt="",gt)=>{if(!Xt||Xt.trim()==="")return!0;const ft=Ze.current.instance.getModel().getLineTokens(gt);let Ut=!1;for(let br=0;br<2;br++)ft.getStandardTokenType(br)===1&&(Ut=!0);return Ut};(0,r.useEffect)(()=>{var Xt;const gt=(Xt=Ze.current)==null?void 0:Xt.instance;if(gt&&Pe&&We){const lt=gt.onDidBlurEditorWidget(()=>{Ct.current=!1}),ft=gt.onDidFocusEditorText(()=>{Ct.current=!0});return()=>{lt.dispose(),ft.dispose()}}},[Ze.current,Pe,We]),(0,r.useEffect)(()=>{var Xt;if((Xt=Ze.current)!=null&&Xt.instance&&Pe&&Wt){let gt=Ze.current.instance,lt=gt.getModel();if(!lt)return;(()=>{var Tn;let jn=[],yn=[];const Ei=lt.getAllDecorations();for(let Si of Ei)Si.options.className==="highlighted-line"&&(jn.push((Tn=Si==null?void 0:Si.range)==null?void 0:Tn.startLineNumber),yn.push(Si==null?void 0:Si.id));if(Mt===jn[0])return;lt.deltaDecorations(yn,[]);const ei=lt.getLineCount();Mt&&Mt<=ei&&(gt.deltaDecorations([],[{range:new Ft.Range(Mt,1,Mt,lt.getLineMaxColumn(Mt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),gt.revealLineInCenter(Mt))})();const Ut=(Tn=!1)=>{var jn;let yn=[],Ei=[];const ei=lt.getAllDecorations();for(let Si of ei)Si.options.linesDecorationsClassName==="breakpoints-select"&&(yn.push((jn=Si==null?void 0:Si.range)==null?void 0:jn.startLineNumber),Ei.push(Si==null?void 0:Si.id));if(Tn)return{lines:yn,ids:Ei};ir(yn)},br=Tn=>ae(void 0,null,function*(){let jn={range:new Ft.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield lt.deltaDecorations([],[jn]),Ut()}),vr=Tn=>ae(void 0,null,function*(){let jn=[];const yn=gt.getLineDecorations(Tn);for(let Ei of yn)Ei.options.linesDecorationsClassName==="breakpoints-select"&&jn.push(Ei.id);yield lt.deltaDecorations(jn,[]),Ut()}),at=Tn=>{let jn=gt.getLineDecorations(Tn);for(let yn of jn)if(yn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(Jt,Ut(!0).lines)){lt.deltaDecorations(Ut(!0).ids,[]);const Tn=Jt.map(jn=>({range:new Ft.Range(jn,1,jn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));lt.deltaDecorations([],Tn)}const Cr=gt.onDidChangeModelContent(Tn=>{let jn=gt.getPosition();if(jn){let yn=jn.lineNumber;clearTimeout(Gt.current),Gt.current=setTimeout(()=>{Lt(lt.getLineContent(yn),yn)?vr(yn):at(yn)?(vr(yn),br(yn)):Ut()},100)}}),on=gt.onMouseDown(Tn=>{var jn,yn,Ei;if(Tn.target.detail&&((Ei=(yn=(jn=Tn.target)==null?void 0:jn.element)==null?void 0:yn.className)!=null&&Ei.includes("line-numbers"))){let ei=Tn.target.position.lineNumber;if(Lt(lt.getLineContent(ei),ei))return;at(ei)?vr(ei):br(ei)}}),Fn=Tn=>{let jn={range:new Ft.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};It.current=gt.deltaDecorations(It.current,[jn])},$r=()=>{It.current=gt.deltaDecorations(It.current,[])},Nn=gt.onMouseMove(Tn=>{var jn,yn,Ei;if($r(),Tn.target.detail&&((Ei=(yn=(jn=Tn.target)==null?void 0:jn.element)==null?void 0:yn.className)!=null&&Ei.includes("line-numbers"))){let ei=Tn.target.position.lineNumber;if(Lt(lt.getLineContent(ei),ei))return;Fn(ei)}}),zn=gt.onMouseLeave(()=>{$r()});return()=>{Cr.dispose(),on.dispose(),Nn.dispose(),zn.dispose()}}},[Ze.current,Pe,Jt,Mt,Wt,jt]),(0,r.useEffect)(()=>{var Xt;(Xt=Ze.current)!=null&&Xt.instance&&Wt&&Ze.current.instance.setPosition({lineNumber:0,column:0})},[Mt]);function Me(){let Xt=Ze.current.instance;if(Xt){const gt=Xt.getSelection(),lt=Ze.current.pastePos||{},ft=new Ft.Range(lt.startLineNumber||gt.endLineNumber,lt.startColumn||gt.endColumn,lt.endLineNumber||gt.endLineNumber,lt.endColumn||gt.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:ft,text:""}])},300)}}function Ir(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),Re())}const At=()=>{if(Ge&&Ze.current.instance){const Xt=Ze.current.instance.getContentHeight();Jr(Xt{if(!Ct.current)return;const{keyCode:gt,ctrlKey:lt,metaKey:ft,target:Ut,type:br}=Xt;return(br==="paste"||(gt===67||gt===86)&&(ft||lt))&&Ut.nodeName==="TEXTAREA"&&(it(),Xt.preventDefault()),!1};function Rr(Xt,gt){var lt=window.URL||window.webkitURL||window,ft=new Blob([gt]),Ut=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ut.href=lt.createObjectURL(ft),Ut.download=Xt,Hr(Ut)}(0,r.useEffect)(()=>{At()},[At]),(0,r.useEffect)(()=>{Qt.current&&!Pe&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(Xt=>{try{Ft=Xt,Ze.current.instance=Ft.editor.create(Qt.current,{value:Et,language:Ne(jt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ht);const gt=Ze.current.instance;let Ut=[...N.BH._menuItems].find(Cr=>Cr[0]._debugName=="EditorContext")[1],br=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vr=(Cr,on)=>{var Fn,$r;let Nn=Cr._first;do on.includes(($r=(Fn=Nn.element)==null?void 0:Fn.command)==null?void 0:$r.id)&&Cr._remove(Nn);while(Nn=Nn.next)};if(pt(gt,Ft),setTimeout(()=>{At(),Ze.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Rr(Le||"educoder.txt",gt.getValue())}})},500),Ze.current.subscription=gt.onDidChangeModelContent(Cr=>{Ce.current?clearTimeout(dt.current):(At(),Xe(gt.getValue(),Cr)),dt.current=setTimeout(()=>{Ce.current=!1},500)}),window.Monaco||b(Ft,Ne(jt)),We&&(vr(Ut,br),Qt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yr),window.removeEventListener("paste",Yr),window.addEventListener("keydown",Yr),window.addEventListener("paste",Yr)),window.Monaco=Ft,Be&>.onDidBlurEditorWidget(()=>{Be(gt.getValue())}),xt&>.onDidFocusEditorText(()=>{xt(gt.getValue())}),We)try{gt.onDidPaste(Cr=>{const on=gt.getSelection(),Fn=Ze.current.pastePos||{},$r=new Ft.Range(Fn.startLineNumber||on.endLineNumber,Fn.startColumn||on.endColumn,Fn.endLineNumber||on.endLineNumber,Fn.endColumn||on.endColumn);gt.executeEdits("",[{range:Cr.range,text:""}])})}catch(Cr){}let at=ze();return Ht&&typeof Ht=="string"&&new B(Ht,gt,Ft),St(!0),()=>{const Cr=Ze.current.instance;Cr.dispose();const on=Cr.getModel();on&&on.dispose(),Ze.current.subscription&&Ze.current.subscription.dispose(),at.unobserve(Qt.current)}}catch(gt){}})},[]),(0,r.useEffect)(()=>{if(Ze.current.instance&&Pe)return document.addEventListener("keydown",Ir,!1),()=>{document.removeEventListener("keydown",Ir)}},[Re,Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;if(Xt&&Pe){let gt=Ne(jt);Ft.editor.setModelLanguage(Xt.getModel(),gt)}},[jt,Pe]),(0,r.useEffect)(()=>{Ze.current.instance&&Pe&&Ft.editor.setTheme(qe)},[qe,Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;fe.current=yt,Xt&&Pe&&(Xt.updateOptions(ce({},yt)),setTimeout(()=>{Xt.getModel().updateOptions(ce({},yt))},200))},[JSON.stringify(yt),Pe]),(0,r.useEffect)(()=>{let Xt=Ze.current.instance;Xt&&Pe&&Xt.layout()},[rr,je,Pe]);const[Or,pr]=(0,r.useState)(me(rr)),[Nr,Jr]=(0,r.useState)(me(je)),sn=Z(ce({},rt),{width:Or,height:Nr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Qt,style:sn},xe&&r.createElement(Q.CopyToClipboard,{text:Et,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Rt({width:$t="100%",height:Bt="100%",original:rr,modified:je,language:Et,options:jt={}}){const rt=(0,r.useRef)(),[yt,ht]=(0,r.useState)(null);function qe(Ge){let We;return rt.current&&(We=new i.Z(Xe=>{for(let pt of Xe)(pt.target.offsetHeight>0||pt.target.offsetWidth>0)&&Ge.layout()}),We.observe(rt.current)),We}(0,r.useEffect)(()=>(rt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Ft=Ge;const We=Ft.editor.createDiffEditor(rt.current,Z(ce({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},jt),{wordWrap:!0}));ht(We);let Xe=qe(We);return()=>{We.dispose();const pt=We.getModel();pt&&pt.dispose(),Xe.unobserve(rt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{yt&&yt.setModel({original:Ft.editor.createModel(rr,Et),modified:Ft.editor.createModel(je,Et)})},[rr,je,Et,yt]);const Be=me($t),xe=me(Bt),Re={width:Be,height:xe};return r.createElement("div",{className:"my-diff-editor",ref:rt,style:Re})}},32026:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,C)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:C}):k[R]=C,p=(k,R)=>{for(var C in R||(R={}))u.call(R,C)&&x(k,C,R[C]);if(h)for(var C of h(R))a.call(R,C)&&x(k,C,R[C]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var C={};for(var O in k)u.call(k,O)&&R.indexOf(O)<0&&(C[O]=k[O]);if(k!=null&&h)for(var O of h(k))R.indexOf(O)<0&&a.call(k,O)&&(C[O]=k[O]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:C}){yield C({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:C,select:O}){const{userInfo:M}=yield O(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:C,select:O}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield O(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:C,select:O}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield O(Q=>Q.engineeringEvaluteList),{userInfo:H}=yield O(Q=>Q.user);let se=K.active[b[1]];if(se){let Q={id:se,page:B||1,per_page:N||G.pageSize};M&&(Q=y(p({},Q),{page:G.pageNo}));const le=yield R(r._y,Q),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:Q.page,total:le.count,pageSize:Q.per_page||G.pageSize,dataSource:le.ec_courses.map((ee,V)=>y(p({},ee),{key:Q.page>1?(Q.page-1)*Q.per_page+V+1:V+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:C}){const{headerData:O}=yield C(M=>M.engineeringEvaluteList);O.active[b[1]]&&(yield R(r.F,O.active[b[1]]))},*compute({payload:k},{call:R,put:C}){const O=k,{all:M}=O,B=m(O,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let C=k.headerData.active;return R.active&&(C=y(p({},C),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:C})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:C})=>{C==="/"&&k({type:"query"})})}}};_.Z=A},55305:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:R,subjective_questions:C,practical_questions:O,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},96999:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},98750:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return O},Zm:function(){return u},bz:function(){return f},eF:function(){return A},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return C}});var r=e(38986),i=(N,K,G)=>new Promise((H,se)=>{var Q=ee=>{try{J(G.next(ee))}catch(V){se(V)}},le=ee=>{try{J(G.throw(ee))}catch(V){se(V)}},J=ee=>ee.done?H(ee.value):Promise.resolve(ee.value).then(Q,le);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function C(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function O(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},97402:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,A)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):m[b]=A,h=(m,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(m,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(m,A,b[A]);return m},u=(m,b,A)=>new Promise((k,R)=>{var C=B=>{try{M(A.next(B))}catch(N){R(N)}},O=B=>{try{M(A.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(C,O);M((A=A.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},44203:function(d,_,e){"use strict";e.d(_,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var K=se=>{try{H(M.next(se))}catch(Q){N(Q)}},G=se=>{try{H(M.throw(se))}catch(Q){N(Q)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function m(C){return u(this,null,function*(){const{id:O}=C;return delete C.id,(0,r.ZP)(`/api/files/${O}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function A(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},32967:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return A},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var K=se=>{try{H(M.next(se))}catch(Q){N(Q)}},G=se=>{try{H(M.throw(se))}catch(Q){N(Q)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function m(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function A(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},82264:function(d,_,e){"use strict";e.d(_,{$T:function(){return vr},A:function(){return Ht},Ab:function(){return ei},Al:function(){return q},BQ:function(){return ht},BR:function(){return te},Bn:function(){return Ge},Cq:function(){return Ut},DJ:function(){return Ne},Dd:function(){return m},Ds:function(){return Be},EO:function(){return Pt},Ed:function(){return Ft},F9:function(){return pt},FU:function(){return ir},Fg:function(){return b},GV:function(){return rr},Gk:function(){return J},Gm:function(){return jt},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return Jr},IU:function(){return Ce},J2:function(){return $t},K$:function(){return xe},KP:function(){return bt},KT:function(){return Oe},L$:function(){return Kt},LH:function(){return O},Lk:function(){return Yi},Ls:function(){return ae},MA:function(){return Fn},Mc:function(){return Qn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return It},Ns:function(){return sn},O3:function(){return He},Pj:function(){return Et},QX:function(){return pe},QZ:function(){return Te},R2:function(){return V},Rk:function(){return br},S9:function(){return Mt},U8:function(){return gt},UD:function(){return Rr},U_:function(){return se},Uy:function(){return pr},V8:function(){return K},Vw:function(){return j},W0:function(){return Gt},W7:function(){return qe},WK:function(){return $r},Wr:function(){return Ei},YR:function(){return Ze},Z0:function(){return Ie},ZL:function(){return St},ZT:function(){return Si},ZX:function(){return zn},Z_:function(){return M},_0:function(){return B},_9:function(){return rt},_B:function(){return Di},aP:function(){return Ct},aQ:function(){return yt},aZ:function(){return Le},al:function(){return Wt},bm:function(){return Yr},bz:function(){return We},c_:function(){return ft},ds:function(){return Hr},fN:function(){return Nn},fr:function(){return Qt},g4:function(){return Bt},gq:function(){return R},hf:function(){return Z},i:function(){return Lt},i6:function(){return Cr},i7:function(){return Nr},iE:function(){return a},ih:function(){return Tn},kW:function(){return Rt},km:function(){return Xt},nP:function(){return p},nQ:function(){return Xe},nX:function(){return Ir},oM:function(){return Re},oR:function(){return fa},o_:function(){return Pe},pf:function(){return At},pr:function(){return zi},pv:function(){return at},qB:function(){return ce},r2:function(){return N},rS:function(){return C},s:function(){return jn},sb:function(){return tt},sm:function(){return y},t1:function(){return je},tB:function(){return yn},tR:function(){return xt},td:function(){return dt},uh:function(){return Jt},up:function(){return lt},v2:function(){return x},vV:function(){return ze},w9:function(){return Q},wR:function(){return on},yS:function(){return fe},yV:function(){return ee},yd:function(){return Me},zg:function(){return me}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(kt,vt,Pi)=>vt in kt?i(kt,vt,{enumerable:!0,configurable:!0,writable:!0,value:Pi}):kt[vt]=Pi,h=(kt,vt)=>{for(var Pi in vt||(vt={}))c.call(vt,Pi)&&o(kt,Pi,vt[Pi]);if(l)for(var Pi of l(vt))f.call(vt,Pi)&&o(kt,Pi,vt[Pi]);return kt},u=(kt,vt,Pi)=>new Promise((Gi,ui)=>{var wa=vn=>{try{qn(Pi.next(vn))}catch(nr){ui(nr)}},hi=vn=>{try{qn(Pi.throw(vn))}catch(nr){ui(nr)}},qn=vn=>vn.done?Gi(vn.value):Promise.resolve(vn.value).then(wa,hi);qn((Pi=Pi.apply(kt,vt)).next())});const a=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/course_videos/configs.json`,{method:"put",body:kt})}),x=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:kt})}),p=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:kt})}),y=kt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:kt})}),m=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:kt})}),b=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:kt})}),A=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:kt})}),k=kt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:kt})});function R(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},kt.permissions)})})}function C(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},kt)})})}function O(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/ai_status_query.json`,{method:"Get",params:kt})})}function M(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},kt)})})}function B(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/get_user_portrait_config.json`,{method:"Get",params:kt})})}function N(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_user_portrait_config.json?id=${kt.coursesId}`,{method:"put",body:h({},kt)})})}function K(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},kt)})})}function G(kt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},kt)})})}function H(kt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},kt)})})}function se(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/top_banner.json`,{method:"get",params:h({},kt)})})}function Q(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id||kt.coursesId}/left_banner.json`,{method:"get",params:h({},kt)})})}function le(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons.json`,{method:"get",params:h({},kt)})})}function J(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons/list.json`,{method:"get",params:h({},kt)})})}function ee(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/graduation_topics.json`,{method:"get",params:h({},kt)})})}function V(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/graduation_tasks.json`,{method:"get",params:h({},kt)})})}function ue(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${kt.id}/exercises.json`,{method:"get",params:h({},kt)})})}function te(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/polls.json`,{method:"get",params:h({},kt)})})}function q(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/homework_commons.json`,{method:"get",params:h({},kt)})})}function ce(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_groups.json`,{method:"get",params:h({},kt)})})}function Z(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/all_course_groups.json`,{method:"get",params:h({},kt)})})}function j(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/attendances.json`,{method:"get",params:h({},kt)})})}function ae(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${kt.coursesId}/attendances.json`,{method:"get",params:h({},kt)})})}function me(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${kt.id}/edit.json`,{method:"get",params:h({},kt)})})}function Te(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/informs.json`,{method:"get",params:h({},kt)})})}function Oe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},kt)})})}function He(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_videos.json`,{method:"get",params:h({},kt)})})}function Ne(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/live_links.json`,{method:"get",params:h({},kt)})})}function Ft(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},kt)})})}function bt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${kt.categoryId}/messages.json`,{method:"get",params:h({},kt)})})}function Rt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/course_groups.json`,{method:"get",params:h({},kt)})})}function $t(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/students.json`,{method:"get",params:h({},kt)})})}function Bt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/statistics.json`,{method:"get",params:h({},kt)})})}function rr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/work_score.json`,{method:"get",params:h({},kt)})})}function je(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/act_score.json`,{method:"get",params:h({},kt)})})}function Et(kt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},kt)})})}function jt(kt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},kt)})})}function rt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},kt)})})}function yt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},kt)})})}function ht(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt==null?void 0:kt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},kt)})})}function qe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},kt)})})}function Be(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},kt)})})}function xe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:kt})})}function Re(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:kt})})}function Ge(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:kt})})}function We(kt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:kt})})}function Xe(kt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:kt})})}function pt(kt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},kt)})})}function xt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.identifier}/add_student_groups.json`,{method:"post",body:kt})})}function ir(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:kt})})}function Jt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/add_teacher.json`,{method:"post",body:kt})})}function Le(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/add_students_by_search.json`,{method:"post",body:kt})})}function tt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/set_public_or_private.json`,{method:"post",body:kt})})}function Kt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/set_invite_code_halt.json`,{method:"post",body:kt})})}function Mt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/duplicate_course.json`,{method:"post",body:kt})})}function Wt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/update_end_date.json`,{method:"put",body:kt})})}function Ht(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}.json`,{method:"delete",body:kt})})}function Pt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/settings.json`,{method:"get",params:h({},kt)})})}function Qt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}.json`,{method:"put",body:kt})})}function Ze(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},kt)})})}function pe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},kt)})})}function It(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},kt)})})}function Ce(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},kt)})})}function dt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},kt)})})}function Gt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},kt)})})}function Ct(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},kt)})})}function Pe(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},kt)})})}function St(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},kt)})})}function ze(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},kt)})})}function it(kt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${kt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},kt)})})}function Ie(kt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${kt.id}.json`,{method:"delete",params:{export:!0}})})}function Lt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${kt.id}.json`,{method:"delete",params:{export:!0}})})}function Me(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${kt.id}/sticky_module.json`,{method:"get"})})}function Ir(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${kt.id}/hidden_module.json`,{method:"get"})})}function At(kt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:kt})})}function Hr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${kt.id}.json`,{method:"get",params:kt})})}function Yr(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:kt})})}function Rr(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:kt})})}function Or(kt){return u(this,null,function*(){return Fetch(`/api/polls/${kt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},kt)})})}function pr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},kt)})})}function Nr(kt){return(0,r.ZP)(`/api/polls/${kt.categoryId}/start_answer.json`,{method:"get",params:h({},kt)})}function Jr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${kt.questionId}/poll_votes.json`,{method:"post",body:kt})})}function sn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${kt.categoryId}/commit_poll.json`,{method:"post",body:kt})})}function Xt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.courseId}/tasks_list.json`,{method:"get",params:kt})})}function gt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.courseId}/update_task_position.json`,{method:"post",body:kt})})}function lt(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:kt})})}function ft(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/all_course_groups.json`,{method:"get",params:kt})})}function Ut(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/polls/all_course_groups.json`,{method:"get",params:kt})})}function br(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/students.json`,{method:"get",params:kt})})}function vr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${kt.categoryId}/rename_group.json`,{method:"POST",body:kt})})}function at(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${kt.categoryId}.json`,{method:"delete",body:kt})})}function Cr(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/join_course_group.json`,{method:"POST",body:kt})})}function on(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/transfer_to_course_group.json`,{method:"post",body:kt})})}function Fn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/delete_from_course.json`,{method:"post",body:kt})})}function $r(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/join_course_group.json`,{method:"post",body:kt})})}function Nn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/exit_course.json`,{method:"post"})})}function zn(kt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},kt)})})}function Tn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users/${kt.user_id}/edit.json`,{method:"get",params:kt})})}function jn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users.json`,{method:"post",body:kt})})}function yn(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.coursesId}/mooc_users/${kt.user_id}.json`,{method:"put",body:kt})})}function Ei(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${kt.id}/move_category.json`,{method:"post",body:kt})})}function ei(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${kt.id}/move_category.json`,{method:"post",body:kt})})}function Si(kt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt.id}/courseware.json`,{method:"get",params:kt})})}function zi(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt}/mark_wrong_topic.json`,{method:"get",params:vt})})}function Di(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${kt}/cancel_wrong_topic.json`,{method:"get",params:vt})})}function fa(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${kt}/allow_end_group.json`,{method:"get",params:vt})})}function Qn(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${kt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:vt})})}function Yi(kt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${kt}/get_content_for_commit_id.json`,{method:"get",params:vt})})}},73801:function(d,_,e){"use strict";e.d(_,{$M:function(){return Bt},$P:function(){return ir},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return te},IN:function(){return Be},JM:function(){return We},Ju:function(){return $t},Mn:function(){return qe},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return A},Qp:function(){return V},R9:function(){return se},Ux:function(){return ue},Vy:function(){return He},XJ:function(){return j},XR:function(){return bt},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return xe},ml:function(){return ce},o3:function(){return je},pA:function(){return jt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return yt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return pt},rV:function(){return C},rZ:function(){return Xe},rk:function(){return Te},rm:function(){return ee},sK:function(){return J},sL:function(){return rt},su:function(){return Re},tC:function(){return Oe},tO:function(){return Ne},u9:function(){return q},uZ:function(){return me},vV:function(){return K},xx:function(){return Jt},y8:function(){return Rt},yS:function(){return N},zF:function(){return y},zc:function(){return Q},zj:function(){return O},zz:function(){return xt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Le,tt,Kt)=>tt in Le?i(Le,tt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Le[tt]=Kt,h=(Le,tt)=>{for(var Kt in tt||(tt={}))c.call(tt,Kt)&&o(Le,Kt,tt[Kt]);if(l)for(var Kt of l(tt))f.call(tt,Kt)&&o(Le,Kt,tt[Kt]);return Le},u=(Le,tt,Kt)=>new Promise((Mt,Wt)=>{var Ht=Ze=>{try{Qt(Kt.next(Ze))}catch(fe){Wt(fe)}},Pt=Ze=>{try{Qt(Kt.throw(Ze))}catch(fe){Wt(fe)}},Qt=Ze=>Ze.done?Mt(Ze.value):Promise.resolve(Ze.value).then(Ht,Pt);Qt((Kt=Kt.apply(Le,tt)).next())});const a=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/create_guide.json`,{method:"post",body:Le}),x=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/guides.json`,{method:"get",params:Le}),p=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.competition_team_id}/edit_info.json`,{method:"put",body:Le});function y(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_result.json`,{method:"post",body:Le})})}function m(Le){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Le)})})}function b(Le){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Le})})}function A(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post"})})}function k(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_staff.json`,{method:"get"})})}function R(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/common_header.json`,{method:"get"})})}function C(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/${Le.url}`,{method:"get",params:h({},Le)})})}function O(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_md_content.json`,{method:"post",body:Le})})}function M(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function B(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}/edit.json`,{method:"get",params:Le})})}function N(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}.json`,{method:"put",body:Le})})}function K(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}/leave.json`,{method:"post",body:Le})})}function G(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}.json`,{method:"delete"})})}function H(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post",body:Le})})}function se(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/add_managers.json`,{method:"post",body:Le})})}function Q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/join.json`,{method:"post",body:Le})})}function le(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/teachers.json`,{method:"get",params:Le})})}function J(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/students.json`,{method:"get",params:Le})})}function ee(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/crud_team_members.json`,{method:"post",body:Le})})}function V(Le){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Le})})}function ue(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/chart_rules.json`,{method:"get"})})}function te(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/charts.json`,{method:"get",params:Le})})}function q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/results.json`,{method:"get",params:Le})})}function ce(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/md_tab_rules.json`,{method:"get",params:Le})})}function Z(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize.json`,{method:"get",params:Le})})}function j(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.id}.json`,{method:"get",params:Le})})}function ae(Le){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Le})})}function me(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/phone_bind.json`,{method:"post",body:Le})})}function Te(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/email_bind.json`,{method:"post",body:Le})})}function Oe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize_leader_account.json`,{method:"put",body:Le})})}function Ft(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/shixun_detail.json`,{method:"get"})})}function bt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/course_detail.json`,{method:"get"})})}function Rt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Le.id}.json`,{method:"delete"})})}function $t(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/get_certificate_info.json`,{method:"get",params:Le})})}function Bt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/basic_setting.json`,{method:"post",body:Le})})}function rr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function je(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/common_header.json`,{method:"get"})})}function Et(Le){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Le})})}function jt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/search_managers.json`,{method:"get",params:Le})})}function rt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_managers.json`,{method:"get"})})}function yt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/add_managers.json`,{method:"post",body:Le})})}function ht(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/delete_managers.json`,{method:"delete",body:Le})})}function qe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_picture.json`,{method:"get"})})}function Be(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/identifier_exist.json`,{method:"post",body:Le})})}function xe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_shixun_settings.json`,{method:"get"})})}function Re(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_add.json`,{method:"post",body:Le})})}function Ge(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_delete.json`,{method:"delete",body:Le})})}function We(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_select.json`,{method:"post",body:Le})})}function Xe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/info_finish.json`,{method:"get"})})}function pt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/competition_review.json`,{method:"post",body:h({},Le)})})}function xt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function ir(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/all_team_members.json`,{method:"get",params:Le})})}function Jt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Le})})}},1103:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return O},ff:function(){return A},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return le},bA:function(){return ee},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return C},Xl:function(){return B},y9:function(){return G},No:function(){return se},ay:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,te,q)=>te in ue?i(ue,te,{enumerable:!0,configurable:!0,writable:!0,value:q}):ue[te]=q,a=(ue,te)=>{for(var q in te||(te={}))o.call(te,q)&&u(ue,q,te[q]);if(f)for(var q of f(te))h.call(te,q)&&u(ue,q,te[q]);return ue},x=(ue,te)=>l(ue,c(te)),p=(ue,te)=>{var q={};for(var ce in ue)o.call(ue,ce)&&te.indexOf(ce)<0&&(q[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))te.indexOf(ce)<0&&h.call(ue,ce)&&(q[ce]=ue[ce]);return q},y=(ue,te,q)=>new Promise((ce,Z)=>{var j=Te=>{try{me(q.next(Te))}catch(Oe){Z(Oe)}},ae=Te=>{try{me(q.throw(Te))}catch(Oe){Z(Oe)}},me=Te=>Te.done?ce(Te.value):Promise.resolve(Te.value).then(j,ae);me((q=q.apply(ue,te)).next())});const m=ue=>y(void 0,null,function*(){var te=ue,{id:q}=te,ce=p(te,["id"]);return(0,r.ZP)(`/api/ec_years/${q}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let te=document.createElement("iframe");te.src=`/api/ec_years/${ue}/course_results.xlsx`,te.style.display="none",document.body.appendChild(te)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:te,class_name:q=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${te}.json`,{method:"get",params:{class_name:q}}),R=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),O=ue=>{let te=document.createElement("iframe");te.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,te.style.display="none",document.body.appendChild(te)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${te}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:te,formula_two:q,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:te,formula_two_id:q,formula_three_id:ce}}),H=({ec_year_id:ue,id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${te}.json`,{method:"get"}),se=ue=>{var te=ue,{ec_year_id:q,type:ce,goal_value:Z}=te,j=p(te,["ec_year_id","type","goal_value"]);let ae=`?type=${ce}`,me={method:"PUT"};return ce==="all"&&(ae+=`&goal_value=${Z}`),ce==="each"&&(me=x(a({},me),{body:j})),(0,r.ZP)(`/api/ec_years/${q}/ec_graduation_results/set_goal_value${ae}`,me)};var Q=(ue,te,q)=>new Promise((ce,Z)=>{var j=Te=>{try{me(q.next(Te))}catch(Oe){Z(Oe)}},ae=Te=>{try{me(q.throw(Te))}catch(Oe){Z(Oe)}},me=Te=>Te.done?ce(Te.value):Promise.resolve(Te.value).then(j,ae);me((q=q.apply(ue,te)).next())});const le=ue=>Q(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),J=ue=>Q(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),ee=({ec_year_id:ue,school_id:te})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:te}}),V=({id:ue,name:te})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${te}`,{method:"PUT"})},81722:function(d,_,e){"use strict";e.d(_,{$Q:function(){return O},$l:function(){return vr},BJ:function(){return ht},CD:function(){return tt},Cd:function(){return pt},Cl:function(){return Me},Di:function(){return rr},Fl:function(){return jt},G$:function(){return ce},GK:function(){return Et},Ip:function(){return xe},J:function(){return Z},KE:function(){return rt},L8:function(){return Qt},LP:function(){return Re},MK:function(){return je},Mb:function(){return Rr},N0:function(){return G},N3:function(){return Ne},OO:function(){return R},P8:function(){return sn},PJ:function(){return ae},PT:function(){return pr},Qc:function(){return se},RK:function(){return q},Ty:function(){return it},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Jt},Ul:function(){return Xe},VL:function(){return Wt},Vj:function(){return fe},W4:function(){return ir},WL:function(){return pe},Wj:function(){return te},X4:function(){return Be},Xn:function(){return Hr},Xo:function(){return le},YY:function(){return Bt},Ym:function(){return N},Yu:function(){return Xt},ZD:function(){return Jr},Zg:function(){return Ir},_B:function(){return Le},_F:function(){return Or},_U:function(){return ee},_u:function(){return me},aU:function(){return K},ab:function(){return Lt},cC:function(){return ze},cV:function(){return V},ck:function(){return Nr},dp:function(){return H},eA:function(){return Ut},fG:function(){return A},gA:function(){return ue},gG:function(){return Yr},gJ:function(){return gt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return St},kp:function(){return Ht},lL:function(){return C},lf:function(){return He},n$:function(){return Oe},n7:function(){return J},nF:function(){return Ze},o3:function(){return lt},oS:function(){return Ge},oX:function(){return Mt},oy:function(){return Ie},p7:function(){return B},pL:function(){return Kt},pu:function(){return qe},q6:function(){return Pt},qf:function(){return $t},qz:function(){return We},s:function(){return Ct},sA:function(){return It},sS:function(){return ft},tX:function(){return Gt},uR:function(){return bt},ux:function(){return yt},wy:function(){return Rt},xA:function(){return Pe},yE:function(){return Q},yu:function(){return Ce},zP:function(){return M},zR:function(){return br}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(at,Cr,on)=>Cr in at?i(at,Cr,{enumerable:!0,configurable:!0,writable:!0,value:on}):at[Cr]=on,a=(at,Cr)=>{for(var on in Cr||(Cr={}))o.call(Cr,on)&&u(at,on,Cr[on]);if(f)for(var on of f(Cr))h.call(Cr,on)&&u(at,on,Cr[on]);return at},x=(at,Cr)=>l(at,c(Cr)),p=(at,Cr,on)=>new Promise((Fn,$r)=>{var Nn=jn=>{try{Tn(on.next(jn))}catch(yn){$r(yn)}},zn=jn=>{try{Tn(on.throw(jn))}catch(yn){$r(yn)}},Tn=jn=>jn.done?Fn(jn.value):Promise.resolve(jn.value).then(Nn,zn);Tn((on=on.apply(at,Cr)).next())});const y=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:at}),m=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:at}),b=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:at}),A=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:at}),k=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:at}),R=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score.json`,{method:"get",params:at}),C=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:at}),O=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/score_ranges.json`,{method:"get",params:at}),M=at=>(0,r.ZP)(`/api/exercises/${at.id}/sava_exam_summary.json`,{method:"post",body:at}),B=at=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:at}),N=at=>(0,r.ZP)(`/api/exercises/${at.id}/generate_exam_summary.json`,{method:"post",body:at}),K=at=>(0,r.ZP)(`/api/exercises/${at.id}/exam_summary_settings.json`,{method:"post",body:at}),G=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/review_exercise_user.json`,{method:"post",body:at})}),H=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/code_check.json`,{method:"get",params:at}),se=at=>(0,r.ZP)(`/api/exercises/${at.id}/reset_pwd.json`,{method:"post",body:at}),Q=at=>(0,r.ZP)(`/api/exercises/${at.id}/encrypt_or_decrypt.json`,{method:"post",body:at}),le=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time_or_force.json`,{method:"post",body:at})}),J=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_time.json`,{method:"Get",params:at})}),ee=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_question_result.json`,{method:"get",params:at}),V=at=>(0,r.ZP)(`/api/exercises/${at.id}/get_question_type_alias.json`,{method:"get",params:at});function ue(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/teacher_update.json`,{method:"post",body:a({},at)})})}function te(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/adjust_comment.json`,{method:"post",body:a({},at)})})}function q(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/edit_question_type_alias.json`,{method:"POST",body:at})})}function ce(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.json`,{method:"get",params:a({},at)})})}function Z(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},at)})})}function j(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/video_push_url.json`,{method:"get",params:a({},at)})})}function ae(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},at)})})}function me(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_result.json`,{method:"get",params:a({},at)})})}function Te(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},at)})})}function Oe(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},at)})})}function He(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},at)})})}function Ne(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},at)})})}function Ft(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/common_header.json`,{method:"get",params:a({},at)})})}function bt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises.json`,{method:"post",body:a({},at)})})}function Rt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}.json`,{method:"put",body:a({},at)})})}function $t(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}.json`,{method:"get",params:a({},at)})})}function Bt(at){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},at)})})}function rr(at){return p(this,null,function*(){const{id:Cr}=at;return delete at.id,(0,r.ZP)(`/api/exercise_questions/${Cr}.json`,{method:"put",body:a({},at)})})}function je(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_questions.json`,{method:"post",body:a({},at)})})}function Et(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/up_down.json`,{method:"post",body:a({},at)})})}function jt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}.json`,{method:"delete"})})}function rt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},at)})})}function yt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/publish_groups.json`,{method:"get",params:a({},at)})})}function ht(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},at)})})}function qe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/consult_exercise.json`,{method:"post",body:a({},at)})})}function Be(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},at)})})}function xe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Re(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/batch_adjust_score.json`,{method:"post",body:a({},at)})})}function Ge(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function We(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time.json`,{method:"post",body:a({},at)})})}function Xe(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function xt(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/commit_setting.json`,{method:"post",body:a({},at)})})}function ir(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},at)})})}function Jt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},at),{export:!0})})})}function Le(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},at),{login:null})})}function tt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start.json`,{method:"get",params:a({},at)})}function Kt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start_unlock.json`,{method:"post",body:a({},at)})}function Mt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.questionId}/exercise_answers.json`,{method:"post",body:at})})}function Wt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_exercise.json`,{method:"post",body:at})})}function Ht(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_commit_exercise.json`,{method:"post",body:at})})}function Pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_exercise.json`,{method:"post",body:at})})}function Qt(at){return(0,r.ZP)(`/api/${at.url}`,{method:"get",params:a({},at)})}function Ze(at){return(0,r.ZP)(`/api/problems/${at.id}/start.json`,{method:"get",params:a({},at)})}function fe(at){return(0,r.ZP)(`/api/exercises/${at.id}/begin_commit.json`,{method:"get",params:a({},at)})}function pe(at){return(0,r.ZP)(`/api/exercises/${at.id}/simulate_begin_commit.json`,{method:"get",params:a({},at)})}function It(at){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},at)})}function Ce(at){return console.log("params:",at),(0,r.ZP)(`/api/exercises/${at.categoryId}/edit.json`,{method:"get",params:a({},at)})}function dt(at){return(0,r.ZP)(`/api/exercises/${at.id}/get_objective_scores.json`,{method:"get",params:a({},at)})}function Gt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_modal.json`,{method:"get",params:a({},at)})}function Ct(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/student_redo_lists.json`,{method:"get",params:a({},at)})}function Pe(at){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:at})}function St(at){return(0,r.ZP)(`/api/exercises/${at.id}/exercise_header.json`,{method:"get",params:a({},at)})}function ze(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/allow_close_camera.json`,{method:"post",body:a({},at)})}function it(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},at)})}function Ie(at){return(0,r.ZP)(`/api/exercises/${at.id}/record_screen`,{method:"post",params:a({},at)})}function Lt(at){return(0,r.ZP)(`/api/exercises/${at.id}/unbind_ip.json`,{method:"post",body:a({},at)})}function Me(at){return(0,r.ZP)(`/api/exercises/${at.id}/check_ip.json`,{method:"get",params:a({},at)})}function Ir(at){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/check_user_exercise.json`,{method:"get",params:a({},at)})}function At(at){return Fetch(`/api/exercises/${at.id}/make_up_students.json`,{method:"get",params:a({},at)})}function Hr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},at)})})}function Yr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.question_id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Rr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${at.categoryId}/simulate_exercise.json`,{method:"post",body:a({},at)})})}function Or(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},at)})})}function pr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_time.json`,{method:"get",params:a({},at)})})}function Nr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_screen_at.json`,{method:"post",body:a({},at)})})}function Jr(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/unlock_user`,{method:"post",body:Cr})})}function sn(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/save_screen_record.json`,{method:"post",body:Cr})})}function Xt(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/screen_record_list.json`,{method:"get",params:Cr})})}function gt(at){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},at)})})}function lt(at){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:at})})}function ft(at,Cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/mark.json`,{method:"post",body:Cr})})}function Ut(at){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${at}/exit_delete_pod.json`,{method:"post",body:at})})}function br(at){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:at})})}function vr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/send_to_item_bank.json`,{method:"post",body:a({},at)})})}},94670:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return O},YP:function(){return C},b4:function(){return k},bc:function(){return a},dX:function(){return A},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,se)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:se}):G[H]=se,h=(G,H)=>{for(var se in H||(H={}))c.call(H,se)&&o(G,se,H[se]);if(l)for(var se of l(H))f.call(H,se)&&o(G,se,H[se]);return G},u=(G,H,se)=>new Promise((Q,le)=>{var J=ue=>{try{V(se.next(ue))}catch(te){le(te)}},ee=ue=>{try{V(se.throw(ue))}catch(te){le(te)}},V=ue=>ue.done?Q(ue.value):Promise.resolve(ue.value).then(J,ee);V((se=se.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function O(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},22072:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((A,k)=>{var R=M=>{try{O(b.next(M))}catch(B){k(B)}},C=M=>{try{O(b.throw(M))}catch(B){k(B)}},O=M=>M.done?A(M.value):Promise.resolve(M.value).then(R,C);O((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return O},NA:function(){return R},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return C},_n:function(){return se},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Q,le,J)=>le in Q?i(Q,le,{enumerable:!0,configurable:!0,writable:!0,value:J}):Q[le]=J,h=(Q,le)=>{for(var J in le||(le={}))c.call(le,J)&&o(Q,J,le[J]);if(l)for(var J of l(le))f.call(le,J)&&o(Q,J,le[J]);return Q},u=(Q,le,J)=>new Promise((ee,V)=>{var ue=ce=>{try{q(J.next(ce))}catch(Z){V(Z)}},te=ce=>{try{q(J.throw(ce))}catch(Z){V(Z)}},q=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);q((J=J.apply(Q,le)).next())});function a(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}.json`,{method:"get",params:h({},Q)})})}function x(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}/tasks_list.json`,{method:"get",params:h({},Q)})})}function p(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/show_detail.json`,{method:"get",params:h({},Q)})})}function y(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}.json`,{method:"get",params:h({},Q)})})}function m(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},Q)})})}function b(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/accept_student_topic.json`,{method:"post",body:h({},Q)})})}function A(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Q.categoryId}/show_comment.json`,{method:"get",params:h({},Q)})})}function k(Q){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},Q)})})}function R(Q){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},Q)})})}function C(Q){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},Q)})})}function O(Q){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},Q)})})}function M(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},Q)})})}function B(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}/edit.json`,{method:"get",params:h({},Q)})})}function N(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics`,{method:"post",body:h({},Q)})})}function K(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_topics/${Q.categoryId}`,{method:"put",body:h({},Q)})})}function G(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/graduation_tasks`,{method:"post",body:h({},Q)})})}function H(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}.json`,{method:"put",body:h({},Q)})})}function se(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${Q.categoryId}/edit.json`,{method:"get",params:h({},Q)})})}},12309:function(d,_,e){"use strict";e.d(_,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return ce},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return C},Ot:function(){return R},Ou:function(){return ee},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return te},Wz:function(){return f},Xh:function(){return p},Xw:function(){return Q},YS:function(){return H},Zd:function(){return q},bS:function(){return O},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return se},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return j}});var r=e(38986),i=(ae,me,Te)=>new Promise((Oe,He)=>{var Ne=Rt=>{try{bt(Te.next(Rt))}catch($t){He($t)}},Ft=Rt=>{try{bt(Te.throw(Rt))}catch($t){He($t)}},bt=Rt=>Rt.done?Oe(Rt.value):Promise.resolve(Rt.value).then(Ne,Ft);bt((Te=Te.apply(ae,me)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function m(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function C(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function O(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function K(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function G(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function H(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function se(ae){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(me=ae.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function Q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function le(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function ee(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function V(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function ue(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function te(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:me})})}function q(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:me})})}function ce(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:me})})}function j(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},82220:function(d,_,e){"use strict";e.d(_,{C:function(){return R},Cl:function(){return se},LA:function(){return p},Mw:function(){return M},NX:function(){return b},Rm:function(){return o},SE:function(){return G},S_:function(){return y},St:function(){return N},Tt:function(){return u},X4:function(){return K},Yu:function(){return k},Zz:function(){return m},aC:function(){return C},cR:function(){return a},eX:function(){return f},h$:function(){return h},sJ:function(){return B},su:function(){return A},tS:function(){return H},vm:function(){return x},wu:function(){return O},zo:function(){return l}});var r=e(38986),i=(Q,le,J)=>new Promise((ee,V)=>{var ue=ce=>{try{q(J.next(ce))}catch(Z){V(Z)}},te=ce=>{try{q(J.throw(ce))}catch(Z){V(Z)}},q=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);q((J=J.apply(Q,le)).next())}),l=(Q=>(Q.FinishWork="1",Q.Exercise="2",Q.OnlinePracticeTime="3",Q.SuccessTimes="4",Q))(l||{});const c=Q=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:Q})}),f=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:Q})}),o=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:Q})}),h=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:Q})});function u(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:Q})})}const m=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:Q})}),b=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:Q})}),A=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:Q})}),k=Q=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:Q})});function R(){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_course_shixun.json",{method:"Get"})})}function C(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_statistics.json",{method:"Get",params:Q})})}function O(){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_dynamic_data.json",{method:"Get"})})}function M(Q){return i(this,null,function*(){return(0,r.ZP)("/api/school_informs.json",{method:"Get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"Get"})})}function N(Q){return i(this,null,function*(){return(0,r.ZP)("/api/school_informs.json",{method:"post",body:Q})})}function K(Q,le){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"put",body:le})})}function G(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/school_informs/${Q}.json`,{method:"delete"})})}function H(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/get_course_list.json",{method:"Get",params:Q})})}function se(Q){return i(this,null,function*(){return(0,r.ZP)("/api/home/upload_course_list.json",{method:"post",body:Q},!0)})}},50958:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,C,O)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):R[C]=O,h=(R,C)=>{for(var O in C||(C={}))c.call(C,O)&&o(R,O,C[O]);if(l)for(var O of l(C))f.call(C,O)&&o(R,O,C[O]);return R},u=(R,C,O)=>new Promise((M,B)=>{var N=H=>{try{G(O.next(H))}catch(se){B(se)}},K=H=>{try{G(O.throw(H))}catch(se){B(se)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((O=O.apply(R,C)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function A(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},49379:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return O},ms:function(){return R},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((H,se)=>{var Q=ee=>{try{J(G.next(ee))}catch(V){se(V)}},le=ee=>{try{J(G.throw(ee))}catch(V){se(V)}},J=ee=>ee.done?H(ee.value):Promise.resolve(ee.value).then(Q,le);J((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function C(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function O(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},93629:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return te},Dm:function(){return le},Dq:function(){return Te},Gd:function(){return m},Hb:function(){return Oe},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return K},Pl:function(){return A},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return Q},kF:function(){return He},kp:function(){return O},lc:function(){return C},oF:function(){return ce},q$:function(){return h},qN:function(){return se},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return ue},wX:function(){return ee},yE:function(){return f}});var r=e(38986),i=(Ne,Ft,bt)=>new Promise((Rt,$t)=>{var Bt=Et=>{try{je(bt.next(Et))}catch(jt){$t(jt)}},rr=Et=>{try{je(bt.throw(Et))}catch(jt){$t(jt)}},je=Et=>Et.done?Rt(Et.value):Promise.resolve(Et.value).then(Bt,rr);je((bt=bt.apply(Ne,Ft)).next())});const l=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/code_check.json`,{method:"get",params:Ne}),c=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/reset_pwd.json`,{method:"post",body:Ne}),f=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/encrypt_or_decrypt.json`,{method:"post",body:Ne}),o=Ne=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Ne}),h=Ne=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Ne}),u=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/copy.json`,{method:"post",body:Ne}),a=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/get_question_type_alias.json`,{method:"get",params:Ne});function x(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_question_type_alias.json`,{method:"POST",body:Ne})})}function p(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Ne})})}function y(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Ne})})}function m(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Ne})})}function b(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_public.json`,{method:"post"})})}function A(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_private.json`,{method:"post"})})}function k(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"delete"})})}function R(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ne})})}const C=Ne=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Ne});function O(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function M(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"get",params:Ne})})}function B(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_score`,{method:"post",body:Ne})})}function N(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_shixun_score.json`,{method:"post",body:Ne})})}function K(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}.json`,{method:"delete"})})}function G(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Ne})})}function H(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Ne})})}function se(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/adjust_position.json`,{method:"post",body:Ne})})}function Q(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function le(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Ne})})}function J(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Ne})})}function ee(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/set_public.json`,{method:"post",body:Ne})})}function V(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Ne})})}function ue(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/update_exam.json`,{method:"put",body:Ne})})}function te(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_exam.json`,{method:"get"})})}function q(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ce(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Ne})})}function Z(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Ft})})}function j(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.exam_id}/examination_banks_item_banks/${Ne.question_id}.json`,{method:"delete"})})}function ae(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Ft})})}function me(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function Te(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function Oe(Ne,Ft,bt){return i(this,null,function*(){const Rt=new FormData;return Rt.append("file",Ft),Rt.append("sub_discipline_id",bt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:Rt},!0)})}function He(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},36714:function(d,_,e){"use strict";e.d(_,{$D:function(){return V},A2:function(){return Ge},A7:function(){return Pe},AQ:function(){return G},Ax:function(){return Kt},Bn:function(){return it},CI:function(){return xt},DQ:function(){return Ce},DU:function(){return yt},EP:function(){return ee},Ep:function(){return Re},Er:function(){return Te},Ex:function(){return Ht},FD:function(){return dt},F_:function(){return rt},Fg:function(){return p},GY:function(){return fe},Go:function(){return j},Gz:function(){return y},Hl:function(){return m},JS:function(){return $t},KM:function(){return q},M2:function(){return Xe},MO:function(){return Oe},Mt:function(){return pt},Mu:function(){return Mt},NV:function(){return ze},Q:function(){return He},Sp:function(){return K},VO:function(){return Gt},VU:function(){return C},WD:function(){return Ze},WO:function(){return me},WW:function(){return Pt},_C:function(){return St},_V:function(){return tt},bw:function(){return J},bz:function(){return It},c3:function(){return Rt},eJ:function(){return Z},ef:function(){return jt},fh:function(){return R},fj:function(){return ae},hS:function(){return b},hZ:function(){return a},jT:function(){return Ct},ke:function(){return Qt},lk:function(){return N},mQ:function(){return B},ms:function(){return Jt},mx:function(){return Ft},nq:function(){return x},ol:function(){return pe},p:function(){return se},p4:function(){return Ne},pU:function(){return M},rS:function(){return Bt},rs:function(){return ce},s0:function(){return We},sm:function(){return bt},tS:function(){return A},tu:function(){return O},ue:function(){return H},vf:function(){return Be},w4:function(){return Q},xG:function(){return xe},xn:function(){return qe},yN:function(){return le},yy:function(){return Le}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ie,Lt,Me)=>Lt in Ie?i(Ie,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ie[Lt]=Me,h=(Ie,Lt)=>{for(var Me in Lt||(Lt={}))c.call(Lt,Me)&&o(Ie,Me,Lt[Me]);if(l)for(var Me of l(Lt))f.call(Lt,Me)&&o(Ie,Me,Lt[Me]);return Ie},u=(Ie,Lt,Me)=>new Promise((Ir,At)=>{var Hr=Or=>{try{Rr(Me.next(Or))}catch(pr){At(pr)}},Yr=Or=>{try{Rr(Me.throw(Or))}catch(pr){At(pr)}},Rr=Or=>Or.done?Ir(Or.value):Promise.resolve(Or.value).then(Hr,Yr);Rr((Me=Me.apply(Ie,Lt)).next())}),a=(Ie=>(Ie[Ie.All=0]="All",Ie[Ie.Excellent=1]="Excellent",Ie[Ie.Recommend=2]="Recommend",Ie[Ie.NewOnline=3]="NewOnline",Ie[Ie.NewBuilding=4]="NewBuilding",Ie))(a||{});const x=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Ie})}),p=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Ie})}),y=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Ie})}),m=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Ie})}),b=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Ie})});function A(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Ie)})})}function k(Ie){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Ie)})})}function R(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Ie)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/paths/platform_systems.json",{method:"get"})})}function O(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"PUT",body:Ie})})}function M(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Ie})})}function B(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/edit.json`,{method:"get"})})}function N(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"get",params:h({identifier:Ie.id},Ie)})})}function K(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}.json`,{method:"get",params:h({identifier:Ie.id},Ie)})})}function G(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/right_banner.json`,{method:"get",params:Ie})})}function H(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses.json`,{method:"get",params:Ie})})}const se=Ie=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Ie})}),Q=Ie=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Ie.id}/children.json`,{method:"Get",params:Ie})});function le(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Ie})})}function J(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/update_team_title.json`,{method:"post",body:Ie})})}function ee(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/delete_member.json`,{method:"Delete",body:Ie})})}function V(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses/${Ie==null?void 0:Ie.courseid}.json`,{method:"Delete"})})}function ue(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/up_member_position.json`,{method:"post",body:Ie})})}function te(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/down_member_position.json`,{method:"post",body:Ie})})}function q(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Ie})})}function ce(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Ie})})}function Z(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}.json`,{method:"Delete",body:Ie})})}function j(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/publish.json`,{method:"post",body:Ie})})}function ae(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/cancel_publish.json`,{method:"post",body:Ie})})}function me(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/apply_public.json`,{method:"post",body:Ie})})}function Te(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/cancel_public.json`,{method:"post",body:Ie})})}function Oe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/choose_course.json`,{method:"get",params:Ie})})}function He(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/send_to_course.json`,{method:"post",body:Ie})})}function Ne(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ie.id}/send_to_course.json`,{method:"post",body:Ie})})}function Ft(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/add_subject_members.json`,{method:"post",body:Ie})})}function bt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/spoc_courses.json`,{method:"post",body:Ie})})}function Rt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/appointment.json`,{method:"post",body:Ie})})}function $t(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}/join_excellent_course.json`,{method:"post",body:Ie})})}function Bt(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Ie})})}function rr(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/statistics_info.json`,{method:"get",params:Ie})})}function je(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/shixun_analyze.json`,{method:"get",params:Ie})})}function Et(Ie){return u(this,null,function*(){return Fetch(`/api/paths/${Ie.id}/learning_analyze.json`,{method:"get",params:Ie})})}function jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/learning_statistics.json`,{method:"get",params:Ie})})}function rt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/shixun_statistics.json`,{method:"get",params:Ie})})}function yt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/study_analyze/${Ie.type}.json`,{method:"get",params:Ie})})}function ht(Ie){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Ie})})}function qe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}.json`,{method:"put",body:Ie})})}function Be(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_shixun_to_stage.json`,{method:"post",body:Ie})})}const xe=Ie=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Ie})});function Re(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/select_shixun_to_stage.json`,{method:"post",body:Ie})})}function Ge(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_video_to_stage.json`,{method:"post",body:Ie})})}function We(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_attachment_to_stage.json`,{method:"post",body:Ie})})}function Xe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie.id}.json`,{method:"put",body:Ie})})}function pt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/add_blank_to_stage.json`,{method:"post",body:Ie})})}function xt(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Ie})})}function ir(Ie){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Ie})})}function Jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/up_position.json`,{method:"get"})})}function Le(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}/down_position.json`,{method:"get"})})}function tt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.id}.json`,{method:"delete"})})}function Kt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.pathId}/discusses.json`,{method:"get",params:h({},Ie)})})}function Mt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Ie)})})}function Wt(Ie){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Ie)})})}function Ht(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.stage_id}/items/move_position`,{method:"post",body:h({},Ie)})})}function Pt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie.stage_id}/items/${Ie.id}`,{method:"delete"})})}function Qt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.id}/excellent_discuss`,{method:"post",body:h({},Ie)})})}function Ze(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Ie.id}/post_discuss`,{method:"post",body:h({},Ie)})})}function fe(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Ie})})}function pe(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Ie})})}function It(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Ie})})}function Ce(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.id}/add_homework_to_stage.json`,{method:"post",body:Ie})})}function dt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie==null?void 0:Ie.id}/edit.json`,{method:"get",params:Ie})})}function Gt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Ie==null?void 0:Ie.id}.json`,{method:"put",body:Ie})})}function Ct(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_id}/subjects/subject_homework.json`,{method:"get",params:Ie})})}function Pe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_id}/courses/course_homework.json`,{method:"get",params:Ie})})}function St(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Ie==null?void 0:Ie.id}/batch_add_homework_to_stage.json`,{method:"post",body:Ie})})}function ze(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Ie})})}function it(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ie==null?void 0:Ie.user_login}/subjects/cancel.json`,{method:"get",params:Ie})})}},7299:function(d,_,e){"use strict";e.d(_,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return q},MK:function(){return G},Q9:function(){return O},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return H},kp:function(){return Q},lf:function(){return C},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return V},wh:function(){return se},wo:function(){return te},x$:function(){return ee}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,ae,me)=>ae in j?i(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,h=(j,ae)=>{for(var me in ae||(ae={}))c.call(ae,me)&&o(j,me,ae[me]);if(l)for(var me of l(ae))f.call(ae,me)&&o(j,me,ae[me]);return j},u=(j,ae,me)=>new Promise((Te,Oe)=>{var He=bt=>{try{Ft(me.next(bt))}catch(Rt){Oe(Rt)}},Ne=bt=>{try{Ft(me.throw(bt))}catch(Rt){Oe(Rt)}},Ft=bt=>bt.done?Te(bt.value):Promise.resolve(bt.value).then(He,Ne);Ft((me=me.apply(j,ae)).next())});const a=j=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function C(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function O(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function K(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function se(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function Q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function le(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function ee(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function V(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ue(j){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function te(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function ce(j){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},46722:function(d,_,e){"use strict";e.d(_,{$c:function(){return pt},A1:function(){return We},Bd:function(){return O},Bo:function(){return J},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return R},Dm:function(){return je},FG:function(){return le},GW:function(){return Et},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return rr},LS:function(){return rt},MZ:function(){return xe},Mr:function(){return Q},NZ:function(){return Ft},Of:function(){return A},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ht},RT:function(){return Le},Rp:function(){return yt},U6:function(){return H},Vl:function(){return te},Wk:function(){return se},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return xt},d1:function(){return y},dt:function(){return ir},et:function(){return me},ex:function(){return b},fY:function(){return Te},fn:function(){return C},hI:function(){return bt},hg:function(){return Be},iT:function(){return ee},lS:function(){return Ne},nD:function(){return jt},qN:function(){return ae},rV:function(){return N},s:function(){return He},sD:function(){return Re},sS:function(){return Bt},ts:function(){return V},vi:function(){return Xe},wX:function(){return qe},x5:function(){return K},zh:function(){return Oe}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Kt,Mt)=>Kt in tt?i(tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):tt[Kt]=Mt,a=(tt,Kt)=>{for(var Mt in Kt||(Kt={}))o.call(Kt,Mt)&&u(tt,Mt,Kt[Mt]);if(f)for(var Mt of f(Kt))h.call(Kt,Mt)&&u(tt,Mt,Kt[Mt]);return tt},x=(tt,Kt)=>l(tt,c(Kt)),p=(tt,Kt,Mt)=>new Promise((Wt,Ht)=>{var Pt=fe=>{try{Ze(Mt.next(fe))}catch(pe){Ht(pe)}},Qt=fe=>{try{Ze(Mt.throw(fe))}catch(pe){Ht(pe)}},Ze=fe=>fe.done?Wt(fe.value):Promise.resolve(fe.value).then(Pt,Qt);Ze((Mt=Mt.apply(tt,Kt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function C(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function O(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function Q(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function ue(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function te(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function ce(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function j(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Te(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function Oe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function Rt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function $t(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function rr(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function Et(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function jt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ht(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Be(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function xe(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function Re(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function Ge(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function We(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Xe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function pt(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function xt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function ir(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function Jt(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Le(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(A){x(A)}},y=b=>{try{m(u.throw(b))}catch(A){x(A)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},1247:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return je},BD:function(){return Xe},Be:function(){return qe},Dx:function(){return te},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return A},H:function(){return Bt},H1:function(){return rr},Hj:function(){return xt},JA:function(){return Jt},JG:function(){return ue},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return $t},NA:function(){return bt},PC:function(){return Ne},PP:function(){return Ft},PW:function(){return rt},Q3:function(){return q},QC:function(){return Le},Qt:function(){return We},Qz:function(){return O},R$:function(){return Ze},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return Wt},Ul:function(){return ee},VB:function(){return dt},Vs:function(){return Ht},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Rt},Yn:function(){return b},Z8:function(){return K},ak:function(){return jt},cN:function(){return B},co:function(){return Be},cz:function(){return Oe},fK:function(){return G},gG:function(){return He},gZ:function(){return Mt},h$:function(){return N},ku:function(){return Re},lf:function(){return ae},m7:function(){return V},mQ:function(){return M},mz:function(){return ht},n$:function(){return j},oK:function(){return y},oN:function(){return Gt},pH:function(){return pt},pb:function(){return Ce},qP:function(){return tt},ql:function(){return Kt},rN:function(){return xe},sw:function(){return me},t1:function(){return Te},to:function(){return Q},ub:function(){return ir},ux:function(){return ce},wS:function(){return It},wT:function(){return C},yT:function(){return Et},yy:function(){return Pt},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Pe,St,ze)=>St in Pe?i(Pe,St,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Pe[St]=ze,a=(Pe,St)=>{for(var ze in St||(St={}))o.call(St,ze)&&u(Pe,ze,St[ze]);if(f)for(var ze of f(St))h.call(St,ze)&&u(Pe,ze,St[ze]);return Pe},x=(Pe,St)=>l(Pe,c(St)),p=(Pe,St,ze)=>new Promise((it,Ie)=>{var Lt=At=>{try{Ir(ze.next(At))}catch(Hr){Ie(Hr)}},Me=At=>{try{Ir(ze.throw(At))}catch(Hr){Ie(Hr)}},Ir=At=>At.done?it(At.value):Promise.resolve(At.value).then(Lt,Me);Ir((ze=ze.apply(Pe,St)).next())});const y=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.id}/update_journals.json`,{method:"post",body:Pe})}),m=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/change_score.json`,{method:"post",body:Pe})}),b=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/history_comment`,{method:"Get",params:Pe})}),A=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.homeworkId}/feedback_know`,{method:"Get",params:Pe})}),k=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.userId}/student_work_feedbacks.json`,{method:"POST",body:Pe})}),R=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.userId}/feedback_list.json`,{method:"Get",params:Pe})}),C=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe==null?void 0:Pe.userId}/histories.json`,{method:"Get",params:Pe})}),O=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/feedback_list`,{method:"Get",params:Pe})}),M=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Pe})}),B=Pe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.homeworkId}/appeal_list`,{method:"Get",params:Pe})});function N(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/works_list.json`,{method:"post",body:a({},Pe)})})}function K(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Pe.categoryId}/student_works.json`,{method:"get",params:a({},Pe)})})}function G(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Pe.categoryId}/header_info.json`,{method:"get",params:a({},Pe)})})}function H(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe}/query_game_url.json`,{method:"get"})})}function se(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function Q(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}.json`,{method:"get"})})}function le(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/code_review_results.json`,{method:"get",params:a({},Pe)})})}function J(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Pe)})})}function ee(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/settings.json`,{method:"get",params:a({},Pe)})})}function V(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_settings.json`,{method:"post",body:a({},Pe)})})}function ue(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/group_list.json`,{method:"get",params:a({},Pe)})})}function te(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Pe)})})}function q(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.coursesId}/reference_answer.json`,{method:"get",params:a({},Pe)})})}function ce(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/publish_groups.json`,{method:"get",params:a({},Pe)})})}function Z(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/end_groups.json`,{method:"get",params:a({},Pe)})})}function j(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Pe)})})}function ae(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Pe)})})}function me(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/shixun_work_report.json`,{method:"get",params:Pe})})}function Te(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Pe})})}function Oe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Pe),{id:Pe.categoryId})})})}function He(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Pe)})})}function Ne(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/show_comment.json`,{method:"get",params:a({},Pe)})})}function Ft(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Pe)})})}function bt(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Pe)})})}function Rt(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Pe)})})}function $t(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Pe)})})}function Bt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_explanation.json`,{method:"post",body:a({},Pe)})})}function rr(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons.json`,{method:"post",body:a({},Pe)})})}function je(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}.json`,{method:"put",body:a({},Pe)})})}function Et(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Pe.id}.json`,{method:"put",body:a({},Pe)})})}function jt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Pe)})})}function rt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/edit.json`,{method:"get",params:a({},Pe)})})}function yt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}.json`,{method:"put",body:a({},Pe)})})}function ht(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Pe)})})}function qe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Pe)})})}function Be(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Pe)})})}function xe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Re(Pe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Pe)})})}function Ge(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Pe)})})}function We(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Pe)})})}function Xe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/edit.json`,{method:"get",params:a({},Pe)})})}function pt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Pe.id}.json`,{method:"get",params:a({},Pe)})})}function xt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}.json`,{method:"get",params:a({},Pe)})})}function ir(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/supply_attachments.json`,{method:"get",params:a({},Pe)})})}function Jt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/comment_list.json`,{method:"get",params:a({},Pe)})})}function Le(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/destroy_score.json`,{method:"delete",body:a({},Pe)})})}function tt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/add_score_reply.json`,{method:"post",body:a({},Pe)})})}function Kt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/all_student_works.json`,{method:"get",params:a({},Pe)})})}function Mt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Pe)})})}function Wt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/score_status.json`,{method:"get",params:a({},Pe)})})}function Ht(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Pe.categoryId}/update_score.json`,{method:"get",params:a({},Pe)})})}function Pt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/add_score.json`,{method:"post",body:a({},Pe)})})}function Qt(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe.userId}/cancel_appeal.json`,{method:"post",body:a({},Pe)})})}function Ze(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Pe)})})}function fe(Pe){return p(this,null,function*(){return Fetch(`/api/student_works/${Pe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Pe)})})}function pe(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Pe.id}/reset_my_game.json`,{method:"get",params:a({},Pe)})})}function It(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/commit_des.json`,{method:"get",params:a({},Pe)})})}function Ce(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Pe.homeworkId}/update_des.json`,{method:"post",body:a({},Pe)})})}function dt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Pe)})})}function Gt(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Pe)})})}function Ct(Pe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Pe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Pe)})})}},75736:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Or},AE:function(){return Ht},AQ:function(){return M},Ag:function(){return St},Ar:function(){return ce},At:function(){return gt},BK:function(){return K},Bj:function(){return jt},DC:function(){return je},Dz:function(){return lt},E4:function(){return rr},EH:function(){return ae},Ee:function(){return on},Er:function(){return te},FB:function(){return N},Fg:function(){return A},GI:function(){return Oe},Gr:function(){return ht},Gu:function(){return Te},Gz:function(){return b},HS:function(){return kt},Hl:function(){return y},IT:function(){return Ct},I_:function(){return C},Ir:function(){return G},Je:function(){return Me},K:function(){return Ut},K0:function(){return Cr},KM:function(){return J},K_:function(){return Nr},LK:function(){return Ir},LP:function(){return He},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return j},Op:function(){return Rr},P2:function(){return Rt},Po:function(){return O},Ps:function(){return qe},Q:function(){return V},Q1:function(){return br},QA:function(){return zi},Ql:function(){return xe},Rs:function(){return Le},SG:function(){return Yi},Tn:function(){return Qt},Tr:function(){return Di},U0:function(){return Xe},U9:function(){return Be},UQ:function(){return Ce},Ui:function(){return pr},Vx:function(){return at},WO:function(){return q},WT:function(){return fa},Wi:function(){return rt},Wl:function(){return ze},X$:function(){return $t},Yn:function(){return fe},Z2:function(){return Et},ZO:function(){return yt},Zt:function(){return ft},_7:function(){return ee},_9:function(){return pe},aH:function(){return Re},al:function(){return ir},b8:function(){return Z},bq:function(){return Ze},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return Lt},h4:function(){return vr},hS:function(){return m},he:function(){return R},hn:function(){return Q},ii:function(){return Jt},im:function(){return It},j8:function(){return Ne},jq:function(){return Yr},kF:function(){return Hr},km:function(){return xt},l3:function(){return bt},m7:function(){return We},mI:function(){return Si},n5:function(){return B},nu:function(){return At},p0:function(){return Gt},q0:function(){return Wt},q9:function(){return Xt},qA:function(){return sn},rO:function(){return Mt},rs:function(){return le},sr:function(){return dt},t2:function(){return Pe},tX:function(){return Fn},uo:function(){return pt},v3:function(){return Ie},w:function(){return it},xK:function(){return Pt},xg:function(){return Kt},xk:function(){return Bt},yE:function(){return Ge},yx:function(){return ei},zD:function(){return se},zH:function(){return Jr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(vt,Pi,Gi)=>Pi in vt?i(vt,Pi,{enumerable:!0,configurable:!0,writable:!0,value:Gi}):vt[Pi]=Gi,a=(vt,Pi)=>{for(var Gi in Pi||(Pi={}))o.call(Pi,Gi)&&u(vt,Gi,Pi[Gi]);if(f)for(var Gi of f(Pi))h.call(Pi,Gi)&&u(vt,Gi,Pi[Gi]);return vt},x=(vt,Pi)=>l(vt,c(Pi)),p=(vt,Pi,Gi)=>new Promise((ui,wa)=>{var hi=nr=>{try{vn(Gi.next(nr))}catch(_t){wa(_t)}},qn=nr=>{try{vn(Gi.throw(nr))}catch(_t){wa(_t)}},vn=nr=>nr.done?ui(nr.value):Promise.resolve(nr.value).then(hi,qn);vn((Gi=Gi.apply(vt,Pi)).next())});const y=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:vt})}),m=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:vt})}),b=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:vt})}),A=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:vt})}),k=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:vt})});function R(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},vt)})})}function C(vt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},vt||{})})})}function O(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"Get",params:vt})})}function M(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/show_right.json`,{method:"Get"})})}function B(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges.json`,{method:"Get"})})}function N(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:vt.save_type}})})}function K(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/jupyter_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function G(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function H(vt){return p(this,null,function*(){return(0,r.ZP)(vt.url,{method:"Get"})})}function se(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_up.json`,{method:"Get"})})}function Q(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_down.json`,{method:"Get"})})}function le(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function J(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function ee(vt){return p(this,null,function*(){const{id:Pi}=vt||{};return(0,r.ZP)(`/api/shixuns/${Pi}/search_user_courses.json`,{method:"Get",params:vt})})}function V(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt==null?void 0:vt.id}/send_to_course.json`,{method:"Post",body:a({},vt)})})}function ue(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_publish.json`,{method:"Get"})})}function te(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_apply_public.json`,{method:"Get"})})}function q(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/apply_public.json`,{method:"post",body:a({},vt)})})}function ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/publish.json`,{method:"Get"})})}function Z(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${vt.id}.json`,{method:"delete"})})}function ae(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:vt})})}function me(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:vt})})}function Te(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:vt})})}function Oe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_newest_record.json`,{method:"Get"})})}function He(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_shixun.json`,{method:"post",body:vt})})}function Ne(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators.json`,{method:"Get",params:vt})})}function Ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_members_added.json`,{method:"post",body:vt})})}function bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/add_members_group.json`,{method:"post",body:vt})})}function Rt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"Get",params:vt})})}function $t(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"post",body:vt})})}function Bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:vt.userId}})})}function rr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/ranking_list.json`,{method:"Get"})})}function je(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/settings.json`,{method:"Get"})})}function Et(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:vt.mirror_id}})})}function jt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_script_contents.json`,{method:"Get",params:vt})})}function rt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_custom_script.json`,{method:"Get",params:vt})})}function yt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_for_jupyter.json`,{method:"put",body:vt})})}function ht(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"delete"})})}function Be(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/close.json`,{method:"post",body:vt})})}function xe(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:vt})})}function Re(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_permission_setting.json`,{method:"post",body:vt})})}function Ge(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_learn_setting.json`,{method:"post",body:vt})})}function We(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_setting`,{method:"post",body:vt})})}function Xe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_data_sets.json`,{method:"Get",params:vt})})}function pt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:vt.deleteId}})})}function xt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/new.json`,{method:"get"})})}function ir(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/challenges.json`,{method:"post",body:a({},vt)})})}function Jt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/edit.json`,{method:"get",params:{tab:vt.tab}})})}function Le(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"put",body:a({},vt)})})}function tt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/move_position.json`,{method:"post",body:a({},vt)})})}function Mt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"delete",body:a({},vt)})})}function Wt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit.json`,{method:"get",params:a({},vt)})})}function Ht(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/answer.json`,{method:"get",params:a({},vt)})})}function Pt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/crud_answer.json`,{method:"post",body:a({},vt)})})}function Qt(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_choose_question.json`,{method:"post",body:a({},vt)});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_blank_question.json`,{method:"post",body:a({},vt)});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_judge_question.json`,{method:"post",body:a({},vt)})})}function Ze(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})})})}function fe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:vt.questionId}})})}function pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function It(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function Ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},vt),{choose_id:vt.questionId})})})}function dt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Gt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Ct(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function Pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function St(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/repository.json`,{method:"post",body:vt})})}function ze(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/repository.json`,{method:"post",body:vt})})}function it(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/secret_repository.json`,{method:"post",body:vt})})}function Ie(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Me(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/commits.json`,{method:"post",body:vt})})}function Ir(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/file_content.json`,{method:"post",body:vt})})}function At(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/file_content.json`,{method:"post",body:vt})})}function Hr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_file.json`,{method:"post",body:vt})})}function Yr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/update_file.json`,{method:"post",body:vt})})}function Rr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/upload_git_folder.json`,{method:"post",body:{path:vt.path,secret_repository:vt.secret_repository}})})}function Or(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/${vt.url}`,{method:"Get"})})}function pr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:vt})})}function Nr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:vt})})}function Jr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:vt})})}function sn(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:vt})})}function Xt(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:vt})})}function gt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/fork_list.json`,{method:"Get",params:vt})})}function lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/change_editable.json`,{method:"put",body:a({},vt)})})}function ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/set_secret_dir.json`,{method:"post",body:a({},vt)})})}function Ut(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:vt})})}function br(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:vt})})}function vr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function at(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function Cr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_secret_repository.json`,{method:"post",body:a({},vt)})})}function on(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/exist_exercise.json`,{method:"get",params:a({},vt)})})}function Fn(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${vt.id}.json`,{method:"get",params:a({},vt)})})}function $r(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/publish.json`,{method:"post",body:a({},vt)})})}function Nn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_vnc.json`,{method:"post",params:a({},vt)})})}function zn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_webssh.json`,{method:"post",params:a({},vt)})})}function Tn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/save_image.json`,{method:"post",body:a({},vt)})})}function jn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/delete_image.json`,{method:"post",body:a({},vt)})})}function yn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/extend_vnc.json`,{method:"post",body:a({},vt)})})}function Ei(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/reset_vnc_link.json`,{method:"post",body:a({},vt)})})}function ei(vt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},vt)})})}function Si(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},vt)})})}function zi(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},vt)})})}function Di(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:vt})})}function fa(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${vt}`,{method:"get",params:{is_initiative_study:1}})})}function Qn(vt){return p(this,null,function*(){return Fetch(`/api/shixuns/${vt.id}/update_shixun_study_num.json`,{method:"post",body:a({},vt)})})}function Yi(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:vt})})}function kt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt}/recommend_config.json`,{method:"get"})})}},49234:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return C},oZ:function(){return m},rM:function(){return O},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,se,Q)=>se in H?i(H,se,{enumerable:!0,configurable:!0,writable:!0,value:Q}):H[se]=Q,h=(H,se)=>{for(var Q in se||(se={}))c.call(se,Q)&&o(H,Q,se[Q]);if(l)for(var Q of l(se))f.call(se,Q)&&o(H,Q,se[Q]);return H},u=(H,se,Q)=>new Promise((le,J)=>{var ee=te=>{try{ue(Q.next(te))}catch(q){J(q)}},V=te=>{try{ue(Q.throw(te))}catch(q){J(q)}},ue=te=>te.done?le(te.value):Promise.resolve(te.value).then(ee,V);ue((Q=Q.apply(H,se)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function C(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function O(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:se})})}function K(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:se})})}function G(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:se})})}},86245:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return ee},DA:function(){return O},DH:function(){return p},Ef:function(){return te},Es:function(){return b},Ex:function(){return $t},FM:function(){return Q},Fn:function(){return q},Gq:function(){return rr},Ho:function(){return B},IU:function(){return me},JJ:function(){return ce},Ol:function(){return Ne},Qx:function(){return se},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Bt},dE:function(){return ae},dt:function(){return j},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return C},nV:function(){return He},o1:function(){return Ft},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Oe},vR:function(){return A},w3:function(){return K},x4:function(){return R},z2:function(){return bt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(je,Et,jt)=>Et in je?i(je,Et,{enumerable:!0,configurable:!0,writable:!0,value:jt}):je[Et]=jt,h=(je,Et)=>{for(var jt in Et||(Et={}))c.call(Et,jt)&&o(je,jt,Et[jt]);if(l)for(var jt of l(Et))f.call(Et,jt)&&o(je,jt,Et[jt]);return je},u=(je,Et,jt)=>new Promise((rt,yt)=>{var ht=xe=>{try{Be(jt.next(xe))}catch(Re){yt(Re)}},qe=xe=>{try{Be(jt.throw(xe))}catch(Re){yt(Re)}},Be=xe=>xe.done?rt(xe.value):Promise.resolve(xe.value).then(ht,qe);Be((jt=jt.apply(je,Et)).next())});const a=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}/move.json`,{method:"post",body:je})}),x=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"delete",body:je})}),p=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"put",body:je})}),y=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:je})}),m=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:je})});function b(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},je)})})}function A(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},je)})})}function R(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},je)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function O(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/homepage_info.json`,{method:"get"})})}function M(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/courses.json`,{method:"get",params:je})})}function N(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/shixuns.json`,{method:"get",params:je})})}function K(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/subjects.json`,{method:"get",params:je})})}function G(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/projects.json`,{method:"get",params:je})})}function H(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos.json`,{method:"get",params:je})})}function se(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/review.json`,{method:"get",params:je})})}function Q(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.id}.json`,{method:"delete"})})}function le(je){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:je})})}function J(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:je})})}function ee(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:je})})}function V(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:je})})}function ue(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}function te(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:je})})}function q(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.object_id}/create_course_video.json`,{method:"post",body:je})})}function ce(je){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${je.topicId}.json`,{method:"get",params:je})})}function Z(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},je)})})}function j(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/batch_publish.json`,{method:"post",body:je})})}function ae(je){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${je.identifier}/cancel.json`,{method:"delete",body:h({},je)})})}function me(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},je)})})}function Te(je){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},je)})})}function Oe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Ne(je){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:je})}function Ft(je){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:je})}function bt(je){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},je)})}function Rt(je){return Fetch("/api/weapps/register.json",{method:"post",body:h({},je)})}function $t(je){return(0,r.ZP)(`/api/users/accounts/${je.login}/password.json`,{method:"put",body:h({},je)})}function Bt(je){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},je)})}function rr(je){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},je)})}},69618:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return Q},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return se},jK:function(){return R},yN:function(){return H}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,ee,V)=>ee in J?i(J,ee,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[ee]=V,h=(J,ee)=>{for(var V in ee||(ee={}))c.call(ee,V)&&o(J,V,ee[V]);if(l)for(var V of l(ee))f.call(ee,V)&&o(J,V,ee[V]);return J},u=(J,ee,V)=>new Promise((ue,te)=>{var q=j=>{try{Z(V.next(j))}catch(ae){te(ae)}},ce=j=>{try{Z(V.throw(j))}catch(ae){te(ae)}},Z=j=>j.done?ue(j.value):Promise.resolve(j.value).then(q,ce);Z((V=V.apply(J,ee)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function C(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function O(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function se(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function Q(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function le(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},466:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return O},sT:function(){return b},tS:function(){return N},xt:function(){return C},y2:function(){return l}});var r=e(38986),i=(H,se,Q)=>new Promise((le,J)=>{var ee=te=>{try{ue(Q.next(te))}catch(q){J(q)}},V=te=>{try{ue(Q.throw(te))}catch(q){J(q)}},ue=te=>te.done?le(te.value):Promise.resolve(te.value).then(ee,V);ue((Q=Q.apply(H,se)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function C(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function O(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:se})})}function M(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:se})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:se})})}function K(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:se})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},48790:function(d,_,e){"use strict";e.d(_,{$O:function(){return ee},EO:function(){return pt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return Xe},JL:function(){return C},Jd:function(){return J},Ny:function(){return k},RV:function(){return Q},Rb:function(){return N},Rm:function(){return G},V9:function(){return j},Yh:function(){return q},aN:function(){return b},aQ:function(){return u},ag:function(){return We},bg:function(){return ir},d8:function(){return B},dE:function(){return se},eB:function(){return le},eY:function(){return Jt},fn:function(){return Ge},h:function(){return Ht},j5:function(){return m},m$:function(){return Le},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Kt},y8:function(){return xt}});var r=e(25690),i=(Pt=>(Pt[Pt.SuperAdmin=1]="SuperAdmin",Pt[Pt.Operation=2]="Operation",Pt[Pt.CertifiedTeacher=5]="CertifiedTeacher",Pt[Pt.TrainingProduction=8]="TrainingProduction",Pt[Pt.UncertifiedTeacher=12]="UncertifiedTeacher",Pt[Pt.Student=15]="Student",Pt))(i||{}),l=(Pt=>(Pt[Pt.SuperAdmin=1]="SuperAdmin",Pt[Pt.Operation=2]="Operation",Pt[Pt.Admin=5]="Admin",Pt[Pt.Teacher=8]="Teacher",Pt[Pt.Assistant=12]="Assistant",Pt[Pt.Student=15]="Student",Pt))(l||{}),c=(Pt=>(Pt[Pt.SuperAdmin=0]="SuperAdmin",Pt[Pt.Teacher=1]="Teacher",Pt[Pt.Student=2]="Student",Pt))(c||{});const f=Pt=>{const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return Pt.some(fe=>fe==(Ze==null?void 0:Ze.role))},o=Pt=>{const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return Ze!=null&&Ze.own?!0:Pt.some(fe=>{var pe;return fe==((pe=Ze==null?void 0:Ze.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Pt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Qt}=Pt;return Qt.main_site},u=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return(Pt=Ze==null?void 0:Ze.course)==null?void 0:Pt.course_is_end},a=()=>{const{user:Pt}=getDvaApp()._store.getState(),{userInfo:Qt}=Pt;return Qt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),C=()=>f([1,2,5]),O=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),se=()=>o([15]),Q=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),J=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ze}=Qt;return((Pt=Ze==null?void 0:Ze.course)==null?void 0:Pt.course_role)===null},ee=()=>{var Pt;const{user:Qt,globalSetting:Ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Qt,pe=((Pt=Ze==null?void 0:Ze.setting)==null?void 0:Pt.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},V=(Pt=!0,Qt=!1)=>f([1,2,5,8,12,15]),ue=(Pt=!0,Qt=!1)=>Qt||!Qt&&f([1]),te=(Pt=!0,Qt=!1)=>Qt||!Qt&&f([1,2]),q=()=>f([15]),ce=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Z=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),j=(Pt=!0,Qt=!1)=>{const{user:Ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ze;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},ae=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),me=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),Te=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Oe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),He=(Pt=!0,Qt=!1)=>Pt?f([1,2,5]):Qt||!Qt&&f([1,2]),Ne=(Pt=!0,Qt=!1)=>Pt?f([1]):!1,Ft=(Pt=!0,Qt=!1)=>f([1,2,5,8,12,15]),bt=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),Rt=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),$t=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12,15]):Qt||!Qt&&f([1,2]),Bt=(Pt=!0,Qt=!1)=>Pt?!1:Qt||!Qt&&f([1,2]),rr=(Pt=!0,Qt=!1)=>Pt?Qt||!Qt&&f([1,2]):!1,je=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):!1,Et=(Pt=!0,Qt=!1)=>Pt?!Qt&&f([1,2,5,8,12]):!1,jt=(Pt=!0,Qt=!1)=>Pt?f([1,2,5]):Qt||!Qt&&f([1,2]),rt=(Pt=!0,Qt=!1)=>f([1,2,5,8,12]),yt=(Pt=!0,Qt=!1)=>Pt?f([1]):Qt||!Qt&&f([1]),ht=(Pt=!0,Qt=!1)=>Pt?f([1,2]):Qt||!Qt&&f([1,2]),qe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),Be=(Pt=!0,Qt=!1)=>Pt?Qt||!Qt&&f([1,2]):!1,xe=(Pt=!0,Qt=!1)=>Pt?f([1,2,5,8,12]):Qt||!Qt&&f([1,2]),Re=(Pt=!0,Qt=!1)=>o([8]),Ge=()=>f([1]),We=()=>f([1,2]),Xe=()=>f([15]),pt=()=>f([1,2,5]),xt=()=>f([1,2,5,12]),ir=()=>{var Pt;const{user:Qt}=(0,r.getDvaApp)()._store.getState();return!!((Pt=Qt.userInfo)!=null&&Pt.login)},Jt=()=>{const{user:Pt}=(0,r.getDvaApp)()._store.getState();return Pt.userInfo},Le=()=>{var Pt,Qt;const{user:Ze}=(0,r.getDvaApp)()._store.getState();return!!((Qt=(Pt=Ze.userInfo)==null?void 0:Pt.path)!=null&&Qt.own)},tt=Pt=>{const{graduations:Qt}=(0,r.getDvaApp)()._store.getState(),{details:Ze}=Qt;return Pt.some(fe=>fe===(Ze==null?void 0:Ze.user_identity))},Kt=()=>tt([0,1]),Mt=()=>tt([0]),Wt=()=>tt([1]),Ht=()=>tt([2])},32162:function(d,_,e){"use strict";e.d(_,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},77935:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.182",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.182",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return ue},ZP:function(){return le},d4:function(){return te},gz:function(){return ce},rz:function(){return Q},v_:function(){return q}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=(j,ae,me)=>ae in j?y(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,O=(j,ae)=>{for(var me in ae||(ae={}))k.call(ae,me)&&C(j,me,ae[me]);if(A)for(var me of A(ae))R.call(ae,me)&&C(j,me,ae[me]);return j},M=(j,ae)=>m(j,b(ae)),B=(j,ae,me)=>new Promise((Te,Oe)=>{var He=bt=>{try{Ft(me.next(bt))}catch(Rt){Oe(Rt)}},Ne=bt=>{try{Ft(me.throw(bt))}catch(Rt){Oe(Rt)}},Ft=bt=>bt.done?Te(bt.value):Promise.resolve(bt.value).then(He,Ne);Ft((me=me.apply(j,ae)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(j,ae)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const me=K[j.status]||j.statusText;let Te;var Oe=j.json();yield Oe.then((Ne,Ft)=>{setTimeout(()=>{let bt=(0,u.getDvaApp)()},400),Te=Ne.message,window.showNetworkErrorTip(Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:Ne.message?"":me})});const He=new Error(me);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Te||me}}),H=(j,ae)=>{const me=j.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function se(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ae){return!1}}const Q=j=>{j=j||{};let ae="";for(let me in j)typeof j[me]=="object"?Array.isArray(j[me])&&j[me].forEach((Te,Oe)=>{ae+="&"+me+"[]="+Te}):j[me]!==void 0&&(ae+="&"+me+"="+(se(j[me])?j[me]:encodeURIComponent(j[me])));return ae.substr(1)};function le(j,ae,me,Te){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const Oe=O({},ae),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=He,Ft=j+(Oe.body?JSON.stringify(Oe.body):""),bt=o().sha256().update(Ft).digest("hex"),Rt={credentials:"include",withCredentials:!0},$t={};Ne!=null&&Ne.login&&($t.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&($t.zzsud=Ne==null?void 0:Ne.school_id),Oe.params=O(O({},Oe.params||{}),$t));let Bt=O(O({},Rt),(0,x.cloneDeep)(Oe));(Bt.method==="POST"||Bt.method==="PUT"||Bt.method==="PATCH"||Bt.method==="DELETE")&&(me?(Bt.headers=M(O({_method:ae.method.toUpperCase()},Bt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Bt.body=Oe.body):(Bt.headers=O({Accept:"application/json",_method:ae.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Bt.headers),Bt.body=JSON.stringify(Oe.body))),Bt.method=="GET"?(Bt.headers=M(O({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Bt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Oe.params&&Q(Oe.params)&&(j+="?"+Q(Oe.params))):$t.zzud&&(j+="?"+Q(O({},$t)));const rr=Oe.expirys&&60;let je;(yt=>{yt.json="application/json;charset=UTF-8",yt.form="application/x-www-form-urlencoded; charset=UTF-8"})(je||(je={}));let Et;(yt=>{yt.get="GET",yt.post="POST"})(Et||(Et={}));const jt=yt=>B(this,null,function*(){const ht=yield yt.arrayBuffer();let qe;const Be=new Blob([ht]);try{qe=yt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const xe=document.createElement("a"),Re=window.URL.createObjectURL(Be),Ge=qe;return xe.href=Re,xe.download=Ge,xe.click(),window.URL.revokeObjectURL(Re),ht});let rt=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(rt=""),Bt.method=="GET"&&Bt.params&&Object.keys(Bt.params).map(yt=>{if(Bt.params[yt]&&!Array.isArray(Bt.params[yt]))try{Bt.params[yt]=encodeURIComponent(decodeURIComponent(Bt.params[yt]))}catch(ht){Bt.params[yt]=encodeURIComponent(Bt.params[yt])}}),(0,a.Ec)(Bt,j),Te&&(rt=""),Bt.headers._method=Bt.method,Bt.headers["X-HTTP-Method-Override"]=Bt.method,Bt.method!=="GET"&&(Bt.method="POST"),fetch(rt+j,Bt).then(yt=>G(yt,O({url:r.Z.API_SERVER+j},Bt))).then(yt=>H(yt,bt)).then(yt=>B(this,null,function*(){var ht,qe,Be,xe;try{const Ge=yt.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(yt.status===204)return yt.text();let Re;if(yt.headers.get("content-type").indexOf("application/json")>-1){Re=yield yt.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Xe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,pt=/\/api\/attachments\/(\d+)/g,xt=/\/attachments\/download\/(\d+)/g;let ir=JSON.stringify(Re).replace(pt,(Jt,Le,tt,Kt)=>{const Mt=Le||tt||Kt;return"/api/attachments/"+(0,a.Jn)(Mt)}).replace(xt,(Jt,Le,tt)=>{const Kt=Le||tt;return"/attachments/download/"+(0,a.Jn)(Kt)}).replace(Ge,(Jt,Le,tt,Kt)=>{const Mt=Le||tt||Kt;return"(/api/attachments/"+(0,a.Jn)(Mt)}).replace(We,(Jt,Le,tt)=>{const Kt=Le||tt;return'"/api/attachments/'+(0,a.Jn)(Kt)}).replace(Xe,(Jt,Le,tt)=>{const Kt=Le||tt;return"(/files/uploads/"+(0,a.Jn)(Kt)}).replace(/\r\n/g,` `);Re=JSON.parse(ir)}catch(Ge){}}else Bt.headers["Content-Type"]==="application/xml"?Re=yield yt.text():(ht=Oe.body)!=null&&ht.autoDownload||(qe=Oe.params)!=null&&qe.autoDownload?Re=yield jt(yt):Re=yield yt.arrayBuffer();try{Re.status===401&&(!((Be=Bt.params)!=null&&Be.hidePopLogin)||!((xe=Bt.body)!=null&&xe.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Re.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Ge){console.log("fetcherr",Ge)}return V(Re,j),Re})).catch(yt=>{try{const ht=yt.code;if(yt instanceof TypeError&&window.showNetworkErrorTip(`${j}${yt.message}`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(yt,j)}else j.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Bt.body}}):yt.message!=="403"&&window.showNetworkErrorTip(`${j}${yt.message}`);return yt}catch(ht){}})}let J=!1,ee=!1;const V=(j,ae)=>{var me,Te,Oe;if(j.status==-6&&!ee){ee=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>ee=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:j.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(j.status==-7){ee=!0,setTimeout(()=>ee=!1,500);let Ne="";(me=j==null?void 0:j.data)!=null&&me.exercise_list&&((Oe=(Te=j==null?void 0:j.data)==null?void 0:Te.exercise_list)==null||Oe.map(Ft=>{Ne+=`\u300A${Ft.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${Ne} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((j.status==-1||j.status==-2||j.status==-102||j.status>400)&&j.status!=403&&!ee){ee=!0,setTimeout(()=>ee=!1,500),c.ZP.warning({content:j.message,key:"message-key"});return}const He={403:"/403",404:"/404",500:"/500"};if(He[j.status]&&!J){const{user:Ne}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Ne;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(j)),Object.values(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[j.status]),new Error("403")}};function ue(j,ae){return le(`/api/${j}`,{method:"Get",params:ae||{}})}function te(j,ae){return le(`/${j}`,{method:"Get",params:ae})}function q(j,ae){return le(`/api/${j}`,{method:"Post",body:O({},ae)})}function ce(j,ae){return le(`/api/${j}`,{method:"Put",body:O({},ae)})}function Z(j,ae){return le(`/api/${j}`,{method:"delete",body:O({},ae||{})})}},11851:function(d,_,e){"use strict";e.d(_,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,_,e){"use strict";e.d(_,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(se,Q){const le=se.match(/^(\s+)(?:```)/);if(le===null)return Q;const J=le[1];return Q.split(` `).map(ee=>{const V=ee.match(/^\s+/);if(V===null)return ee;const[ue]=V;return ue.length>=J.length?ee.slice(J.length):ee}).join(` `)}let h=[],u=["
    "];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["
      "]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function m(se,Q,le,J){if(Q>=se.length||se[Q].level<=le)return Q;var ee=se[Q];J.push("
    • "+ee.text+""),Q++;var V=[];return Q=m(se,Q,ee.level,V),V.length>0&&(J.push("
        "),V.forEach(function(ue){J.push(ue)}),J.push("
      ")),J.push("
    • "),Q=m(se,Q,le,J),Q}function b(){return m(h,0,0,u),u.push("
    "),u.join("")}const A={heading(se){const Q=x.exec(se);if(f+=1,Q)return{type:"heading",raw:Q[0],depth:Q[1].length,text:Q[2]}},fences(se){const Q=this.rules.block.fences.exec(se);if(Q){const le=Q[0];let J=o(le,Q[3]||"");const ee=Q[2]?Q[2].trim():Q[2];if(["latex","katex","math"].indexOf(ee)>=0){const V=C(),ue=J;J=V,O[V]={type:"block",expression:ue}}return{type:"code",raw:le,lang:ee,text:J}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const C=()=>`__special_katext_id_${R++}__`;let O={};function M(){return O}function B(){R=0,O={}}function N(se){return se=se.replace(k,(Q,le)=>{const J=C();return O[J]={type:"inline",expression:le},J}),se}const K=a.listitem;a.listitem=function(se){return K(N(se))};const G=a.paragraph;a.paragraph=function(se){return G(N(se))};const H=a.tablecell;a.tablecell=function(se,Q){return H(N(se),Q)},a.code=function(se,Q,le){const J=(Q||"").match(/\S*/)[0];return J?["latex","katex","math"].indexOf(J)>=0?`

    ${se}

    `:`
    ${le?se:(0,l.escape)(se,!0)}
    @@ -1480,6 +1480,6 @@ Schedule: ${Y.map(Ee=>Fo(Ee))} pos: ${this.timelinePos}`),ne.length&&this.log(`R `).split(` `),W=[],ne=t?Wn(t.baseTime,t.timescale):0;let oe="00:00.000",ve=0,we=0,Ee,ut=!0;U.oncue=function(et){const zt=n[s];let ar=n.ccOffset;const Yt=(ve-ne)/9e4;if(zt!=null&&zt.new&&(we!==void 0?ar=n.ccOffset=zt.start:mc(n,s,Yt)),Yt){if(!t){Ee=new Error("Missing initPTS for VTT MPEGTS");return}ar=Yt-n.presentationOffset}const Ar=et.endTime-et.startTime,Wr=Ki((et.startTime+ar-we)*9e4,v*9e4)/9e4;et.startTime=Math.max(Wr,0),et.endTime=Math.max(Wr+Ar,0);const ln=et.text.trim();et.text=decodeURIComponent(encodeURIComponent(ln)),et.id||(et.id=pc(et.startTime,et.endTime,ln)),et.endTime>0&&W.push(et)},U.onparsingerror=function(et){Ee=et},U.onflush=function(){if(Ee){T(Ee);return}w(W)},Y.forEach(et=>{if(ut)if(tc(et,"X-TIMESTAMP-MAP=")){ut=!1,et.slice(16).split(",").forEach(zt=>{tc(zt,"LOCAL:")?oe=zt.slice(6):tc(zt,"MPEGTS:")&&(ve=parseInt(zt.slice(7)))});try{we=hl(oe)/1e3}catch(zt){Ee=zt}return}else et===""&&(ut=!1);U.parse(et+` `)}),U.flush()}const tu="stpp.ttml.im1t",Hu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,pl=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,vc={left:"start",center:"center",right:"end",start:"start",end:"end"};function pu(E,t,n,s){const v=yt(new Uint8Array(E),["mdat"]);if(v.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const w=v.map(U=>J(U)),T=gn(t.baseTime,1,t.timescale);try{w.forEach(U=>n(_c(U,T)))}catch(U){s(U)}}function _c(E,t){const v=new DOMParser().parseFromString(E,"text/xml").getElementsByTagName("tt")[0];if(!v)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(w).reduce((oe,ve)=>(oe[ve]=v.getAttribute(`ttp:${ve}`)||w[ve],oe),{}),U=v.getAttribute("xml:space")!=="preserve",Y=En(Ju(v,"styling","style")),W=En(Ju(v,"layout","region")),ne=Ju(v,"body","[begin]");return[].map.call(ne,oe=>{const ve=Gn(oe,U);if(!ve||!oe.hasAttribute("begin"))return null;const we=ea(oe.getAttribute("begin"),T),Ee=ea(oe.getAttribute("dur"),T);let ut=ea(oe.getAttribute("end"),T);if(we===null)throw Hi(oe);if(ut===null){if(Ee===null)throw Hi(oe);ut=we+Ee}const et=new fl(we-t,ut-t,ve);et.id=pc(et.startTime,et.endTime,et.text);const zt=W[oe.getAttribute("region")],ar=Y[oe.getAttribute("style")],Yt=Fi(zt,ar,Y),{textAlign:Ar}=Yt;if(Ar){const Wr=vc[Ar];Wr&&(et.lineAlign=Wr),et.align=Ar}return y(et,Yt),et}).filter(oe=>oe!==null)}function Ju(E,t,n){const s=E.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function En(E){return E.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Gn(E,t){return[].slice.call(E.childNodes).reduce((n,s,v)=>{var w;return s.nodeName==="br"&&v?n+` -`:(w=s.childNodes)!=null&&w.length?Gn(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Fi(E,t,n){const s="http://www.w3.org/ns/ttml#styling";let v=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=E!=null&&E.hasAttribute("style")?E.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(v=n[T]),w.reduce((U,Y)=>{const W=ba(t,s,Y)||ba(E,s,Y)||ba(v,s,Y);return W&&(U[Y]=W),U},{})}function ba(E,t,n){return E&&E.hasAttributeNS(t,n)?E.getAttributeNS(t,n):null}function Hi(E){return new Error(`Could not parse ttml timestamp ${E}`)}function ea(E,t){if(!E)return null;let n=Ao(E);return n===null&&(Hu.test(E)?n=pa(E,t):pl.test(E)&&(n=fs(E,t))),n}function pa(E,t){const n=Hu.exec(E),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function fs(E,t){const n=pl.exec(E),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Ni{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ds{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ni(this,"textTrack1"),n=new Ni(this,"textTrack2"),s=new Ni(this,"textTrack3"),v=new Ni(this,"textTrack4");this.cea608Parser1=new ec(1,t,n),this.cea608Parser2=new ec(3,s,v)}addCues(t,n,s,v,w){let T=!1;for(let U=w.length;U--;){const Y=w[U],W=el(Y[0],Y[1],n,s);if(W>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),T=!0,W/(s-n)>.5))return}if(T||w.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,v)}else{const U=this.Cues.newCue(null,n,s,v);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w}),T.length&&(this.unparsedVttFrags=[],T.forEach(U=>{this.initPTS[U.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,U):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:U.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{Xu(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===tu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(El(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,U=T?eu(T.textTracks):null;if(this.tracks.forEach((Y,W)=>{let ne;if(U){let oe=null;for(let ve=0;veW!==null).map(W=>W.label);Y.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${Y.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,T=this.captionsProperties[w];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:T,lastSn:U}=this,{cc:Y,sn:W}=n.frag,ne=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&T&&(W!==U+1||W===U&&ne!==this.lastPartIndex+1||Y!==this.lastCc)&&(w.reset(),T.reset()),this.lastCc=Y,this.lastSn=W,this.lastPartIndex=ne}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===u.SUBTITLE)if(v.byteLength){const w=s.decryptdata,T="stats"in n;if(w==null||!w.encrypted||T){const U=this.tracks[s.level],Y=this.vttCCs;Y[s.cc]||(Y[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===tu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;pu(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:T}=this,U=w.length-1;if(!w[s.cc]&&U===-1){T.push(t);return}const Y=this.hls,W=(n=s.initSegment)!=null&&n.data?Le(s.initSegment.data,new Uint8Array(v)).buffer:v;Xc(W,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ne=>{this._appendCues(ne,s.level),Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ne=>{const oe=ne.message==="Missing initPTS for VTT MPEGTS";oe?T.push(t):this._fallbackToIMSC1(s,v),Y.logger.log(`Failed to parse VTT cue: ${ne}`),!(oe&&U>s.cc)&&Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ne})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||pu(n,this.initPTS[t.cc],()=>{s.textCodec=tu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>wu(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wul(U[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(Y=>ul(U[Y],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?Y--:Y++;const we=qu(W.trim()),Ee=pc(t,n,we);E!=null&&(oe=E.cues)!=null&&oe.getCueById(Ee)||(T=new ne(t,n,we),T.id=Ee,T.line=ve+1,T.align="left",T.position=10+Math.min(80,Math.floor(Y*8/32)*10),v.push(T))}return E&&v.length&&(v.sort((ve,we)=>ve.line==="auto"||we.line==="auto"?0:ve.line>8&&we.line>8?we.line-ve.line:ve.line-we.line),v.forEach(ve=>wu(E,ve))),v}};function Sf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(E){}return!1}const Fl=/(\d+)-(\d+)\/(\d+)/;class uf{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||tl,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Lc(t,this.controller.signal),T=t.responseType==="arraybuffer",U=T?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:W}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(Qo(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(oe=>{var ve;this.response=this.loader=oe;const we=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},W-(we-v.loading.start)),!oe.ok){const{status:ut,statusText:et}=oe;throw new Of(et||"fetch, bad network response",ut,oe)}v.loading.first=we,v.total=lf(oe.headers)||v.total;const Ee=(ve=this.callbacks)==null?void 0:ve.onProgress;return Ee&&r(n.highWaterMark)?this.loadProgressively(oe,v,t,n.highWaterMark,Ee):T?oe.arrayBuffer():t.responseType==="json"?oe.json():oe.text()}).then(oe=>{var ve,we;const Ee=this.response;if(!Ee)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ut=oe[U];ut&&(v.loaded=v.total=ut);const et={url:Ee.url,data:oe,code:Ee.status},zt=(ve=this.callbacks)==null?void 0:ve.onProgress;zt&&!r(n.highWaterMark)&&zt(v,t,oe,Ee),(we=this.callbacks)==null||we.onSuccess(et,v,t,Ee)}).catch(oe=>{var ve;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const we=oe&&oe.code||0,Ee=oe?oe.message:null;(ve=this.callbacks)==null||ve.onError({code:we,text:Ee},t,oe?oe.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const T=new wi,U=t.body.getReader(),Y=()=>U.read().then(W=>{if(W.done)return T.dataLength&&w(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ne=W.value,oe=ne.length;return n.loaded+=oe,oe=v&&w(n,s,T.flush().buffer,t)):w(n,s,ne.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function Lc(E,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},E.headers))};return E.rangeEnd&&n.headers.set("Range","bytes="+E.rangeStart+"-"+String(E.rangeEnd-1)),n}function Qc(E){const t=Fl.exec(E);if(t)return parseInt(t[2])-parseInt(t[1])+1}function lf(E){const t=E.get("Content-Range");if(t){const s=Qc(t);if(r(s))return s}const n=E.get("Content-Length");if(n)return parseInt(n)}function tl(E,t){return new self.Request(E.url,t)}class Of extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Vu=/^age:\s*[\d.]+\s*$/im;class gc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:T.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:T}=s.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const W=n.status,ne=n.responseType==="text"?n.responseText:null;if(W>=200&&W<300){const Ee=ne!=null?ne:n.response;if(Ee!=null){var T,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Ee.byteLength:Ee.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const et=(T=this.callbacks)==null?void 0:T.onProgress;et&&et(s,t,Ee,n);const zt={url:n.responseURL,data:Ee,code:W};(U=this.callbacks)==null||U.onSuccess(zt,s,t,n);return}}const oe=w.loadPolicy.errorRetry,ve=s.retry,we={url:t.url,data:void 0,code:W};if(jr(oe,ve,!1,we))this.retry(oe);else{var Y;H.error(`${W} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:W,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(jr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=fr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Vu.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const cf={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Go=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:gc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:wa,bufferController:Jn,capLevelController:qo,errorController:ot,fpsController:ol,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Do,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:cf},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},qc()),{},{subtitleStreamController:Kc,subtitleTrackController:Ef,timelineController:ds,audioStreamController:wl,audioTrackController:Bu,emeController:zu,cmcdController:Il,contentSteeringController:xu,interstitialsController:Rc});function qc(){return{cueHandler:If,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function ff(E,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ou(E),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(T=>{const U=`${T==="level"?"playlist":T}LoadPolicy`,Y=t[U]===void 0,W=[];w.forEach(ne=>{const oe=`${T}Loading${ne}`,ve=t[oe];if(ve!==void 0&&Y){W.push(oe);const we=s[U].default;switch(t[U]={default:we},ne){case"TimeOut":we.maxLoadTimeMs=ve,we.maxTimeToFirstByteMs=ve;break;case"MaxRetry":we.errorRetry.maxNumRetry=ve,we.timeoutRetry.maxNumRetry=ve;break;case"RetryDelay":we.errorRetry.retryDelayMs=ve,we.timeoutRetry.retryDelayMs=ve;break;case"MaxRetryTimeout":we.errorRetry.maxRetryDelayMs=ve,we.timeoutRetry.maxRetryDelayMs=ve;break}}}),W.length&&n.warn(`hls.js config: "${W.join('", "')}" setting(s) are deprecated, use "${U}": ${yn(t[U])}`)}),b(b({},s),t)}function Ou(E){return E&&typeof E=="object"?Array.isArray(E)?E.map(Ou):Object.keys(E).reduce((t,n)=>(t[n]=Ou(E[n]),t),{}):E}function yc(E,t){const n=E.loader;n!==uf&&n!==gc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),E.progressive=!1):Sf()&&(E.loader=uf,E.progressive=!0,E.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Co=2,df=.1,hf=.05,Mc=100;class Fc extends ps{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Ps(s,"playing",this.onMediaPlaying),Ps(s,"waiting",this.onMediaWaiting),Ps(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(oo(s,"playing",this.onMediaPlaying),oo(s,"waiting",this.onMediaWaiting),oo(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const T=this.media;if(!T)return;const{seeking:U}=T,Y=this.seeking&&!U,W=!this.seeking&&U,ne=T.paused&&!U||T.ended||T.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ne&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(W||Y){Y&&this.stallResolved(t);return}if(ne){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Zn.getBuffered(T).length){this.nudgeRetry=0;return}const oe=Zn.bufferInfo(T,t,0),ve=oe.nextStart||0,we=this.fragmentTracker;if(U&&we&&this.hls){const ln=Jc(this.hls.inFlightFragments,t),Zr=oe.len>Co,Xr=!ve||ln||ve-t>Co&&!we.getPartialFragment(t);if(Zr||Xr)return;this.moved=!1}const Ee=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&we){if(!(oe.len>0)&&!ve)return;const Zr=Math.max(ve,oe.start||0)-t,tn=!!(Ee!=null&&Ee.live)?Ee.targetduration*2:Co,Br=we.getPartialFragment(t);if(Zr>0&&(Zr<=tn||Br)){T.paused||this._trySkipBufferHole(Br);return}}const ut=w.detectStallWithCurrentTimeMs,et=self.performance.now(),zt=this.waiting;let ar=this.stalled;if(ar===null)if(zt>0&&et-zt=ut||zt)&&this.hls){var Ar;if(((Ar=this.mediaSource)==null?void 0:Ar.readyState)==="ended"&&!(Ee!=null&&Ee.live)&&Math.abs(t-((Ee==null?void 0:Ee.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(oe),!this.media||!this.hls)return}const Wr=Zn.bufferInfo(T,t,w.maxBufferHole);this._tryFixBufferStall(Wr,Yt,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=Zn.bufferedInfo(Zn.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const T=Zn.timeRangesToArray(v),U=Zn.bufferedInfo(T,n,0).bufferedIndex;if(U>-1&&UU)&&ne-W<1&&t-W<2){const oe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${W} -> ${ne} buffered index: ${Y}`);this.warn(oe.message),this.media.currentTime+=1e-6;const ve=this.fragmentTracker.getPartialFragment(t)||void 0,we=Zn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:oe,reason:oe.message,frag:ve,buffer:we.len,bufferInfo:we})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:T,media:U}=this,Y=(v=this.hls)==null?void 0:v.config;if(!U||!T||!Y)return;const W=(w=this.hls)==null?void 0:w.latestLevelDetails,ne=T.getPartialFragment(s);if((ne||W!=null&&W.live&&s1&&t.len>Y.maxBufferHole||t.nextStart&&(t.nextStart-sY.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,u.MAIN),T=s.getFragAtPos(v,u.MAIN);if(w&&T)return T.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${yn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const T=v.currentTime,U=Zn.bufferInfo(v,T,0),Y=T0&&U.len<1&&v.readyState<3,ve=Y-T;if(ve>0&&(ne||oe)){if(ve>w.maxBufferHole){let Ee=!1;if(T===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&Y{const E=Af();try{E&&new E(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class kf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Xu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nCf&&(oe=Cf),oe-ne<=0&&(oe=ne+Df);for(let we=0;wene.type===Qa.audioId3&&Y:v==="video"?W=ne=>ne.type===Qa.emsg&&U:W=ne=>ne.type===Qa.audioId3&&Y||ne.type===Qa.emsg&&U,ul(w,n,s,W)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:v}=t,w=Object.keys(v);let T=this.dateRangeCuesAppended;if(s&&n){var U;if((U=s.cues)!=null&&U.length){const ne=Object.keys(T).filter(oe=>!w.includes(oe));for(let oe=ne.length;oe--;){const ve=ne[oe],we=T[ve].cues;delete T[ve],Object.keys(we).forEach(Ee=>{try{const ut=we[Ee];ut.removeEventListener("enter",this.onEventCueEnter),s.removeCue(ut)}catch(ut){}})}}else T=this.dateRangeCuesAppended={}}const Y=t.fragments[t.fragments.length-1];if(w.length===0||!r(Y==null?void 0:Y.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const W=Af();for(let ne=0;ne{if(Zr!==ve.id){const Xr=v[Zr];if(Xr.class===ve.class&&Xr.startDate>ve.startDate&&(!ln||ve.startDate.01&&(Zr.startTime=we,Zr.endTime=zt);else if(W){let Xr=ve.attr[ln];In(ln)&&(Xr=V(Xr));const Br=ef(W,we,zt,{key:ln,data:Xr},Qa.dateRange);Br&&(Br.id=oe,this.id3Track.addCue(Br),ut[ln]=Br,this.hls.config.interstitialsController&&(ln==="X-ASSET-LIST"||ln==="X-ASSET-URL")&&Br.addEventListener("enter",this.onEventCueEnter))}}T[oe]={cues:ut,dateRange:ve,durationKnown:et}}}}class pf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:T}=this.config;if(!w||T===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const Y=v-U,W=Math.min(this.maxLatency,U+s.targetduration);if(Y.05&&this.forwardBufferLength>1){const oe=Math.min(2,Math.max(1,T)),ve=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,we=Math.min(oe,Math.max(1,ve));this.changeMediaPlaybackRate(n,we)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:T,lowLatencyMode:U}=this.config,Y=this.hls.userConfig;let W=U&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||W===0)&&(W=w!==void 0?w:T*v);const ne=v;return W+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ne)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,T=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,w),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Zf extends Uo{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},T={};let U=!1,Y=!1,W=!1;n.levels.forEach(ne=>{const oe=ne.attrs;let{audioCodec:ve,videoCodec:we}=ne;ve&&(ne.audioCodec=ve=Ie(ve,s)||void 0),we&&(we=ne.videoCodec=At(we));const{width:Ee,height:ut,unknownCodecs:et}=ne;let zt=et?et.length:0;if(et)for(let Br=zt;Br--;){const Rn=et[Br];this.isAudioSupported(Rn)?(ne.audioCodec=ve=ve?`${ve},${Rn}`:Rn,zt--,pe.audio[ve.substring(0,4)]=2):this.isVideoSupported(Rn)&&(ne.videoCodec=we=we?`${we},${Rn}`:Rn,zt--,pe.video[we.substring(0,4)]=2)}if(U||(U=!!(Ee&&ut)),Y||(Y=!!we),W||(W=!!ve),zt||ve&&!this.isAudioSupported(ve)||we&&!this.isVideoSupported(we)){this.log(`Some or all CODECS not supported "${oe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":Yt,"HDCP-LEVEL":Ar,"PATHWAY-ID":Wr,RESOLUTION:ln,"VIDEO-RANGE":Zr}=oe,tn=`${`${Wr||"."}-`}${ne.bitrate}-${ln}-${Yt}-${ar}-${Zr}-${Ar}`;if(w[tn])if(w[tn].uri!==ne.url&&!ne.attrs["PATHWAY-ID"]){const Br=T[tn]+=1;ne.attrs["PATHWAY-ID"]=new Array(Br+1).join(".");const Rn=this.createLevel(ne);w[tn]=Rn,v.push(Rn)}else w[tn].addGroupId("audio",oe.AUDIO),w[tn].addGroupId("text",oe.SUBTITLES);else{const Br=this.createLevel(ne);w[tn]=Br,T[tn]=1,v.push(Br)}}),this.filterAndSortMediaOptions(v,n,U,Y,W)}createLevel(t){const n=new $r(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=pr(v,[])}return n}isAudioSupported(t){return Ce(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ce(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){let T=[],U=[],Y=t;if((s||v)&&w&&(Y=Y.filter(({videoCodec:et,videoRange:zt,width:ar,height:Yt})=>(!!et||!!(ar&&Yt))&&at(zt))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let et="no level with compatible codecs found in manifest",zt=et;n.levels.length&&(zt=`one or more CODECS in variant not supported: ${yn(n.levels.map(Yt=>Yt.attrs.CODECS).filter((Yt,Ar,Wr)=>Wr.indexOf(Yt)===Ar))}`,this.warn(zt),et+=` (${zt})`);const ar=new Error(et);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:ar,reason:zt})}});return}n.audioTracks&&(T=n.audioTracks.filter(et=>!et.audioCodec||this.isAudioSupported(et.audioCodec)),mf(T)),n.subtitles&&(U=n.subtitles,mf(U));const W=Y.slice(0);Y.sort((et,zt)=>{if(et.attrs["HDCP-LEVEL"]!==zt.attrs["HDCP-LEVEL"])return(et.attrs["HDCP-LEVEL"]||"")>(zt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&et.height!==zt.height)return et.height-zt.height;if(et.frameRate!==zt.frameRate)return et.frameRate-zt.frameRate;if(et.videoRange!==zt.videoRange)return vr.indexOf(et.videoRange)-vr.indexOf(zt.videoRange);if(et.videoCodec!==zt.videoCodec){const ar=Ct(et.videoCodec),Yt=Ct(zt.videoCodec);if(ar!==Yt)return Yt-ar}if(et.uri===zt.uri&&et.codecSet!==zt.codecSet){const ar=Pe(et.codecSet),Yt=Pe(zt.codecSet);if(ar!==Yt)return Yt-ar}return et.averageBitrate!==zt.averageBitrate?et.averageBitrate-zt.averageBitrate:0});let ne=W[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==W.length)){for(let et=0;etar&&ar===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Yt)}break}const ve=w&&!v,we=this.hls.config,Ee=!!(we.audioStreamController&&we.audioTrackController),ut={levels:Y,audioTracks:T,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:Ee&&!ve&&T.some(et=>!!et.url)};this.hls.trigger(o.MANIFEST_PARSED,ut)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ne=new Error("invalid level idx"),oe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:oe,error:ne,reason:ne.message}),oe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,T=n[t],U=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&v&&w===U)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${U?" with Pathway "+U:""} from level ${s}${w?" with Pathway "+w:""}`);const Y={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,Y);const W=T.details;if(!W||W.live){const ne=this.switchParams(T.uri,v==null?void 0:v.details,W);this.loadPlaylist(ne)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,T=n.levelInfo;if(!T){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(w.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let Y=T.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(v,n,Y)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],T=t.details,U=T==null?void 0:T.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${U&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(U=>U.level=-1)),!1));Mr(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function mf(E){const t={};E.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Rf(){return self.SourceBuffer||self.WebKitSourceBuffer}function Bf(){if(!se())return!1;const t=Rf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function vf(){if(!Bf())return!1;const E=se();return typeof(E==null?void 0:E.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>E.isTypeSupported(Gt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>E.isTypeSupported(Gt(t,"audio"))))}function $f(){var E;const t=Rf();return typeof(t==null||(E=t.prototype)==null?void 0:E.changeType)=="function"}const Tf=100;class g extends Mi{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const T=this.getFwdBufferInfoAtPos(v,w,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(Tf),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=tr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=tr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case tr.WAITING_LEVEL:{const{levels:n,level:s}=this,v=n==null?void 0:n[s],w=v==null?void 0:v.details;if(w&&(!w.live||this.levelLastLoaded===v&&!this.waitForLive(v))){if(this.waitForCdnTuneIn(w))break;this.state=tr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=tr.IDLE;break}break}case tr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:v,level:w}=this,T=v==null?void 0:v[w];this.resetStartWhenNotLoaded(T||null),this.state=tr.IDLE}}break}this.state===tr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const T=s[w],U=this.getMainFwdBufferInfo();if(U===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(U,Y)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=tr.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const W=T.details;if(!W||this.state===tr.WAITING_LEVEL||this.waitForLive(T)){this.level=w,this.state=tr.WAITING_LEVEL,this.startFragRequested=!1;return}const ne=U.len,oe=this.getMaxBufferLength(T.maxBitrate);if(ne>=oe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const ve=this.backtrackFragment?this.backtrackFragment.start:U.end;let we=this.getNextFragment(ve,W);if(this.couldBacktrack&&!this.fragPrevious&&we&&Te(we)&&this.fragmentTracker.getState(we)!==wr.OK){var Ee;const et=((Ee=this.backtrackFragment)!=null?Ee:we).sn-W.startSN,zt=W.fragments[et-1];zt&&we.cc===zt.cc&&(we=zt,this.fragmentTracker.removeFragment(zt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(we&&this.isLoopLoading(we,ve)){if(!we.gap){const et=this.audioOnly&&!this.altAudio?ae.AUDIO:ae.VIDEO,zt=(et===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;zt&&this.afterBufferFlushed(zt,et,u.MAIN)}we=this.getNextFragmentLoopLoading(we,W,U,u.MAIN,oe)}we&&(we.initSegment&&!we.initSegment.data&&!this.bitrateTest&&(we=we.initSegment),this.loadFragment(we,T,ve))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===wr.NOT_LOADED||v===wr.PARTIAL?Te(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const U=this.getMainFwdBufferInfo();if(!U||U.len{const T=w.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,v=v||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&v&&!$f(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==tr.IDLE)return;const v=n.levelInfo;(!v.details||v.details.live&&(this.levelLastLoaded!==v||v.details.expired)||this.waitForCdnTuneIn(v.details))&&(this.state=tr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:v,startFragRequested:w}=this,T=n.level,U=n.details,Y=U.totalduration;if(!v){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${Y}`);const W=n.levelInfo,ne=this.fragCurrent;ne&&(this.state===tr.FRAG_LOADING||this.state===tr.FRAG_LOADING_WAITING_RETRY)&&ne.level!==n.level&&ne.loader&&this.abortCurrentFrag();let oe=0;if(U.live||(s=W.details)!=null&&s.live){var ve;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;oe=this.alignPlaylists(U,W.details,(ve=this.levelLastLoaded)==null?void 0:ve.details)}if(W.details=U,this.levelLastLoaded=W,w||this.setStartPosition(U,oe),this.hls.trigger(o.LEVEL_UPDATED,{details:U,level:T}),this.state===tr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=tr.IDLE}w&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const v=this.hls.liveSyncPosition,w=this.getLoadPosition(),T=t.fragmentStart,U=t.edge,Y=w>=T-n.maxFragLookUpTolerance&&w<=U;if(v!==null&&s.duration>v&&(w{var T;(T=this.hls)==null||T.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ui(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,T=!1;for(const U in s){const Y=s[U];if(Y.id==="main"){if(w=U,v=Y,U==="video"){const W=s[U];W&&(this.videoBuffer=W.buffer)}}else T=!0}T&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===u.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===tr.PARSED&&(this.state=tr.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Te(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const T=this.media;T&&(!this._hasEnoughToStart&&Zn.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=tr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===tr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=tr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=tr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ae.AUDIO||!this.altAudio){const s=(n===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(Y{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=tr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=w.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),v.trigger(o.FRAG_LOADED,s),w.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:v}=this,{remuxResult:w,chunkMeta:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:Y,part:W,level:ne}=U,{video:oe,text:ve,id3:we,initSegment:Ee}=w,{details:ut}=ne,et=this.altAudio?void 0:w.audio;if(this.fragContextChanged(Y)){this.fragmentTracker.removeFragment(Y);return}if(this.state=tr.PARSING,Ee){if(Ee!=null&&Ee.tracks){const Ar=Y.initSegment||Y;this._bufferInitSegment(ne,Ee.tracks,Ar,T),v.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Ar,id:s,tracks:Ee.tracks})}const zt=Ee.initPTS,ar=Ee.timescale,Yt=this.initPTS[Y.cc];r(zt)&&(!Yt||Yt.baseTime!==zt||Yt.timescale!==ar)&&(this.initPTS[Y.cc]={baseTime:zt,timescale:ar},v.trigger(o.INIT_PTS_FOUND,{frag:Y,id:s,initPTS:zt,timescale:ar}))}if(oe&&ut){et&&oe.type==="audiovideo"&&this.logMuxedErr(Y);const zt=ut.fragments[Y.sn-1-ut.startSN],ar=Y.sn===ut.startSN,Yt=!zt||Y.cc>zt.cc;if(w.independent!==!1){const{startPTS:Ar,endPTS:Wr,startDTS:ln,endDTS:Zr}=oe;if(W)W.elementaryStreams[oe.type]={startPTS:Ar,endPTS:Wr,startDTS:ln,endDTS:Zr};else if(oe.firstKeyFrame&&oe.independent&&T.id===1&&!Yt&&(this.couldBacktrack=!0),oe.dropped&&oe.independent){const Xr=this.getMainFwdBufferInfo(),tn=(Xr?Xr.end:this.getLoadPosition())+this.config.maxBufferHole,Br=oe.firstKeyFramePTS?oe.firstKeyFramePTS:Ar;if(!ar&&tnCo&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Ar,Wr,ln,Zr),this.backtrackFragment&&(this.backtrackFragment=Y),this.bufferFragmentData(oe,Y,W,T,ar||Yt)}else if(ar||Yt)Y.gap=!0;else{this.backtrack(Y);return}}if(et){const{startPTS:zt,endPTS:ar,startDTS:Yt,endDTS:Ar}=et;W&&(W.elementaryStreams[ae.AUDIO]={startPTS:zt,endPTS:ar,startDTS:Yt,endDTS:Ar}),Y.setElementaryStreamInfo(ae.AUDIO,zt,ar,Yt,Ar),this.bufferFragmentData(et,Y,W,T)}if(ut&&we!=null&&(n=we.samples)!=null&&n.length){const zt={id:s,frag:Y,details:ut,samples:we.samples};v.trigger(o.FRAG_PARSING_METADATA,zt)}if(ut&&ve){const zt={id:s,frag:Y,details:ut,samples:ve.samples};v.trigger(o.FRAG_PARSING_USERDATA,zt)}}logMuxedErr(t){this.warn(`${Te(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==tr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:T,audiovideo:U}=n;if(w){const W=t.audioCodec;let ne=Me(w.codec,W);ne==="mp4a"&&(ne="mp4a.40.5");const oe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ne&&(ne.indexOf("mp4a.40.5")!==-1?ne="mp4a.40.2":ne="mp4a.40.5");const ve=w.metadata;ve&&"channelCount"in ve&&(ve.channelCount||1)!==1&&oe.indexOf("firefox")===-1&&(ne="mp4a.40.5")}ne&&ne.indexOf("mp4a.40.5")!==-1&&oe.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ne="mp4a.40.2",this.log(`Android: force audio codec to ${ne}`)),W&&W!==ne&&this.log(`Swapping manifest audio codec "${W}" for "${ne}"`),w.levelCodec=ne,w.id=u.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ne||""}/${W||""}/${w.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const W=T.codec;if((W==null?void 0:W.length)===4)switch(W){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${W}]${T.codec!==W?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const Y=Object.keys(n);if(Y.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;Y.forEach(W=>{const oe=n[W].initSegment;oe!=null&&oe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:W,data:oe,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=tr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Zn.isBuffered(t,s)?n=this.getAppendedFrag(s):Zn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?vn(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const T=w+(n-v.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class P{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const v=this.keyUriToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new aa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;T.setKeyFormat(U);const Y=uo(U);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const v=xo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const W=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,W))}const T=w.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let U=this.keyUriToKeyInfo[T];if((s=U)!=null&&s.decryptdata.key)return w.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((v=U)!=null&&v.keyLoadPromise){var Y;switch((Y=U.mediaKeySessionContext)==null?void 0:Y.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then(W=>(w.key=W.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[T]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const v=this.emeController.loadKey(s);if(v)return(t.keyLoadPromise=v.then(w=>(t.mediaKeySessionContext=w,s))).catch(w=>{throw t.keyLoadPromise=null,w})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((T,U)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},W=s.keyLoadPolicy.default,ne={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(ve,we,Ee,ut)=>{const{frag:et,keyInfo:zt,url:ar}=Ee;if(!et.decryptdata||zt!==this.keyUriToKeyInfo[ar])return U(this.createKeyLoadError(et,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));zt.decryptdata.key=et.decryptdata.key=new Uint8Array(ve.data),et.keyLoader=null,zt.loader=null,T({frag:et,keyInfo:zt})},onError:(ve,we,Ee,ut)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${ve.code} loading key ${ve.text}`),Ee,b({url:Y.url,data:void 0},ve)))},onTimeout:(ve,we,Ee)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ee))},onAbort:(ve,we,Ee)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ee))}};w.load(Y,ne,oe)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[v],w&&w.destroy()}}function z(E){const{type:t}=E;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ge(E,t){let n=E.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class ke{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,T=new w(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:T,deliveryDirectives:U,levelInfo:Y}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:U,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:T,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:T,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const W=this.hls.logger,ne=v.context;if(ne&&ne.levelOrTrack===t.levelOrTrack&&(ne.url===t.url||ne.deliveryDirectives&&!t.deliveryDirectives)){ne.url===t.url?W.log(`[playlist-loader]: ignore ${t.url} ongoing request`):W.log(`[playlist-loader]: ignore ${t.url} in favor of ${ne.url}`);return}W.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let W;if(t.type===h.LEVEL&&t.level!==null?W=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?W=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(W=this.hls.subtitleTracks[t.id].details),W){const ne=W.partTarget,oe=W.targetduration;if(ne&&oe){const ve=Math.max(ne*3,oe*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(ve,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(ve,w.maxTimeToFirstByteMs)})}}}const T=w.errorRetry||w.timeoutRetry||{},U={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},Y={onSuccess:(W,ne,oe,ve)=>{const we=this.getInternalLoader(oe);this.resetInternalLoader(oe.type);const Ee=W.data;if(Ee.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(W,oe,new Error("no EXTM3U delimiter"),ve||null,ne);return}ne.parsing.start=performance.now(),mo.isMediaPlaylist(Ee)||oe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(W,ne,oe,ve||null,we):this.handleMasterPlaylist(W,ne,oe,ve)},onError:(W,ne,oe,ve)=>{this.handleNetworkError(ne,oe,!1,W,ve)},onTimeout:(W,ne,oe)=>{this.handleNetworkError(ne,oe,!0,void 0,W)}};v.load(t,U,Y)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,T=t.data,U=ge(t,s),Y=mo.parseMasterPlaylist(T,U);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,v,n);return}const{contentSteering:W,levels:ne,sessionData:oe,sessionKeys:ve,startTimeOffset:we,variableList:Ee}=Y;this.variableList=Ee;const{AUDIO:ut=[],SUBTITLES:et,"CLOSED-CAPTIONS":zt}=mo.parseMasterPlaylistMedia(T,U,Y);ut.length&&!ut.some(Yt=>!Yt.url)&&ne[0].audioCodec&&!ne[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new qi({}),bitrate:0,url:""})),w.trigger(o.MANIFEST_LOADED,{levels:ne,audioTracks:ut,subtitles:et,captions:zt,contentSteering:W,url:U,stats:n,networkDetails:v,sessionData:oe,sessionKeys:ve,startTimeOffset:we,variableList:Ee})}handleTrackOrLevelPlaylist(t,n,s,v,w){const T=this.hls,{id:U,level:Y,type:W}=s,ne=ge(t,s),oe=r(Y)?Y:r(U)?U:0,ve=z(s),we=mo.parseLevelPlaylist(t.data,ne,oe,ve,0,this.variableList);if(W===h.MANIFEST){const Ee={attrs:new qi({}),bitrate:0,details:we,name:"",url:ne};we.requestScheduled=n.loading.start+Bn(we,0),T.trigger(o.MANIFEST_LOADED,{levels:[Ee],audioTracks:[],url:ne,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=we,this.handlePlaylistLoaded(we,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let T=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let Y=f.UNKNOWN,W=!1;const ne=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,W=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,W=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,W=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,W=!1;break}ne&&this.resetInternalLoader(t.type);const oe={type:c.NETWORK_ERROR,details:Y,fatal:W,url:t.url,loader:ne,context:t,error:U,networkDetails:n,stats:w};if(v){const ve=(n==null?void 0:n.url)||t.url;oe.response=b({url:ve,data:void 0},v)}this.hls.trigger(o.ERROR,oe)}handlePlaylistLoaded(t,n,s,v,w,T){const U=this.hls,{type:Y,level:W,id:ne,groupId:oe,deliveryDirectives:ve}=v,we=ge(n,v),Ee=z(v),ut=typeof v.level=="number"&&Ee===u.MAIN?W:void 0;if(!t.fragments.length){const zt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:we,error:zt,reason:zt.message,response:n,context:v,level:ut,parent:Ee,networkDetails:w,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const et=t.playlistParsingError;if(et){if(this.hls.logger.warn(et),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:we,error:et,reason:et.message,response:n,context:v,level:ut,parent:Ee,networkDetails:w,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:U.trigger(o.LEVEL_LOADED,{details:t,levelInfo:v.levelOrTrack||U.levels[0],level:ut||0,id:ne||0,stats:s,networkDetails:w,deliveryDirectives:ve,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ne||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:ve});break;case h.SUBTITLE_TRACK:U.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ne||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:ve});break}}}class st{static get version(){return la}static isMSESupported(){return Bf()}static isSupported(){return vf()}static getMediaSource(){return se()}static get Events(){return o}static get MetadataSchema(){return Qa}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return st.defaultConfig?st.defaultConfig:Go}static set DefaultConfig(t){st.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Cs,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ff(st.DefaultConfig,t,n);this.userConfig=t,s.progressive&&yc(s,n);const{abrController:v,bufferController:w,capLevelController:T,errorController:U,fpsController:Y}=s,W=new U(this),ne=this.abrController=new v(this),oe=new Dr(this),ve=s.interstitialsController,we=ve?this.interstitialsController=new ve(this,st):null,Ee=this.bufferController=new w(this,oe),ut=this.capLevelController=new T(this),et=new Y(this),zt=new ke(this),ar=s.contentSteeringController,Yt=ar?new ar(this):null,Ar=this.levelController=new Zf(this,Yt),Wr=new kf(this),ln=new P(this.config),Zr=this.streamController=new g(this,oe,ln),Xr=this.gapController=new Fc(this,oe);ut.setStreamController(Zr),et.setStreamController(Zr);const tn=[zt,Ar,Zr];we&&tn.splice(1,0,we),Yt&&tn.splice(1,0,Yt),this.networkControllers=tn;const Br=[ne,Ee,Xr,ut,et,Wr,oe];this.audioTrackController=this.createController(s.audioTrackController,tn);const Rn=s.audioStreamController;Rn&&tn.push(this.audioStreamController=new Rn(this,oe,ln)),this.subtitleTrackController=this.createController(s.subtitleTrackController,tn);const si=s.subtitleStreamController;si&&tn.push(this.subtititleStreamController=new si(this,oe,ln)),this.createController(s.timelineController,Br),ln.emeController=this.emeController=this.createController(s.emeController,Br),this.cmcdController=this.createController(s.cmcdController,Br),this.latencyController=this.createController(pf,Br),this.coreComponents=Br,tn.push(W);const na=W.onErrorOut;typeof na=="function"&&this.on(o.ERROR,na,W),this.on(o.MANIFEST_LOADED,zt.onManifestLoaded,zt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=Vc()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){br(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const T=t[w].attrs["HDCP-LEVEL"];if(T&&T<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Si(n);return Jr(t,s,navigator.mediaCapabilities)}}st.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,m,b=!1,A=0;function k(){m&&clearTimeout(m)}function R(O){var M=O||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function C(){for(var O=arguments.length,M=new Array(O),B=0;Bl?x?(A=Date.now(),u||(m=setTimeout(y?H:G,l))):G():u!==!0&&(m=setTimeout(y?H:G,y===void 0?l-K:l))}return C.cancel=R,C}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4731:"p__XgdNews__addNews__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7852:"p__XgdNews__newsDetail__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e69b28bf",67:"3a456993",109:"42b54f99",119:"b7938cd5",169:"d96447db",195:"f3616826",201:"79e87c4c",264:"e0ee5d91",292:"76ebf5b2",316:"1f60ada6",337:"359c7226",354:"d4d139cf",369:"0349a448",425:"60eb6b08",479:"be0007de",485:"f7b5567d",508:"48493c85",518:"b641727f",532:"31eddd25",533:"a7c313ea",547:"24bbee7d",556:"117cb5d0",559:"71b92a85",570:"eacca2ec",576:"c680f5c2",599:"ed444d24",629:"44a1d9a5",643:"08b191d2",671:"4a609b8d",680:"bef5848a",700:"f763b7b6",737:"357479e0",741:"ac5fd360",799:"7e20da99",879:"9858b810",895:"469b3b38",900:"384f1304",906:"d8f848bb",921:"f793a5d6",928:"3beb70a2",981:"24da50c7",1006:"eb6390c1",1043:"854b1252",1045:"3f050c3a",1048:"3cf05be7",1070:"f257880f",1077:"29374f0b",1144:"c90eccaf",1154:"8cb80842",1211:"ae1a84ea",1253:"17161809",1257:"dc5c0289",1274:"5f6ea65a",1276:"5a16a6b9",1343:"c6049655",1423:"1abf9902",1427:"c42d54a8",1450:"c7c58e3b",1461:"138b43d1",1462:"fcf08abc",1470:"2b4b3fe2",1475:"dd5fa7dc",1477:"3ff23290",1482:"15e6fd08",1512:"481eda40",1520:"f9048efe",1545:"c9fb6de0",1578:"076174ba",1581:"4f84cf78",1582:"3fa838b1",1646:"e6e27b60",1651:"11f93908",1657:"550a4dc4",1660:"a914fab0",1674:"a2c0b869",1678:"974c994a",1713:"09b312b7",1717:"ce46b98b",1727:"985b7887",1754:"0adaaa4e",1783:"5d949abf",1798:"c5e37a81",1799:"9e962558",1831:"0daff711",1836:"2e42f320",1855:"a387e74d",1880:"49c4a150",1897:"5d27faf6",1939:"d57505ba",1953:"0a56df5e",1962:"a16882ec",1993:"e3d7bc0a",2011:"59d51f98",2045:"75ebd9ba",2099:"28e7a421",2102:"2fe6680d",2130:"d36797ca",2141:"f3b51482",2203:"8496bba0",2216:"a1224a75",2240:"e769248a",2249:"f4830452",2281:"44025182",2300:"f7b34b30",2303:"2464d146",2307:"00c2a4a4",2338:"38400d1d",2339:"ee765f56",2364:"f89faf70",2386:"192e235c",2396:"bcd7a279",2404:"001097da",2412:"af3cf418",2425:"33c9399c",2443:"839fd286",2476:"9ac20241",2494:"68080a87",2501:"e0a8a565",2538:"de4a3723",2539:"5fcb75d2",2548:"aa53f43d",2570:"fe972c3d",2594:"e87d3761",2603:"85e48726",2659:"f48a81e1",2707:"72596bc8",2806:"b3b8ea82",2819:"eab8b9d0",2823:"7dbf3825",2829:"78026876",2837:"54a82605",2862:"c0293d13",2865:"6125e70a",2884:"924f5366",2969:"ab3357d7",3006:"c4f4299c",3086:"d92fc8e4",3133:"9bf3f89c",3141:"64ddb8f0",3157:"df617290",3183:"dceac9d0",3198:"8e655451",3212:"6a4e03c5",3220:"8aead32e",3247:"2d7115cb",3260:"dd7a4173",3276:"bfb2709e",3317:"4e335d81",3391:"822d9714",3433:"89b1ccc1",3442:"dc2d77c3",3447:"6ca8e642",3451:"4918b15f",3509:"1e3d94fa",3550:"3dc83156",3581:"9019eaa5",3585:"9566db4d",3668:"956eac66",3697:"481a10d9",3747:"201bf9b1",3754:"20782a61",3777:"d5b0f2f1",3784:"9fddefc9",3805:"9dbcb95e",3831:"96be9fba",3862:"43117f72",3873:"c36eda31",3885:"f87f7f15",3910:"0b62f685",3951:"6e5e05c1",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"d096ad95",4048:"361ca7ae",4056:"f009f7dc",4058:"82246f46",4078:"9ed12237",4088:"236723f3",4093:"ada7fd1a",4105:"9c58e0d9",4144:"f3b484d8",4164:"925e1993",4216:"1920b017",4217:"8986d9d4",4227:"15f56bd8",4259:"2b33253d",4264:"9b5cde7e",4297:"1b3e5f56",4325:"64279cf1",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"64fddfc3",4492:"2e06e77e",4496:"866d80ea",4498:"ce1ebf29",4504:"0eb00dcf",4514:"37fb9cb3",4520:"92a99912",4546:"9979c4ea",4565:"ae294bdd",4572:"97b6f251",4599:"61def4cb",4610:"dc2f7e9a",4621:"0200b579",4628:"ece2c60c",4662:"e59bfaa7",4685:"c33f1528",4715:"a589c97e",4731:"204c21e8",4736:"06f2cb6b",4741:"aa852cd9",4757:"f22496c0",4766:"851589b4",4770:"dff668fd",4790:"619413e4",4795:"f217b3dc",4797:"a24e92db",4800:"dc443e29",4850:"1edda4b7",4889:"a2b693e4",4928:"57d0deda",4973:"8e91fb46",4994:"b430f727",5022:"78b5deac",5043:"0a8a14b5",5048:"ec3f42fd",5060:"85dafcc6",5096:"a15e232d",5111:"8843ac55",5117:"ec4ba981",5125:"e1bfc7c0",5148:"abd1b0bb",5165:"40040db4",5176:"1f54faf1",5177:"302ec692",5179:"2a6b0851",5186:"00356452",5230:"3a2c4e9b",5238:"74252719",5265:"8c664803",5290:"5dabcdc2",5297:"3044a2e1",5307:"00aa1411",5319:"60523ac1",5321:"1163c84e",5330:"4dc0bee4",5335:"1b6d9bba",5354:"7ae70604",5357:"5191dc5e",5359:"f4695da1",5382:"9af6c29d",5402:"bcd8fcb0",5416:"454536b7",5434:"38b302a6",5466:"3121acc1",5494:"d89549c4",5518:"a2a43d3e",5549:"fd9949bd",5572:"58d6df49",5573:"9a916ea2",5624:"c6e27296",5631:"e00d3d36",5650:"931e21ad",5679:"4a090bef",5694:"fecf6c00",5705:"956a5d8e",5729:"3bb0375f",5764:"e0d7e586",5775:"3c5b3945",5776:"63856176",5786:"a972d493",5798:"8115a862",5800:"3df17bc0",5816:"4cd1a8c8",5876:"5eded409",5888:"b2f9e6cc",5891:"19476c67",5894:"f08efc58",5902:"c669e75f",5915:"9bdbd5d4",5972:"823e8685",5992:"c8481273",6029:"87880da6",6034:"ae720437",6045:"d268f87f",6047:"3ce45acd",6063:"d3ef70f5",6069:"b0b61733",6080:"831fdc7a",6126:"99519171",6127:"61ebb201",6170:"dfcc006a",6185:"12930f95",6265:"fae7de8f",6270:"b298f34e",6282:"bd34b43e",6328:"858bf17a",6366:"4114480b",6378:"7f3a946a",6411:"3b971528",6434:"3bd67347",6444:"03ea6fbc",6451:"faf62a33",6452:"63e781ca",6531:"5b8bb018",6583:"618f86ca",6587:"733c8f73",6634:"08763f2e",6637:"950015dc",6651:"9e24df4a",6656:"193a57e6",6682:"7c8a1d4d",6685:"bfc4f501",6729:"a73d05b9",6741:"53889cd7",6774:"59d4d618",6776:"4bd9142e",6784:"8d81c22a",6788:"b634ec3d",6789:"c09f2b5a",6796:"cffcc213",6820:"cd17b315",6882:"edef5819",6904:"32b39fb4",6913:"cf356c01",6963:"710c08d0",7043:"3d7898ce",7045:"4b64df2d",7058:"220ec185",7062:"cab4ca8b",7084:"46ccce72",7099:"d635da7e",7156:"e7466006",7178:"80066754",7182:"09e4c243",7224:"371c6dda",7242:"c5b1bc8d",7260:"9144f8d4",7289:"8551d82b",7322:"c5a2d0d3",7323:"7e9d1b6c",7329:"ee40b045",7333:"43cfa956",7365:"1005464f",7395:"0bea2e96",7402:"fedc2ee0",7460:"eddff4fc",7476:"062bf019",7477:"70e2b322",7482:"3120816b",7527:"c9e6d0ab",7545:"9a8fe702",7560:"279f12b5",7588:"cf168848",7589:"999c6c0d",7591:"c8233ce9",7614:"97f6c814",7622:"b9f7d71c",7686:"4fcec9f9",7706:"c2a79e40",7806:"4fd403d5",7835:"3de53588",7852:"80322857",7855:"778bfc68",7857:"91ee9735",7884:"4e91c64e",7901:"37185bea",7922:"45a785ea",7963:"64ac60d4",7964:"29aed9a1",8062:"cb99a22e",8072:"65ee4500",8085:"c39e0c40",8089:"d536b13a",8115:"7d62d92c",8143:"85c1f31d",8145:"f6a45984",8155:"3e92c42b",8161:"83c5fa9a",8217:"155c63d8",8237:"0302c226",8241:"9bcff49e",8286:"89765aaf",8302:"55794970",8325:"8297960b",8332:"590a2939",8340:"35eeb8f5",8350:"07df8a75",8365:"679ecccf",8398:"d09599f5",8431:"4ee8b378",8435:"29ffda57",8447:"3f7ff500",8458:"3bfdb760",8479:"ee83ffeb",8517:"b5995b14",8552:"7dae4576",8561:"333e8ec9",8563:"e2f66089",8579:"af0aebf0",8639:"ebbaf1d9",8665:"d277deb8",8688:"0dddc7e8",8689:"630ae0d5",8723:"28f860e2",8737:"ce7dad23",8776:"0ad26240",8787:"2a6220f8",8823:"6be29293",8827:"fcc2c8e7",8842:"9f25a3e2",8866:"ded85e56",8882:"fae51d7e",8885:"ef3e8aff",8898:"d002bcd8",8909:"1cf04d05",8920:"7f82440c",8963:"790aecdd",8965:"4fde926b",8999:"8f775d6c",9039:"19a78482",9076:"b772835c",9104:"bbcb2345",9205:"7685b2b5",9252:"0d791a59",9260:"cf5f8140",9366:"4447376a",9391:"d9b59972",9404:"9fcc3d3e",9406:"f22bc8c2",9416:"8a80c87f",9417:"4ae558ab",9449:"72a7f313",9481:"3fe67c7e",9487:"363b6105",9489:"5fd6da22",9507:"28b670e2",9511:"117b8959",9554:"ed358e7b",9559:"f794af19",9647:"8838f2ef",9649:"1a4189af",9674:"0858bf9b",9677:"87930357",9695:"fdaaa292",9715:"4366300c",9716:"08598cab",9785:"176dc5e2",9788:"82039831",9814:"599fab3b",9891:"9ed12111",9895:"b8e31ff2",9906:"00c11354",9921:"d0fdd88f",9922:"983263e4",9928:"5989f5e0",9944:"9fa44947",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4731:"p__XgdNews__addNews__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7852:"p__XgdNews__newsDetail__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"a92e6197",109:"1a7fc455",119:"bdf8c298",195:"73b74155",201:"a72bb6f1",264:"5fd9b3fc",292:"ff8b78f8",337:"03e83432",479:"bba9e475",485:"d63578fe",508:"82593858",518:"7ea2c69d",532:"e6487c34",533:"8ed957b8",547:"5581debc",556:"de967940",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1127510c",737:"98eb2f74",799:"e7684960",879:"29518cbf",895:"ad846737",900:"4f2d616b",906:"57481c8c",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"fa5c00ff",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"363a0121",1257:"156e8f74",1276:"bbc6eeec",1343:"684d292f",1423:"5c4a76fc",1427:"260cfebc",1450:"1edcc2ed",1461:"8fa4f694",1470:"183c9793",1475:"25a9ff7d",1477:"73cf9d7a",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"e3113b0e",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"44cad4e1",1657:"ddd6a700",1674:"fdbc1e05",1678:"c18bdd88",1713:"a09f9076",1717:"4a7e158e",1727:"6c4562c6",1754:"3fd67852",1783:"09c31ec2",1798:"9d33659f",1831:"36fae599",1836:"5f0d3f7f",1855:"b92cccb4",1880:"99ba565d",1897:"406ad5dc",1939:"1011e1aa",1953:"924fc271",1962:"84e145fa",1993:"c47eb47a",2045:"dcfad42d",2099:"2abfb918",2102:"ec61f9f0",2130:"2b021537",2141:"5eb2f330",2203:"e7532316",2216:"d9ecdadb",2240:"e7cce869",2281:"7ccf781f",2303:"87592c17",2307:"b2c54321",2338:"110588b9",2339:"aa30069c",2396:"2f45a210",2404:"08d36549",2412:"063fc537",2425:"47b23ee4",2443:"0f240598",2476:"cf85a190",2501:"2441982c",2539:"38811d8a",2548:"75182034",2570:"cb99e348",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"1af0b39c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"380769c4",2865:"6ef3cf6b",2884:"e2246511",3006:"7fce4e74",3086:"d0ebac07",3141:"99e46e6f",3157:"5fdb31aa",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"16f84a0b",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"8a2cbdd5",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"8a3fb400",3585:"5f288e7b",3668:"04d69631",3747:"8abd5b29",3784:"c81d4a51",3831:"18297e21",3873:"ce0949de",3910:"658d457f",3951:"4a9249b1",4030:"35d13490",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"55bf01cb",4105:"7f9d4513",4144:"f10aa199",4164:"5ca565c4",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"7752f440",4449:"e68d8d58",4492:"691f4d8b",4496:"77babddd",4498:"b05686dd",4504:"299cf828",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"0bdfe3d8",4610:"687005a6",4621:"46c1e60c",4662:"193e1df5",4715:"84e04ec0",4731:"c444d076",4736:"1c972bbb",4741:"fae1de42",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"d2a5ebf3",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"ab64c126",5125:"57501e4a",5148:"572faeac",5165:"3fc7bdeb",5176:"9c49e7fa",5177:"24f42826",5179:"21f01751",5186:"62b6d467",5230:"58bfd6be",5238:"190a3a76",5297:"5426028f",5307:"f9dc2d96",5319:"34217c3f",5330:"be9d1137",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"94ed1575",5402:"50d59c25",5466:"7a202768",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"f30c077a",5650:"f8f63f4b",5694:"de660839",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"6a299479",5786:"37a81eaa",5798:"ce1cf7da",5800:"cad05acf",5816:"57191994",5888:"193a7f8f",5891:"185d0ea2",5894:"2c438d25",5915:"bc9c3e69",5972:"e9ecb2a5",5992:"419f5d2f",6029:"f57b63fc",6063:"388c4736",6069:"ff48f507",6080:"556bd654",6127:"f31505a8",6185:"f942cfdd",6265:"e2ed0fd0",6270:"5496b206",6282:"16eaee02",6328:"de2b9d62",6366:"079fc2d8",6434:"c07678c0",6444:"fd46d237",6451:"4db8623e",6452:"50a6d310",6583:"cc210b1a",6587:"9c49e7fa",6634:"e6c21953",6637:"f07013a2",6651:"b07fe216",6656:"03cdfb68",6682:"d5b29525",6685:"d52086d3",6729:"aea3b7f5",6741:"b838eb14",6776:"3bc1a34f",6784:"1affe817",6789:"0ca187cc",6796:"f76358b2",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"7deb496c",7062:"142c752d",7099:"d27c7137",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"d295b12f",7322:"6b83e878",7323:"7c42644a",7329:"f9ee69c6",7395:"ff574c5d",7402:"7a0e62f0",7460:"dedd2038",7477:"e873a691",7482:"c37a3f01",7527:"a4765b7e",7545:"619ad94b",7560:"d82e43ca",7589:"13235493",7614:"de9ee12f",7622:"1cc82cd6",7806:"80b7b1d6",7835:"6a052461",7852:"bb6d5c52",7855:"48651ee4",7857:"13a29416",7884:"1ca6cde0",7901:"3ad8b397",7922:"f0af90b5",8062:"8e384b9f",8072:"540f746b",8085:"bb9ea802",8115:"f7c2b99b",8143:"74b34833",8145:"9577a739",8155:"d345abd7",8217:"be8d74cb",8237:"f435c9a1",8241:"6ac8d82b",8286:"703032aa",8332:"dd52dceb",8398:"8f3ee1ba",8431:"69790428",8435:"d20dca44",8447:"d9cc506b",8458:"9b712e72",8479:"1a8231cb",8517:"cccfddad",8552:"82cef2f4",8563:"5bf7e7a1",8579:"a411b543",8665:"c52575bc",8688:"c044db56",8689:"c12e00ae",8723:"9ba82289",8787:"121de108",8823:"a2fff8af",8827:"28118bb9",8866:"52dc3ae0",8882:"f3e42f72",8885:"de905169",8965:"bd9f71c8",8999:"448aa22f",9039:"eaf72bcf",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"0f8230ee",9416:"9db2fba9",9449:"68b1de18",9487:"a73f5679",9489:"ee2bb5b7",9507:"b016160a",9511:"e3c67f96",9647:"2f286aeb",9649:"00fb4211",9674:"ad085011",9677:"d4c79022",9695:"b011c91b",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"946dc73b",9891:"512a9301",9906:"8b6a50b6",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o{const W=ba(t,s,Y)||ba(E,s,Y)||ba(v,s,Y);return W&&(U[Y]=W),U},{})}function ba(E,t,n){return E&&E.hasAttributeNS(t,n)?E.getAttributeNS(t,n):null}function Hi(E){return new Error(`Could not parse ttml timestamp ${E}`)}function ea(E,t){if(!E)return null;let n=Ao(E);return n===null&&(Hu.test(E)?n=pa(E,t):pl.test(E)&&(n=fs(E,t))),n}function pa(E,t){const n=Hu.exec(E),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function fs(E,t){const n=pl.exec(E),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Ni{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ds{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ni(this,"textTrack1"),n=new Ni(this,"textTrack2"),s=new Ni(this,"textTrack3"),v=new Ni(this,"textTrack4");this.cea608Parser1=new ec(1,t,n),this.cea608Parser2=new ec(3,s,v)}addCues(t,n,s,v,w){let T=!1;for(let U=w.length;U--;){const Y=w[U],W=el(Y[0],Y[1],n,s);if(W>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),T=!0,W/(s-n)>.5))return}if(T||w.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,v)}else{const U=this.Cues.newCue(null,n,s,v);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w}),T.length&&(this.unparsedVttFrags=[],T.forEach(U=>{this.initPTS[U.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,U):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:U.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{Xu(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===tu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(El(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,U=T?eu(T.textTracks):null;if(this.tracks.forEach((Y,W)=>{let ne;if(U){let oe=null;for(let ve=0;veW!==null).map(W=>W.label);Y.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${Y.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,T=this.captionsProperties[w];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:T,lastSn:U}=this,{cc:Y,sn:W}=n.frag,ne=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&T&&(W!==U+1||W===U&&ne!==this.lastPartIndex+1||Y!==this.lastCc)&&(w.reset(),T.reset()),this.lastCc=Y,this.lastSn=W,this.lastPartIndex=ne}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===u.SUBTITLE)if(v.byteLength){const w=s.decryptdata,T="stats"in n;if(w==null||!w.encrypted||T){const U=this.tracks[s.level],Y=this.vttCCs;Y[s.cc]||(Y[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===tu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;pu(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:T}=this,U=w.length-1;if(!w[s.cc]&&U===-1){T.push(t);return}const Y=this.hls,W=(n=s.initSegment)!=null&&n.data?Le(s.initSegment.data,new Uint8Array(v)).buffer:v;Xc(W,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ne=>{this._appendCues(ne,s.level),Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ne=>{const oe=ne.message==="Missing initPTS for VTT MPEGTS";oe?T.push(t):this._fallbackToIMSC1(s,v),Y.logger.log(`Failed to parse VTT cue: ${ne}`),!(oe&&U>s.cc)&&Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ne})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||pu(n,this.initPTS[t.cc],()=>{s.textCodec=tu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>wu(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wul(U[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(Y=>ul(U[Y],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?Y--:Y++;const we=qu(W.trim()),Ee=pc(t,n,we);E!=null&&(oe=E.cues)!=null&&oe.getCueById(Ee)||(T=new ne(t,n,we),T.id=Ee,T.line=ve+1,T.align="left",T.position=10+Math.min(80,Math.floor(Y*8/32)*10),v.push(T))}return E&&v.length&&(v.sort((ve,we)=>ve.line==="auto"||we.line==="auto"?0:ve.line>8&&we.line>8?we.line-ve.line:ve.line-we.line),v.forEach(ve=>wu(E,ve))),v}};function Sf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(E){}return!1}const Fl=/(\d+)-(\d+)\/(\d+)/;class uf{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||tl,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Lc(t,this.controller.signal),T=t.responseType==="arraybuffer",U=T?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:W}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(Qo(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(oe=>{var ve;this.response=this.loader=oe;const we=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},W-(we-v.loading.start)),!oe.ok){const{status:ut,statusText:et}=oe;throw new Of(et||"fetch, bad network response",ut,oe)}v.loading.first=we,v.total=lf(oe.headers)||v.total;const Ee=(ve=this.callbacks)==null?void 0:ve.onProgress;return Ee&&r(n.highWaterMark)?this.loadProgressively(oe,v,t,n.highWaterMark,Ee):T?oe.arrayBuffer():t.responseType==="json"?oe.json():oe.text()}).then(oe=>{var ve,we;const Ee=this.response;if(!Ee)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ut=oe[U];ut&&(v.loaded=v.total=ut);const et={url:Ee.url,data:oe,code:Ee.status},zt=(ve=this.callbacks)==null?void 0:ve.onProgress;zt&&!r(n.highWaterMark)&&zt(v,t,oe,Ee),(we=this.callbacks)==null||we.onSuccess(et,v,t,Ee)}).catch(oe=>{var ve;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const we=oe&&oe.code||0,Ee=oe?oe.message:null;(ve=this.callbacks)==null||ve.onError({code:we,text:Ee},t,oe?oe.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const T=new wi,U=t.body.getReader(),Y=()=>U.read().then(W=>{if(W.done)return T.dataLength&&w(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ne=W.value,oe=ne.length;return n.loaded+=oe,oe=v&&w(n,s,T.flush().buffer,t)):w(n,s,ne.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function Lc(E,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},E.headers))};return E.rangeEnd&&n.headers.set("Range","bytes="+E.rangeStart+"-"+String(E.rangeEnd-1)),n}function Qc(E){const t=Fl.exec(E);if(t)return parseInt(t[2])-parseInt(t[1])+1}function lf(E){const t=E.get("Content-Range");if(t){const s=Qc(t);if(r(s))return s}const n=E.get("Content-Length");if(n)return parseInt(n)}function tl(E,t){return new self.Request(E.url,t)}class Of extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Vu=/^age:\s*[\d.]+\s*$/im;class gc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:T.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:T}=s.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const W=n.status,ne=n.responseType==="text"?n.responseText:null;if(W>=200&&W<300){const Ee=ne!=null?ne:n.response;if(Ee!=null){var T,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Ee.byteLength:Ee.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const et=(T=this.callbacks)==null?void 0:T.onProgress;et&&et(s,t,Ee,n);const zt={url:n.responseURL,data:Ee,code:W};(U=this.callbacks)==null||U.onSuccess(zt,s,t,n);return}}const oe=w.loadPolicy.errorRetry,ve=s.retry,we={url:t.url,data:void 0,code:W};if(jr(oe,ve,!1,we))this.retry(oe);else{var Y;H.error(`${W} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:W,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(jr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=fr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Vu.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const cf={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Go=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:gc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:wa,bufferController:Jn,capLevelController:qo,errorController:ot,fpsController:ol,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Do,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:cf},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},qc()),{},{subtitleStreamController:Kc,subtitleTrackController:Ef,timelineController:ds,audioStreamController:wl,audioTrackController:Bu,emeController:zu,cmcdController:Il,contentSteeringController:xu,interstitialsController:Rc});function qc(){return{cueHandler:If,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function ff(E,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ou(E),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(T=>{const U=`${T==="level"?"playlist":T}LoadPolicy`,Y=t[U]===void 0,W=[];w.forEach(ne=>{const oe=`${T}Loading${ne}`,ve=t[oe];if(ve!==void 0&&Y){W.push(oe);const we=s[U].default;switch(t[U]={default:we},ne){case"TimeOut":we.maxLoadTimeMs=ve,we.maxTimeToFirstByteMs=ve;break;case"MaxRetry":we.errorRetry.maxNumRetry=ve,we.timeoutRetry.maxNumRetry=ve;break;case"RetryDelay":we.errorRetry.retryDelayMs=ve,we.timeoutRetry.retryDelayMs=ve;break;case"MaxRetryTimeout":we.errorRetry.maxRetryDelayMs=ve,we.timeoutRetry.maxRetryDelayMs=ve;break}}}),W.length&&n.warn(`hls.js config: "${W.join('", "')}" setting(s) are deprecated, use "${U}": ${yn(t[U])}`)}),b(b({},s),t)}function Ou(E){return E&&typeof E=="object"?Array.isArray(E)?E.map(Ou):Object.keys(E).reduce((t,n)=>(t[n]=Ou(E[n]),t),{}):E}function yc(E,t){const n=E.loader;n!==uf&&n!==gc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),E.progressive=!1):Sf()&&(E.loader=uf,E.progressive=!0,E.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Co=2,df=.1,hf=.05,Mc=100;class Fc extends ps{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Ps(s,"playing",this.onMediaPlaying),Ps(s,"waiting",this.onMediaWaiting),Ps(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(oo(s,"playing",this.onMediaPlaying),oo(s,"waiting",this.onMediaWaiting),oo(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const T=this.media;if(!T)return;const{seeking:U}=T,Y=this.seeking&&!U,W=!this.seeking&&U,ne=T.paused&&!U||T.ended||T.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ne&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(W||Y){Y&&this.stallResolved(t);return}if(ne){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Zn.getBuffered(T).length){this.nudgeRetry=0;return}const oe=Zn.bufferInfo(T,t,0),ve=oe.nextStart||0,we=this.fragmentTracker;if(U&&we&&this.hls){const ln=Jc(this.hls.inFlightFragments,t),Zr=oe.len>Co,Xr=!ve||ln||ve-t>Co&&!we.getPartialFragment(t);if(Zr||Xr)return;this.moved=!1}const Ee=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&we){if(!(oe.len>0)&&!ve)return;const Zr=Math.max(ve,oe.start||0)-t,tn=!!(Ee!=null&&Ee.live)?Ee.targetduration*2:Co,Br=we.getPartialFragment(t);if(Zr>0&&(Zr<=tn||Br)){T.paused||this._trySkipBufferHole(Br);return}}const ut=w.detectStallWithCurrentTimeMs,et=self.performance.now(),zt=this.waiting;let ar=this.stalled;if(ar===null)if(zt>0&&et-zt=ut||zt)&&this.hls){var Ar;if(((Ar=this.mediaSource)==null?void 0:Ar.readyState)==="ended"&&!(Ee!=null&&Ee.live)&&Math.abs(t-((Ee==null?void 0:Ee.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(oe),!this.media||!this.hls)return}const Wr=Zn.bufferInfo(T,t,w.maxBufferHole);this._tryFixBufferStall(Wr,Yt,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=Zn.bufferedInfo(Zn.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const T=Zn.timeRangesToArray(v),U=Zn.bufferedInfo(T,n,0).bufferedIndex;if(U>-1&&UU)&&ne-W<1&&t-W<2){const oe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${W} -> ${ne} buffered index: ${Y}`);this.warn(oe.message),this.media.currentTime+=1e-6;const ve=this.fragmentTracker.getPartialFragment(t)||void 0,we=Zn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:oe,reason:oe.message,frag:ve,buffer:we.len,bufferInfo:we})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:T,media:U}=this,Y=(v=this.hls)==null?void 0:v.config;if(!U||!T||!Y)return;const W=(w=this.hls)==null?void 0:w.latestLevelDetails,ne=T.getPartialFragment(s);if((ne||W!=null&&W.live&&s1&&t.len>Y.maxBufferHole||t.nextStart&&(t.nextStart-sY.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,u.MAIN),T=s.getFragAtPos(v,u.MAIN);if(w&&T)return T.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${yn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const T=v.currentTime,U=Zn.bufferInfo(v,T,0),Y=T0&&U.len<1&&v.readyState<3,ve=Y-T;if(ve>0&&(ne||oe)){if(ve>w.maxBufferHole){let Ee=!1;if(T===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&Y{const E=Af();try{E&&new E(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class kf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Xu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nCf&&(oe=Cf),oe-ne<=0&&(oe=ne+Df);for(let we=0;wene.type===Qa.audioId3&&Y:v==="video"?W=ne=>ne.type===Qa.emsg&&U:W=ne=>ne.type===Qa.audioId3&&Y||ne.type===Qa.emsg&&U,ul(w,n,s,W)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:v}=t,w=Object.keys(v);let T=this.dateRangeCuesAppended;if(s&&n){var U;if((U=s.cues)!=null&&U.length){const ne=Object.keys(T).filter(oe=>!w.includes(oe));for(let oe=ne.length;oe--;){const ve=ne[oe],we=T[ve].cues;delete T[ve],Object.keys(we).forEach(Ee=>{try{const ut=we[Ee];ut.removeEventListener("enter",this.onEventCueEnter),s.removeCue(ut)}catch(ut){}})}}else T=this.dateRangeCuesAppended={}}const Y=t.fragments[t.fragments.length-1];if(w.length===0||!r(Y==null?void 0:Y.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const W=Af();for(let ne=0;ne{if(Zr!==ve.id){const Xr=v[Zr];if(Xr.class===ve.class&&Xr.startDate>ve.startDate&&(!ln||ve.startDate.01&&(Zr.startTime=we,Zr.endTime=zt);else if(W){let Xr=ve.attr[ln];In(ln)&&(Xr=V(Xr));const Br=ef(W,we,zt,{key:ln,data:Xr},Qa.dateRange);Br&&(Br.id=oe,this.id3Track.addCue(Br),ut[ln]=Br,this.hls.config.interstitialsController&&(ln==="X-ASSET-LIST"||ln==="X-ASSET-URL")&&Br.addEventListener("enter",this.onEventCueEnter))}}T[oe]={cues:ut,dateRange:ve,durationKnown:et}}}}class pf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:T}=this.config;if(!w||T===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const Y=v-U,W=Math.min(this.maxLatency,U+s.targetduration);if(Y.05&&this.forwardBufferLength>1){const oe=Math.min(2,Math.max(1,T)),ve=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,we=Math.min(oe,Math.max(1,ve));this.changeMediaPlaybackRate(n,we)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:T,lowLatencyMode:U}=this.config,Y=this.hls.userConfig;let W=U&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||W===0)&&(W=w!==void 0?w:T*v);const ne=v;return W+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ne)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,T=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,w),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Zf extends Uo{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},T={};let U=!1,Y=!1,W=!1;n.levels.forEach(ne=>{const oe=ne.attrs;let{audioCodec:ve,videoCodec:we}=ne;ve&&(ne.audioCodec=ve=Ie(ve,s)||void 0),we&&(we=ne.videoCodec=At(we));const{width:Ee,height:ut,unknownCodecs:et}=ne;let zt=et?et.length:0;if(et)for(let Br=zt;Br--;){const Rn=et[Br];this.isAudioSupported(Rn)?(ne.audioCodec=ve=ve?`${ve},${Rn}`:Rn,zt--,pe.audio[ve.substring(0,4)]=2):this.isVideoSupported(Rn)&&(ne.videoCodec=we=we?`${we},${Rn}`:Rn,zt--,pe.video[we.substring(0,4)]=2)}if(U||(U=!!(Ee&&ut)),Y||(Y=!!we),W||(W=!!ve),zt||ve&&!this.isAudioSupported(ve)||we&&!this.isVideoSupported(we)){this.log(`Some or all CODECS not supported "${oe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":Yt,"HDCP-LEVEL":Ar,"PATHWAY-ID":Wr,RESOLUTION:ln,"VIDEO-RANGE":Zr}=oe,tn=`${`${Wr||"."}-`}${ne.bitrate}-${ln}-${Yt}-${ar}-${Zr}-${Ar}`;if(w[tn])if(w[tn].uri!==ne.url&&!ne.attrs["PATHWAY-ID"]){const Br=T[tn]+=1;ne.attrs["PATHWAY-ID"]=new Array(Br+1).join(".");const Rn=this.createLevel(ne);w[tn]=Rn,v.push(Rn)}else w[tn].addGroupId("audio",oe.AUDIO),w[tn].addGroupId("text",oe.SUBTITLES);else{const Br=this.createLevel(ne);w[tn]=Br,T[tn]=1,v.push(Br)}}),this.filterAndSortMediaOptions(v,n,U,Y,W)}createLevel(t){const n=new $r(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=pr(v,[])}return n}isAudioSupported(t){return Ce(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ce(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){let T=[],U=[],Y=t;if((s||v)&&w&&(Y=Y.filter(({videoCodec:et,videoRange:zt,width:ar,height:Yt})=>(!!et||!!(ar&&Yt))&&at(zt))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let et="no level with compatible codecs found in manifest",zt=et;n.levels.length&&(zt=`one or more CODECS in variant not supported: ${yn(n.levels.map(Yt=>Yt.attrs.CODECS).filter((Yt,Ar,Wr)=>Wr.indexOf(Yt)===Ar))}`,this.warn(zt),et+=` (${zt})`);const ar=new Error(et);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:ar,reason:zt})}});return}n.audioTracks&&(T=n.audioTracks.filter(et=>!et.audioCodec||this.isAudioSupported(et.audioCodec)),mf(T)),n.subtitles&&(U=n.subtitles,mf(U));const W=Y.slice(0);Y.sort((et,zt)=>{if(et.attrs["HDCP-LEVEL"]!==zt.attrs["HDCP-LEVEL"])return(et.attrs["HDCP-LEVEL"]||"")>(zt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&et.height!==zt.height)return et.height-zt.height;if(et.frameRate!==zt.frameRate)return et.frameRate-zt.frameRate;if(et.videoRange!==zt.videoRange)return vr.indexOf(et.videoRange)-vr.indexOf(zt.videoRange);if(et.videoCodec!==zt.videoCodec){const ar=Ct(et.videoCodec),Yt=Ct(zt.videoCodec);if(ar!==Yt)return Yt-ar}if(et.uri===zt.uri&&et.codecSet!==zt.codecSet){const ar=Pe(et.codecSet),Yt=Pe(zt.codecSet);if(ar!==Yt)return Yt-ar}return et.averageBitrate!==zt.averageBitrate?et.averageBitrate-zt.averageBitrate:0});let ne=W[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==W.length)){for(let et=0;etar&&ar===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Yt)}break}const ve=w&&!v,we=this.hls.config,Ee=!!(we.audioStreamController&&we.audioTrackController),ut={levels:Y,audioTracks:T,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:Ee&&!ve&&T.some(et=>!!et.url)};this.hls.trigger(o.MANIFEST_PARSED,ut)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ne=new Error("invalid level idx"),oe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:oe,error:ne,reason:ne.message}),oe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,T=n[t],U=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&v&&w===U)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${U?" with Pathway "+U:""} from level ${s}${w?" with Pathway "+w:""}`);const Y={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,Y);const W=T.details;if(!W||W.live){const ne=this.switchParams(T.uri,v==null?void 0:v.details,W);this.loadPlaylist(ne)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,T=n.levelInfo;if(!T){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(w.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let Y=T.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(v,n,Y)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],T=t.details,U=T==null?void 0:T.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${U&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(U=>U.level=-1)),!1));Mr(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function mf(E){const t={};E.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Rf(){return self.SourceBuffer||self.WebKitSourceBuffer}function Bf(){if(!se())return!1;const t=Rf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function vf(){if(!Bf())return!1;const E=se();return typeof(E==null?void 0:E.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>E.isTypeSupported(Gt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>E.isTypeSupported(Gt(t,"audio"))))}function $f(){var E;const t=Rf();return typeof(t==null||(E=t.prototype)==null?void 0:E.changeType)=="function"}const Tf=100;class g extends Mi{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const T=this.getFwdBufferInfoAtPos(v,w,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(Tf),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=tr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=tr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case tr.WAITING_LEVEL:{const{levels:n,level:s}=this,v=n==null?void 0:n[s],w=v==null?void 0:v.details;if(w&&(!w.live||this.levelLastLoaded===v&&!this.waitForLive(v))){if(this.waitForCdnTuneIn(w))break;this.state=tr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=tr.IDLE;break}break}case tr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:v,level:w}=this,T=v==null?void 0:v[w];this.resetStartWhenNotLoaded(T||null),this.state=tr.IDLE}}break}this.state===tr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const T=s[w],U=this.getMainFwdBufferInfo();if(U===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(U,Y)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=tr.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const W=T.details;if(!W||this.state===tr.WAITING_LEVEL||this.waitForLive(T)){this.level=w,this.state=tr.WAITING_LEVEL,this.startFragRequested=!1;return}const ne=U.len,oe=this.getMaxBufferLength(T.maxBitrate);if(ne>=oe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const ve=this.backtrackFragment?this.backtrackFragment.start:U.end;let we=this.getNextFragment(ve,W);if(this.couldBacktrack&&!this.fragPrevious&&we&&Te(we)&&this.fragmentTracker.getState(we)!==wr.OK){var Ee;const et=((Ee=this.backtrackFragment)!=null?Ee:we).sn-W.startSN,zt=W.fragments[et-1];zt&&we.cc===zt.cc&&(we=zt,this.fragmentTracker.removeFragment(zt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(we&&this.isLoopLoading(we,ve)){if(!we.gap){const et=this.audioOnly&&!this.altAudio?ae.AUDIO:ae.VIDEO,zt=(et===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;zt&&this.afterBufferFlushed(zt,et,u.MAIN)}we=this.getNextFragmentLoopLoading(we,W,U,u.MAIN,oe)}we&&(we.initSegment&&!we.initSegment.data&&!this.bitrateTest&&(we=we.initSegment),this.loadFragment(we,T,ve))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===wr.NOT_LOADED||v===wr.PARTIAL?Te(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const U=this.getMainFwdBufferInfo();if(!U||U.len{const T=w.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,v=v||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&v&&!$f(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==tr.IDLE)return;const v=n.levelInfo;(!v.details||v.details.live&&(this.levelLastLoaded!==v||v.details.expired)||this.waitForCdnTuneIn(v.details))&&(this.state=tr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:v,startFragRequested:w}=this,T=n.level,U=n.details,Y=U.totalduration;if(!v){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${Y}`);const W=n.levelInfo,ne=this.fragCurrent;ne&&(this.state===tr.FRAG_LOADING||this.state===tr.FRAG_LOADING_WAITING_RETRY)&&ne.level!==n.level&&ne.loader&&this.abortCurrentFrag();let oe=0;if(U.live||(s=W.details)!=null&&s.live){var ve;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;oe=this.alignPlaylists(U,W.details,(ve=this.levelLastLoaded)==null?void 0:ve.details)}if(W.details=U,this.levelLastLoaded=W,w||this.setStartPosition(U,oe),this.hls.trigger(o.LEVEL_UPDATED,{details:U,level:T}),this.state===tr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=tr.IDLE}w&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const v=this.hls.liveSyncPosition,w=this.getLoadPosition(),T=t.fragmentStart,U=t.edge,Y=w>=T-n.maxFragLookUpTolerance&&w<=U;if(v!==null&&s.duration>v&&(w{var T;(T=this.hls)==null||T.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ui(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,T=!1;for(const U in s){const Y=s[U];if(Y.id==="main"){if(w=U,v=Y,U==="video"){const W=s[U];W&&(this.videoBuffer=W.buffer)}}else T=!0}T&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===u.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===tr.PARSED&&(this.state=tr.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Te(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const T=this.media;T&&(!this._hasEnoughToStart&&Zn.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=tr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===tr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=tr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=tr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ae.AUDIO||!this.altAudio){const s=(n===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(Y{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=tr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=w.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),v.trigger(o.FRAG_LOADED,s),w.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:v}=this,{remuxResult:w,chunkMeta:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:Y,part:W,level:ne}=U,{video:oe,text:ve,id3:we,initSegment:Ee}=w,{details:ut}=ne,et=this.altAudio?void 0:w.audio;if(this.fragContextChanged(Y)){this.fragmentTracker.removeFragment(Y);return}if(this.state=tr.PARSING,Ee){if(Ee!=null&&Ee.tracks){const Ar=Y.initSegment||Y;this._bufferInitSegment(ne,Ee.tracks,Ar,T),v.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Ar,id:s,tracks:Ee.tracks})}const zt=Ee.initPTS,ar=Ee.timescale,Yt=this.initPTS[Y.cc];r(zt)&&(!Yt||Yt.baseTime!==zt||Yt.timescale!==ar)&&(this.initPTS[Y.cc]={baseTime:zt,timescale:ar},v.trigger(o.INIT_PTS_FOUND,{frag:Y,id:s,initPTS:zt,timescale:ar}))}if(oe&&ut){et&&oe.type==="audiovideo"&&this.logMuxedErr(Y);const zt=ut.fragments[Y.sn-1-ut.startSN],ar=Y.sn===ut.startSN,Yt=!zt||Y.cc>zt.cc;if(w.independent!==!1){const{startPTS:Ar,endPTS:Wr,startDTS:ln,endDTS:Zr}=oe;if(W)W.elementaryStreams[oe.type]={startPTS:Ar,endPTS:Wr,startDTS:ln,endDTS:Zr};else if(oe.firstKeyFrame&&oe.independent&&T.id===1&&!Yt&&(this.couldBacktrack=!0),oe.dropped&&oe.independent){const Xr=this.getMainFwdBufferInfo(),tn=(Xr?Xr.end:this.getLoadPosition())+this.config.maxBufferHole,Br=oe.firstKeyFramePTS?oe.firstKeyFramePTS:Ar;if(!ar&&tnCo&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Ar,Wr,ln,Zr),this.backtrackFragment&&(this.backtrackFragment=Y),this.bufferFragmentData(oe,Y,W,T,ar||Yt)}else if(ar||Yt)Y.gap=!0;else{this.backtrack(Y);return}}if(et){const{startPTS:zt,endPTS:ar,startDTS:Yt,endDTS:Ar}=et;W&&(W.elementaryStreams[ae.AUDIO]={startPTS:zt,endPTS:ar,startDTS:Yt,endDTS:Ar}),Y.setElementaryStreamInfo(ae.AUDIO,zt,ar,Yt,Ar),this.bufferFragmentData(et,Y,W,T)}if(ut&&we!=null&&(n=we.samples)!=null&&n.length){const zt={id:s,frag:Y,details:ut,samples:we.samples};v.trigger(o.FRAG_PARSING_METADATA,zt)}if(ut&&ve){const zt={id:s,frag:Y,details:ut,samples:ve.samples};v.trigger(o.FRAG_PARSING_USERDATA,zt)}}logMuxedErr(t){this.warn(`${Te(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==tr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:T,audiovideo:U}=n;if(w){const W=t.audioCodec;let ne=Me(w.codec,W);ne==="mp4a"&&(ne="mp4a.40.5");const oe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ne&&(ne.indexOf("mp4a.40.5")!==-1?ne="mp4a.40.2":ne="mp4a.40.5");const ve=w.metadata;ve&&"channelCount"in ve&&(ve.channelCount||1)!==1&&oe.indexOf("firefox")===-1&&(ne="mp4a.40.5")}ne&&ne.indexOf("mp4a.40.5")!==-1&&oe.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ne="mp4a.40.2",this.log(`Android: force audio codec to ${ne}`)),W&&W!==ne&&this.log(`Swapping manifest audio codec "${W}" for "${ne}"`),w.levelCodec=ne,w.id=u.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ne||""}/${W||""}/${w.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const W=T.codec;if((W==null?void 0:W.length)===4)switch(W){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${W}]${T.codec!==W?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const Y=Object.keys(n);if(Y.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;Y.forEach(W=>{const oe=n[W].initSegment;oe!=null&&oe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:W,data:oe,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=tr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Zn.isBuffered(t,s)?n=this.getAppendedFrag(s):Zn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?vn(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const T=w+(n-v.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class P{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const v=this.keyUriToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new aa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;T.setKeyFormat(U);const Y=uo(U);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const v=xo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const W=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,W))}const T=w.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let U=this.keyUriToKeyInfo[T];if((s=U)!=null&&s.decryptdata.key)return w.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((v=U)!=null&&v.keyLoadPromise){var Y;switch((Y=U.mediaKeySessionContext)==null?void 0:Y.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then(W=>(w.key=W.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[T]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const v=this.emeController.loadKey(s);if(v)return(t.keyLoadPromise=v.then(w=>(t.mediaKeySessionContext=w,s))).catch(w=>{throw t.keyLoadPromise=null,w})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((T,U)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},W=s.keyLoadPolicy.default,ne={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(ve,we,Ee,ut)=>{const{frag:et,keyInfo:zt,url:ar}=Ee;if(!et.decryptdata||zt!==this.keyUriToKeyInfo[ar])return U(this.createKeyLoadError(et,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));zt.decryptdata.key=et.decryptdata.key=new Uint8Array(ve.data),et.keyLoader=null,zt.loader=null,T({frag:et,keyInfo:zt})},onError:(ve,we,Ee,ut)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${ve.code} loading key ${ve.text}`),Ee,b({url:Y.url,data:void 0},ve)))},onTimeout:(ve,we,Ee)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ee))},onAbort:(ve,we,Ee)=>{this.resetLoader(we),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ee))}};w.load(Y,ne,oe)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[v],w&&w.destroy()}}function z(E){const{type:t}=E;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ge(E,t){let n=E.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class ke{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,T=new w(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:T,deliveryDirectives:U,levelInfo:Y}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:U,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:T,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:T,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const W=this.hls.logger,ne=v.context;if(ne&&ne.levelOrTrack===t.levelOrTrack&&(ne.url===t.url||ne.deliveryDirectives&&!t.deliveryDirectives)){ne.url===t.url?W.log(`[playlist-loader]: ignore ${t.url} ongoing request`):W.log(`[playlist-loader]: ignore ${t.url} in favor of ${ne.url}`);return}W.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let W;if(t.type===h.LEVEL&&t.level!==null?W=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?W=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(W=this.hls.subtitleTracks[t.id].details),W){const ne=W.partTarget,oe=W.targetduration;if(ne&&oe){const ve=Math.max(ne*3,oe*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(ve,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(ve,w.maxTimeToFirstByteMs)})}}}const T=w.errorRetry||w.timeoutRetry||{},U={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},Y={onSuccess:(W,ne,oe,ve)=>{const we=this.getInternalLoader(oe);this.resetInternalLoader(oe.type);const Ee=W.data;if(Ee.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(W,oe,new Error("no EXTM3U delimiter"),ve||null,ne);return}ne.parsing.start=performance.now(),mo.isMediaPlaylist(Ee)||oe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(W,ne,oe,ve||null,we):this.handleMasterPlaylist(W,ne,oe,ve)},onError:(W,ne,oe,ve)=>{this.handleNetworkError(ne,oe,!1,W,ve)},onTimeout:(W,ne,oe)=>{this.handleNetworkError(ne,oe,!0,void 0,W)}};v.load(t,U,Y)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,T=t.data,U=ge(t,s),Y=mo.parseMasterPlaylist(T,U);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,v,n);return}const{contentSteering:W,levels:ne,sessionData:oe,sessionKeys:ve,startTimeOffset:we,variableList:Ee}=Y;this.variableList=Ee;const{AUDIO:ut=[],SUBTITLES:et,"CLOSED-CAPTIONS":zt}=mo.parseMasterPlaylistMedia(T,U,Y);ut.length&&!ut.some(Yt=>!Yt.url)&&ne[0].audioCodec&&!ne[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new qi({}),bitrate:0,url:""})),w.trigger(o.MANIFEST_LOADED,{levels:ne,audioTracks:ut,subtitles:et,captions:zt,contentSteering:W,url:U,stats:n,networkDetails:v,sessionData:oe,sessionKeys:ve,startTimeOffset:we,variableList:Ee})}handleTrackOrLevelPlaylist(t,n,s,v,w){const T=this.hls,{id:U,level:Y,type:W}=s,ne=ge(t,s),oe=r(Y)?Y:r(U)?U:0,ve=z(s),we=mo.parseLevelPlaylist(t.data,ne,oe,ve,0,this.variableList);if(W===h.MANIFEST){const Ee={attrs:new qi({}),bitrate:0,details:we,name:"",url:ne};we.requestScheduled=n.loading.start+Bn(we,0),T.trigger(o.MANIFEST_LOADED,{levels:[Ee],audioTracks:[],url:ne,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=we,this.handlePlaylistLoaded(we,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let T=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let Y=f.UNKNOWN,W=!1;const ne=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,W=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,W=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,W=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,W=!1;break}ne&&this.resetInternalLoader(t.type);const oe={type:c.NETWORK_ERROR,details:Y,fatal:W,url:t.url,loader:ne,context:t,error:U,networkDetails:n,stats:w};if(v){const ve=(n==null?void 0:n.url)||t.url;oe.response=b({url:ve,data:void 0},v)}this.hls.trigger(o.ERROR,oe)}handlePlaylistLoaded(t,n,s,v,w,T){const U=this.hls,{type:Y,level:W,id:ne,groupId:oe,deliveryDirectives:ve}=v,we=ge(n,v),Ee=z(v),ut=typeof v.level=="number"&&Ee===u.MAIN?W:void 0;if(!t.fragments.length){const zt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:we,error:zt,reason:zt.message,response:n,context:v,level:ut,parent:Ee,networkDetails:w,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const et=t.playlistParsingError;if(et){if(this.hls.logger.warn(et),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:we,error:et,reason:et.message,response:n,context:v,level:ut,parent:Ee,networkDetails:w,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:U.trigger(o.LEVEL_LOADED,{details:t,levelInfo:v.levelOrTrack||U.levels[0],level:ut||0,id:ne||0,stats:s,networkDetails:w,deliveryDirectives:ve,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ne||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:ve});break;case h.SUBTITLE_TRACK:U.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ne||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:ve});break}}}class st{static get version(){return la}static isMSESupported(){return Bf()}static isSupported(){return vf()}static getMediaSource(){return se()}static get Events(){return o}static get MetadataSchema(){return Qa}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return st.defaultConfig?st.defaultConfig:Go}static set DefaultConfig(t){st.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Cs,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ff(st.DefaultConfig,t,n);this.userConfig=t,s.progressive&&yc(s,n);const{abrController:v,bufferController:w,capLevelController:T,errorController:U,fpsController:Y}=s,W=new U(this),ne=this.abrController=new v(this),oe=new Dr(this),ve=s.interstitialsController,we=ve?this.interstitialsController=new ve(this,st):null,Ee=this.bufferController=new w(this,oe),ut=this.capLevelController=new T(this),et=new Y(this),zt=new ke(this),ar=s.contentSteeringController,Yt=ar?new ar(this):null,Ar=this.levelController=new Zf(this,Yt),Wr=new kf(this),ln=new P(this.config),Zr=this.streamController=new g(this,oe,ln),Xr=this.gapController=new Fc(this,oe);ut.setStreamController(Zr),et.setStreamController(Zr);const tn=[zt,Ar,Zr];we&&tn.splice(1,0,we),Yt&&tn.splice(1,0,Yt),this.networkControllers=tn;const Br=[ne,Ee,Xr,ut,et,Wr,oe];this.audioTrackController=this.createController(s.audioTrackController,tn);const Rn=s.audioStreamController;Rn&&tn.push(this.audioStreamController=new Rn(this,oe,ln)),this.subtitleTrackController=this.createController(s.subtitleTrackController,tn);const si=s.subtitleStreamController;si&&tn.push(this.subtititleStreamController=new si(this,oe,ln)),this.createController(s.timelineController,Br),ln.emeController=this.emeController=this.createController(s.emeController,Br),this.cmcdController=this.createController(s.cmcdController,Br),this.latencyController=this.createController(pf,Br),this.coreComponents=Br,tn.push(W);const na=W.onErrorOut;typeof na=="function"&&this.on(o.ERROR,na,W),this.on(o.MANIFEST_LOADED,zt.onManifestLoaded,zt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=Vc()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){br(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const T=t[w].attrs["HDCP-LEVEL"];if(T&&T<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Si(n);return Jr(t,s,navigator.mediaCapabilities)}}st.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,m,b=!1,A=0;function k(){m&&clearTimeout(m)}function R(O){var M=O||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function C(){for(var O=arguments.length,M=new Array(O),B=0;Bl?x?(A=Date.now(),u||(m=setTimeout(y?H:G,l))):G():u!==!0&&(m=setTimeout(y?H:G,y===void 0?l-K:l))}return C.cancel=R,C}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4731:"p__XgdNews__addNews__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7852:"p__XgdNews__newsDetail__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e69b28bf",67:"3a456993",109:"42b54f99",119:"b7938cd5",169:"d96447db",195:"f3616826",201:"79e87c4c",264:"e0ee5d91",292:"76ebf5b2",316:"1f60ada6",337:"359c7226",354:"d4d139cf",369:"0349a448",425:"60eb6b08",479:"be0007de",485:"f7b5567d",508:"48493c85",518:"b641727f",532:"31eddd25",533:"a7c313ea",547:"24bbee7d",556:"117cb5d0",559:"71b92a85",570:"eacca2ec",576:"c680f5c2",599:"ed444d24",629:"44a1d9a5",643:"08b191d2",671:"4a609b8d",680:"bef5848a",700:"f763b7b6",737:"357479e0",741:"ac5fd360",799:"7e20da99",879:"9858b810",895:"469b3b38",900:"384f1304",906:"d8f848bb",921:"f793a5d6",928:"3beb70a2",981:"24da50c7",1006:"eb6390c1",1043:"854b1252",1045:"3f050c3a",1048:"3cf05be7",1070:"f257880f",1077:"29374f0b",1144:"c90eccaf",1154:"8cb80842",1211:"ae1a84ea",1253:"17161809",1257:"dc5c0289",1274:"5f6ea65a",1276:"5a16a6b9",1343:"c6049655",1423:"1abf9902",1427:"c42d54a8",1450:"c7c58e3b",1461:"138b43d1",1462:"fcf08abc",1470:"2b4b3fe2",1475:"dd5fa7dc",1477:"3ff23290",1482:"15e6fd08",1512:"481eda40",1520:"f9048efe",1545:"c9fb6de0",1578:"076174ba",1581:"4f84cf78",1582:"3fa838b1",1646:"e6e27b60",1651:"11f93908",1657:"550a4dc4",1660:"a914fab0",1674:"a2c0b869",1678:"974c994a",1713:"09b312b7",1717:"ce46b98b",1727:"985b7887",1754:"0adaaa4e",1783:"5d949abf",1798:"c5e37a81",1799:"9e962558",1831:"0daff711",1836:"2e42f320",1855:"a387e74d",1880:"49c4a150",1897:"5d27faf6",1939:"d57505ba",1953:"0a56df5e",1962:"a16882ec",1993:"e3d7bc0a",2011:"59d51f98",2045:"75ebd9ba",2099:"28e7a421",2102:"2fe6680d",2130:"d36797ca",2141:"f3b51482",2203:"8496bba0",2216:"a1224a75",2240:"e769248a",2249:"f4830452",2281:"44025182",2300:"f7b34b30",2303:"2464d146",2307:"00c2a4a4",2338:"38400d1d",2339:"ee765f56",2364:"f89faf70",2386:"192e235c",2396:"bcd7a279",2404:"001097da",2412:"af3cf418",2425:"33c9399c",2443:"839fd286",2476:"9ac20241",2494:"68080a87",2501:"e0a8a565",2538:"de4a3723",2539:"5fcb75d2",2548:"aa53f43d",2570:"fe972c3d",2594:"e87d3761",2603:"85e48726",2659:"f48a81e1",2707:"72596bc8",2806:"b3b8ea82",2819:"eab8b9d0",2823:"7dbf3825",2829:"78026876",2837:"54a82605",2862:"c0293d13",2865:"6125e70a",2884:"924f5366",2969:"ab3357d7",3006:"c4f4299c",3086:"d92fc8e4",3133:"9bf3f89c",3141:"64ddb8f0",3157:"df617290",3183:"dceac9d0",3198:"8e655451",3212:"6a4e03c5",3220:"8aead32e",3247:"2d7115cb",3260:"dd7a4173",3276:"bfb2709e",3317:"4e335d81",3391:"822d9714",3433:"89b1ccc1",3442:"dc2d77c3",3447:"6ca8e642",3451:"4918b15f",3509:"1e3d94fa",3550:"3dc83156",3581:"9019eaa5",3585:"9566db4d",3668:"956eac66",3697:"481a10d9",3747:"201bf9b1",3754:"20782a61",3777:"d5b0f2f1",3784:"9fddefc9",3805:"9dbcb95e",3831:"96be9fba",3862:"43117f72",3873:"c36eda31",3885:"f87f7f15",3910:"0b62f685",3951:"6e5e05c1",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"d096ad95",4048:"361ca7ae",4056:"f009f7dc",4058:"82246f46",4078:"9ed12237",4088:"236723f3",4093:"ada7fd1a",4105:"9c58e0d9",4144:"f3b484d8",4164:"925e1993",4216:"1920b017",4217:"8986d9d4",4227:"15f56bd8",4259:"2b33253d",4264:"9b5cde7e",4297:"1b3e5f56",4325:"64279cf1",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"64fddfc3",4492:"2e06e77e",4496:"866d80ea",4498:"ce1ebf29",4504:"0eb00dcf",4514:"37fb9cb3",4520:"92a99912",4546:"9979c4ea",4565:"ae294bdd",4572:"97b6f251",4599:"61def4cb",4610:"dc2f7e9a",4621:"0200b579",4628:"ece2c60c",4662:"e59bfaa7",4685:"c33f1528",4715:"a589c97e",4731:"84a251ce",4736:"06f2cb6b",4741:"aa852cd9",4757:"f22496c0",4766:"851589b4",4770:"dff668fd",4790:"619413e4",4795:"f217b3dc",4797:"a24e92db",4800:"dc443e29",4850:"1edda4b7",4889:"a2b693e4",4928:"57d0deda",4973:"8e91fb46",4994:"b430f727",5022:"78b5deac",5043:"0a8a14b5",5048:"ec3f42fd",5060:"85dafcc6",5096:"a15e232d",5111:"8843ac55",5117:"ec4ba981",5125:"e1bfc7c0",5148:"abd1b0bb",5165:"40040db4",5176:"1f54faf1",5177:"302ec692",5179:"2a6b0851",5186:"00356452",5230:"3a2c4e9b",5238:"74252719",5265:"8c664803",5290:"5dabcdc2",5297:"3044a2e1",5307:"00aa1411",5319:"60523ac1",5321:"1163c84e",5330:"4dc0bee4",5335:"1b6d9bba",5354:"7ae70604",5357:"5191dc5e",5359:"f4695da1",5382:"9af6c29d",5402:"bcd8fcb0",5416:"454536b7",5434:"38b302a6",5466:"3121acc1",5494:"d89549c4",5518:"a2a43d3e",5549:"fd9949bd",5572:"58d6df49",5573:"9a916ea2",5624:"c6e27296",5631:"e00d3d36",5650:"931e21ad",5679:"4a090bef",5694:"fecf6c00",5705:"956a5d8e",5729:"3bb0375f",5764:"e0d7e586",5775:"3c5b3945",5776:"63856176",5786:"a972d493",5798:"8115a862",5800:"3df17bc0",5816:"4cd1a8c8",5876:"5eded409",5888:"b2f9e6cc",5891:"19476c67",5894:"f08efc58",5902:"c669e75f",5915:"9bdbd5d4",5972:"823e8685",5992:"c8481273",6029:"87880da6",6034:"ae720437",6045:"d268f87f",6047:"3ce45acd",6063:"d3ef70f5",6069:"b0b61733",6080:"831fdc7a",6126:"99519171",6127:"61ebb201",6170:"dfcc006a",6185:"12930f95",6265:"fae7de8f",6270:"b298f34e",6282:"bd34b43e",6328:"858bf17a",6366:"4114480b",6378:"7f3a946a",6411:"3b971528",6434:"3bd67347",6444:"03ea6fbc",6451:"faf62a33",6452:"63e781ca",6531:"5b8bb018",6583:"618f86ca",6587:"733c8f73",6634:"08763f2e",6637:"950015dc",6651:"9e24df4a",6656:"193a57e6",6682:"7c8a1d4d",6685:"bfc4f501",6729:"a73d05b9",6741:"53889cd7",6774:"59d4d618",6776:"4bd9142e",6784:"8d81c22a",6788:"b634ec3d",6789:"c09f2b5a",6796:"cffcc213",6820:"cd17b315",6882:"edef5819",6904:"32b39fb4",6913:"cf356c01",6963:"710c08d0",7043:"3d7898ce",7045:"4b64df2d",7058:"220ec185",7062:"cab4ca8b",7084:"46ccce72",7099:"d635da7e",7156:"e7466006",7178:"80066754",7182:"09e4c243",7224:"371c6dda",7242:"c5b1bc8d",7260:"9144f8d4",7289:"8551d82b",7322:"c5a2d0d3",7323:"7e9d1b6c",7329:"ee40b045",7333:"43cfa956",7365:"1005464f",7395:"0bea2e96",7402:"fedc2ee0",7460:"eddff4fc",7476:"062bf019",7477:"70e2b322",7482:"3120816b",7527:"c9e6d0ab",7545:"9a8fe702",7560:"279f12b5",7588:"cf168848",7589:"999c6c0d",7591:"c8233ce9",7614:"97f6c814",7622:"b9f7d71c",7686:"4fcec9f9",7706:"c2a79e40",7806:"4fd403d5",7835:"3de53588",7852:"80322857",7855:"778bfc68",7857:"91ee9735",7884:"4e91c64e",7901:"37185bea",7922:"45a785ea",7963:"64ac60d4",7964:"29aed9a1",8062:"cb99a22e",8072:"65ee4500",8085:"c39e0c40",8089:"d536b13a",8115:"7d62d92c",8143:"85c1f31d",8145:"f6a45984",8155:"3e92c42b",8161:"83c5fa9a",8217:"155c63d8",8237:"0302c226",8241:"9bcff49e",8286:"89765aaf",8302:"55794970",8325:"8297960b",8332:"590a2939",8340:"35eeb8f5",8350:"07df8a75",8365:"679ecccf",8398:"d09599f5",8431:"4ee8b378",8435:"29ffda57",8447:"3f7ff500",8458:"3bfdb760",8479:"ee83ffeb",8517:"b5995b14",8552:"7dae4576",8561:"333e8ec9",8563:"e2f66089",8579:"af0aebf0",8639:"ebbaf1d9",8665:"d277deb8",8688:"0dddc7e8",8689:"630ae0d5",8723:"28f860e2",8737:"ce7dad23",8776:"0ad26240",8787:"2a6220f8",8823:"6be29293",8827:"fcc2c8e7",8842:"9f25a3e2",8866:"ded85e56",8882:"fae51d7e",8885:"ef3e8aff",8898:"d002bcd8",8909:"1cf04d05",8920:"7f82440c",8963:"790aecdd",8965:"4fde926b",8999:"8f775d6c",9039:"19a78482",9076:"b772835c",9104:"bbcb2345",9205:"7685b2b5",9252:"0d791a59",9260:"cf5f8140",9366:"4447376a",9391:"d9b59972",9404:"9fcc3d3e",9406:"f22bc8c2",9416:"8a80c87f",9417:"4ae558ab",9449:"72a7f313",9481:"3fe67c7e",9487:"363b6105",9489:"5fd6da22",9507:"28b670e2",9511:"117b8959",9554:"ed358e7b",9559:"f794af19",9647:"8838f2ef",9649:"1a4189af",9674:"0858bf9b",9677:"87930357",9695:"fdaaa292",9715:"4366300c",9716:"08598cab",9785:"176dc5e2",9788:"82039831",9814:"599fab3b",9891:"9ed12111",9895:"b8e31ff2",9906:"00c11354",9921:"d0fdd88f",9922:"983263e4",9928:"5989f5e0",9944:"9fa44947",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4731:"p__XgdNews__addNews__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7852:"p__XgdNews__newsDetail__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"a92e6197",109:"1a7fc455",119:"bdf8c298",195:"73b74155",201:"a72bb6f1",264:"5fd9b3fc",292:"ff8b78f8",337:"03e83432",479:"bba9e475",485:"d63578fe",508:"82593858",518:"7ea2c69d",532:"e6487c34",533:"8ed957b8",547:"5581debc",556:"de967940",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1127510c",737:"98eb2f74",799:"e7684960",879:"29518cbf",895:"ad846737",900:"4f2d616b",906:"57481c8c",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"fa5c00ff",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"363a0121",1257:"156e8f74",1276:"bbc6eeec",1343:"684d292f",1423:"5c4a76fc",1427:"260cfebc",1450:"1edcc2ed",1461:"8fa4f694",1470:"183c9793",1475:"25a9ff7d",1477:"73cf9d7a",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"e3113b0e",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"44cad4e1",1657:"ddd6a700",1674:"fdbc1e05",1678:"c18bdd88",1713:"a09f9076",1717:"4a7e158e",1727:"6c4562c6",1754:"3fd67852",1783:"09c31ec2",1798:"9d33659f",1831:"36fae599",1836:"5f0d3f7f",1855:"b92cccb4",1880:"99ba565d",1897:"406ad5dc",1939:"1011e1aa",1953:"924fc271",1962:"84e145fa",1993:"c47eb47a",2045:"dcfad42d",2099:"2abfb918",2102:"ec61f9f0",2130:"2b021537",2141:"5eb2f330",2203:"e7532316",2216:"d9ecdadb",2240:"e7cce869",2281:"7ccf781f",2303:"87592c17",2307:"b2c54321",2338:"110588b9",2339:"aa30069c",2396:"2f45a210",2404:"08d36549",2412:"063fc537",2425:"47b23ee4",2443:"0f240598",2476:"cf85a190",2501:"2441982c",2539:"38811d8a",2548:"75182034",2570:"cb99e348",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"1af0b39c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"380769c4",2865:"6ef3cf6b",2884:"e2246511",3006:"7fce4e74",3086:"d0ebac07",3141:"99e46e6f",3157:"5fdb31aa",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"16f84a0b",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"8a2cbdd5",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"8a3fb400",3585:"5f288e7b",3668:"04d69631",3747:"8abd5b29",3784:"c81d4a51",3831:"18297e21",3873:"ce0949de",3910:"658d457f",3951:"4a9249b1",4030:"35d13490",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"55bf01cb",4105:"7f9d4513",4144:"f10aa199",4164:"5ca565c4",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"7752f440",4449:"e68d8d58",4492:"691f4d8b",4496:"77babddd",4498:"b05686dd",4504:"299cf828",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"0bdfe3d8",4610:"687005a6",4621:"46c1e60c",4662:"193e1df5",4715:"84e04ec0",4731:"c444d076",4736:"1c972bbb",4741:"fae1de42",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"d2a5ebf3",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"ab64c126",5125:"57501e4a",5148:"572faeac",5165:"3fc7bdeb",5176:"9c49e7fa",5177:"24f42826",5179:"21f01751",5186:"62b6d467",5230:"58bfd6be",5238:"190a3a76",5297:"5426028f",5307:"f9dc2d96",5319:"34217c3f",5330:"be9d1137",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"94ed1575",5402:"50d59c25",5466:"7a202768",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"f30c077a",5650:"f8f63f4b",5694:"de660839",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"6a299479",5786:"37a81eaa",5798:"ce1cf7da",5800:"cad05acf",5816:"57191994",5888:"193a7f8f",5891:"185d0ea2",5894:"2c438d25",5915:"bc9c3e69",5972:"e9ecb2a5",5992:"419f5d2f",6029:"f57b63fc",6063:"388c4736",6069:"ff48f507",6080:"556bd654",6127:"f31505a8",6185:"f942cfdd",6265:"e2ed0fd0",6270:"5496b206",6282:"16eaee02",6328:"de2b9d62",6366:"079fc2d8",6434:"c07678c0",6444:"fd46d237",6451:"4db8623e",6452:"50a6d310",6583:"cc210b1a",6587:"9c49e7fa",6634:"e6c21953",6637:"f07013a2",6651:"b07fe216",6656:"03cdfb68",6682:"d5b29525",6685:"d52086d3",6729:"aea3b7f5",6741:"b838eb14",6776:"3bc1a34f",6784:"1affe817",6789:"0ca187cc",6796:"f76358b2",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"7deb496c",7062:"142c752d",7099:"d27c7137",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"d295b12f",7322:"6b83e878",7323:"7c42644a",7329:"f9ee69c6",7395:"ff574c5d",7402:"7a0e62f0",7460:"dedd2038",7477:"e873a691",7482:"c37a3f01",7527:"a4765b7e",7545:"619ad94b",7560:"d82e43ca",7589:"13235493",7614:"de9ee12f",7622:"1cc82cd6",7806:"80b7b1d6",7835:"6a052461",7852:"bb6d5c52",7855:"48651ee4",7857:"13a29416",7884:"1ca6cde0",7901:"3ad8b397",7922:"f0af90b5",8062:"8e384b9f",8072:"540f746b",8085:"bb9ea802",8115:"f7c2b99b",8143:"74b34833",8145:"9577a739",8155:"d345abd7",8217:"be8d74cb",8237:"f435c9a1",8241:"6ac8d82b",8286:"703032aa",8332:"dd52dceb",8398:"8f3ee1ba",8431:"69790428",8435:"d20dca44",8447:"d9cc506b",8458:"9b712e72",8479:"1a8231cb",8517:"cccfddad",8552:"82cef2f4",8563:"5bf7e7a1",8579:"a411b543",8665:"c52575bc",8688:"c044db56",8689:"c12e00ae",8723:"9ba82289",8787:"121de108",8823:"a2fff8af",8827:"28118bb9",8866:"52dc3ae0",8882:"f3e42f72",8885:"de905169",8965:"bd9f71c8",8999:"448aa22f",9039:"eaf72bcf",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"0f8230ee",9416:"9db2fba9",9449:"68b1de18",9487:"a73f5679",9489:"ee2bb5b7",9507:"b016160a",9511:"e3c67f96",9647:"2f286aeb",9649:"00fb4211",9674:"ad085011",9677:"d4c79022",9695:"b011c91b",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"946dc73b",9891:"512a9301",9906:"8b6a50b6",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o0&&arguments[0]!==void 0?arguments[0]:"";return En.endsWith("/")?En:"".concat(En,"/")}var zu=__webpack_require__(38127),Zo=__webpack_require__(38329),ol=__webpack_require__(8616),Zu=["content"],wu=["content"],Xu=/^(http:|https:)?\/\//;function ul(En){return Xu.test(En)||En.startsWith("/")&&!En.startsWith("/*")||En.startsWith("./")||En.startsWith("../")}var uu=function(){return Ue.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},Qu=function(Gn){var Fi,ba=Gn.loaderData,Hi=Gn.htmlPageOpts,ea=Gn.manifest,pa=(ea==null||(Fi=ea.assets)===null||Fi===void 0?void 0:Fi["umi.css"])||"";return Ue.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Hi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(pa,"'")}})};function eu(En){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof En=="string")return ul(En)?(0,Mo.Z)({src:En},Gn):{content:En};if((0,ol.Z)(En)==="object")return(0,Mo.Z)((0,Mo.Z)({},En),Gn);throw new Error("Invalid script type: ".concat((0,ol.Z)(En)))}function Ef(En){return ul(En)?{type:"link",href:En}:{type:"style",content:En}}var Vc=function(Gn){var Fi,ba,Hi,ea,pa,fs,Ni=Gn.htmlPageOpts;return Ue.createElement(Ue.Fragment,null,(Ni==null?void 0:Ni.title)&&Ue.createElement("title",null,Ni.title),Ni==null||(Fi=Ni.favicons)===null||Fi===void 0?void 0:Fi.map(function(ds,Pu){return Ue.createElement("link",{key:Pu,rel:"shortcut icon",href:ds})}),(Ni==null?void 0:Ni.description)&&Ue.createElement("meta",{name:"description",content:Ni.description}),(Ni==null||(ba=Ni.keywords)===null||ba===void 0?void 0:ba.length)&&Ue.createElement("meta",{name:"keywords",content:Ni.keywords.join(",")}),Ni==null||(Hi=Ni.metas)===null||Hi===void 0?void 0:Hi.map(function(ds){return Ue.createElement("meta",{key:ds.name,name:ds.name,content:ds.content})}),Ni==null||(ea=Ni.links)===null||ea===void 0?void 0:ea.map(function(ds,Pu){return Ue.createElement("link",(0,Zo.Z)({key:Pu},ds))}),Ni==null||(pa=Ni.styles)===null||pa===void 0?void 0:pa.map(function(ds,Pu){var Iu=Ef(ds),el=Iu.type,Gu=Iu.href,ml=Iu.content;if(el==="link")return Ue.createElement("link",{key:Pu,rel:"stylesheet",href:Gu});if(el==="style")return Ue.createElement("style",{key:Pu},ml)}),Ni==null||(fs=Ni.headScripts)===null||fs===void 0?void 0:fs.map(function(ds,Pu){var Iu=eu(ds),el=Iu.content,Gu=(0,zu.Z)(Iu,Zu);return Ue.createElement("script",(0,Zo.Z)({dangerouslySetInnerHTML:{__html:el},key:Pu},Gu))}))};function fo(En){var Gn,Fi=En.children,ba=En.loaderData,Hi=En.manifest,ea=En.htmlPageOpts,pa=En.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fs=En.mountElementId;if(pa!=null&&pa.pureHtml)return Ue.createElement("html",null,Ue.createElement("head",null),Ue.createElement("body",null,Ue.createElement(uu,null),Ue.createElement("div",{id:fs},Fi),Ue.createElement(Qu,{manifest:Hi,loaderData:ba,htmlPageOpts:ea})));if(pa!=null&&pa.pureApp)return Ue.createElement(Ue.Fragment,null,Fi);var Ni=typeof window=="undefined"?Hi==null?void 0:Hi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Ue.createElement("html",{suppressHydrationWarning:!0,lang:(ea==null?void 0:ea.lang)||"en"},Ue.createElement("head",null,Ue.createElement("meta",{charSet:"utf-8"}),Ue.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ni&&Ue.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ni}),Ue.createElement(Vc,{htmlPageOpts:ea})),Ue.createElement("body",null,Ue.createElement(uu,null),Ue.createElement("div",{id:fs},Fi),Ue.createElement(Qu,{manifest:Hi,loaderData:ba,htmlPageOpts:ea}),ea==null||(Gn=ea.scripts)===null||Gn===void 0?void 0:Gn.map(function(ds,Pu){var Iu=eu(ds),el=Iu.content,Gu=(0,zu.Z)(Iu,wu);return Ue.createElement("script",(0,Zo.Z)({dangerouslySetInnerHTML:{__html:el},key:Pu},Gu))})))}var hu=Ue.createContext(void 0);function Dl(){return Ue.useContext(hu)}var Yl=["redirect"];function Xl(En){var Gn=En.routesById,Fi=En.parentId,ba=En.routeComponents,Hi=En.useStream,ea=Hi===void 0?!0:Hi;return Object.keys(Gn).filter(function(pa){return Gn[pa].parentId===Fi}).map(function(pa){var fs=kl((0,Mo.Z)((0,Mo.Z)({route:Gn[pa],routeComponent:ba[pa],loadingComponent:En.loadingComponent,reactRouter5Compat:En.reactRouter5Compat},En.reactRouter5Compat&&{hasChildren:Object.keys(Gn).filter(function(ds){return Gn[ds].parentId===pa}).length>0}),{},{useStream:ea})),Ni=Xl({routesById:Gn,routeComponents:ba,parentId:fs.id,loadingComponent:En.loadingComponent,reactRouter5Compat:En.reactRouter5Compat,useStream:ea});return Ni.length>0&&(fs.children=Ni,fs.routes=Ni),fs})}function ll(En){var Gn=(0,Ho.UO)(),Fi=(0,Ho.Gn)(En.to,Gn),ba=(0,Ol.T$)(),Hi=(0,Ho.TH)();if(ba!=null&&ba.keepQuery){var ea=Hi.search+Hi.hash;Fi+=ea}var pa=(0,Mo.Z)((0,Mo.Z)({},En),{},{to:Fi});return Ue.createElement(Ho.Fg,(0,Zo.Z)({replace:!0},pa))}function kl(En){var Gn=En.route,Fi=En.useStream,ba=Fi===void 0?!0:Fi,Hi=Gn.redirect,ea=(0,zu.Z)(Gn,Yl),pa=En.reactRouter5Compat?cc:Tu;return(0,Mo.Z)({element:Hi?Ue.createElement(ll,{to:Hi}):Ue.createElement(hu.Provider,{value:{route:En.route}},Ue.createElement(pa,{loader:Ue.memo(En.routeComponent),loadingComponent:En.loadingComponent||Oc,hasChildren:En.hasChildren,useStream:ba}))},ea)}function Oc(){return Ue.createElement("div",null)}function cc(En){var Gn=Dl(),Fi=Gn.route,ba=(0,Ol.Ov)(),Hi=ba.history,ea=ba.clientRoutes,pa=(0,Ho.UO)(),fs={params:pa,isExact:!0,path:Fi.path,url:Hi.location.pathname},Ni=En.loader,ds={location:Hi.location,match:fs,history:Hi,params:pa,route:Fi,routes:ea};return En.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(En.loadingComponent,null)},Ue.createElement(Ni,ds,En.hasChildren&&Ue.createElement(Ho.j3,null))):Ue.createElement(Ni,ds,En.hasChildren&&Ue.createElement(Ho.j3,null))}function Tu(En){var Gn=En.loader;return En.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(En.loadingComponent,null)},Ue.createElement(Gn,null)):Ue.createElement(Gn,null)}var Rl=null;function Dc(){return Rl}function kc(En){var Gn=En.history,Fi=Ue.useState({action:Gn.action,location:Gn.location}),ba=(0,Il.Z)(Fi,2),Hi=ba[0],ea=ba[1];return(0,Ue.useLayoutEffect)(function(){return Gn.listen(ea)},[Gn]),(0,Ue.useLayoutEffect)(function(){function pa(fs){En.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:En.routes,clientRoutes:En.clientRoutes,location:fs.location,action:fs.action,basename:En.basename,isFirst:!!fs.isFirst}})}return pa({location:Hi.location,action:Hi.action,isFirst:!0}),Gn.listen(pa)},[Gn,En.routes,En.clientRoutes]),Ue.createElement(Ho.F0,{navigator:Gn,location:Hi.location,basename:En.basename},En.children)}function Fo(){var En=(0,Ol.Ov)(),Gn=En.clientRoutes;return(0,Ho.V$)(Gn)}var Ql=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ll=function(Gn,Fi){var ba=Gn.basename||"/",Hi=Xl({routesById:Gn.routes,routeComponents:Gn.routeComponents,loadingComponent:Gn.loadingComponent,reactRouter5Compat:Gn.reactRouter5Compat,useStream:Gn.useStream});Gn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Hi}});for(var ea=Ue.createElement(kc,{basename:ba,pluginManager:Gn.pluginManager,routes:Gn.routes,clientRoutes:Hi,history:Gn.history},Fi),pa=0,fs=Ql;panew Promise((ba,Hi)=>{var ea=Ni=>{try{fs(Fi.next(Ni))}catch(ds){Hi(ds)}},pa=Ni=>{try{fs(Fi.throw(Ni))}catch(ds){Hi(ds)}},fs=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(ea,pa);fs((Fi=Fi.apply(En,Gn)).next())});function Kc(){return ql(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/shixuns/:id/skill_tags",parentId:"200",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/ch",parentId:"1",id:"325"},326:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"325",id:"326"},327:{path:"/ch/rest/",exact:!0,parentId:"325",id:"327"},328:{path:"/ch/rest/:id",exact:!0,parentId:"325",id:"328"},329:{path:"/order",parentId:"1",id:"329"},330:{path:"/order",parentId:"329",id:"330"},331:{path:"/order/invoice",parentId:"329",id:"331"},332:{path:"/order/records",parentId:"329",id:"332"},333:{path:"/order/apply",parentId:"329",id:"333"},334:{path:"/order/view",parentId:"329",id:"334"},335:{path:"/order/:courseId/information",parentId:"329",id:"335"},336:{path:"/order/:courseId/pay",parentId:"329",id:"336"},337:{path:"/order/:orderNum/result",parentId:"329",id:"337"},338:{path:"/messages",parentId:"1",id:"338"},339:{path:"/messages/:userId/user_tidings",parentId:"338",id:"339"},340:{path:"/messages/:userId/private_messages",parentId:"338",id:"340"},341:{path:"/messages/:userId/message_detail",parentId:"338",id:"341"},342:{path:"/vtrs",parentId:"1",id:"342"},343:{path:"/vtrs/:virtual_spacesId",parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"343",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"343",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"343",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"343",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"343",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey",parentId:"343",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"343",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"343",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"343",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"343",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material",parentId:"343",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"343",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"343",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"343",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"343",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"343",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"343",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"343",id:"363"},364:{path:"/vtrs/:virtual_spacesId/settings",parentId:"343",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources",parentId:"343",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"343",id:"366"},367:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"343",id:"367"},368:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"343",id:"368"},369:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"343",id:"369"},370:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"343",id:"370"},371:{path:"/vtrs/:virtual_spacesId/*",parentId:"343",id:"371"},372:{path:"/101",parentId:"1",id:"372"},373:{path:"/101/:virtual_spacesId",parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId",exact:!0,parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"373",id:"375"},376:{path:"/101/:virtual_spacesId/experiment",parentId:"373",id:"376"},377:{path:"/101/:virtual_spacesId/announcement",parentId:"373",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/add",parentId:"373",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"373",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"373",id:"380"},381:{path:"/101/:virtual_spacesId/survey",parentId:"373",id:"381"},382:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"373",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge",parentId:"373",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"373",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"373",id:"385"},386:{path:"/101/:virtual_spacesId/material",parentId:"373",id:"386"},387:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"373",id:"387"},388:{path:"/101/:virtual_spacesId/lesson",parentId:"373",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"373",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"373",id:"390"},391:{path:"/101/:virtual_spacesId/discussion",parentId:"373",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"373",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"373",id:"393"},394:{path:"/101/:virtual_spacesId/settings",parentId:"373",id:"394"},395:{path:"/101/:virtual_spacesId/resources",parentId:"373",id:"395"},396:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"373",id:"396"},397:{path:"/101/:virtual_spacesId/Plan",parentId:"373",id:"397"},398:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"373",id:"398"},399:{path:"/101/:virtual_spacesId/digtal",parentId:"373",id:"399"},400:{path:"/101/:virtual_spacesId/homepage",parentId:"373",id:"400"},401:{path:"/101/:virtual_spacesId/*",parentId:"373",id:"401"},402:{path:"/administration",parentId:"1",id:"402"},403:{path:"/administration",parentId:"402",id:"403"},404:{path:"/administration/college",parentId:"403",id:"404"},405:{path:"/administration/student",parentId:"403",id:"405"},406:{path:"/administration/student/:studentId/edit",parentId:"403",id:"406"},407:{path:"/administration/profession",parentId:"403",id:"407"},408:{path:"/graduations",parentId:"1",id:"408"},409:{path:"/graduations",exact:!0,parentId:"408",id:"409"},410:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"408",id:"410"},411:{path:"/graduations/:id",parentId:"408",id:"411"},412:{path:"/graduations/:id/index",parentId:"411",id:"412"},413:{path:"/graduations/:id/topics",parentId:"411",id:"413"},414:{path:"/graduations/:id/student_selection",parentId:"411",id:"414"},415:{path:"/graduations/:id/tasks",parentId:"411",id:"415"},416:{path:"/graduations/:id/opening_report",parentId:"411",id:"416"},417:{path:"/graduations/:id/midterm_report",parentId:"411",id:"417"},418:{path:"/graduations/:id/thesis",parentId:"411",id:"418"},419:{path:"/graduations/:id/final_defense",parentId:"411",id:"419"},420:{path:"/graduations/:id/final_thesis",parentId:"411",id:"420"},421:{path:"/graduations/:id/settings",parentId:"411",id:"421"},422:{path:"/graduations/:id/teachers",parentId:"411",id:"422"},423:{path:"/graduations/:id/students",parentId:"411",id:"423"},424:{path:"/graduations/:id/archives",parentId:"411",id:"424"},425:{path:"/graduations/:id/grading_summary",parentId:"411",id:"425"},426:{path:"/dataset",parentId:"1",id:"426"},427:{path:"/dataset",exact:!0,parentId:"426",id:"427"},428:{path:"/dataset/:id/detail",exact:!0,parentId:"426",id:"428"},429:{path:"/knowledgegraph",parentId:"1",id:"429"},430:{path:"/knowledgegraph/:pathId",parentId:"429",id:"430"},431:{path:"/knowledgegraph/:pathId/statistics",parentId:"429",id:"431"},432:{path:"/newlogin",parentId:"1",id:"432"},433:{path:"/onlinenum",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"433",id:"434"},435:{path:"/shixuncontext",parentId:"1",id:"435"},436:{path:"/shixuncontext",parentId:"435",id:"436"},437:{path:"/shixuncontext/:Id/detail",parentId:"435",id:"437"},438:{path:"/educoder-demo",exact:!0,parentId:"1",id:"438"},439:{path:"/training",parentId:"1",id:"439"},440:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"439",id:"440"},441:{path:"/largeScreen",exact:!0,parentId:"1",id:"441"},442:{path:"/quality",parentId:"1",id:"442"},443:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"442",id:"443"},444:{path:"/otherlogin",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginqq",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginstart",exact:!0,parentId:"1",id:"446"},447:{path:"/pathsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/login",parentId:"1",id:"450"},451:{path:"/login",parentId:"450",id:"451"},452:{path:"/user",parentId:"1",id:"452"},453:{path:"/user/login",parentId:"452",id:"453"},454:{path:"/user/register",parentId:"452",id:"454"},455:{path:"/user/reset-password",parentId:"452",id:"455"},456:{path:"/colleges",parentId:"1",id:"456"},457:{path:"/colleges/:id/statistics",parentId:"456",id:"457"},458:{path:"/help",parentId:"1",id:"458"},459:{path:"/help/:id",parentId:"458",id:"459"},460:{path:"/video",parentId:"1",id:"460"},461:{path:"/video/:videoId",parentId:"460",id:"461"},462:{path:"/terminal",parentId:"1",id:"462"},463:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"463"},464:{path:"/statsDashboard",parentId:"1",id:"464"},465:{path:"/",parentId:"1",id:"465"},466:{path:"/",exact:!0,parentId:"465",id:"466"},467:{path:"/api/*",exact:!0,parentId:"465",id:"467"},468:{path:"/addnews",parentId:"465",id:"468"},469:{path:"/editnews/:id",parentId:"465",id:"469"},470:{path:"/newsdetail/:id",parentId:"465",id:"470"},471:{path:"/search",exact:!0,parentId:"465",id:"471"},472:{path:"/moop_cases",exact:!0,parentId:"465",id:"472"},473:{path:"/moop_cases/new",exact:!0,parentId:"465",id:"473"},474:{path:"/moop_cases/:caseId",exact:!0,parentId:"465",id:"474"},475:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"465",id:"475"},476:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"465",id:"476"},477:{path:"/randompaper",exact:!0,parentId:"465",id:"477"},478:{path:"/randompaper/edit/:id",exact:!0,parentId:"465",id:"478"},479:{path:"/randompaper/detail/:id",exact:!0,parentId:"465",id:"479"},480:{path:"/403",parentId:"465",id:"480"},481:{path:"/500",parentId:"465",id:"481"},482:{path:"/404",parentId:"465",id:"482"},483:{path:"/download",parentId:"465",id:"483"},484:{path:"/iwce",parentId:"465",id:"484"},485:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"465",id:"485"},486:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"465",id:"486"},487:{path:"/Activities",parentId:"465",id:"487"},488:{path:"/iwce/:itemname",parentId:"465",id:"488"},489:{path:"/hpc-course",parentId:"465",id:"489"},490:{path:"/user_agents",parentId:"465",id:"490"},491:{path:"/three",parentId:"465",id:"491"},492:{path:"/introduction",parentId:"465",id:"492"},493:{path:"/chatgpt",parentId:"465",id:"493"},494:{path:"/*",parentId:"465",id:"494"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),3:Ue.lazy(()=>__webpack_require__.e(2099).then(__webpack_require__.bind(__webpack_require__,76533))),4:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:Ue.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,39751))),8:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),10:Ue.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,61989))),11:Ue.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,71362))),13:Ue.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,11839))),14:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,90915))),15:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,20684))),16:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,71362))),17:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,39751))),18:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,39751))),19:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),20:Ue.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,56319))),21:Ue.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:Ue.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:Ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:Ue.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,33496))),25:Ue.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,33496))),26:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:Ue.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:Ue.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:Ue.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,66076))),32:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,28063))),33:Ue.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,63437))),34:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,1086))),37:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,83890))),38:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:Ue.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,53036))),43:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,39751))),44:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:Ue.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),47:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),48:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),49:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),50:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),51:Ue.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),52:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),53:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),54:Ue.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),55:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),56:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),57:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),58:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),60:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),62:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),63:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),64:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),65:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),66:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),67:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),68:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),69:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),70:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),71:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),72:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),73:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),74:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),75:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),76:Ue.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),77:Ue.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),78:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),79:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),80:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),81:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),82:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),83:Ue.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,11839))),84:Ue.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),85:Ue.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),86:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,97789))),87:Ue.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),88:Ue.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),89:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),90:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:Ue.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),92:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),93:Ue.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),94:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),95:Ue.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),96:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),97:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),98:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),99:Ue.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),100:Ue.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,35629))),101:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,36008))),102:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,36008))),103:Ue.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),104:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),105:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,41587))),107:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,41587))),108:Ue.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,59345))),109:Ue.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,59345))),110:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,50608))),111:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,50608))),112:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,7170))),113:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,7170))),114:Ue.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,35685))),115:Ue.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,35803))),116:Ue.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,89169))),117:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,33057))),118:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7588),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,33057))),119:Ue.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),120:Ue.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),121:Ue.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),122:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(369),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,15515))),123:Ue.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),124:Ue.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),125:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,53769))),126:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,53769))),127:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),128:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:Ue.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,68583))),130:Ue.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,68583))),131:Ue.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,44002))),132:Ue.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,44002))),133:Ue.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),134:Ue.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),135:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),136:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),137:Ue.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,94057))),138:Ue.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,94057))),139:Ue.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),140:Ue.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,10143))),141:Ue.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,10143))),142:Ue.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,31896))),143:Ue.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,31896))),144:Ue.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),145:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),146:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),148:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),150:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),151:Ue.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),152:Ue.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),153:Ue.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),154:Ue.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),155:Ue.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),156:Ue.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),157:Ue.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),158:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),159:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9481),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,855))),160:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9481),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,855))),161:Ue.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),162:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9481),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,855))),163:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),164:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:Ue.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),166:Ue.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),167:Ue.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),168:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,79548))),169:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),170:Ue.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),171:Ue.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,88007))),172:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),173:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),175:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),176:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,16417))),177:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),178:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:Ue.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),180:Ue.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),181:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4325),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,39751))),182:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),183:Ue.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,44470))),184:Ue.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),185:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,457))),186:Ue.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),187:Ue.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),188:Ue.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),189:Ue.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),190:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(7476),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,57448))),191:Ue.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),192:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),193:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),194:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),196:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:Ue.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,11008))),198:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),199:Ue.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),200:Ue.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,48476))),201:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,38199))),202:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,41374))),203:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,19005))),204:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,29990))),205:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,30439))),206:Ue.lazy(()=>Promise.all([__webpack_require__.e(7476),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),207:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,68314))),208:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,66560))),209:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,77195))),210:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,4421))),211:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,4421))),212:Ue.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,64716))),213:Ue.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,64716))),214:Ue.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,92023))),215:Ue.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,92023))),216:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,19005))),217:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,19005))),218:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),219:Ue.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,68043))),220:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,92880))),221:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),222:Ue.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),223:Ue.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),224:Ue.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),225:Ue.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),226:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),228:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),229:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),230:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),231:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),232:Ue.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),233:Ue.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),234:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),235:Ue.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,73032))),236:Ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,87073))),237:Ue.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,81524))),238:Ue.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,96101))),239:Ue.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,13488))),240:Ue.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,71009))),241:Ue.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,59002))),242:Ue.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,60083))),243:Ue.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,98976))),244:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),245:Ue.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),246:Ue.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,5638))),247:Ue.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,92797))),248:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,33232))),249:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,74849))),250:Ue.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,36510))),251:Ue.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,28919))),252:Ue.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,2668))),253:Ue.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,21599))),254:Ue.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,17436))),255:Ue.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,7942))),256:Ue.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),257:Ue.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,73879))),258:Ue.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,6815))),259:Ue.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,80411))),260:Ue.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),261:Ue.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),262:Ue.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),263:Ue.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),264:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),265:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),266:Ue.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),267:Ue.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),268:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),270:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),272:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),273:Ue.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),274:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),276:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),277:Ue.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),278:Ue.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),279:Ue.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),280:Ue.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),281:Ue.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),282:Ue.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),283:Ue.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),284:Ue.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),285:Ue.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),286:Ue.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),287:Ue.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),288:Ue.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),289:Ue.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),290:Ue.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),291:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),292:Ue.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),293:Ue.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),294:Ue.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),295:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),296:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),297:Ue.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),298:Ue.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),299:Ue.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),300:Ue.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),301:Ue.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),302:Ue.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),303:Ue.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),304:Ue.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),305:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),307:Ue.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),308:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),309:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,51384))),310:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),311:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,51384))),312:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),313:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,51384))),314:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),315:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),316:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,8243))),317:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),318:Ue.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),319:Ue.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),320:Ue.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),321:Ue.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),322:Ue.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),323:Ue.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),324:Ue.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),325:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),326:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),327:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),329:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),330:Ue.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),331:Ue.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),332:Ue.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),333:Ue.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),334:Ue.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),335:Ue.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),336:Ue.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),337:Ue.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),338:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),339:Ue.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),340:Ue.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),341:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),342:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),343:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),344:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),345:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),346:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),347:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),348:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),350:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),351:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),352:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),353:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,2360))),354:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),356:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),357:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),358:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),359:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),361:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),362:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),364:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),365:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),366:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),367:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),368:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),369:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),370:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),371:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),372:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),373:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),374:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),375:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),376:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),377:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),378:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),380:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),381:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),382:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),383:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,2360))),384:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),386:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),387:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),388:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),389:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),391:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),392:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),394:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),395:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),396:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),397:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),398:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),399:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),400:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),401:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),402:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),403:Ue.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,86476))),404:Ue.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),405:Ue.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),406:Ue.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),407:Ue.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),408:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),409:Ue.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),410:Ue.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),411:Ue.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),412:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),413:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),414:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),415:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),416:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),421:Ue.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),422:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),424:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),425:Ue.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),426:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),427:Ue.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),428:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),429:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),430:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,99236))),431:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),432:Ue.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,19770))),433:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),434:Ue.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),435:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),436:Ue.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),437:Ue.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,6556))),438:Ue.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),439:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),440:Ue.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),441:Ue.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),442:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),443:Ue.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),444:Ue.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),445:Ue.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),446:Ue.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),447:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),448:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),449:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),450:Ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),451:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:Ue.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),453:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),454:Ue.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,72105))),455:Ue.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),456:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),457:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),458:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),459:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),460:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),461:Ue.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),462:Ue.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),463:Ue.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),464:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,13771))),465:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,35143))),466:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9481),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,4282))),467:Ue.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),468:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4731)]).then(__webpack_require__.bind(__webpack_require__,34840))),469:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4731)]).then(__webpack_require__.bind(__webpack_require__,34840))),470:Ue.lazy(()=>__webpack_require__.e(7852).then(__webpack_require__.bind(__webpack_require__,7467))),471:Ue.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),472:Ue.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),473:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),474:Ue.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),475:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),476:Ue.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),477:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),478:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),479:Ue.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),480:Ue.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),481:Ue.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),482:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),483:Ue.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),484:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:Ue.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),486:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(369),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,62930))),487:Ue.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),488:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),489:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),490:Ue.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),491:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),492:Ue.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),493:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),494:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":Ue.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,60990)))}}})}var I=__webpack_require__(41920),D=__webpack_require__(58293),L=__webpack_require__(71418),_e=__webpack_require__(5755),De=()=>Ue.createElement(L.Z,{size:"middle",className:_e.Z.loading}),nn=__webpack_require__(25690),bn=__webpack_require__(61186),un=__webpack_require__.n(bn),Ai=__webpack_require__(91392),Ha=__webpack_require__.n(Ai),Ta=__webpack_require__(34749),Hs=__webpack_require__.n(Ta),ts=__webpack_require__(19277),ho=__webpack_require__.n(ts),gs=__webpack_require__(10238),Jl=__webpack_require__.n(gs),fc=__webpack_require__(33656),ec=__webpack_require__.n(fc),Ml=__webpack_require__(90111),cl=__webpack_require__.n(Ml),Ci=__webpack_require__(74959),fl=__webpack_require__.n(Ci),dc=__webpack_require__(23250),Ao=__webpack_require__.n(dc),ro=__webpack_require__(58862),qa=__webpack_require__.n(ro),$u=__webpack_require__(58319),Wu=__webpack_require__.n($u),hc=__webpack_require__(62053),qu=__webpack_require__.n(hc),dl=__webpack_require__(47477),Yc=__webpack_require__.n(dl),tc=__webpack_require__(59717),hl=__webpack_require__.n(tc);un().extend(Hs()),un().extend(ho()),un().extend(Jl()),un().extend(ec()),un().extend(cl()),un().extend(fl()),un().extend(Ao()),un().extend(qa()),un().extend(Wu()),un().extend(qu()),un().extend(Yc()),un().extend(hl()),un().extend(Ha());var pc=Object.defineProperty,mc=Object.getOwnPropertySymbols,Xc=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,Hu=(En,Gn,Fi)=>Gn in En?pc(En,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Fi}):En[Gn]=Fi,pl=(En,Gn)=>{for(var Fi in Gn||(Gn={}))Xc.call(Gn,Fi)&&Hu(En,Fi,Gn[Fi]);if(mc)for(var Fi of mc(Gn))tu.call(Gn,Fi)&&Hu(En,Fi,Gn[Fi]);return En},vc=(En,Gn,Fi)=>new Promise((ba,Hi)=>{var ea=Ni=>{try{fs(Fi.next(Ni))}catch(ds){Hi(ds)}},pa=Ni=>{try{fs(Fi.throw(Ni))}catch(ds){Hi(ds)}},fs=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(ea,pa);fs((Fi=Fi.apply(En,Gn)).next())});const pu="/react/build/",_c=!1;function Ju(){return vc(this,null,function*(){const En=(0,I.gD)(),{routes:Gn,routeComponents:Fi}=yield Kc(En);yield En.applyPlugins({key:"patchRoutes",type:nn.ApplyPluginsType.event,args:{routes:Gn,routeComponents:Fi}});const ba=En.applyPlugins({key:"modifyContextOpts",type:nn.ApplyPluginsType.modify,initialValue:{}}),Hi=ba.basename||"/",ea=ba.historyType||"browser",pa=(0,D.fi)(pl({type:ea,basename:Hi},ba.historyOpts));return En.applyPlugins({key:"render",type:nn.ApplyPluginsType.compose,initialValue(){const fs={useStream:!0,routes:Gn,routeComponents:Fi,pluginManager:En,mountElementId:"root",rootElement:ba.rootElement||document.getElementById("root"),loadingComponent:De,publicPath:pu,runtimePublicPath:_c,history:pa,historyType:ea,basename:Hi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:ba.callback},Ni=En.applyPlugins({key:"modifyClientRenderOpts",type:nn.ApplyPluginsType.modify,initialValue:fs});return Rc(Ni)}})()})}Ju(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();