diff --git a/index.html b/index.html index 4e85767ae5..d3135feb9f 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Shixuns__ThemeChange__Edit.a44a9d9d.async.js b/p__Shixuns__ThemeChange__Edit.a44a9d9d.async.js new file mode 100644 index 0000000000..3e399db782 --- /dev/null +++ b/p__Shixuns__ThemeChange__Edit.a44a9d9d.async.js @@ -0,0 +1,247 @@ +(self.webpackChunk=self.webpackChunk||[]).push([[9511],{87169:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ct}});var ae=ue(32855),x=ue(59301),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ze=Oe,ke=ue(7657),et=function(Me,lt){return x.createElement(ke.Z,(0,ae.Z)({},Me,{ref:lt,icon:Ze}))},Ce=x.forwardRef(et),ct=Ce},11724:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ct}});var ae=ue(32855),x=ue(59301),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},Ze=Oe,ke=ue(7657),et=function(Me,lt){return x.createElement(ke.Z,(0,ae.Z)({},Me,{ref:lt,icon:Ze}))},Ce=x.forwardRef(et),ct=Ce},32050:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ct}});var ae=ue(32855),x=ue(59301),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 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:"upload",theme:"outlined"},Ze=Oe,ke=ue(7657),et=function(Me,lt){return x.createElement(ke.Z,(0,ae.Z)({},Me,{ref:lt,icon:Ze}))},Ce=x.forwardRef(et),ct=Ce},21697:function(we,St){"use strict";St.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},77277:function(we,St){"use strict";St.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},5966:function(we,St){"use strict";St.Z={titlesize:"titlesize___RiFfV",labelWrap:"labelWrap___gNw3Q",label:"label___uujJZ",labelContent:"labelContent___QsIDL",selectSchool:"selectSchool___HL1ax",dataPicker:"dataPicker___Ux1tp",itemWrap:"itemWrap___Q0uQz",img:"img___bqnNM",itemContent:"itemContent___FvPMp",nameWrap:"nameWrap___ALKio",name:"name___Q7c5Q",actionGroup:"actionGroup___qiWs0",schoolWrap:"schoolWrap___dXuoo",school:"school___CW5RX",colorOrange:"colorOrange___EkZAA",colorYellow:"colorYellow___evRzy",graaytitle:"graaytitle___LUmPS"}},62740:function(we,St){"use strict";St.Z={titlesize:"titlesize___vL5PR",labelWrap:"labelWrap___MMQF1",label:"label___h0nb1",labelContent:"labelContent___UmrM4",selectSchool:"selectSchool____z1Sv",dataPicker:"dataPicker____Uc0Q",itemWrap:"itemWrap___DGdf0",img:"img___yufZU",itemContent:"itemContent___PtiW4",nameWrap:"nameWrap____5hbI",name:"name___YpgWl",actionGroup:"actionGroup___CKaNY",schoolWrap:"schoolWrap___hVDkU",school:"school___dDGfK",colorOrange:"colorOrange___c0b65",colorYellow:"colorYellow___O6JJ3",graaytitle:"graaytitle___Gay2A"}},20397:function(){"use strict";function we(fe,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=fe,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(we.prototype,"name",{get:function(){return this._name},set:function(fe){if(typeof fe!="string"||fe==="")throw new Error("Shape name must be a valid string.");this._name=fe}}),Object.defineProperty(we.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("The default value must be a real number, not: "+fe);this._defaultValue=fe}}),Object.defineProperty(we.prototype,"minimum",{get:function(){return this._minimum},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("Minimum must be a real number, not: "+fe);this._minimum=fe}}),Object.defineProperty(we.prototype,"maximum",{get:function(){return this._maximum},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("Maximum must be a real number, not: "+fe);this._maximum=fe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(fe,a){var E=go.Shape._FigureParameters[fe];return E?E[a]:null},go.Shape.setFigureParameter=function(fe,a,E){if(!(E instanceof we))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[fe];b||(b=[],go.Shape._FigureParameters[fe]=b),b[a]=E};var St=[];function ue(fe,a){var E=St.pop();return E===void 0?new go.Point(fe,a):(E.x=fe,E.y=a,E)}function ae(){var fe=St.pop();return fe===void 0?new go.Point:fe}function x(fe){St.push(fe)}function Oe(fe,a,E,b,y,z,ne,se,ce){ce||(ce=new go.Point);var de=fe-E,ye=y-ne,Ae=NaN,Ge=NaN;if(de===0)if(ye===0)fe===E&&(Ae=fe,Ge=a);else{var Be=(z-se)/ye,rt=z-Be*y;Ae=fe,Ge=Be*Ae+rt}else if(ye===0){var Xe=(a-b)/de,ut=a-Xe*fe;Ae=y,Ge=Xe*Ae+ut}else{var Xe=(a-b)/de,Be=(z-se)/ye,ut=a-Xe*fe,rt=z-Be*y;Ae=(rt-ut)/(Xe-Be),Ge=Xe*Ae+ut}return ce.x=Ae,ce.y=Ge,ce}function Ze(fe,a,E,b,y,z,ne,se,ce,de,ye,Ae,Ge,Be){var rt=1-ce,Xe=ce,ut=fe*rt+E*Xe,mn=a*rt+b*Xe,ln=E*rt+y*Xe,En=b*rt+z*Xe,vn=y*rt+ne*Xe,Jt=z*rt+se*Xe,Ea=ut*rt+ln*Xe,_t=mn*rt+En*Xe,an=ln*rt+vn*Xe,Nn=En*rt+Jt*Xe,jn=Ea*rt+an*Xe,pn=_t*rt+Nn*Xe;de.x=ut,de.y=mn,ye.x=Ea,ye.y=_t,Ae.x=jn,Ae.y=pn,Ge.x=an,Ge.y=Nn,Be.x=vn,Be.y=Jt}var ke=new go.Spot(.156,.156),et=new go.Spot(.844,.844),Ce=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new we("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*Ce,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(fe,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(fe,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(fe,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=ke,y.spot2=et,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,Ce*a,0,a,(1-Ce)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,Ce*E,(1-Ce)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,Ce*E,Ce*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-Ce)*a,0,0,(1-Ce)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(fe,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(fe,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new we("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,a/2+se,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,se,se).close())),z.spot1=ke,z.spot2=et,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(fe,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new we("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new we("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(fe,a,E){var b=fe?fe.parameter1:NaN,y=fe?fe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var z=b%360;z<0&&(z+=360);var ne=y%360,se=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(se,se).add(new go.PathSegment(go.PathSegment.Arc,z,ne,se,se,se,se).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(fe,a,E){var b=Ce/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,z*E,a,(1-b)*E,(y+b)*a,(z+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new we("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(fe,a,E){var b=fe?fe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var z=a/2,ne=E/2,se=Math.atan2(E,a),ce=b-Math.min(Math.cos(se)*b/2,z),de=b-Math.min(Math.sin(se)*b/2,ne),y=new go.Geometry,ye=new go.PathFigure(ce,0,!0);return y.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,z,.2*E)),ye.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,de)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,a,E-de)),ye.add(new go.PathSegment(go.PathSegment.Line,a-ce,E)),ye.add(new go.PathSegment(go.PathSegment.Line,z,.8*E)),ye.add(new go.PathSegment(go.PathSegment.Line,ce,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,E-de)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new we("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new we("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new we("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,Ce*a,0,a,(.5-Ce/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+Ce/2)*E,Ce*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var z=.2,ne=.3,se=0,ce=z*Ce;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+se)*E,(.5-z+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+z+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+se)*E,(.5+ce+ne)*a,(.5+z+se)*E,(.5+z+ne)*a,(.5+ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+se)*E,(1-.5+z+ne)*a,(.5-ce+se)*E,(.5+ce+ne)*a,(.5-z+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ce+ne)*a,(.5-z+se)*E,(.5-z+ne+.05)*a,(.5-ce+se-.02)*E)),z=.2,ne=0,se=-.3,ce=z*Ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+se)*E,(.5+ce+ne)*a,(.5+z+se)*E,(.5+z+ne)*a,(.5+ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+se)*E,(1-.5+z+ne)*a,(.5-ce+se)*E,(.5+ce+ne)*a,(.5-z+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+se)*E,(.5-ce+ne)*a,(.5-z+se)*E,(.5-z+ne)*a,(.5-ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ne)*a,(.5+z+se)*E,(.5-z+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+z+se)*E)),z=.2,ne=-.3,se=0,ce=z*Ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+se)*E,(1-.5+z+ne-.05)*a,(.5-ce+se-.02)*E,(.5+ce+ne)*a,(.5-z+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+se)*E,(.5-ce+ne)*a,(.5-z+se)*E,(.5-z+ne)*a,(.5-ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+se)*E,(.5-z+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+z+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ce+ne)*a,(.5+z+se)*E,(.5+z+ne)*a,(.5+ce+se)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ne=.5,se=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*a,se*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*se,z*a,z*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),se=.75,y=new go.PathFigure((ne+z)*a,se*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*se,z*a,z*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(fe,a,E){var b=.8535533905932737,y=.5*a,z=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=.5,ne=.5,se=.5,ce=new go.PathFigure(ne*a,(se-z)*E);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),z=.4,y=Ce*.4;var de=ae(),ye=ae(),Ae=ae(),Ge=ae();Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.42,de,ye,Ae,Ge,Ge);var Be=ae(),rt=ae(),Xe=ae();Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.58,Ge,Ge,Xe,Be,rt);var ut=ae(),mn=ae(),ln=ae();Ze(ne,se+z,ne-y,se+z,ne-z,se+y,ne-z,se,.42,ut,mn,ln,Ge,Ge);var En=ae(),vn=ae(),Jt=ae();return Ze(ne,se+z,ne-y,se+z,ne-z,se+y,ne-z,se,.58,Ge,Ge,Jt,En,vn),ce.add(new go.PathSegment(go.PathSegment.Move,Jt.x*a,Jt.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,En.x*a,En.y*E,vn.x*a,vn.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne-z)*a,(se-y)*E,(ne-y)*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae.x*a,Ae.y*E,de.x*a,de.y*E,ye.x*a,ye.y*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Jt.x*a,Jt.y*E).close()),ce.add(new go.PathSegment(go.PathSegment.Move,ln.x*a,ln.y*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Xe.x*a,Xe.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,Be.x*a,Be.y*E,rt.x*a,rt.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne+z)*a,(se+y)*E,(ne+y)*a,(se+z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ln.x*a,ln.y*E,ut.x*a,ut.y*E,mn.x*a,mn.y*E).close()),x(de),x(ye),x(Ae),x(Ge),x(Be),x(rt),x(Xe),x(ut),x(mn),x(ln),x(En),x(vn),x(Jt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,z=y+b;return new go.Geometry().add(new go.PathFigure(z,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(fe,a,E){var b=new go.Geometry,y=Ce*.4,z=.4,ne=.5,se=.5,ce=ae(),de=ae(),ye=ae(),Ae=ae(),Ge=new go.PathFigure((ne-z)*a,se*E,!1);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne-z)*a,(se-y)*E,(ne-y)*a,(se-z)*E)),Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.44,ye,Ae,de,ce,ce),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E));var Be=ue(de.x,de.y);Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.56,ce,ce,de,ye,Ae);var rt=ue(de.x,de.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.95*.9)*a,Be.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,Be.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*a,(rt.y*.1+.05*.9)*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,rt.x*a,rt.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne+z)*a,(se+y)*E,(ne+y)*a,(se+z)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se+z)*E,(ne-z)*a,(se+y)*E)),z=.35,y=Ce*.35;var Xe=new go.PathFigure(ne*a,(se-z)*E,!1);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E));var ut=new go.PathFigure((ne-z)*a,se*E,!1);return b.add(ut),x(ce),x(de),x(ye),x(Ae),x(Be),x(rt),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(fe,a,E){var b=new go.Geometry,y=.375,z=0,ne=-.125,se=y*Ce,ce=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+se+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-se+ne)*E,(.5+se+z)*a,(.5-y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-se+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+se+ne)*E,(.5-se+z)*a,(.5+y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,z=0,ne=-.125,se=y*Ce;var ce=new go.PathFigure((1-.5+y+z)*a,(.5+ne)*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+se+ne)*E,(.5+se+z)*a,(.5+y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-se+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-se+ne)*E,(.5-se+z)*a,(.5-y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+se+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-se+ne)*E));var ce=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);return b.add(ce),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(fe,a,E){var b=fe?fe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(fe,a,E){var b=fe?fe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(fe,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(fe,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(fe,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(fe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(fe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new we("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new we("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-b)*a,ne=(.5-y/2)*E,se=(.5+y/2)*E,ce=new go.Geometry,de=new go.PathFigure(0,ne,!0);ce.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,ne)),de.add(new go.PathSegment(go.PathSegment.Line,z,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,z,E)),de.add(new go.PathSegment(go.PathSegment.Line,z,se)),de.add(new go.PathSegment(go.PathSegment.Line,0,se).close()),ce.spot1=new go.Spot(0,ne/E);var ye=Oe(0,se/E,1,se/E,z/a,1,1,.5,ae());return ce.spot2=new go.Spot(ye.x,ye.y),x(ye),ce}),go.Shape.setFigureParameter("Arrow2",0,new we("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new we("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var z=a-b,ne=(E-y)/2,se=ne+y,ce=new go.Geometry,de=new go.PathFigure(0,ne,!0);ce.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,ne)),de.add(new go.PathSegment(go.PathSegment.Line,z,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,z,E)),de.add(new go.PathSegment(go.PathSegment.Line,z,se)),de.add(new go.PathSegment(go.PathSegment.Line,0,se).close()),ce.spot1=new go.Spot(0,ne/E);var ye=Oe(0,se/E,1,se/E,z/a,1,1,.5,ae());return ce.spot2=new go.Spot(ye.x,ye.y),x(ye),ce}),go.Shape.defineFigureGenerator("Chevron",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new we("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ce=Oe(0,.5,.3,0,0,y/E,.1,y/E,ae());return ne.spot1=new go.Spot(ce.x,ce.y),ce=Oe(.7,1,1,.5,0,z/E,1,z/E,ce),ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new we("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new we("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=40);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-b)/2,ne=z+b,se=(E-y)/2,ce=se+y;(b>E||y>E)&&(y>b?(b=b*E/y,z=(E-b)/2,ne=z+b,se=0,ce=E):(z=0,ne=E,se=0,ce=E));var de=new go.Geometry,ye=new go.PathFigure(a,.5*E,!0);de.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,se).close());var Ae=Oe(0,.5,.3,se/E,0,z/E,1,z/E,ae());return de.spot1=new go.Spot(Ae.x,Ae.y),Ae=Oe(.7,ce/E,1,.5,0,ne/E,1,ne/E,Ae),de.spot2=new go.Spot(Ae.x,Ae.y),x(Ae),de}),go.Shape.setFigureParameter("IBeamArrow",0,new we("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var ce=Oe(.7,1,1,.5,0,z/E,1,z/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new we("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new we("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=40);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-b)/2,ne=z+b,se=(E-y)/2,ce=se+y;(b>E||y>E)&&(y>b?(b=b*E/y,z=(E-b)/2,ne=z+b,se=0,ce=E):(z=0,ne=E,se=0,ce=E));var de=new go.Geometry,ye=new go.PathFigure(a,.5*E,!0);de.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,se).close()),de.spot1=new go.Spot(0,z/E);var Ae=Oe(.7,ce/E,1,.5,0,ne/E,1,ne/E,ae());return de.spot2=new go.Spot(Ae.x,Ae.y),x(Ae),de}),go.Shape.setFigureParameter("Pointer",0,new we("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ne=Oe(.2,.65,1,.65,0,1,1,.5,ae());return y.spot2=new go.Spot(ne.x,ne.y),x(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new we("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var ne=Oe(0,.65,1,.65,0,1,1,.5,ae());return y.spot2=new go.Spot(ne.x,ne.y),x(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new we("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,0,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var ce=Oe(.7,1,1,.5,0,z/E,1,z/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new we("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,z=y+b;b>E&&(y=0,z=E);var ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,0,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var ce=Oe(.7,1,1,.5,0,z/E,1,z/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("SquareArrow",0,new we("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=Ce*.1,ne=new go.PathFigure(0,.9*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var z=new go.PathFigure(0,.9*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=Ce*.5,ne=new go.PathFigure(0,b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ce*b,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+z)*a,0,1*a,Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-Ce*b,(.5+z)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-z)*a,1*E,0,E-Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var se=new go.PathFigure(a,b,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-Ce*b,(.5+z)*a,2*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*a,2*b,0,2*b-Ce*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=Ce*.5,ne=new go.PathFigure(0,E-b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ce*b,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+z)*a,0,a,Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-Ce*b,(.5+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-z)*a,E,0,E-Ce*b));var se=new go.PathFigure(0,E-b,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-Ce*b,(.5-z)*a,E-2*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+z)*a,E-2*b,a,E-b-Ce*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=Ce*.5,ne=new go.PathFigure(b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ce*b,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+z)*E,a-Ce*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ce*b,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*E,Ce*b,0));var se=new go.PathFigure(b,0,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+Ce*b,0,2*b,(.5-z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+z)*E,b+Ce*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=Ce*.5,ne=new go.PathFigure(a-b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ce*b,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+z)*E,a-Ce*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ce*b,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*E,Ce*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var se=new go.PathFigure(a-b,0,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-Ce*b,0,a-2*b,(.5-z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+z)*E,a-b-Ce*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.25*a,.25*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(fe,a,E){var b=new go.Geometry,y=.2,z=.1,ne=Ce*y,se=Ce*z,ce=.5,de=.1,ye=new go.PathFigure(ce*a,(de+z)*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-y)*a,de*E,(ce-ne)*a,(de+z)*E,(ce-y)*a,(de+se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-z)*E,(ce-y)*a,(de-se)*E,(ce-ne)*a,(de-z)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+y)*a,de*E,(ce+ne)*a,(de-z)*E,(ce+y)*a,(de-se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+z)*E,(ce+y)*a,(de+se)*E,(ce+ne)*a,(de+z)*E));var Ae=.05,Ge=Ce*Ae;ce=.05,de=.25;var Be=new go.PathFigure(.5*a,.2*E,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ce=.95,de=.25,Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Ae)*a,de*E,(ce+Ge)*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),Ae=.025,Ge=Ce*Ae,ce=.825,de=.35,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),Ae=.05,Ge=Ce*Ae,ce=.5,de=.7,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),Ae=.025,Ge=Ce*Ae,ce=.175,de=.35,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),Ae=.05,Ge=Ce*Ae,ce=.05,de=.25,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E,(ce-Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new we("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var z=new go.PathFigure(.5*a,.5*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=Ce*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var se=new go.PathFigure(a,.1*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+z)*E,(.5+y)*a,.4*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+z)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=Ce*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var se=new go.PathFigure(a,.1*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=Ce*.2,ne=new go.PathFigure(0,.2*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*E,(.2-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+z)*a,0,a,(.2-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+z)*E,(.8+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-z)*a,E,0,(.8+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var se=new go.PathFigure(0,y*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(.1*a,.4*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.75*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var z=new go.PathFigure(a,.5*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,z=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var se=new go.PathFigure(y*a,0,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),se.add(new go.PathSegment(go.PathSegment.Move,0,z*E)),se.add(new go.PathSegment(go.PathSegment.Line,a,z*E)),b}),go.Shape.defineFigureGenerator("Junction",function(fe,a,E){var b=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=Ce*.5,se=.5,ce=new go.PathFigure(a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,E,a,(se+ne)*E,(se+ne)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,se*E,(se-ne)*a,E,0,(se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,0,0,(se-ne)*E,(se-ne)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,se*E,(se+ne)*a,0,a,(se-ne)*E));var de=new go.PathFigure((z+y)*a,(z+y)*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z*a,z*E)),de.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+y)*E)),de.add(new go.PathSegment(go.PathSegment.Line,(z+y)*a,z*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var z=new go.PathFigure(.1*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=.5,ne=new go.PathFigure(.5*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*E,a,(z+y)*E,(z+y)*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var z=new go.PathFigure(.2*a,.1*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var se=new go.PathFigure(.5*y*a,y*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var se=new go.PathFigure(a,.5*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,z=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,z=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*a,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var se=new go.PathFigure(a,z*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,z*E));var ce=new go.PathFigure(.8*a,.75*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(fe,a,E){var b=new go.Geometry,y=Ce*.1,z=.1,ne=.9,se=.5,ce=new go.PathFigure(.8*a,.5*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var de=new go.PathFigure((ne+z)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne+z)*a,(se+y)*E,(ne+y)*a,(se+z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se+z)*E,(ne-z)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne-z)*a,(se-y)*E,(ne-y)*a,(se-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,(ne+y)*a,(se-z)*E,(ne+z)*a,(se-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=Ce*.4,ne=Ce*.1,se=.1,ce=.9,de=.5,ye=new go.PathFigure(.8*a,.5*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+z)*E,(.4+y)*a,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-z)*E));var Ae=new go.PathFigure((ce+se)*a,de*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+se)*E,(ce+se)*a,(de+ne)*E,(ce+ne)*a,(de+se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a,de*E,(ce-ne)*a,(de+se)*E,(ce-se)*a,(de+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-se)*E,(ce-se)*a,(de-ne)*E,(ce-ne)*a,(de-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a,de*E,(ce+ne)*a,(de-se)*E,(ce+se)*a,(de-ne)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*y,ne=0,se=.5,ce=new go.PathFigure(.8*a,.5*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(se-y)*E,.7*a,(se-z)*E)),y=.1,z=Ce*.1,ne=.9,se=.5;var de=new go.PathFigure((ne-y)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*y,ne=0,se=.5,ce=new go.PathFigure(0,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z+z)*a,(se-y)*E,.8*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(se+z)*E,(ne+z+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*y,ne=.2,se=.5,ce=new go.PathFigure(.1*a,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var de=new go.PathFigure(.8*a,.5*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(se+z)*E,(ne+z)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(se-y)*E,.7*a,(se-z)*E)),y=.1,z=Ce*.1,ne=.9,se=.5;var ye=new go.PathFigure((ne-y)*a,se*E,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*y,ne=.2,se=.5,ce=new go.PathFigure(.1*a,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var de=new go.PathFigure(.2*a,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z)*a,(se-y)*E,.9*a,(se-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(se+z)*E,(ne+z)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(fe,a,E){var b=new go.Geometry,y=Ce*.1,z=.1,ne=.1,se=.5,ce=new go.PathFigure((ne-y*.5)*a,E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+z)*a,0,(ne+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,z=.5,ne=.5,se=.5,ce=new go.PathFigure((ne-z)*a,se*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-z)*E,(ne-z)*a,(se-y)*E,(ne-y)*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,(ne+y)*a,(se-z)*E,(ne+z)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne+z)*a,(se+y)*E,(ne+y)*a,(se+z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se+z)*E,(ne-z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*a,se*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*a,se*E,ne*a,(se-z)*E,ne*a,(se+z)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(fe,a,E){var b=new go.Geometry,y=a,z=E;a=a*.38,E=E*.6;var ne=Ce*.8,se=.8,ce=0,de=.5,ye=(y-a)/2,Ae=(z-E)/2,Ge=new go.PathFigure(ce*a+ye,(de+se)*E+Ae,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se+ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de-se)*E+Ae,(ce-se+ne*.5)*a+ye,(de-ne)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce-se+ne*.5)*a+ye,(de+ne)*E+Ae,ce*a+ye,(de+se)*E+Ae).close()),ne=Ce*.4,se=.4,ce=.2,de=.5;var Be=new go.PathFigure(ce*a+ye,(de+se)*E+Ae,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se+ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de-se)*E+Ae,(ce-se+ne*.5)*a+ye,(de-ne)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce-se+ne*.5)*a+ye,(de+ne)*E+Ae,ce*a+ye,(de+se)*E+Ae).close()),ne=Ce*.2,se=.2,ce=.5,de=.5;var rt=new go.PathFigure((ce-se)*a+ye,de*E+Ae,!0);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),ne=Ce*.4,se=.4,ce=.8,de=.5;var Xe=new go.PathFigure(ce*a+ye,(de-se)*E+Ae,!0);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se-ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de+se)*E+Ae,(ce+se-ne*.5)*a+ye,(de+ne)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce+se-ne*.5)*a+ye,(de-ne)*E+Ae,ce*a+ye,(de-se)*E+Ae).close()),ne=Ce*.8,se=.8,ce=1,de=.5;var ut=new go.PathFigure(ce*a+ye,(de-se)*E+Ae,!0);return b.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se-ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de+se)*E+Ae,(ce+se-ne*.5)*a+ye,(de+ne)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce+se-ne*.5)*a+ye,(de-ne)*E+Ae,ce*a+ye,(de-se)*E+Ae).close()),b}),go.Shape.defineFigureGenerator("Email",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ne=new go.PathFigure(.6*a,E,!0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var se=new go.PathFigure(0,.5*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),se.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(fe,a,E){var b=new go.Geometry,y=Ce*.4,z=.4,ne=.5,se=.5,ce=ae(),de=ae(),ye=ae(),Ae=ae();Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.5,ce,ce,de,ye,Ae);var Ge=ue(de.x,de.y),Be=new go.PathFigure(de.x*a,de.y*E,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne+z)*a,(se+y)*E,(ne+y)*a,(se+z)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,(ne-y)*a,(se+z)*E,(ne-z)*a,(se+y)*E)),Ze(ne-z,se,ne-z,se-y,ne-y,se-z,ne,se-z,.5,ye,Ae,de,ce,ce),Be.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),y=Ce*.3,z=.3,Ze(ne-z,se,ne-z,se-y,ne-y,se-z,ne,se-z,.5,ye,Ae,de,ce,ce),Be.add(new go.PathSegment(go.PathSegment.Line,de.x*a,de.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,se*E,Ae.x*a,Ae.y*E,ye.x*a,ye.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+z)*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,se*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),Ze(ne,se-z,ne+y,se-z,ne+z,se-y,ne+z,se,.5,ce,ce,de,ye,Ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,Ae.x*a,Ae.y*E,ye.x*a,ye.y*E).close());var Be=new go.PathFigure(.45*a,0,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),x(ce),x(de),x(ye),x(Ae),x(Ge),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function z(ne,se,ce){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+se)*a,(.8+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+se)*a,(.5+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+se)*a,(.5+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+se)*a,(.8+ce)*E).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(fe,a,E){var b=new go.Geometry,y=.5,z=0,ne=0,se=y*Ce,ce=.4*Math.SQRT2/2+.5,de=.5-.5*Math.SQRT2/2,ye=1,Ae=.5,Ge=.5,Be=0,rt=new go.PathFigure(ce*a,(1-de)*E,!1);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,Ae*E,ye*a,.7*E,ye*a,Ae*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+z)*a,(Be+z)*E,(.5+y+z)*a,(.5-se+z)*E,(.5+se+z)*a,(.5-y+z)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-se+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-se+ne)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*E,(.5-y+z)*a,(.5+se+ne)*E,(.5-se+z)*a,.9*E)),rt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*E)),rt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*E)),rt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(a,E,!1);b.add(z);var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var z=new go.PathFigure(.45*a,.73*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var ne=.5-.285,se=.5,ce=ne,de=Math.PI/4,ye=4*(1-Math.cos(de))/(3*Math.sin(de)),Ae=ye*.5,Ge=ne,Be=ne,rt=ye*Ge,Xe=ye*Be;z.add(new go.PathSegment(go.PathSegment.Bezier,(se-Ge)*a,ce*E,(se-(rt+Ge)/2)*a,(ce+(Be+Xe)/2)*E,(se-Ge)*a,(ce+Xe)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(ce-Be)*E,(se-Ge)*a,(ce-Xe)*E,(se-rt)*a,(ce-Be)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(se+Ge)*a,ce*E,(se+rt)*a,(ce-Be)*E,(se+Ge)*a,(ce-Xe)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(se+Ge)*a,(ce+Xe)*E,(se+(rt+Ge)/2)*a,(ce+(Be+Xe)/2)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var ut=new go.PathFigure(.2*a,E,!1);b.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var mn=new go.PathFigure(.8*a,E,!1);return b.add(mn),mn.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.2*a,.2*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(a,E,!1);b.add(z);var ne=new go.PathFigure(.1*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,z*a,z*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var z=new go.PathFigure(.475*a,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var ne=new go.PathFigure(.675*a,.575*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*.5,ne=new go.PathFigure(a,y*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+z)*E,(y+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-z)*a,E,0,(y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-z)*E,(y-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+z)*a,0,a,(y-z)*E));var se=new go.PathFigure(y*a,0,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),se.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,.15*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var ne=new go.PathFigure(0,.6*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var z=new go.PathFigure(.15*a,.6*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var ne=.1,se=Ce*.1,ce=.2,de=.9,ye=new go.PathFigure((ce-ne)*a,de*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ne)*E,(ce-ne)*a,(de-se)*E,(ce-se)*a,(de-ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*a,de*E,(ce+se)*a,(de-ne)*E,(ce+ne)*a,(de-se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+ne)*E,(ce+ne)*a,(de+se)*E,(ce+se)*a,(de+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*a,de*E,(ce-se)*a,(de+ne)*E,(ce-ne)*a,(de+se)*E).close()),ne=.1,se=Ce*.1,ce=.8,de=.9;var Ae=new go.PathFigure((ce-ne)*a,de*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ne)*E,(ce-ne)*a,(de-se)*E,(ce-se)*a,(de-ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*a,de*E,(ce+se)*a,(de-ne)*E,(ce+ne)*a,(de-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+ne)*E,(ce+ne)*a,(de+se)*E,(ce+se)*a,(de+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*a,de*E,(ce-se)*a,(de+ne)*E,(ce-ne)*a,(de+se)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ne=new go.PathFigure(.5*a,.8*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var se=new go.PathFigure(.5*a,.7*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ce=.1,de=Ce*.1,ye=.1,Ae=.9,Ge=new go.PathFigure((ye-ce)*a,Ae*E,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae-ce)*E,(ye-ce)*a,(Ae-de)*E,(ye-de)*a,(Ae-ce)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ce)*a,Ae*E,(ye+de)*a,(Ae-ce)*E,(ye+ce)*a,(Ae-de)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae+ce)*E,(ye+ce)*a,(Ae+de)*E,(ye+de)*a,(Ae+ce)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ce)*a,Ae*E,(ye-de)*a,(Ae+ce)*E,(ye-ce)*a,(Ae+de)*E)),ce=.1,de=Ce*.1,ye=.4,Ae=.9;var Be=new go.PathFigure((ye-ce)*a,Ae*E,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae-ce)*E,(ye-ce)*a,(Ae-de)*E,(ye-de)*a,(Ae-ce)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ce)*a,Ae*E,(ye+de)*a,(Ae-ce)*E,(ye+ce)*a,(Ae-de)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae+ce)*E,(ye+ce)*a,(Ae+de)*E,(ye+de)*a,(Ae+ce)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ce)*a,Ae*E,(ye-de)*a,(Ae+ce)*E,(ye-ce)*a,(Ae+de)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var z=new go.PathFigure(.45*a,.7*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ye=.05,Ae=Ce*.05,Ge=.175,Be=.95,se=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.375,Be=.95,ce=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.625,Be=.95,de=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.825,Be=.95,rt=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E).close());var Xe=new go.PathFigure(0,E,!1);return b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var se=.05,ce=Ce*.05,de=.35,ye=.775,Ae=new go.PathFigure((de-se)*a,ye*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ye-se)*E,(de-se)*a,(ye-ce)*E,(de-ce)*a,(ye-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+se)*a,ye*E,(de+ce)*a,(ye-se)*E,(de+se)*a,(ye-ce)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ye+se)*E,(de+se)*a,(ye+ce)*E,(de+ce)*a,(ye+se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de-se)*a,ye*E,(de-ce)*a,(ye+se)*E,(de-se)*a,(ye+ce)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(fe,a,E){var b=new go.Geometry,y=.3,z=Ce*.3,ne=.5,se=.7,ce=new go.PathFigure((ne-y)*a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E));var de=new go.PathFigure(0,.7*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var z=new go.PathFigure(0,.6*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*.5,ne=.5,se=.5,ce=new go.PathFigure((ne-y)*a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E));var de=new go.PathFigure(.15*a,.5*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(fe,a,E){var b=new go.Geometry,y=.5,z=Ce*.5,ne=.5,se=.5,ce=new go.PathFigure((ne-y)*a,se*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E).close()),y=.05,z=Ce*.05,ne=.5,se=.8;var de=new go.PathFigure((ne-y)*a,se*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-z)*E,(ne-z)*a,(se-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+z)*a,(se-y)*E,(ne+y)*a,(se-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+z)*E,(ne+z)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-z)*a,(se+y)*E,(ne-y)*a,(se+z)*E).close()),de.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),de.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var z=new go.PathFigure(0,E*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var z=new go.PathFigure(.126*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var ne=new go.PathFigure(.402*a,.85*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var se=new go.PathFigure(.678*a,.85*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),se.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),se.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ce=new go.PathFigure(.5*a,.1*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var z=new go.PathFigure(a*.204,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var ne=new go.PathFigure(a*.408,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var se=new go.PathFigure(a*.612,E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),se.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ce=new go.PathFigure(a*.816,E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var ne=new go.PathFigure(a*.055,.13*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var se=new go.PathFigure(a*.055,.18*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),se.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),se.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ce=new go.PathFigure(a*1,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ne=new go.PathFigure(a*.11,E*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var se=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(fe,a,E){var b=new go.Geometry,y=8,z=y*Ce,ne=new go.PathFigure(y,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var se=new go.PathFigure(a*.83,0,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ce=new go.PathFigure(a*.83,E*1,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var de=new go.PathFigure(a*.78,E*.05,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),de.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),de.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*Ce,z=E*.8,ne=new go.Geometry,se=new go.PathFigure(b,0,!0);return ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),se.add(new go.PathSegment(go.PathSegment.Line,a,z-b)),se.add(new go.PathSegment(go.PathSegment.Bezier,a-b,z,a,z-y,a-y,z)),se.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),se.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),se.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),se.add(new go.PathSegment(go.PathSegment.Line,b,z)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,y,z,0,z-y)),se.add(new go.PathSegment(go.PathSegment.Line,0,b)),se.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var z=new go.PathFigure(a*1,E*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(fe,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var z=new go.PathFigure(a*.1,E*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var ne=new go.PathFigure(a*.28,E*.37,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(fe,a,E){var b=new go.Geometry,y=15,z=y*Ce,ne=new go.PathFigure(a*.62,E*.475,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.4,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.5,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var z=new go.PathFigure(a*.235,E*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),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")},11081: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 we={},St="5.0",ue={},ae=null,x=!1,Oe=!1,Ze=null,ke=!1,et=null,Ce=null,ct=0;ct4?parseFloat(tt):5};we.setHTML5Codebase=function(tt,st){Ce=tt,Nn(tt,st)},we.setJavaCodebase=we.setJavaCodebaseVersion=we.isCompiledInstalled=we.setPreCompiledScriptPath=we.setPreCompiledResourcePath=function(){},we.setHTML5CodebaseVersion=function(tt,st){var wt=parseFloat(tt);if(wt!==NaN&&wt<5){console.log("The GeoGebra HTML5 codebase version "+wt+" is deprecated. Using version latest instead.");return}et=tt,an(tt,st)},we.getHTML5CodebaseVersion=function(){return fe},we.getParameters=function(){return ue},we.setFontsCSSURL=function(tt){ne=tt},we.setGiacJSURL=function(tt){},we.setJNLPFile=function(tt){Me=tt},we.setJNLPBaseDir=function(tt){},we.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",wt=ue.id,Ln,un=!1,Un=0;Un=5)return!0;var tt=we.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},we.startAnimation=function(){var tt=we.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},we.stopAnimation=function(){var tt=we.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},we.getAppletObject=function(){var tt=ue.id!==void 0?ue.id:"ggbApplet";return window[tt]},we.resize=function(){};var rt=function(tt,st,wt){var Ln=document.createElement("param");Ln.setAttribute("name",st),Ln.setAttribute("value",wt),tt.appendChild(Ln)},Xe=function(tt){return tt&&tt!=="false"},ut=function(tt,st,wt){ce(fe)<=4.2&&(wt=!0);var Ln=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==fe||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Ln=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Un=st.width,Le=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(ce(fe)<=4.4)Xe(st.showToolBar)&&(st.height-=7),Xe(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Xe(st.showToolBar)&&(st.width=605,Un=605);else{var xe=100;(Xe(st.showToolBar)||Xe(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),xe=Xe(st.showMenuBar)?245:155),Un=5?(st.appletOnLoad=function(Xt){var Kt=tt.querySelector(".ggb_preview");Kt&&Kt.parentNode.removeChild(Kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Lt),window.GGBT_wsf_view&&$(window).trigger("resize"),Pt(Xt)},Tt||Lt.appendChild(Gt)):un.appendChild(Gt),Lt.appendChild(un),Tt||tt.appendChild(Lt),setTimeout(function(){we.resize()},1)}else{var en=document.createElement("div");en.className="applet_scaler",en.style.position="relative",en.style.display="block",en.appendChild(un),tt.appendChild(en),st.appletOnLoad=function(Xt){we.resize(),Pt(Xt)}}function Rn(Xt,Kt){Kt&&typeof Kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Xt,Kt.appletOnLoad):renderGGBElement(Xt),jn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Kt)}function Rt(Xt,Kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Xt,params:Kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(on){Rn(on.article,on.params)}),html5AppletsToProcess=null)},ce(fe)<5&&(Xt.className+=" geogebraweb")):Rn(Xt,Kt)}if(Ln){scriptLoadStarted=!0;for(var De=0;De0?(Ve.remove(),Lt.attr("id","fullscreencontent").show(),jQuery(Pt).append(Lt),window.dispatchEvent(new Event("resize"))):ut(Ve,st,!1),window.GGBT_wsf_view.launchFullScreen(Pt)}else $e=Ln,ut(tt,st,!1);if(!window.GGBT_wsf_view)for(Le=0;Lett/4*3&&(Ve=tt/4*3),Pt=Ve/5.8,xe.setAttribute("src",y),xe.setAttribute("width",Ve),xe.setAttribute("height",Pt);var Lt=(tt-Ve)/2,Tt=(st-Pt)/2;xe.style.left=Lt+"px",xe.style.top=Tt+"px",un.appendChild(xe)}}return un.appendChild(Le),un},Ea=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},_t=["web","webSimple","web3d","tablet","tablet3d","phone"],an=function(tt,st){if(fe=tt,st){Nn(fe,!0);return}var wt=!x;if(wt){var Ln=ce(fe);!isNaN(Ln)&&Ln<4.4&&(wt=!1)}var un,Un;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var Le=fe.indexOf("//");Le>0?Un=fe:Le===0?Un=un+fe:Un="https://www.geogebra.org/apps/5.2.814.0/";for(var xe in _t)if(fe.slice(_t[xe].length*-1)===_t[xe]||fe.slice((_t[xe].length+1)*-1)===_t[xe]+"/"){Nn(Un,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&wt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Xe(ue.showToolBar)&&!Xe(ue.showMenuBar)&&!Xe(ue.showAlgebraInput)&&!Xe(ue.enableRightClick)&&(!ue.appName||ue.appName=="classic")?Un+="webSimple/":Un+="web3d/",Nn(Un,!1)},Nn=function(tt,st){if(tt.requirejs){lt=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),lt=tt,st===null&&(st=tt.indexOf("http")===-1),mt=st,a="web.nocache.js",E=!1;var wt=lt.split("/");wt.length>1&&(!st&&wt[wt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):_t.indexOf(wt[wt.length-2])>=0&&(a=wt[wt.length-2]+".nocache.js")),wt=tt.split("/"),fe=wt[wt.length-3],fe.substr(0,4)==="test"?fe=fe.substr(4,1)+"."+fe.substr(5,1):(fe.substr(0,3)==="war"||fe.substr(0,4)==="beta")&&(fe="5.0");var Ln=parseFloat(fe);Ln!==NaN&&Ln<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead."),an("5.0",st))},jn=function(tt,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(tt)};ue.material_id!==void 0?Ae(pn):pn();function pn(){var tt=St;et!==null?tt=et:parseFloat(tt)<5&&(tt="5.0"),an(tt,!1),Ce!==null&&Nn(Ce,mt),ke=!0}return we},GGBAppletUtils=function(){"use strict";function we(){return window.GGBT_wsf_edit!==void 0}function St(ke,et){et!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+et+","+et+")",ke.style.webkitTransform="scale("+et+","+et+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function ue(ke,et,Ce,ct,Re,Me){var lt=null;if(Me!=null&&Me!="")for(var mt=ke.parentNode;mt!=null;)if((" "+mt.className+" ").indexOf(" "+Me+" ")>-1){lt=mt;break}else mt=mt.parentNode;var $e=0,fe=0,a=0,E=0,b=0,y=0,z=0;if(lt)$e=lt.offsetWidth,fe=Math.max(ct?lt.offsetWidth:0,lt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?($e=Math.min(window.innerWidth,document.documentElement.clientWidth),fe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=$e):($e=window.innerWidth,fe=window.innerHeight,a=window.innerWidth),ke){var ne=ke.getBoundingClientRect();ne.left>0&&ne.left<=$e&&(Re===void 0||!Re)&&(document.dir==="rtl"?(b=$e-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,b=a<=480?10:30),E=y+b)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,z=40)}}return ke&&((Ce===void 0||!Ce)&&et>0&&et+E<$e?$e=et:$e-=E,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce===void 0||!Ce)&&(fe-=z)),{width:$e,height:fe}}function ae(ke,et,Ce,ct,Re){if(ke.isScreenshoGenerator)return 1;var Me=ct!==void 0&&ct,lt=ke.noScaleMargin!=null&&ke.noScaleMargin,mt=function(se){return se&&se!=="false"},$e=mt(ke.autoHeight),fe=ue(et,ke.width,Ce,$e,Me&&window.GGBT_wsf_view||lt,Re),a=parseInt(fe.width),E=ke.width,b=ke.height;if(E===void 0){var y=et.querySelector(".appletParameters");y&&(E=y.offsetWidth,b=y.offsetHeight)}var z=a/E,ne=Me?1:fe.height/b;return Ce!==void 0&&!Ce&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function x(ke,et,Ce){var ct=1,Re,Me=!1;if(ke.hasOwnProperty("allowUpscale")&&(Me=ke.allowUpscale),ke.hasOwnProperty("scale")&&(ct=parseFloat(ke.scale),(isNaN(ct)||ct===null||ct===0)&&(ct=1),ct>1&&(Me=!0)),et&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Me=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Re=ae(ke,et,Me,Ce,ke.scaleContainerClass);else return ct;return Me&&(!ke.hasOwnProperty("scale")||ct===1)?Re:Math.min(ct,Re)}function Oe(ke){var et=Math.min(window.innerWidth,document.documentElement.clientWidth),Ce=Math.min(window.innerHeight,document.documentElement.clientHeight),ct=ke.getBoundingClientRect(),Re=(et-ct.width)/2,Me=(Ce-ct.height)/2;Me<0&&(Me=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Re<40?ke.style.left="40px":ke.style.left=Re+"px",ke.style.top=Me+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Me<40?ke.style.top="40px":ke.style.top=Me+"px",ke.style.left=Re+"px")}function Ze(ke,et){var Ce=ke.querySelector(".appletParameters");if(Ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(et.id!==Ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(Ce.parentElement&&/fullscreen/.test(Ce.parentElement.className))return;var ct=x(et,ke);we()&&Ce.setAttribute("data-param-scale",ct);for(var Re=null,Me=0;Me=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(we){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(we){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(we){var St=c[we];return St==null?null:St},r=d,webModule.__errFn=e}function B(){function we(ke){var et=ke.lastIndexOf(rb);et==-1&&(et=ke.length);var Ce=ke.indexOf(sb);Ce==-1&&(Ce=ke.length);var ct=ke.lastIndexOf(tb,Math.min(Ce,et));return ct>=O?ke.substring(O,ct+P):W}function St(ke){if(!ke.match(/^\w+:\/\//)){var et=o.createElement(ub);et.src=ke+vb,ke=we(et.src)}return ke}function ue(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function ae(){for(var ke=o.getElementsByTagName(_),et=O;etO?ke[ke.length-P].href:W}function Oe(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Ze=ue();return Ze==W&&(Ze=ae()),Ze==W&&(Ze=x()),Ze==W&&Oe()&&(Ze=we(o.location.href)),Ze=St(Ze),Ze}function C(we){return we.match(/^\//)||we.match(/^[a-zA-Z]+:\/\//)?we:webModule.__moduleBase+we}function D(){var we=[],St=O,ue=[],ae=[];function x(ke){var et=ae[ke](),Ce=ue[ke];if(et in Ce)return et;var ct=[];for(var Re in Ce)ct[Ce[Re]]=Re;throw r&&r(ke,ct,et),null}if(__gwt_isKnownPropertyValue=function(ke,et){return et in ue[ke]},webModule.__getPropMap=function(){var ke={};for(var et in ue)ue.hasOwnProperty(et)&&(ke[et]=x(et));return ke},webModule.__computePropValue=x,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ze=Oe.indexOf(Db);Ze!=-1&&(St=parseInt(Oe.substring(Ze+P),$),Oe=Oe.substring(O,Ze))}catch(ke){}return webModule.__softPermutationId=St,C(Oe+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})()},67303:function(we,St,ue){"use strict";ue.d(St,{Ax:function(){return Ze},Ds:function(){return ke},KI:function(){return Ce},SI:function(){return Oe},f1:function(){return x}});var ae=ue(90524);function x(ct){let Re=!0;if(ct.length>0){for(let Me=0;Menew Promise((E,b)=>{var y=se=>{try{ne(a.next(se))}catch(ce){b(ce)}},z=se=>{try{ne(a.throw(se))}catch(ce){b(ce)}},ne=se=>se.done?E(se.value):Promise.resolve(se.value).then(y,z);ne((a=a.apply($e,fe)).next())});const Me=({dataSource:$e,value:fe,onChange:a})=>{const E=[{title:"\u540D\u79F0",dataIndex:"value",ellipsis:!0},{title:"\u7C7B\u578B",width:100,dataIndex:"computeSource",ellipsis:!0},{title:"\u63CF\u8FF0",dataIndex:"description",ellipsis:!0}],b={selectedRowKeys:fe,columnWidth:54,type:"radio",onChange:y=>a(y)};return ae.createElement(Oe.default,{rowSelection:b,rowKey:"id",columns:E,dataSource:$e,scroll:{y:240},pagination:!1})};var mt=({form:$e})=>{const fe=$e.getFieldValue("compute"),a=$e.getFieldValue("cluster_type"),E=$e.getFieldValue("place_image_id"),b=$e.getFieldValue("spec_id"),[y,z]=(0,ae.useState)([]),[ne,se]=(0,ae.useState)([]),[ce,de]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{ye()},[fe,a]),(0,ae.useEffect)(()=>{b&&Ae({spec_id:b||$e.getFieldValue("spec_id")})},[fe,a,b]),(0,ae.useEffect)(()=>{$e.setFieldsValue({image_data:(ne==null?void 0:ne.find(Ge=>Ge.id===(E==null?void 0:E[0])))||{}})},[E]);const ye=()=>Re(void 0,null,function*(){var Ge,Be,rt,Xe,ut,mn,ln;de(!0);const En=yield(0,ct.ZP)("/api/shixuns/openi_jupyter_lab_specs.json",{method:"get",params:{compute:fe,cluster_type:a}});En.status===0&&(z(((Ge=En==null?void 0:En.data)==null?void 0:Ge.specs)||[]),$e.setFieldsValue({spec_id:(Xe=(rt=(Be=En==null?void 0:En.data)==null?void 0:Be.specs)==null?void 0:rt[0])==null?void 0:Xe.id}),Ae({spec_id:(ln=(mn=(ut=En==null?void 0:En.data)==null?void 0:ut.specs)==null?void 0:mn[0])==null?void 0:ln.id})),de(!1)}),Ae=Ge=>Re(void 0,null,function*(){de(!0);const Be=yield(0,ct.ZP)("/api/shixuns/openi_jupyter_lab_images.json",{method:"get",params:{compute:fe,cluster_type:a,spec_id:Ge==null?void 0:Ge.spec_id}});Be.status===0&&se((Be==null?void 0:Be.data)||[]),de(!1)});return ae.createElement(Ze.Z,{spinning:ce},ae.createElement(ke.default.Item,{hidden:!0,name:"image_data"}),ae.createElement(ke.default.Item,{label:"\u7B97\u529B\u96C6\u7FA4",name:"cluster_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B97\u529B\u96C6\u7FA4"}]},ae.createElement(et.ZP.Group,null,ae.createElement(et.ZP,{value:"OpenI"},"\u542F\u667A\u96C6\u7FA4"),ae.createElement(et.ZP,{value:"C2Net"},"\u667A\u7B97\u96C6\u7FA4"))),ae.createElement(ke.default.Item,{label:"\u8BA1\u7B97\u8D44\u6E90",name:"compute",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BA1\u7B97\u8D44\u6E90"}]},ae.createElement(et.ZP.Group,null,ae.createElement(et.ZP,{value:"GPU"},"GPU"),ae.createElement(et.ZP,{value:"NPU"},"NPU"))),ae.createElement(ke.default.Item,{className:x.FormItemStyle,name:"spec_id",label:"\u8D44\u6E90\u89C4\u683C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89C4\u683C"}]},ae.createElement(Ce.default,{className:x.select,bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u89C4\u683C"},y==null?void 0:y.map(Ge=>ae.createElement(Ce.default.Option,{value:Ge.id,key:Ge.id},`${Ge.compute_resource}\uFF1A${Ge.acc_cards_num}*${Ge==null?void 0:Ge.acc_card_type} ${Ge.cpu_cores}\u6838 ${fe==="NPU"?Ge.mem_gi_b:Ge.gpu_mem_gi_b}GB ${Ge==null?void 0:Ge.unit_price}\u79EF\u5206/\u65F6`)))),ae.createElement(ke.default.Item,{label:"\u955C\u50CF",name:"place_image_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u955C\u50CF"}]},ae.createElement(Me,{dataSource:ne})))}},84236:function(we,St,ue){"use strict";ue.d(St,{t:function(){return mt}});var ae=ue(59301),x=ue(3113),Oe={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},Ze=ue(92310),ke=ue.n(Ze),et=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Me=($e,fe,a)=>fe in $e?et($e,fe,{enumerable:!0,configurable:!0,writable:!0,value:a}):$e[fe]=a,lt=($e,fe)=>{for(var a in fe||(fe={}))ct.call(fe,a)&&Me($e,a,fe[a]);if(Ce)for(var a of Ce(fe))Re.call(fe,a)&&Me($e,a,fe[a]);return $e};const mt=({cancelText:$e="\u53D6\u6D88",okText:fe="\u786E\u5B9A",loading:a=!1,hasOkBtn:E=!0,hasCancelBtn:b=!0,okButtonProps:y={},onCancel:z=()=>{},onOk:ne=()=>{},className:se=""})=>ae.createElement("div",{className:ke()(Oe.buttonFixed,se)},ae.createElement("div",{className:Oe.buttonWrap},b&&ae.createElement(x.ZP,{size:"middle",className:`${Oe.button} mr20`,onClick:z},$e),E&&ae.createElement(x.ZP,lt({size:"middle",type:"primary",className:`${Oe.button} mr20`,loading:a,onClick:ne},y),fe)))},18738:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ne}});var ae=ue(76560),x=ue(20834),Oe=ue(8591),Ze=ue(38854),ke={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9"},et=ue(34055),Ce=ue(63423),ct=ue(90524),Re=ue(49661),Me=ue(59301),lt=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,fe=(se,ce)=>{var de={};for(var ye in se)mt.call(se,ye)&&ce.indexOf(ye)<0&&(de[ye]=se[ye]);if(se!=null&<)for(var ye of lt(se))ce.indexOf(ye)<0&&$e.call(se,ye)&&(de[ye]=se[ye]);return de},a=(se,ce,de)=>new Promise((ye,Ae)=>{var Ge=Xe=>{try{rt(de.next(Xe))}catch(ut){Ae(ut)}},Be=Xe=>{try{rt(de.throw(Xe))}catch(ut){Ae(ut)}},rt=Xe=>Xe.done?ye(Xe.value):Promise.resolve(Xe.value).then(Ge,Be);rt((de=de.apply(se,ce)).next())});const E=se=>{var ce,de=RegExp("(^| )"+se+"=([^;]+)(;|$)");return(ce=document.cookie.match(de))?decodeURIComponent(ce[2]):null},b=se=>{var ce=new Date;ce.setTime(ce.getTime()-1);var de=E(se);de!=null&&(document.cookie=se+"="+de+";expires="+ce.toGMTString())};var y=(se=>(se.Classrooms="classrooms",se.Shixuns="shixuns",se.Paths="paths",se.Projects="projects",se.Videos="videos",se.Topics="topics",se.Competition="competitions",se.Engineering="engineering",se.Graduations="graduations",se.Paperlibrary="paperlibrary",se.Problemset="problemset",se.Dataset="dataset",se))(y||{});const z=se=>{var ce=se,{homePage:de,user:ye,globalSetting:Ae,loading:Ge,dispatch:Be,shixunHomeworks:rt}=ce,Xe=fe(ce,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks"]),ut,mn,ln,En,vn,Jt,Ea,_t,an,Nn,jn,pn,tt,st,wt;const Ln=(mn=(((ut=Ae.setting)==null?void 0:ut.navbar)||[]).find(Pt=>Pt.link==="/classrooms"))==null?void 0:mn.hidden,un=(En=(((ln=Ae.setting)==null?void 0:ln.navbar)||[]).find(Pt=>Pt.link==="/shixuns"))==null?void 0:En.hidden,Un=(Jt=(((vn=Ae.setting)==null?void 0:vn.navbar)||[]).find(Pt=>Pt.link==="/paths"))==null?void 0:Jt.hidden,Le=(Ea=ye.userInfo)==null?void 0:Ea.is_school_manage,xe=((_t=ye.userInfo)==null?void 0:_t.admin)||((an=ye.userInfo)==null?void 0:an.business)||((Nn=ye.userInfo)==null?void 0:Nn.is_shixun_marker)||((jn=ye.userInfo)==null?void 0:jn.is_teacher)||((pn=ye.userInfo)==null?void 0:pn.user_identity)!=="\u5B66\u751F",Ve=()=>{var Pt,Lt;return(0,Re.Ll)()?Me.createElement(x.default,{className:`${ke.rightMenu} ${ke.menuWrap}`},Me.createElement(x.default.Item,null,Me.createElement(ae.Link,{to:(Pt=Ae==null?void 0:Ae.setting)==null?void 0:Pt.user_setting_url},"\u8D26\u53F7\u7BA1\u7406"))):Me.createElement(x.default,{className:`${ke.rightMenu} ${ke.menuWrap}`},Me.createElement(x.default.Item,null,Me.createElement("a",{href:((Lt=Ae==null?void 0:Ae.setting)==null?void 0:Lt.user_setting_url)||"/account/certification"},"\u8D26\u53F7\u7BA1\u7406")),Me.createElement(x.default.Item,{className:ke.exit},Me.createElement("a",{onClick:()=>a(void 0,null,function*(){const Tt=yield(0,Ce.vR)({});(Tt==null?void 0:Tt.status)===1&&(b("autologin_trustie"),b("_educoder_session"),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),Oe.ZP.success(Tt==null?void 0:Tt.message),ae.history.replace((0,Re.T0)(!0)?"/competitions":"/"))})},"\u9000\u51FA")))};return(0,et.bg)()?Me.createElement(Ze.Z,{overlay:Ve,placement:"bottomRight"},Me.createElement("section",null,Me.createElement("aside",null,Me.createElement("div",{className:rt.actionTabs.type===1?ke.classromediv:""},Me.createElement("img",{className:`${ke.userPic} current ml15`,src:`${(tt=ct.Z)==null?void 0:tt.IMG_SERVER}/images/${(st=ye.userInfo)==null?void 0:st.image_url}`,alt:""}),(0,Re.Ll)()&&Me.createElement("span",{className:"ml10 font16"},(wt=ye.userInfo)==null?void 0:wt.username))))):Me.createElement("div",{className:`font15 ${Ae.isIlearning?ke.login:""} ml30`},Me.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{(0,Re.T0)()}},"\u767B\u5F55"))};var ne=(0,ae.connect)(({homePage:se,loading:ce,user:de,globalSetting:ye,shixunHomeworks:Ae})=>({homePage:se,user:de,globalSetting:ye,shixunHomeworks:Ae,loading:ce.models.index}))(z)},87496:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ut},g:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(44e3),Ze=ue(92832),ke={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",wrap:"wrap___Yr9Co",headerFixed:"headerFixed___QLwBd"},et=ue(18738),Ce=ue(90524),ct=ue(49661),Re=Object.defineProperty,Me=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,$e=(mn,ln,En)=>ln in mn?Re(mn,ln,{enumerable:!0,configurable:!0,writable:!0,value:En}):mn[ln]=En,fe=(mn,ln)=>{for(var En in ln||(ln={}))lt.call(ln,En)&&$e(mn,En,ln[En]);if(Me)for(var En of Me(ln))mt.call(ln,En)&&$e(mn,En,ln[En]);return mn};const a=mn=>React.createElement("svg",fe({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},mn),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var E="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoM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IgMzEuNDIgMCAwIDAgMy44NzQuNTI2YzIuOTMxLjIyNCA1Ljg1OS4wODMgOC43OS0uMDU1YTI5Ljg4NCAyOS44ODQgMCAwIDAgNy41Ni0xLjMzMWMxLjgxNy0uNTc3IDMuNzYzLS42NDIgNS42My0uMjgxIDEuNDcxLjI4IDMuMTg3IDEuNDEzIDQuNjg2Ljk0NCAxLjQyOC0uNDQgMi4wMzMtMS45MzIgMi4zNS0zLjI2NWwuOTIzLTMuODc5aC0xLjQ3WiIgZmlsbD0iIzIzREQ3RiIvPjxwYXRoIGQ9Im0yMC4zODcgNC4xNi0uNzM1LjA3OWMtMS4yODMtMS42ODctMy41MTgtMi43OTctNi4wNDgtMi43OTctMy4xOCAwLTUuODc2IDEuNzUyLTYuODM0IDQuMThsLTEuODEuMTk2QzUuMTcgMi41OCA4LjYzNyAwIDEyLjg4MyAwYzMuNDg5IDAgNi40NTIgMS43MzcgNy41MDQgNC4xNiIgZmlsbD0iIzE5NkVGRCIvPjxwYXRoIGQ9Ik0yOC4wODYgNi40ODhoLTIuNTA4Yy0xLjAwMy0xLjA3NC0zLjA4Ni0xLjgwMi01LjQ4Ni0xLjgwMi0yLjQwOCAwLTQuNDkxLjczNS01LjQ5NCAxLjgxLjczNi0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",b=Object.defineProperty,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(mn,ln,En)=>ln in mn?b(mn,ln,{enumerable:!0,configurable:!0,writable:!0,value:En}):mn[ln]=En,ce=(mn,ln)=>{for(var En in ln||(ln={}))z.call(ln,En)&&se(mn,En,ln[En]);if(y)for(var En of y(ln))ne.call(ln,En)&&se(mn,En,ln[En]);return mn},de=(mn,ln)=>{var En={};for(var vn in mn)z.call(mn,vn)&&ln.indexOf(vn)<0&&(En[vn]=mn[vn]);if(mn!=null&&y)for(var vn of y(mn))ln.indexOf(vn)<0&&ne.call(mn,vn)&&(En[vn]=mn[vn]);return En};const{Header:ye}=Oe.default,{Search:Ae}=Ze.default;function Ge(){var mn,ln;const vn=window.location.pathname.split("/"),Jt={};return vn[1]=="classrooms"&&vn.length>3&&!((mn=vn[4])!=null&&mn.includes("newgold"))&&!((ln=vn[5])!=null&&ln.includes("newgold"))&&vn[2]!=="coursesId"&&(Jt.course_id=vn[2]),vn[1]==="shixuns"&&vn.length>3&&(Jt.objective_type="shixun",Jt.objective_id=vn[2]),vn[1]==="paths"&&vn.length>3&&(Jt.objective_type="path",Jt.objective_id=vn[2]),ce(ce({},Jt),{school:1})}const Be={\u9996\u9875:"/","/paths":{link:"/paths",key:1},"/shixuns":{link:"/shixuns",key:2},"/classrooms":{link:"/classrooms",key:3},"/competitions":{link:"/competitions",key:4},"/moop_cases":{link:"/moop_cases",key:5},"/forums":{link:"/forums",key:6},"/recruitment":{link:"/competitions/index",key:7},"/three":{link:"/three",key:7}},rt=null,Xe=mn=>{var ln=mn,{homePage:En,user:vn,globalSetting:Jt,loading:Ea,dispatch:_t,isLogin:an=!1,shixunHomeworks:Nn,competitions:jn}=ln,pn=de(ln,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks","competitions"]),tt,st,wt,Ln,un,Un,Le;const xe=Ge(),Ve=(0,x.useLocation)();let Pt=window.location.pathname;const Lt=Pt==null?void 0:Pt.includes("/forums"),{qs:Tt}=jn,Gt=Ve.pathname.includes("/course"),en=Ve.pathname.includes("/shixuns"),Rn=Ve.pathname.includes("/competitions"),[Rt,De]=(0,ae.useState)(-1);(0,ae.useEffect)(()=>{var dt,Ot,$t;Jt!=null&&Jt.setting&&((Ot=(dt=Jt==null?void 0:Jt.setting)==null?void 0:dt.navbar)==null||Ot.map(function(Xt,Kt){Ve.pathname.indexOf(Xt.link)>-1&&De(Kt)}),Rt===-1?(0,ct.Dk)(Jt.setting.name):(0,ct.Dk)((($t=Jt.setting.navbar[Rt])==null?void 0:$t.name)||Jt.setting.name))},[Jt==null?void 0:Jt.setting]);const We=(0,ae.useMemo)(()=>{var dt,Ot;return(dt=Jt==null?void 0:Jt.setting)!=null&&dt.nav_logo_url?`${Ce.Z.IMG_SERVER}/${(Ot=Jt==null?void 0:Jt.setting)==null?void 0:Ot.nav_logo_url}`:`${Ce.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(tt=Jt==null?void 0:Jt.setting)==null?void 0:tt.nav_logo_url]);return Jt.showHeader&&Jt.showHeaderFooter?ae.createElement("div",{className:`${ke.header} ${Jt.isCourseOpeni?ke.headerFixed:""}`},ae.createElement("div",{className:ke.wrap},ae.createElement("div",{className:"menu"},ae.createElement("a",{className:"logo",href:""},ae.createElement("img",{style:{height:Gt?48:36},title:(st=Jt.setting)==null?void 0:st.name,src:We||E})),Jt.setting&&((wt=Jt.setting.navbar)==null?void 0:wt.map((dt,Ot)=>!dt.hidden&&ae.createElement("a",{target:dt.link.indexOf("http")>-1?"_blank":"_self",href:dt.link},dt==null?void 0:dt.name))),ae.createElement("div",{className:"right"},!Jt.isCourseOpeni&&ae.createElement(ae.Fragment,null,!an&&!!((Ln=vn==null?void 0:vn.userInfo)!=null&&Ln.login)&&ae.createElement(x.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(un=vn==null?void 0:vn.userInfo)==null?void 0:un.login}/user_tidings`},((Le=(Un=vn==null?void 0:vn.navigationInfo)==null?void 0:Un.top)==null?void 0:Le.new_message)&&ae.createElement("span",{className:ke.newslight}))),ae.createElement(et.Z,{payload:xe}))))):ae.createElement(ae.Fragment,null)};var ut=(0,x.connect)(({homePage:mn,loading:ln,user:En,globalSetting:vn,shixunHomeworks:Jt,competitions:Ea})=>({homePage:mn,user:En,globalSetting:vn,loading:ln.models.index,shixunHomeworks:Jt,competitions:Ea}))(Xe)},6077:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return lt}});var ae=ue(59301),x={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Oe=ue(92310),Ze=ue.n(Oe),ke=ue(71418),et=ue(2859),Ce=ue(82093),ct=ue(49661),Re=(mt,$e,fe)=>new Promise((a,E)=>{var b=ne=>{try{z(fe.next(ne))}catch(se){E(se)}},y=ne=>{try{z(fe.throw(ne))}catch(se){E(se)}},z=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(b,y);z((fe=fe.apply(mt,$e)).next())}),lt=({data:mt,className:$e,fullWidth:fe,style:a={},onClose:E,onOk:b,showFullTools:y,noAssociationId:z})=>{const ne=(0,ae.useRef)(null),se=(0,ae.useRef)(null),ce=(0,ae.useRef)(null),de=(0,ae.useRef)(null),[ye,Ae]=(0,ae.useState)(!1),[Ge,Be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),mt!=null&&mt.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",mt!=null&&mt.src&&rt()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[mt==null?void 0:mt.visible]);const rt=()=>Re(void 0,null,function*(){Ae(!0),Be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const En=yield(0,ct.ZJ)(mt==null?void 0:mt.src);ne.current.src="",ne.current.src=En,ne.current.onload=function(){ln()},Ae(!1),Be("")}),Xe=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",E()},ut=En=>Re(void 0,null,function*(){Ae(!0),Be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const vn=yield(0,Ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:mt.title,file:En.dataUrl}});vn!=null&&vn.id&&!z?(yield(0,Ce.ZP)(`/api/attachments/${mt.id}/add_subitem.json`,{method:"post",body:{subitem_id:vn==null?void 0:vn.id,settings:JSON.stringify(En.state)}})).status===0&&b():vn!=null&&vn.id&&b(vn),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",Ae(!1),Be("")}),mn=()=>{const En=document.querySelector('a[href="https://markerjs.com/"]');En&&En.parentNode&&(En.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(Jt=>{const Ea=document.querySelector(Jt.name);Ea&&Ea.setAttribute("title",Jt.title)})},ln=()=>{se.current=new et.hP(ne.current),se.current.targetRoot=de.current,se.current.addEventListener("render",ut),se.current.addEventListener("beforeclose",Xe),y&&(se.current.availableMarkerTypes=se.current.ALL_MARKER_TYPES,se.current.uiStyleSettings.redoButtonVisible=!0,se.current.uiStyleSettings.notesButtonVisible=!0,se.current.uiStyleSettings.zoomButtonVisible=!0,se.current.uiStyleSettings.zoomOutButtonVisible=!0,se.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=se.current.uiStyleSettings,se.current.show(),mt!=null&&mt.snapshotData&&se.current.restoreState(mt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),mn()},300)};return ae.createElement(ae.Fragment,null,(mt==null?void 0:mt.visible)&&ae.createElement(ke.Z,{spinning:ye,tip:Ge,style:{position:"absolute"}},ae.createElement("div",{ref:de,className:Ze()(x.imageDimensions,$e,fe?x.fullWidth:""),style:a},ae.createElement("img",{className:x.img,ref:ne}))))}},88615:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(95237),Oe=ue(43604),Ze=ue(99313),ke=ue(3113),et=ue(7664),Ce=ue(21697),ct=ue(48136),Re=ue(59301);const Me=(0,ae.forwardRef)(({callback:lt,showSaveButton:mt,value:$e=""},fe)=>{const a=(0,ae.useRef)(),E=[{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 "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],y=se=>{a.current.setValue(a.current.getValue()+" "+se.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Re.createElement(x.Z,{className:Ce.Z.lists,gutter:[10,10]},E.map((se,ce)=>Re.createElement(Oe.Z,{flex:"110px",className:Ce.Z.item},Re.createElement("div",null,Re.createElement(et.Z,{value:`$$${se.value}$$`}),se.name),Re.createElement("div",{className:Ce.Z.children},se.children.map((de,ye)=>Re.createElement("div",{key:ye},Re.createElement("h1",null,de.name),Re.createElement(x.Z,{gutter:[10,10]},de.data.map((Ae,Ge)=>Re.createElement(Oe.Z,{key:Ge,onClick:()=>y(Ae),className:Ce.Z.diamond},Re.createElement(et.Z,{value:"`$$"+Ae.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Re.createElement(x.Z,{className:Ce.Z.lists,gutter:[10,10]},b.map((se,ce)=>Re.createElement(Oe.Z,{flex:"110px",className:Ce.Z.item},Re.createElement("div",null,Re.createElement(et.Z,{value:"`$$"+se.value+"$$`"}),se.name),Re.createElement("div",{className:Ce.Z.children},se.children.map((de,ye)=>Re.createElement("div",{key:ye},de.name&&Re.createElement("h1",null,de.name),Re.createElement(x.Z,{gutter:[10,10]},de.data.map((Ae,Ge)=>Re.createElement(Oe.Z,{key:Ge,onClick:()=>y(Ae),className:Ce.Z.diamond},Re.createElement(et.Z,{value:"`$$"+Ae.value+"$$`"}))))))))))}],ne=()=>{var se=document.createElement("div");se.innerHTML=a.current.getValue();var ce=se.innerText;return lt&<(ce),ce};return(0,ae.useImperativeHandle)(fe,()=>({getData:ne})),Re.createElement("div",{className:Ce.Z.mathWrap},Re.createElement(Ze.default,{defaultActiveKey:"1",items:z}),Re.createElement("math-field",{locale:"zh_cn",className:Ce.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},$e||""),mt&&Re.createElement("div",{className:Ce.Z.button},Re.createElement(ke.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});St.Z=Me},95887:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ye}});var ae=ue(59301),x=ue(6848),Oe=ue(92832),Ze=ue(71418),ke=ue(64165),et=ue(92310),Ce=ue.n(et),ct={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},Re=ue(76406),Me=ue(82093),lt=ue(89392),mt=Object.defineProperty,$e=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(Ae,Ge,Be)=>Ge in Ae?mt(Ae,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ae[Ge]=Be,z=(Ae,Ge)=>{for(var Be in Ge||(Ge={}))E.call(Ge,Be)&&y(Ae,Be,Ge[Be]);if(a)for(var Be of a(Ge))b.call(Ge,Be)&&y(Ae,Be,Ge[Be]);return Ae},ne=(Ae,Ge)=>$e(Ae,fe(Ge)),se=(Ae,Ge,Be)=>new Promise((rt,Xe)=>{var ut=En=>{try{ln(Be.next(En))}catch(vn){Xe(vn)}},mn=En=>{try{ln(Be.throw(En))}catch(vn){Xe(vn)}},ln=En=>En.done?rt(En.value):Promise.resolve(En.value).then(ut,mn);ln((Be=Be.apply(Ae,Ge)).next())});const ce=({className:Ae,dispatch:Ge,skin:Be="white",value:rt=null,loading:Xe=!1,data:ut=[],otherData:mn=[],tags:ln=[],onChange:En=()=>{},onSearchWord:vn=()=>{},shixun_type:Jt,extraContent:Ea,tab_type:_t,is_create_mirror:an,hiddenCreateOnline:Nn})=>{const[jn,pn]=(0,ae.useState)(""),[tt,st]=(0,ae.useState)(!1),[wt,Ln]=(0,ae.useState)([]),[un,Un]=(0,ae.useState)(0),Le=(0,ae.useRef)(null),xe=(0,ae.useRef)(String(Math.floor(Math.random()*1e6))).current,Ve=(0,ae.useRef)(),Pt=(0,ae.useRef)(null),Lt=(0,ae.useRef)(0),Tt=(0,ae.useRef)([]);(0,ae.useEffect)(()=>(window.addEventListener("keydown",Gt),()=>{window.removeEventListener("keydown",Gt)}),[jn,tt,wt]),(0,ae.useEffect)(()=>{Ln([])},[_t]);const Gt=ht=>{if(!tt||ht.keyCode!==40&&ht.keyCode!==38)return;let Ft=0;ht.keyCode===40&&tt&&(un{const Nt=yt=>{var Mt=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Tn={};return Tn["^"]="\\^",Tn["."]="\\.",Tn["\\"]="\\\\",Tn["|"]="\\|",Tn["("]="\\(",Tn[")"]="\\)",Tn["*"]="\\*",Tn["+"]="\\+",Tn["-"]="\\-",Tn.$="$",Tn["["]="\\[",Tn["]"]="\\]",Tn["?"]="\\?",yt=yt.replace(Mt,function(zt){return Tn[zt]}),yt};var sn=new RegExp(Nt(Ft),"gi");return ht=ht.replace(sn,function(yt){return""+yt+""}),ht},Rn=(ht,Ft,Nt)=>se(void 0,null,function*(){let sn=Lt.current+1;Lt.current=sn;const yt=Mt=>Mt==null?void 0:Mt.map((zt,na)=>{const{id:Ja,name:gr}=zt,ur=ne(z({},zt),{label:ae.createElement("ul",{id:`search-${xe}-${na}`,onClick:()=>Ot(Ja,ur),className:na===Ft?ct.searchListActive:ct.searchList},ae.createElement("li",{className:ct.name,dangerouslySetInnerHTML:{__html:en(gr,ht)}}),zt.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("li",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),zt.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("li",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return ur});if(Nt){const Mt=yt(Tt.current);Ln(Mt);return}clearTimeout(Pt.current),Pt.current=setTimeout(()=>se(void 0,null,function*(){var Mt,Tn;const zt={keywords:encodeURIComponent(ht||""),page:1,limit:1e5,tab_type:_t};Jt&&(zt.shixun_type=Jt);const na=yield(0,Me.ZP)("/api/shixuns/search_image.json",{method:"get",params:ne(z({},zt),{is_create_mirror:an})});if((na==null?void 0:na.status)===0){const Ja=yt(((Mt=na==null?void 0:na.data)==null?void 0:Mt.mirrors)||[]);sn===Lt.current&&(Ln(Ja),Tt.current=(0,lt.cloneDeep)(((Tn=na==null?void 0:na.data)==null?void 0:Tn.mirrors)||[]))}}),300)}),Rt=ht=>{const Ft=document.getElementById(`scroll-${xe}-${ht}`);if(!Ft)return;document.getElementById(`scroll-${xe}`).scrollTo(0,Ft.offsetTop)},De=(ht,Ft)=>{const Nt=document.getElementById(`search-${xe}-${ht}`);if(!Nt)return;const sn=document.getElementById(`search-${xe}`);Nt.offsetTop-sn.scrollTop>0&&Nt.offsetTop-sn.scrollTop{Rn(ht,0)},dt=ht=>{var Ft;if(!wt.length)return;const Nt=(Ft=wt==null?void 0:wt[un])==null?void 0:Ft.id;En(Nt),Ln([]),Un(0),Rt(Nt),Ve.current.blur()},Ot=(ht,Ft)=>{En(ht),Ln([]),Un(0),Rt(ht)},$t=()=>{Ln([]),pn(""),vn("")},Xt=ht=>{En(ht),Ln([])},Kt=()=>jn===""?ae.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):ae.createElement("i",{onClick:ht=>{ht.stopPropagation(),$t()},className:"iconfont icon-shanchu4 c-grey-c"}),on=()=>{Ge({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Dt=()=>{Ge({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},At=()=>{Le.current=setTimeout(()=>{st(!1),Un(0)},200)},nn=!(ut!=null&&ut.length)&&!(mn!=null&&mn.length);return ae.createElement("div",{className:Ce()(Be==="night"?ct.darklySelectEnvironment:ct.selectEnvironment,Ae)},Ea&&ae.createElement("div",{style:{marginTop:20,marginLeft:20}},Ea),ae.createElement("div",{className:ct.search},ae.createElement(Oe.default,{suffix:Kt(),bordered:!1,ref:Ve,value:jn,onKeyDown:ht=>{(ht.keyCode===40||ht.keyCode===38||ht.keyCode===13)&&ht.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(Le.current),jn&&We(jn),st(!0)},onBlur:At,onChange:ht=>{pn(ht.target.value),ht.target.value&&We(ht.target.value),vn(ht.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:dt}),tt&&ae.createElement("div",{id:`search-${xe}`,className:ct.searchListWrap},wt.map((ht,Ft)=>ae.createElement(ae.Fragment,{key:Ft}," ",ht.label)))),Xe?ae.createElement(Ze.Z,{className:ct.spin}):ae.createElement(ae.Fragment,null,!!ln.length&&ae.createElement("aside",{className:ct.common},ae.createElement("div",{className:ct.title},"\u63A8\u8350\u73AF\u5883:"),ae.createElement("ul",{className:ct.tags},ln.map((ht,Ft)=>ae.createElement("li",{key:Ft,onClick:()=>Xt(ht.id),className:rt===ht.id?`${ct.tag} ${ct.tagActive}`:ct.tag},ht.name)))),nn&&ae.createElement(ke.Z,{style:{margin:"60px 0"},image:Re,description:ae.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),ae.createElement("aside",{className:ct.wrap,id:`scroll-${xe}`},ut.map((ht,Ft)=>{var Nt;return(Nt=ht==null?void 0:ht.image)!=null&&Nt.length?ae.createElement(de,{key:Ft,data:ht,id:rt,handleClick:sn=>Xt(sn)}):null}),ae.createElement("ul",{className:ct.allList},mn.map(ht=>ae.createElement("li",{key:`key-${ht.id}`,id:`scroll-${xe}-${ht.id}`,className:ht.id===rt?`${ct.item} ${ct.itemActive}`:ct.item,onClick:()=>En(ht.id)},ae.createElement("div",{className:ct.name},ht.name),ht.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("div",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ht.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("div",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),ae.createElement("div",{className:ct.apply},ae.createElement("span",{className:ct.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ae.createElement("span",{className:ct.p2,onClick:on}," \u7533\u8BF7\u65B0\u5EFA"),!Nn&&ae.createElement("span",{className:ct.p2,onClick:Dt}," \u5728\u7EBF\u521B\u5EFA")))},de=({data:Ae,id:Ge,handleClick:Be})=>{const[rt,Xe]=(0,ae.useState)(!0),{name:ut,image:mn}=Ae;return ae.createElement("div",{className:ct.list},ae.createElement("header",{onClick:()=>Xe(!rt)},ae.createElement("div",{className:ct.title},ut),ae.createElement("i",{style:{transition:"0.5s",transform:rt?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),ae.createElement("ul",{className:ct.items,style:{height:rt?"auto":0}},mn.map(ln=>ae.createElement("li",{key:ln.id,className:ln.id===Ge?`${ct.item} ${ct.itemActive}`:ct.item,onClick:()=>Be(ln.id)},ae.createElement("div",{className:ct.name},ln.name),ln.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("div",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ln.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("div",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),ae.createElement("li",{className:ct.line})))};var ye=ce},44405:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Le}});var ae=ue(59301),x=ue(5112),Oe=ue(78241),Ze=ue(61621),ke=ue(3113),et=ue(82093),Ce=ue(43418),ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13T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znHy95VzZXT5EZnGxZ8tKTZ1B2pvthqu7vf1f3cV+Xn8sYWVobJT/X38mM4FB5WfA98t82QK4d4H/z/8jH4DvyMblAPkbn/P9Bw0wIGoa8aNNyoLBmGk15o2AUjCwAAJpj3XJMmgW8AAAAAElFTkSuQmCC";function Re(){return(0,et.U2)("teach_groups.json")}function Me(xe){return(0,et.v_)("teach_groups.json",xe)}function lt(xe,Ve){return(0,et.gz)(`teach_groups/${xe}.json`,Ve)}function mt(xe){return(0,et.v_)("teach_group_members.json",xe)}function $e(xe){return(0,et.IV)(`teach_group_members/${xe}.json`)}function fe(xe,Ve){return(0,et.IV)(`teach_groups/${xe}/del_member.json`,{member_id:Ve})}function a(xe){return(0,et.IV)(`teach_groups/${xe}.json`)}var E=ue(92832),b=({callback:xe,visible:Ve,onCancel:Pt,id:Lt,name:Tt})=>{function Gt(Rn){xe(Rn)}const[en]=Oe.default.useForm();return(0,ae.useEffect)(()=>{en.setFieldsValue({name:Tt})},[Tt]),ae.createElement(Ce.default,{centered:!0,title:Lt?"\u6539\u540D":"\u65B0\u5EFA",open:Ve,onCancel:Pt,footer:null},ae.createElement(Oe.default,{layout:"vertical",form:en,initialValues:{name:Tt},onFinish:Gt},ae.createElement(Oe.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},ae.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20})),ae.createElement(Oe.default.Item,null,ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ke.ZP,{type:"ghost",onClick:Pt,style:{marginRight:20}}," \u53D6\u6D88 ")," ",ae.createElement(ke.ZP,{type:"primary",htmlType:"submit"}," \u786E\u5B9A ")))))},y=ue(32855),z={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},ne=z,se=ue(7657),ce=function(Ve,Pt){return ae.createElement(se.Z,(0,y.Z)({},Ve,{ref:Pt,icon:ne}))},de=ae.forwardRef(ce),ye=de,Ae=ue(43531);const Ge=50;var Be=({data:xe,isAdminOrTeacher:Ve,onDelGroup:Pt,onChangeGroupName:Lt,onPlusMember:Tt,onDelMember:Gt,onExitGroup:en})=>{const[Rn,Rt]=(0,ae.useState)(0),[De,We]=(0,ae.useState)(0);function dt(Xt){let Kt=parseInt(Xt.target.id,10);Ce.default.confirm({title:"\u89E3\u6563\u63D0\u793A",content:"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F",onOk:()=>{Pt(Kt)}})}function Ot(Xt){let Kt=parseInt(Xt.target.id,10);Ce.default.confirm({title:"\u9000\u51FA\u63D0\u793A",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{en(Kt)}})}function $t(Xt,Kt){Ce.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",icon:null,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",onOk:()=>{Gt(Xt,Kt)}})}return ae.createElement("ul",{className:"teaching-list"},xe.map((Xt,Kt)=>ae.createElement("li",{key:Xt.id,onClick:()=>Rt(Kt)},ae.createElement("div",{className:"item-group"},ae.createElement("span",null,Xt.name," \xA0 ",Kt!==Rn&&ae.createElement("i",{className:"iconfont icon-jiantou9"})," "),ae.createElement("div",{className:"action-group"},Ve?ae.createElement("a",{onClick:()=>{Lt(Xt)},style:{marginRight:40}},"\u4FEE\u6539\u540D2222\u79F0"):null,Xt.is_creat?ae.createElement("a",{id:Xt.id+"",className:"c-grey-c",onClick:dt},"\u89E3\u6563"):ae.createElement("a",{id:Xt.id+"",className:"c-grey-c",onClick:Ot},"\u9000\u51FA"))),Kt===Rn?ae.createElement("ul",{className:"info"},Xt.memers.map(on=>ae.createElement("li",{key:on.id||on.name,onClick:()=>{We(on.id)},className:De===on.id?"active":""},ae.createElement("div",null,on.name),Xt.is_creat&&on.id&&De===on.id?ae.createElement("a",{className:"btn-del",onClick:Dt=>{Dt.preventDefault(),Dt.stopPropagation(),$t(Xt.id,De)}},ae.createElement(ye,null)):null)),Ve?ae.createElement("li",null,ae.createElement(ke.ZP,{type:"link",disabled:Xt.memers.length>=50,title:Xt.memers.length>=50?"\u672C\u7EC4\u6210\u5458\u5DF2\u6EE1":"\u6DFB12312\u52A0\u6210\u5458",onClick:()=>{Tt(Xt)}}," ",ae.createElement(Ae.Z,null)," \u6DFB\u52A0\u7EC4\u5458 ")):null):null)))},rt=ue(76560),Xe=ue(68226),ut=Object.defineProperty,mn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Ea=(xe,Ve,Pt)=>Ve in xe?ut(xe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):xe[Ve]=Pt,_t=(xe,Ve)=>{for(var Pt in Ve||(Ve={}))vn.call(Ve,Pt)&&Ea(xe,Pt,Ve[Pt]);if(En)for(var Pt of En(Ve))Jt.call(Ve,Pt)&&Ea(xe,Pt,Ve[Pt]);return xe},an=(xe,Ve)=>mn(xe,ln(Ve)),Nn=(xe,Ve,Pt)=>new Promise((Lt,Tt)=>{var Gt=Rt=>{try{Rn(Pt.next(Rt))}catch(De){Tt(De)}},en=Rt=>{try{Rn(Pt.throw(Rt))}catch(De){Tt(De)}},Rn=Rt=>Rt.done?Lt(Rt.value):Promise.resolve(Rt.value).then(Gt,en);Rn((Pt=Pt.apply(xe,Ve)).next())});function jn({children:xe}){return ae.createElement("div",{className:"no-data"},ae.createElement("img",{src:ct,alt:"no-data",width:300}),xe)}const pn={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var tt=(xe=>(xe[xe.INITDATA=0]="INITDATA",xe[xe.SHOWLOADING=1]="SHOWLOADING",xe[xe.SHOWFORMPANEL=2]="SHOWFORMPANEL",xe[xe.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",xe[xe.SELECTGROUP=4]="SELECTGROUP",xe[xe.SETINDEX=5]="SETINDEX",xe))(tt||{});function st(xe,Ve){switch(Ve.type){case 0:return _t(_t({},xe),Ve.payload);case 1:return an(_t({},xe),{loading:Ve.payload});case 5:return an(_t({},xe),{index:Ve.payload});case 2:return _t(_t({},xe),Ve.payload);case 3:return _t(_t({},xe),Ve.payload);case 4:return an(_t({},xe),{selectedGroup:Ve.payload,showFormPanel:!0});default:throw new Error}}function wt({user:xe}){var Ve;const[Pt,Lt]=(0,ae.useReducer)(st,pn),{data:Tt,index:Gt,loading:en,showFormPanel:Rn,selectedGroup:Rt,showMemberPanel:De}=Pt,We=(Ve=xe.userInfo)==null?void 0:Ve.role,dt=(0,ae.useMemo)(()=>{let yt=[],Mt=[];for(let Tn of Tt)Tn.is_creat?yt.push(Tn):Mt.push(Tn);return[yt,Mt]},[Tt]);(0,ae.useEffect)(()=>{We===15&&Lt({type:5,payload:1})},[We]);function Ot(){return Nn(this,null,function*(){const yt=yield Re();Lt({type:0,payload:{loading:!1,showFormPanel:!1,data:yt.groups}})})}(0,ae.useEffect)(()=>{Ot()},[]);function $t(yt){return Nn(this,null,function*(){Rt.id?yield lt(Rt.id,yt):yield Me(yt),Ot()})}function Xt(){Lt({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function Kt(yt){Lt({type:4,payload:yt})}function on(){Lt({type:2,payload:{showFormPanel:!1}})}function Dt(){Lt({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function At(yt){Lt({type:3,payload:{showMemberPanel:!0,selectedGroup:yt}})}function nn(yt,Mt){return Nn(this,null,function*(){yield fe(yt,Mt),Ot()})}function ht(yt){return Nn(this,null,function*(){yield a(yt),Ot()})}function Ft(yt){return Nn(this,null,function*(){yield $e(yt),Ot()})}function Nt(yt){Lt({type:5,payload:parseInt(yt.target.id,10)})}function sn(yt,Mt){return Nn(this,null,function*(){Dt(),yield mt({user_ids:yt,group_id:Mt}),Ot()})}return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"teaching-circling-container"},ae.createElement("h3",null," \u6559\u7814\u56E2\u961F ",We<=12&&ae.createElement(ke.ZP,{type:"primary",disabled:Tt.length>=50,title:Tt.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Xt},"\u65B0\u5EFA")," "),ae.createElement("div",{className:"teaching-circling-body"},We===15?null:ae.createElement("ul",{className:"navs"},ae.createElement("li",{className:Gt===0?"active":""},ae.createElement("a",{id:"0",onClick:Nt},"\u6211\u521B\u5EFA\u7684")),ae.createElement("li",{className:Gt===1?"active":""},ae.createElement("a",{id:"1",onClick:Nt},"\u6211\u52A0\u5165\u7684"))),ae.createElement("div",{className:dt[Gt].length===0?"nodata-content":"main-content"},dt[Gt].length===0?ae.createElement(jn,null,We<=12?ae.createElement(ae.Fragment,null," ",ae.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",ae.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):ae.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):ae.createElement(Be,{onExitGroup:Ft,onPlusMember:At,onDelMember:nn,onDelGroup:ht,isAdminOrTeacher:We<=12,onChangeGroupName:Kt,data:dt[Gt]}))),ae.createElement("p",{style:{width:1200,margin:"0 auto 40px auto"},className:"desc"}," * \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732 ")),ae.createElement(b,{callback:$t,visible:Rn,onCancel:on,id:Rt.id,name:Rt.name}),ae.createElement(Ce.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:De,onCancel:Dt,footer:null,width:1100,bodyStyle:{minHeight:200}},ae.createElement(Xe.Z,{container_id:Rt.id,container_type:4,onSelect:sn,onCancel:Dt})))}var Ln=(0,rt.connect)(({user:xe})=>({user:xe}))(wt),un=(xe,Ve,Pt)=>new Promise((Lt,Tt)=>{var Gt=Rt=>{try{Rn(Pt.next(Rt))}catch(De){Tt(De)}},en=Rt=>{try{Rn(Pt.throw(Rt))}catch(De){Tt(De)}},Rn=Rt=>Rt.done?Lt(Rt.value):Promise.resolve(Rt.value).then(Gt,en);Rn((Pt=Pt.apply(xe,Ve)).next())});const Un=x.ZP.Group;var Le=({onSelect:xe,onCancel:Ve})=>{const[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(!0);(0,ae.useEffect)(()=>{function Rt(){return un(this,null,function*(){const{groups:De}=yield(0,et.U2)("teach_groups/my.json");Lt(De),Gt(!1)})}Rt()},[]);const en=(0,ae.useMemo)(()=>{let Rt=[],De=[];for(let We of Pt)We.is_creat?Rt.push(We):De.push(We);return[Rt,De]},[Pt]);function Rn(Rt){xe(Rt)}return ae.createElement(Oe.default,{className:"select-teach-group",onFinish:Rn},Tt?ae.createElement(Ze.Z,{paragraph:!0}):Pt.length===0?ae.createElement(jn,null,"\u60A8\u5C1A\u672A\u521B\u5EFA\u60A8\u7684\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB",ae.createElement(rt.Link,{to:"/account/teach-group"},"\u521B\u5EFA"),"\u5427"):ae.createElement(ae.Fragment,null,ae.createElement(Oe.default.Item,{name:"group_id",style:{width:"100%"}},ae.createElement(Un,{style:{width:"100%"}},ae.createElement("p",{style:{fontSize:"12px"}},"\u6211\u521B\u5EFA\u7684\uFF1A"),ae.createElement("ul",{className:"groups"},en[0].map(Rt=>ae.createElement("li",{key:Rt.id},ae.createElement(x.ZP,{value:Rt.id},Rt.name)))),ae.createElement("p",{style:{fontSize:"12px"}},"\u6211\u52A0\u5165\u7684\uFF1A"),ae.createElement("ul",{className:"groups"},en[1].map(Rt=>ae.createElement("li",{key:Rt.id},ae.createElement(x.ZP,{value:Rt.id},Rt.name)))))),ae.createElement("div",{className:"btn-actions"},ae.createElement(ke.ZP,{type:"default",onClick:Ve,style:{marginRight:10}},"\u53D6\u6D88"),ae.createElement(ke.ZP,{type:"primary",htmlType:"submit"},"\u786E\u5B9A"))))}},68226:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(78241),Oe=ue(95237),Ze=ue(57809),ke=ue(92832),et=ue(88522),Ce=ue(3113),ct=ue(24905),Re=ue(6848),Me=ue(8591),lt=ue(1710),mt=ue(76560),$e=ue(56656),fe=ue.n($e),a=ue(26724),E=ue.n(a),b=ue(58143),y=ue(64948),z=ue(47949),ne=ue(77277),se=ue(59301),ce=Object.defineProperty,de=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,rt=(_t,an,Nn)=>an in _t?ce(_t,an,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):_t[an]=Nn,Xe=(_t,an)=>{for(var Nn in an||(an={}))Ge.call(an,Nn)&&rt(_t,Nn,an[Nn]);if(Ae)for(var Nn of Ae(an))Be.call(an,Nn)&&rt(_t,Nn,an[Nn]);return _t},ut=(_t,an)=>de(_t,ye(an)),mn=(_t,an,Nn)=>new Promise((jn,pn)=>{var tt=Ln=>{try{wt(Nn.next(Ln))}catch(un){pn(un)}},st=Ln=>{try{wt(Nn.throw(Ln))}catch(un){pn(un)}},wt=Ln=>Ln.done?jn(Ln.value):Promise.resolve(Ln.value).then(tt,st);wt((Nn=Nn.apply(_t,an)).next())});const ln=[];function En({onSearch:_t,schools:an}){return se.createElement(x.default,{colon:!1,layout:"horizontal",onFinish:_t,initialValues:{keyword:"",school_name:"",search_type:"1"}},se.createElement(Oe.Z,{style:{flexWrap:"nowrap"}},se.createElement(x.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},se.createElement(Ze.default,{popupClassName:ne.Z.selectdown,style:{width:106}},se.createElement(Ze.default.Option,{value:"1"},"\u59D3\u540D"),se.createElement(Ze.default.Option,{value:"2"},"\u624B\u673A\u53F7"),se.createElement(Ze.default.Option,{value:"3"},"\u90AE\u7BB1"))),se.createElement(x.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},se.createElement(ke.default,{allowClear:!0,style:{width:300},size:"middle"})),se.createElement(x.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},se.createElement(et.Z,{options:an,style:{width:300},size:"middle",showSearch:!0,filterOption:(Nn,jn)=>jn.value.toUpperCase().indexOf(Nn.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),se.createElement(Ce.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var vn=(_t=>(_t[_t.INITDATA=0]="INITDATA",_t[_t.INITSCHOOLS=1]="INITSCHOOLS",_t[_t.SHOWLOADING=2]="SHOWLOADING",_t[_t.SELECTEDIDS=3]="SELECTEDIDS",_t[_t.SETQUERY=4]="SETQUERY",_t[_t.SETPAGE=5]="SETPAGE",_t))(vn||{});function Jt(_t,an){switch(an.type){case 0:return Xe(Xe({},_t),an.payload);case 4:return Xe(Xe({},_t),an.payload);case 5:return ut(Xe({},_t),{page:an.payload,reload:!1});case 2:return ut(Xe({},_t),{loading:an.payload});case 1:return ut(Xe({},_t),{schools:an.payload});case 3:return ut(Xe({},_t),{selectedIds:an.payload});default:throw new Error}}const Ea={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};St.Z=({onSelect:_t,onCancel:an,container_id:Nn,container_type:jn})=>{const[pn,tt]=(0,ae.useReducer)(Jt,Ea),{data:st,schools:wt,loading:Ln,selectedIds:un,page:Un,count:Le,query:xe,reload:Ve}=pn;(0,ae.useEffect)(()=>{function Rt(){return mn(this,null,function*(){const{users:De,user_count:We}=yield(0,y.nQ)(ut(Xe({},xe),{page:Un,container_type:jn,container_id:Nn,display_aliases:!0}));tt({type:0,payload:{data:Ve?De:[...st,...De],count:We}})})}xe&&Rt()},[Un,xe,Ve,Nn,jn]),(0,ae.useEffect)(()=>{function Rt(){return mn(this,null,function*(){const{school_names:De}=yield(0,y.K$)({display_aliases:!0});tt({type:1,payload:De.map(We=>({value:We}))})})}Rt()},[]);const Pt=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(Rt,De)=>se.createElement(ct.default,{value:De.numid,checked:un.includes(De.numid),disabled:!!Rt})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(Rt,De)=>se.createElement("div",null,se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement(mt.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${De.login}`,target:"_blank"},Rt||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:Rt=>se.createElement("span",{style:{color:"#000000"}},Rt?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:Rt=>se.createElement(Re.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},fe()(Rt).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:Rt=>{if(Rt===1)return se.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function Lt(Rt){tt({type:4,payload:{page:1,reload:!0,query:Rt}})}function Tt(Rt){tt({type:5,payload:Rt})}function Gt(Rt){let De=un.indexOf(Rt);De>=0?un.splice(De,1):un.push(Rt),tt({type:3,payload:[...un]})}function en(){un.length===0?Me.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(_t(un,Nn),tt({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Rn=Le>Un*10;return se.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},se.createElement(En,{onSearch:Lt,schools:wt}),xe?se.createElement(se.Fragment,null,se.createElement("div",{className:"flexd-table-header mt20"},se.createElement(z.Gi,null,se.createElement(lt.default,{pagination:!1,dataSource:ln,columns:Pt}))),se.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},se.createElement(E(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Tt,hasMore:Rn,useWindow:!1},se.createElement(z.Gi,null,se.createElement(lt.default,{loading:Ln,showHeader:!1,pagination:!1,dataSource:st,columns:Pt,onRow:Rt=>({onClick:De=>{Rt.added!==1&&Gt(Rt.numid)}})})))),se.createElement("div",{className:"flex-container flex-end"},se.createElement(Ce.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:an},"\u53D6\u6D88"),se.createElement(Ce.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:en},"\u786E\u5B9A"))):se.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},se.createElement("img",{src:b,width:"100",alt:""}),se.createElement("br",null),se.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},44905:function(we,St,ue){"use strict";ue.d(St,{h:function(){return se}});var ae=ue(59301),x=ue(57809),Oe=ue(78241),Ze=ue(3113),ke=ue(89780),et=ue.n(ke),Ce=ue(66543),ct=ue(59598),Re=Object.defineProperty,Me=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,a=(ce,de,ye)=>de in ce?Re(ce,de,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[de]=ye,E=(ce,de)=>{for(var ye in de||(de={}))$e.call(de,ye)&&a(ce,ye,de[ye]);if(mt)for(var ye of mt(de))fe.call(de,ye)&&a(ce,ye,de[ye]);return ce},b=(ce,de)=>Me(ce,lt(de));const y=x.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};St.Z=({callback:ce,onCancel:de})=>{const[ye,Ae]=(0,ae.useState)("python");function Ge(rt){Ae(ne[rt][1])}function Be(rt){ce(rt)}return ae.createElement(Oe.default,b(E({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Be,style:{width:500}}),ae.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(x.default,{getPopupContainer:rt=>rt.parentNode,onChange:Ge},Object.keys(ne).map(rt=>ae.createElement(y,{key:rt,value:rt},ne[rt][0])))),ae.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(se,{mode:ye})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ze.ZP,{type:"ghost",onClick:de},"\u53D6\u6D88")))};function se({value:ce,onChange:de,mode:ye,options:Ae={}}){const Ge=(0,ae.useRef)(),[Be,rt]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(Be){let Xe=function(ut){const mn=ut.getValue();de&&de(mn)};return Be.on("change",Xe),()=>{Be.off("change",Xe)}}},[Be,de]),(0,ae.useEffect)(()=>{Be&&Be.setOption("mode",ye)},[Be,ye]),(0,ae.useEffect)(()=>{Be&&(ce!==Be.getValue()||ce==="")&&setTimeout(()=>{Be.setValue(ce||"")},300)},[Be,ce]),(0,ae.useEffect)(()=>{if(Ge.current&&!Be){const Xe=et().fromTextArea(Ge.current,E({mode:ye,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ae));rt(Xe)}},[Ge.current,Be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Ge}))}},89389:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ma}});var ae=ue(59301),x=ue(89780),Oe=ue.n(x),Ze=ue(76374),ke=ue(66543),et=ue(6313),Ce=ue(25717),ct=ue(99498),Re=ue(25419),Me=ue(67549),lt=ue(7664),mt=({value:Qe="",className:gt,showTextOnly:it,showLines:Vn,style:Gn={}})=>{const Jn=(0,ae.useMemo)(()=>"",[Qe]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Jn}}))},$e=ue(59301),fe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(Qe,gt,it)=>gt in Qe?fe(Qe,gt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[gt]=it,se=(Qe,gt)=>{for(var it in gt||(gt={}))y.call(gt,it)&&ne(Qe,it,gt[it]);if(b)for(var it of b(gt))z.call(gt,it)&&ne(Qe,it,gt[it]);return Qe},ce=(Qe,gt)=>a(Qe,E(gt));let de=[{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 ye({onActionCallback:Qe,title:gt,icon:it,actionName:Vn,className:Gn="",children:Jn}){function Va(){Qe(Vn)}return $e.createElement("a",{title:gt,className:Gn,onClick:Va},$e.createElement("i",{className:`${it}`}),Jn)}var Ae=({watch:Qe,showNullButton:gt,showNullProgramButton:it,onActionCallback:Vn,fullScreen:Gn,insertTemp:Jn,hidetoolBar:Va,extraUse:Oa})=>{const va=[...de,{title:`${Qe?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Qe?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return $e.createElement("ul",{className:"markdown-toolbar-container"},!Va&&va.map((Na,ya)=>$e.createElement("li",{key:ya},Na.actionName?$e.createElement(ye,ce(se({},Na),{onActionCallback:Vn})):$e.createElement("span",{className:"v-line"}))),gt?$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,it?$e.createElement($e.Fragment,null,$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Jn&&$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Jn}`,onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Oa&&$e.createElement("li",null,Oa),$e.createElement("li",{className:"btn-full-screen"},$e.createElement(ye,{icon:`${Gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Vn})))},Ge=ue(75790),Be=ue(78241),rt=ue(92832),Xe=ue(3113),ut=Object.defineProperty,mn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Ea=(Qe,gt,it)=>gt in Qe?ut(Qe,gt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[gt]=it,_t=(Qe,gt)=>{for(var it in gt||(gt={}))vn.call(gt,it)&&Ea(Qe,it,gt[it]);if(En)for(var it of En(gt))Jt.call(gt,it)&&Ea(Qe,it,gt[it]);return Qe},an=(Qe,gt)=>mn(Qe,ln(gt));const Nn={labelCol:{span:4},wrapperCol:{span:20}};var jn=({callback:Qe,onCancel:gt})=>{function it(Vn){Qe(Vn)}return ae.createElement(Be.default,an(_t({},Nn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:it,style:{width:500}}),ae.createElement(Be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(rt.default,null)),ae.createElement(Be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(rt.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Xe.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},pn=ue(44905),tt=ue(45596),st=ue(43418),wt=ue(95237),Ln=ue(6077),un=ue(59301),Un=({callback:Qe,onCancel:gt})=>{const it=document.createElement("canvas"),Vn=it.getContext("2d");it.width=1e3,it.height=800,Vn.fillStyle="#ffffff",Vn.fillRect(0,0,it.width,it.height);const Gn=it.toDataURL("image/png");return un.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(wt.Z,{style:{height:"100vh"}},un.createElement(Ln.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gn,visible:!0,title:String(Date.now())},onOk:Jn=>{Qe({src:Jn.url})},onClose:gt})))},Le=ue(12378);function xe(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(xe,go.CommandHandler),xe.prototype.canAlignSelection=function(){var Qe=this.diagram;return!(Qe===null||Qe.isReadOnly||Qe.isModelReadOnly||Qe.selection.count<2)},xe.prototype.alignLeft=function(){var Qe=this.diagram;Qe.startTransaction("aligning left");var gt=1/0;Qe.selection.each(function(it){it instanceof go.Link||(gt=Math.min(it.position.x,gt))}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(gt,it.position.y))}),Qe.commitTransaction("aligning left")},xe.prototype.alignRight=function(){var Qe=this.diagram;Qe.startTransaction("aligning right");var gt=-1/0;Qe.selection.each(function(it){if(!(it instanceof go.Link)){var Vn=it.actualBounds.x+it.actualBounds.width;gt=Math.max(Vn,gt)}}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(gt-it.actualBounds.width,it.position.y))}),Qe.commitTransaction("aligning right")},xe.prototype.alignTop=function(){var Qe=this.diagram;Qe.startTransaction("alignTop");var gt=1/0;Qe.selection.each(function(it){it instanceof go.Link||(gt=Math.min(it.position.y,gt))}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(it.position.x,gt))}),Qe.commitTransaction("alignTop")},xe.prototype.alignBottom=function(){var Qe=this.diagram;Qe.startTransaction("aligning bottom");var gt=-1/0;Qe.selection.each(function(it){if(!(it instanceof go.Link)){var Vn=it.actualBounds.y+it.actualBounds.height;gt=Math.max(Vn,gt)}}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(it.actualBounds.x,gt-it.actualBounds.height))}),Qe.commitTransaction("aligning bottom")},xe.prototype.alignCenterX=function(){var Qe=this.diagram,gt=Qe.selection.first();if(gt){Qe.startTransaction("aligning Center X");var it=gt.actualBounds.x+gt.actualBounds.width/2;Qe.selection.each(function(Vn){Vn instanceof go.Link||Vn.move(new go.Point(it-Vn.actualBounds.width/2,Vn.actualBounds.y))}),Qe.commitTransaction("aligning Center X")}},xe.prototype.alignCenterY=function(){var Qe=this.diagram,gt=Qe.selection.first();if(gt){Qe.startTransaction("aligning Center Y");var it=gt.actualBounds.y+gt.actualBounds.height/2;Qe.selection.each(function(Vn){Vn instanceof go.Link||Vn.move(new go.Point(Vn.actualBounds.x,it-Vn.actualBounds.height/2))}),Qe.commitTransaction("aligning Center Y")}},xe.prototype.alignColumn=function(Qe){var gt=this.diagram;gt.startTransaction("align Column"),Qe===void 0&&(Qe=0),Qe=parseFloat(Qe);var it=new Array;gt.selection.each(function(Oa){Oa instanceof go.Link||it.push(Oa)});for(var Vn=0;Vn0){for(var Oa=Jn.elt(Va-1);Oa!==null&&Oa.isTreeExpanded&&!Oa.isTreeLeaf;){var va=this._sortTreeChildrenByY(Oa);Oa=va.last()}Oa!==null&&Qe.select(Oa)}else Qe.select(Gn)}}else if(it.key==="Down")if(gt.isTreeExpanded&&!gt.isTreeLeaf){var Vn=this._sortTreeChildrenByY(gt).first();Vn!==null&&Qe.select(Vn)}else for(;gt!==null;){var Gn=gt.findTreeParentNode();if(Gn===null)break;var Jn=this._sortTreeChildrenByY(Gn),Va=Jn.indexOf(gt);if(VaJn.y?1:Gn.xJn.x?1:0}),gt},xe.prototype.copyToClipboard=function(Qe){go.CommandHandler.prototype.copyToClipboard.call(this,Qe),this._lastPasteOffset.set(this.pasteOffset)},xe.prototype.pasteFromClipboard=function(){var Qe=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Qe,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Qe},Object.defineProperty(xe.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Qe){if(Qe!=="move"&&Qe!=="select"&&Qe!=="scroll"&&Qe!=="tree"&&Qe!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Qe);this._arrowKeyBehavior=Qe}}),Object.defineProperty(xe.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Qe){if(!(Qe instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Qe);this._pasteOffset.set(Qe)}});var Ve=xe,Pt=ue(20397),Lt=ue(43604),Tt=ue(82093),Gt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},en=ue(59301),Rn=(Qe,gt,it)=>new Promise((Vn,Gn)=>{var Jn=va=>{try{Oa(it.next(va))}catch(Na){Gn(Na)}},Va=va=>{try{Oa(it.throw(va))}catch(Na){Gn(Na)}},Oa=va=>va.done?Vn(va.value):Promise.resolve(va.value).then(Jn,Va);Oa((it=it.apply(Qe,gt)).next())});function Rt({onCancel:Qe,callback:gt}){let it=(0,ae.useRef)(),Vn=(0,ae.useRef)(),Gn=(0,ae.useRef)(),Jn=(0,ae.useRef)(!1);const Va=(0,ae.useRef)(!1),[Oa,va]=(0,ae.useState)(0);function Na(){const Sn=Le.bx.make,wa={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"};it.current=new Le.S0(Vn.current,{padding:20,grid:Sn(Le.s_,"Grid",Sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:qe=>{var He=qe.diagram.commandHandler.addTopLevelParts(qe.diagram.selection,!0);He||qe.diagram.currentTool.doCancel()},commandHandler:Sn(Ve),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:qe=>{var He=qe.subject;He.location=He.location.copy().snapToGridPoint(qe.diagram.grid.gridOrigin,qe.diagram.grid.gridCellSize),setTimeout(()=>{qe.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:qe=>{var He=qe.subject;setTimeout(()=>{qe.diagram.commandHandler.editTextBlock()})},LinkRelinked:qe=>{var He=qe.parameter.part;He.invalidateConnectedLinks();var Vt=qe.subject;qe.diagram.toolManager.linkingTool.isForwards?Vt.toNode.invalidateConnectedLinks():Vt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),it.current.nodeTemplate=Sn(Le.NB,"Auto",{locationSpot:Le.z6.Center,locationObjectName:"SHAPE",desiredSize:new Le.$u(120,60),minSize:new Le.$u(40,40),resizable:!0,resizeCellSize:new Le.$u(10,10),rotatable:!0},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),new Le.KX("desiredSize","size",Le.$u.parse).makeTwoWay(Le.$u.stringify),Sn(Le.bn,{name:"SHAPE",fill:wa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("figure"),new Le.KX("fill"),new Le.KX("stroke","borderColor"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Sn(Le.al,{margin:1,textAlign:"center",overflow:Le.al.OverflowEllipsis,editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),it.current.nodeTemplate.toolTip=Sn("ToolTip",Sn(Le.s_,"Vertical",{maxSize:new Le.$u(200,NaN)},Sn(Le.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Le.KX("text")),Sn(Le.al,{font:"10pt sans-serif",textAlign:"center"},new Le.KX("text","details"))));function Dr(qe,He){var Vt=(Mn,pa)=>{Mn.handled=!0,Mn.diagram.model.commit(xn=>{var Ca=pa.part.adornedPart,rn=new Le.E9().setRectSpot(Ca.actualBounds,qe);rn.subtract(Ca.location),rn.scale(2,2),rn.x+=Math.sign(rn.x)*130,rn.y+=Math.sign(rn.y)*130,rn.add(Ca.location),rn.snapToGridPoint(Mn.diagram.grid.gridOrigin,Mn.diagram.grid.gridCellSize);var da=xn.copyNodeData(Ca.data);xn.setGroupKeyForNodeData(da,xn.getGroupKeyForNodeData(Ca.data)),xn.addNodeData(da);var zr={from:Ca.key,to:xn.getKeyForNodeData(da)};xn.addLinkData(zr);var ho=Mn.diagram.findNodeForData(da);ho.location=rn,Mn.diagram.select(ho),setTimeout(()=>{Mn.diagram.commandHandler.editTextBlock()},20)})};return Sn(Le.bn,{figure:He,alignment:qe,alignmentFocus:qe.opposite(),width:qe.equals(Le.z6.Top)||qe.equals(Le.z6.Bottom)?25:18,height:qe.equals(Le.z6.Top)||qe.equals(Le.z6.Bottom)?18:25,fill:"orange",stroke:wa.white,strokeWidth:4,mouseEnter:(Mn,pa)=>pa.fill="dodgerblue",mouseLeave:(Mn,pa)=>pa.fill="orange",isActionable:!0,click:Vt,contextClick:Vt})}function oo(qe){return Sn(Le.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:(He,Vt)=>Vt.fill="dodgerblue",mouseLeave:(He,Vt)=>Vt.fill="orange",click:(He,Vt)=>{He.diagram.commandHandler.showContextMenu(Vt.part.adornedPart)}},qe||{})}it.current.nodeTemplate.selectionAdornmentTemplate=Sn(Le.uz,"Spot",Sn(Le.Vm,{padding:10}),Dr(Le.z6.Top,"TriangleUp"),Dr(Le.z6.Left,"TriangleLeft"),Dr(Le.z6.Right,"TriangleRight"),Dr(Le.z6.Bottom,"TriangleDown"),oo({alignment:new Le.z6(.75,0)}));function Kn(qe,He){return(Vt,Mn)=>{Vt.handled=!0,Vt.diagram.model.commit(pa=>{pa.set(Mn.part.adornedPart.data,qe,He)})}}function cn(qe,He){return He||(He="color"),Sn(Le.bn,{width:16,height:16,stroke:"lightgray",fill:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.stroke="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.stroke="lightgray",click:Kn(He,qe),contextClick:Kn(He,qe)})}function Lo(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(wa.white,"fill"),cn(wa.beige,"fill"),cn(wa.extralightblue,"fill"),cn(wa.extralightred,"fill"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(wa.lightgray,"fill"),cn(wa.lightgreen,"fill"),cn(wa.lightblue,"fill"),cn(wa.lightred,"fill")))]}function vr(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(wa.black),cn(wa.green),cn(wa.blue),cn(wa.red))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(wa.white),cn(wa.magenta),cn(wa.purple),cn(wa.orange)))]}function lo(qe,He){return He||(He="thickness"),Sn(Le.bn,"LineH",{width:16,height:16,strokeWidth:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn(He,qe),contextClick:Kn(He,qe)})}function Tr(qe,He){return He||(He="dash"),Sn(Le.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn(He,qe),contextClick:Kn(He,qe)})}function Bo(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",lo(1),lo(2),lo(3),lo(4))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Tr(null),Tr([2,4]),Tr([4,4])))]}function yo(qe,He){return He||(He="figure"),Sn(Le.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.fill="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.fill="lightgray",click:Kn(He,qe),contextClick:Kn(He,qe)})}it.current.nodeTemplate.contextMenu=Sn("ContextMenu",Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",yo("Rectangle"),yo("RoundedRectangle"),yo("Ellipse"),yo("Diamond"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",yo("Parallelogram2"),yo("ManualOperation"),yo("Procedure"),yo("Cylinder1"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",yo("Terminator"),yo("CreateRequest"),yo("Document"),yo("TriangleDown"))),Lo(),vr(),Bo()),it.current.groupTemplate=Sn(Le.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Le.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(qe,He)=>{var Vt=He.addMembers(He.diagram.selection,!0);Vt||He.diagram.currentTool.doCancel()},avoidable:!1},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),Sn(Le.s_,"Auto",{name:"BODY"},Sn(Le.bn,{parameter1:10,fill:wa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("fill"),new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.Vm,{background:"transparent",margin:20})),Sn(Le.al,{alignment:Le.z6.Top,alignmentFocus:Le.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Le.KX("text"),new Le.KX("stroke","color"))),it.current.groupTemplate.selectionAdornmentTemplate=Sn(Le.uz,"Spot",Sn(Le.s_,"Auto",Sn(Le.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Sn(Le.Vm,{margin:1.5})),oo({alignment:Le.z6.TopRight,alignmentFocus:Le.z6.BottomRight})),it.current.groupTemplate.contextMenu=Sn("ContextMenu",Lo(),vr(),Bo()),it.current.linkTemplate=Sn(Le.rU,{layerName:"Foreground",routing:Le.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Le.KX("fromSpot","fromSpot",Le.z6.parse),new Le.KX("toSpot","toSpot",Le.z6.parse),new Le.KX("fromShortLength","dir",qe=>qe>=1?10:0),new Le.KX("toShortLength","dir",qe=>qe>=1?10:0),new Le.KX("points").makeTwoWay(),Sn(Le.bn,{strokeWidth:2},new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,0),segmentOrientation:Le.rU.OrientAlong,alignmentFocus:Le.z6.Right,figure:"circle",width:10,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe===1)),Sn(Le.bn,{segmentIndex:-1,segmentOffset:new Le.E9(-10,6),segmentOrientation:Le.rU.OrientPlus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe>=1),new Le.KX("width","thickness",qe=>7+3*qe),new Le.KX("height","thickness",qe=>7+3*qe),new Le.KX("segmentOffset","thickness",qe=>new Le.E9(-15,4+1.5*qe))),Sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,-6),segmentOrientation:Le.rU.OrientMinus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe===2),new Le.KX("width","thickness",qe=>7+3*qe),new Le.KX("height","thickness",qe=>7+3*qe),new Le.KX("segmentOffset","thickness",qe=>new Le.E9(-15,4+1.5*qe))),Sn(Le.al,{alignmentFocus:new Le.z6(0,1,-4,0),editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),it.current.linkTemplate.selectionAdornmentTemplate=Sn(Le.uz,Sn(Le.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Vo(2)},new Le.KX("pathPattern","thickness",Vo)),oo({alignmentFocus:new Le.z6(0,0,-6,-4)}));function Vo(qe){return Sn(Le.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(qe+4).toString()+" H3"})}function Ur(qe){var He="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return qe===0?He="M0 0 M16 16 M0 8 L16 8":qe===2&&(He="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Sn(Le.bn,{geometryString:He,margin:2,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn("dir",qe),contextClick:Kn("dir",qe)})}function po(qe){var He=(Vt,Mn)=>{Vt.handled=!0,Vt.diagram.model.commit(pa=>{var xn=Mn.part.adornedPart;pa.set(xn.data,qe?"toSpot":"fromSpot",Le.z6.stringify(Le.z6.AllSides)),(qe?xn.toNode:xn.fromNode).invalidateConnectedLinks()})};return Sn(Le.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:He,contextClick:He})}function kn(qe,He){var Vt=0,Mn=Le.z6.RightSide;qe.equals(Le.z6.Top)?(Vt=270,Mn=Le.z6.TopSide):qe.equals(Le.z6.Left)?(Vt=180,Mn=Le.z6.LeftSide):qe.equals(Le.z6.Bottom)&&(Vt=90,Mn=Le.z6.BottomSide),He||(Vt-=180);var pa=(xn,Ca)=>{xn.handled=!0,xn.diagram.model.commit(rn=>{var da=Ca.part.adornedPart;rn.set(da.data,He?"toSpot":"fromSpot",Le.z6.stringify(Mn)),(He?da.toNode:da.fromNode).invalidateConnectedLinks()})};return Sn(Le.bn,{alignment:qe,alignmentFocus:qe.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Vt,background:"transparent",mouseEnter:(xn,Ca)=>Ca.background="dodgerblue",mouseLeave:(xn,Ca)=>Ca.background="transparent",click:pa,contextClick:pa})}it.current.linkTemplate.contextMenu=Sn("ContextMenu",vr(),Bo(),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Ur(0),Ur(1),Ur(2))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Sn(Le.s_,"Spot",po(!1),kn(Le.z6.Top,!1),kn(Le.z6.Left,!1),kn(Le.z6.Right,!1),kn(Le.z6.Bottom,!1)),Sn(Le.s_,"Spot",{margin:new Le.Zt(0,0,0,2)},po(!0),kn(Le.z6.Top,!0),kn(Le.z6.Left,!0),kn(Le.z6.Right,!0),kn(Le.z6.Bottom,!0)))));const Nr=`{ "class": "GraphLinksModel", + "nodeDataArray": [ +{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, +{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, +{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, +{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, +{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, +{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, +{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} +], + "linkDataArray": [ +{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, +{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, +{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, +{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, +{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, +{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, +{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} +]}`;var uo=["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 co(qe){return console.log("shapeName:",qe),uo.indexOf(qe)>=0}var xt=new Le.YI(Gn.current,{maxSelectionCount:1,linkTemplate:Sn(Le.rU,{locationSpot:Le.z6.Center,selectionAdornmentTemplate:Sn(Le.uz,"Link",{locationSpot:Le.z6.Center},Sn(Le.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Sn(Le.bn,{toArrow:"Standard",stroke:null}))},{routing:Le.rU.AvoidsNodes,curve:Le.rU.JumpOver,corner:5,toShortLength:4},new Le.KX("points"),Sn(Le.bn,{isPanelMain:!0,strokeWidth:2}),Sn(Le.bn,{toArrow:"Standard",stroke:null})),model:new Le.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Le.bn.getFigureGenerators().toArray().map(qe=>({text:"\u672A\u547D\u540D",size:"100 100",figure:qe.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return it.current.addDiagramListener("TextEdited",function(qe){var He;const Vt=qe.subject.part;var Mn=(He=document.activeElement)==null?void 0:He.value;typeof Mn=="string"&&Mn.trim()===""&&it.current.model.commit(function(pa){pa.set(Vt.data,"text","\u672A\u547D\u540D"),it.current.commandHandler.stopCommand()},"increment")}),xt.nodeTemplate=Sn(Le.NB,"Auto",{locationSpot:Le.z6.Center},new Le.KX("location","location",Le.E9.parse).makeTwoWay(Le.E9.stringify),Sn(Le.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 Le.KX("stroke").makeTwoWay(),new Le.KX("fill").makeTwoWay(),new Le.KX("figure")),Sn(Le.al,{margin:new Le.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Le.$u(16,16),maxSize:new Le.$u(10,NaN),textAlign:"center",editable:!0},new Le.KX("key").makeTwoWay())),setTimeout(()=>{it.current.grid=Sn(Le.s_,"Grid",Sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),it.current.grid.visible=!0,it.current.grid.gridCellStroke="darkgray",it.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=it.current,it.current}const ya=()=>Rn(this,null,function*(){var Sn=it.current.makeImage();const wa=yield(0,Tt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Sn.src}});gt({src:wa.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Na()},500),va(Oa+1),()=>{it.current=null}),[]),en.createElement("div",{ref:Va,className:Jn.current?`${Gt.maxH60} body-overflow-initial`:"body-overflow-initial"},en.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Oa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:en.createElement(wt.Z,null,en.createElement(Lt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),en.createElement(Lt.Z,{onClick:()=>{var Sn,wa,Dr=it.current.selection.first();if(Jn.current=!Jn.current,document.activeElement&&Dr){let oo=(wa=(Sn=document.activeElement)==null?void 0:Sn.value)==null?void 0:wa.trim();typeof oo=="string"&&it.current.model.commit(function(Kn){Kn.set(Dr.data,"text",oo||"\u672A\u547D\u540D"),it.current.commandHandler.stopCommand()},"increment")}va(Oa+1)}},en.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Qe},en.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Gt.flowChartWrp},en.createElement("div",{style:{display:"flex",height:"100%"}},en.createElement("div",{style:{width:"300px",height:"100%"}},en.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),en.createElement("div",{style:{height:"calc(100% - 50px)"},className:Gt.myPaletteDiv,ref:Gn})),en.createElement("div",{style:{flex:1,position:"relative"}},en.createElement("div",{ref:Vn,style:{height:"80vh"}}))),en.createElement("div",{className:"tr"},en.createElement(Xe.ZP,{size:"large",onClick:ya,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var De=Rt,We=ue(5112),dt=ue(5871);const Ot=We.ZP.Group,$t={margin:"0 8px"};var Xt=({callback:Qe,onCancel:gt})=>{function it(Vn){Qe(Vn)}return ae.createElement(Be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:it},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:$t},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:$t},"\u884C\u6570"),ae.createElement(Be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(dt.Z,null)),ae.createElement("span",{style:$t},"\u5217\u6570"),ae.createElement(Be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(dt.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:$t},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(Be.default.Item,{name:"align"},ae.createElement(Ot,null,ae.createElement(We.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(We.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(We.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(We.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Xe.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},Kt=ue(78673),on=ue(11081),Dt=ue.n(on),nn=(0,ae.forwardRef)(({use3d:Qe,width:gt,height:it,callback:Vn,showSaveButton:Gn},Jn)=>{const Va=(0,ae.useRef)(),Oa=(0,ae.useRef)(),[va,Na]=(0,ae.useState)(!1),ya=(0,ae.useRef)({id:Va,appName:"graphing",width:gt||1e3,height:it||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)(()=>{Oa.current=new(Dt())(ya.current,!0),window.onload=function(){Oa.current.inject("applet_container")}},[]);const Sn=()=>{var wa=window.ggbApplet.getPNGBase64(1,!0,72);return Vn&&Vn(wa),wa};return(0,ae.useEffect)(()=>{ya.current.appName=va?"3D":"graphing",Oa.current.inject("applet_container")},[va]),(0,ae.useEffect)(()=>{Na(Qe)},[Qe]),(0,ae.useImperativeHandle)(Jn,()=>({getImgData:Sn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Va}),ae.createElement(wt.Z,{align:"middle"},ae.createElement(Lt.Z,{flex:1},ae.createElement(Kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:va,onChange:wa=>Na(wa)})),ae.createElement(Lt.Z,null,ae.createElement(Xe.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ht=ue(88615),Ft=ue(1012),Nt=ue(8591);const sn="link",yt="upload-image",Mt="add-flowchart",Tn="draw-image",zt="add-flowchart",na="code-block",Ja="add-table",gr="------------",ur={default:gr,left:`:${gr}`,center:`:${gr}:`,right:`${gr}:`};var za=ue(17904),Or=(Qe,gt,it)=>new Promise((Vn,Gn)=>{var Jn=va=>{try{Oa(it.next(va))}catch(Na){Gn(Na)}},Va=va=>{try{Oa(it.throw(va))}catch(Na){Gn(Na)}},Oa=va=>va.done?Vn(va.value):Promise.resolve(va.value).then(Jn,Va);Oa((it=it.apply(Qe,gt)).next())});function yr(){}let or=0;const fr=1e4,lr="\u2581",Wa="@\u2581\u2581@",Gr="@\u2581@",Br=` +**\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`,bt=["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 bn(Qe){return/^\d+$/.test(Qe)?`${Qe}px`:Qe}const Ut=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",fn={[Ut+"-B"]:"bold",[Ut+"-I"]:"italic"},Hn={[sn]:"\u6DFB\u52A0\u94FE\u63A5",[na]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[Tn]:"\u6DFB\u52A0\u753B\u56FE",[Mt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ja]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ma=({defaultValue:Qe="",onChange:gt,width:it="100%",height:Vn=400,miniToolbar:Gn=!1,isFocus:Jn=!1,watch:Va,insertTemp:Oa,mode:va="markdown",id:Na="markdown-editor-id",showResizeBar:ya=!1,noStorage:Sn=!1,showNullButton:wa=!1,showNullProgramButton:Dr=!1,hidetoolBar:oo=!1,fullScreen:Kn=!1,onBlur:cn,onCMBeforeChange:Lo,onFullScreen:vr,className:lo="",disablePaste:Tr=!1,disabled:Bo=!1,disabledFill:yo=!1,placeholder:Vo="",values:Ur="",extraUse:po})=>{const[kn,Nr]=(0,ae.useState)(null),[uo,co]=(0,ae.useState)(Qe),[xt,qe]=(0,ae.useState)(Va),[He,Vt]=(0,ae.useState)(Kn),[Mn,pa]=(0,ae.useState)(""),[xn,Ca]=(0,ae.useState)(0),[rn,da]=(0,ae.useState)(Vn),[zr,ho]=(0,ae.useState)(!1),zo=(0,ae.useRef)((0,Ft.Z)()),cr=(0,ae.useRef)(!1),Za=(0,ae.useRef)(),[Cr,Lr]=(0,ae.useState)(0),[Mr,jr]=(0,ae.useState)(0),Ka=(0,ae.useRef)(),Ha=(0,ae.useRef)(),mr=(0,ae.useRef)(),_r=(0,ae.useRef)(),Kr=()=>Or(void 0,null,function*(){var ar;const ga=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:zo.current}});(ar=ga==null?void 0:ga.attachments)!=null&&ar.length&&(console.log("cm:",kn,Ka),ga.attachments.map(ia=>{ia.content_type.indexOf("image")>-1?kn.replaceSelection(`![,](/api/attachments/${ia.id}?type=${ia.content_type})`):ia.content_type.indexOf("video")>-1?kn.replaceSelection(``):ia.content_type.indexOf("pdf")>-1?kn.replaceSelection(`${ia.name}`):kn.replaceSelection(`[${ia.name}](${ENV.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type})`)}))});(0,ae.useEffect)(()=>{const ar=window.scrollY||window.pageYOffset;co(Ur),kn==null||kn.setValue(Ur),window.scrollTo(0,ar)},[Ur]),(0,ae.useEffect)(()=>{vr==null||vr(He)},[He]),(0,ae.useEffect)(()=>{if(Ka.current){let ar=function(ia,Sa){var $r;if(Tr){Sa.preventDefault();return}const Co=Sa.clipboardData;if(Co){const Ho=Co.types.toString(),hr=Co.items;if(Ho==="Files"||Co.types.indexOf("Files")>-1){if(Sa.preventDefault(),va=="stex")return;try{let Wr=hr[1];(($r=hr[0])==null?void 0:$r.kind)==="file"&&(Wr=hr[0]);const vo=Wr.getAsFile(),Jr=vo.name.split(".").pop();(0,tt.I)(vo,Io=>{var il,$o,Eu;Io.id?((il=vo==null?void 0:vo.type)==null?void 0:il.indexOf("image"))>-1?ga.replaceSelection(``):(($o=vo==null?void 0:vo.type)==null?void 0:$o.indexOf("video"))>-1?ga.replaceSelection(``):((Eu=vo==null?void 0:vo.type)==null?void 0:Eu.indexOf("pdf"))>-1?ga.replaceSelection(`${vo.name}`):bt.includes(Jr)?ga.replaceSelection(`${vo.name}`):ga.replaceSelection(`[${vo.name}](/api/attachments/${Io.id}?type=${Io.content_type})`):(Io==null?void 0:Io.status)===401&&(Nt.ZP.warning((Io==null?void 0:Io.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Wr){Nt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ga=Oe().fromTextArea(Ka.current,{mode:va,lineNumbers:!Gn,lineWrapping:!0,value:Qe,autoCloseTags:!Dr,autoCloseBrackets:!0});return ga.on("keyup",function(ia,Sa){Sa.keyCode===8&&(ia.getValue()==""?ga.setOption("placeholder",Vo):ga.setOption("placeholder",null))}),ga.on("keydown",function(ia,Sa){if(Sa.keyCode===8){var $r=Pa(ia);$r&&Sa.preventDefault()}}),Jn&&ga.focus(),ga.on("paste",ar),ga.on("dragleave",function(ia,Sa){Ha.current.classList.remove("mouse-hover-md")}),Bo&&ga.on("beforeChange",function(ia,Sa){(Sa.origin==="paste"||Sa.origin==="+input")&&Sa.cancel()}),Nr(ga),()=>{ga.off("paste",ar)}}},[]);const pr=(0,ae.useCallback)(()=>{if(Ha.current)try{}catch(ar){console.log(ar,"---- to set md editor body height")}},[rn,Ha,He]);(0,ae.useEffect)(()=>{function ar(){let ga=new Ze.Z(ia=>{for(let Sa of ia)(Sa.target.offsetHeight>0||Sa.target.offsetWidth>0)&&(pr(),kn.setSize("100%","100%"),kn.refresh())});return ga.observe(Ka.current.parentElement),ga}if(kn){const ga=ar();return()=>{var ia,Sa;(ia=Ka.current)!=null&&ia.parentElement&&ga.unobserve((Sa=Ka.current)==null?void 0:Sa.parentElement)}}},[kn,pr]),(0,ae.useEffect)(()=>{if(kn){let ar=[];for(const[ga,ia]of Object.entries(fn)){let Sa={[ga]:()=>{ta(ia)}};ar.push(Sa),kn.addKeyMap(Sa)}return Za.current=setInterval(()=>{cr.current&&Kr()},4e3),()=>{clearInterval(Za.current);for(let ga of ar)kn.removeKeyMap(ga)}}},[kn]),(0,ae.useEffect)(()=>{Kn!==He&&Vt(Kn)},[Kn]),(0,za.Z)(()=>{if(!Sn&&xn>0){let ar=new Date().getTime(),ga=window.sessionStorage.getItem(Na);ar>=xn+fr&&(!ga||ga!==uo)&&(window.sessionStorage.setItem(Na,uo),ho(!0))}},fr),(0,ae.useEffect)(()=>{qe(Va)},[kn,Va]),(0,ae.useEffect)(()=>{kn&&Jn&&kn.focus()},[kn,Jn]),(0,ae.useEffect)(()=>{if(xt&&kn){let ar=function(ia){let Sa=ia.target;if(_r.current){let $r=Sa.scrollTop/Sa.scrollHeight;_r.current.scrollTop=_r.current.scrollHeight*$r}};const ga=kn.getScrollerElement();return ga.addEventListener("scroll",ar),()=>{ga.removeEventListener("scroll",ar)}}},[kn,xt]),(0,ae.useEffect)(()=>{if(kn&&Lo){let ar=function(ga,ia){Lo(ga,ia)};return kn.on("beforeChange",ar),()=>{kn.off("beforeChange",ar)}}},[kn,Lo]),(0,ae.useEffect)(()=>{if(kn&&cn){let ar=function(){cn(kn.getValue())};return kn.on("blur",ar),()=>{kn.off("blur",ar)}}},[kn,cn]);function Pa(ar,ga){var ia=ar.getDoc(),Sa=ia.getCursor(),$r=ia.getLine(Sa.line),Co=$r.charAt(Sa.ch-1),Ho=$r.lastIndexOf("@\u2581@",Sa.ch),hr=$r.lastIndexOf("@\u2581\u2581@",Sa.ch),Wr=Ho>hr?Ho:hr,vo=Ho>hr?3:4;if(Wa.indexOf(Co)===-1)return null;if(console.log("change1:",ga,ar,$r,Sa,Wr,Ho,hr,Co),Wr>=0&&Sa.ch-Wr<5){var Jr=Wr+vo;return ia.replaceRange("",{line:Sa.line,ch:Wr},{line:Sa.line,ch:Jr}),{line:Sa.line,ch:Jr}}return null}(0,ae.useEffect)(()=>{if(kn){let ar=function(ga,ia){const Sa=ga.getValue();co(Sa),Ca(new Date().getTime()),ga.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),gt&&(Dr?gt(Sa,Aa(Sa)):gt(Sa))};return kn.on("change",ar),()=>{kn.off("change",ar)}}},[kn,gt]),(0,ae.useEffect)(()=>{if(kn)if(Qe==null)kn.setValue(""),co("");else{const ar=window.scrollY||window.pageYOffset;Qe!==kn.getValue()&&(kn.setValue(Qe),co(Qe),kn.setCursor(Bo?1:kn.lineCount(),0),window.scrollTo(0,ar))}},[kn,Qe]);const ta=(0,ae.useCallback)(ar=>{const ga=kn.getCursor(),ia=kn.getSelection();let Sa=ia.split(` +`);switch(ar){case"bold":return kn.replaceSelection("**"+ia+"**"),ia===""&&kn.setCursor(ga.line,ga.ch+2),kn.focus();case"italic":return kn.replaceSelection("*"+ia+"*"),ia===""&&kn.setCursor(ga.line,ga.ch+1),kn.focus();case"code":return kn.replaceSelection("`"+ia+"`"),ia===""&&kn.setCursor(ga.line,ga.ch+1),kn.focus();case"inline-latex":return pa("inline-latex"),kn.focus();case"latex":return kn.replaceSelection("```latex\n"+ia+"\n```"),kn.setCursor(ga.line+1,ia.length+1),kn.focus();case"line-break":return kn.replaceSelection(`
+`),kn.focus();case"list-ul":return ia===""?kn.replaceSelection("- "+ia):kn.replaceSelection(Sa.map($r=>$r===""?"":`- ${$r}`).join(` +`)),kn.focus();case"list-ol":return ia===""?kn.replaceSelection("1. "+ia):kn.replaceSelection(Sa.map(($r,Co)=>$r===""?"":`${Co+1}. ${$r}`).join(` +`)),kn.focus();case"add-null-ch":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(lr),kn.focus();case"add-signal":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(Gr),kn.focus();case"add-multiple":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(Wa),kn.focus();case"inster-template-1":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(Br),kn.focus();case"eraser":return kn.setValue(""),kn.focus();case"trigger-watch":return qe(!xt),kn.focus();case"trigger-full-screen":return Vt(!He),kn.focus();case sn:pa(sn);return;case na:pa(na);return;case yt:pa(yt);return;case Tn:pa(Tn);return;case"maths-latex":pa("maths-latex");return;case Mt:pa(Mt);return;case Ja:pa(Ja);return;default:throw new Error}},[kn,xt,He]),Ta=(0,ae.useCallback)((ar,ga)=>{var ia,Sa,$r,Co,Ho,hr;switch(pa(""),Mn){case sn:const{title:il,link:$o}=ar;return kn.replaceSelection(`[${il}](${$o})`),kn.focus();case na:const{language:Eu,content:Pu}=ar;return kn.replaceSelection(["```"+Eu,Pu,"```"].join(` +`)),kn.focus();case"maths-latex":for(var Wr=atob(ar),vo=new Uint8Array(Wr.length),Jr=0;Jr{kl.id?kn.replaceSelection(`![,](/api/attachments/${kl.id}?type=${kl.content_type})`):(kl==null?void 0:kl.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kn.replaceSelection("`$$"+ar+"$$`");break;case yt:case Tn:case zt:const{src:Ql,alt:_u}=ar,sl=ga,zu=($r=(Sa=(ia=sl==null?void 0:sl.name)==null?void 0:ia.split("."))==null?void 0:Sa.pop)==null?void 0:$r.call(Sa);return((Co=sl==null?void 0:sl.type)==null?void 0:Co.indexOf("image"))>-1||!(sl!=null&&sl.type)?sl.align||sl.width?kn.replaceSelection(`

${_u||

`):kn.replaceSelection(`${_u||`):((Ho=sl==null?void 0:sl.type)==null?void 0:Ho.indexOf("video"))>-1?kn.replaceSelection(``):((hr=sl==null?void 0:sl.type)==null?void 0:hr.indexOf("pdf"))>-1?kn.replaceSelection(`${sl.name}`):bt.includes(zu)?kn.replaceSelection(`${sl.name}`):kn.replaceSelection(`[${sl.name}](${Ql})`),kn.focus();case Ja:const{row:Tl,col:lu,align:Gu}=ar;let Nu=` +`;for(let kl=0;kl{switch(Mn){case sn:return ae.createElement(jn,{callback:Ta,onCancel:Eo});case na:return ae.createElement(pn.Z,{callback:Ta,onCancel:Eo});case yt:return ae.createElement(tt.Z,{callback:Ta,onCancel:Eo});case Mt:return ae.createElement(De,{callback:Ta,onCancel:Eo});case Ja:return ae.createElement(Xt,{callback:Ta,onCancel:Eo});case"maths-latex":return ae.createElement(nn,{showSaveButton:!0,callback:Ta});case"inline-latex":return ae.createElement(ht.Z,{showSaveButton:!0,callback:Ta});default:return null}},[Mn]);function Eo(){pa("")}(0,ae.useEffect)(()=>{if(mr.current){let ar=function(Ho){$r=!0,Co=Ho.pageY},ga=function(){$r=!1},ia=function(Ho){if($r){let hr=Ho.pageY-Co;hr<0&&(hr=0),hr>300&&(hr=300);let Wr=Vn+hr+"px";da(Wr)}},Sa=mr.current,$r=!1,Co=0;return Sa.addEventListener("mousedown",ar),document.addEventListener("mousemove",ia),document.addEventListener("mouseup",ga),()=>{Sa.removeEventListener("mousedown",ar),document.removeEventListener("mousemove",ia),document.removeEventListener("mouseup",ga)}}},[kn,mr]),(0,ae.useEffect)(()=>{da(Vn)},[Vn]);const jo=bn(it),_o=bn(rn),Qo={width:jo,height:_o},El=(0,ae.useMemo)(()=>{if(xn){let ar=new Date(xn),ga=ar.getHours(),ia=ar.getMinutes(),Sa=ar.getSeconds();return ga=ga<10?"0"+ga:ga,ia=ia<10?"0"+ia:ia,Sa=Sa<10?"0"+Sa:Sa,`${ga}:${ia}:${Sa}`}return 0},[xn]),Aa=ar=>{const ga=[];if(Dr){let ia=-1;ar=ar.replace(/(@▁▁@|@▁@)/g,function(Sa,$r,Co){ga.push({multiLine:Sa!==Gr})})}return ga};function ql(){window.sessionStorage.removeItem(Na),ho(!1),Ca(0)}function ru(){ho(!1),Ca(0),kn.setValue(window.sessionStorage.getItem(Na))}(0,ae.useEffect)(()=>{Hn[Mn]&&Mn!==Tn&&Mn!==Mt&&setTimeout(()=>{const ar=document.getElementsByClassName("markdown-popup-form")[0],ga=window.innerWidth/2-ar.offsetWidth/2,ia=window.innerHeight/2-ar.offsetHeight/2;Lr(ga),jr(ia)},0)},[Mn]);const Iu=ar=>{ar.preventDefault();const ga=ar.clientX-Cr,ia=ar.clientY-Mr;document.body.onmousemove=Sa=>{let $r=Sa.clientX-ga,Co=Sa.clientY-ia;const Ho=document.getElementsByClassName("markdown-popup-form")[0],hr=window.innerWidth-Ho.offsetWidth,Wr=window.innerHeight-Ho.offsetHeight;$r=Math.max(0,Math.min($r,hr)),Co=Math.max(0,Math.min(Co,Wr)),ou(Sa.clientX,Sa.clientY,ga,ia)&&(Lr($r),jr(Co))},document.body.onmouseup=function(){document.body.onmousemove=null}},ou=(ar,ga,ia,Sa)=>{const $r=document.body.clientHeight,Co=document.body.clientWidth;return ar<20&&ia>ar||ar>Co-20&&iaga||ga>$r-20&&Sart in Be?mt(Be,rt,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Be[rt]=Xe,z=(Be,rt)=>{for(var Xe in rt||(rt={}))E.call(rt,Xe)&&y(Be,Xe,rt[Xe]);if(a)for(var Xe of a(rt))b.call(rt,Xe)&&y(Be,Xe,rt[Xe]);return Be},ne=(Be,rt)=>$e(Be,fe(rt));const{useForm:se}=ae.default,ce={width:280,marginRight:10},de={labelCol:{span:5},wrapperCol:{span:19}};var ye=({callback:Be,onCancel:rt})=>{const[Xe]=se();let ut=(0,Re.useRef)();function mn(vn){ut.current.width=Xe.getFieldValue("width"),ut.current.align=Xe.getFieldValue("align"),Be(vn,ut.current)}function ln(vn,Jt){if(vn.status===-1){x.ZP.error(vn.message);return}Xe.setFieldsValue({src:`/api/attachments/${vn.id}`,type:Jt.type})}function En(vn){let Jt=vn.target.files[0];ut.current=Jt,Ge(Jt,ln)}return lt.createElement(ae.default,ne(z({form:Xe},de),{className:"upload-image-panel",onFinish:mn,style:{width:470,overflow:"hidden"}}),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},lt.createElement("div",{className:"flex-container"},lt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},lt.createElement(Oe.default,{style:ce})),lt.createElement(Ae,{onFileChange:En}))),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},lt.createElement(Oe.default,{style:{width:264}})),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},lt.createElement(Ze.Z,null,lt.createElement(ae.default.Item,{name:"width",style:{margin:0}},lt.createElement(ke.Z,{style:{width:264}})),lt.createElement("span",{className:"ml8"},"%"))),lt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},lt.createElement(et.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"}]})),lt.createElement("aside",null,lt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},lt.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),lt.createElement(Ce.ZP,{type:"default",onClick:rt},"\u53D6\u6D88"))))};function Ae({onFileChange:Be}){return lt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",lt.createElement("input",{type:"file",onChange:Be}))}function Ge(Be,rt){if(!Be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Me.bg)())throw x.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Xe=new FormData;Xe.append("editormd-image-file",Be),Xe.append("file_param_name","editormd-image-file"),Xe.append("byxhr","true");var ut=new window.XMLHttpRequest;ut.withCredentials=!0,ut.addEventListener("load",function(mn){rt(JSON.parse(mn.target.responseText),Be)},!1),ut.addEventListener("error",function(mn){console.error(mn)},!1),ut.open("POST",`${ct.KI}/api/attachments.json`),ut.send(Xe)}},75790:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Oe}});var ae=ue(59301),x=ue(4676);class Oe extends ae.Component{constructor(ke){super(ke);const et=window.document;this.node=et.createElement("div"),et.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,x.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},17904:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return x}});var ae=ue(59301);function x(Oe,Ze){const ke=(0,ae.useRef)();(0,ae.useEffect)(()=>{ke.current=Oe}),(0,ae.useEffect)(()=>{function et(){ke.current()}if(Ze!==null){let Ce=setInterval(et,Ze);return()=>clearInterval(Ce)}},[Ze])}},17826:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return E}});var ae=ue(59301),x=ue(76560),Oe=ue(78241),Ze=ue(8591),ke=ue(43418),et=ue(92832),Ce={wrap:"wrap___TwY3U",content:"content___Ks95W",mainPathWrap:"mainPathWrap___CrMaa",colorBlue:"colorBlue___dvWbP"},ct=Object.defineProperty,Re=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,mt=(b,y,z)=>y in b?ct(b,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[y]=z,$e=(b,y)=>{for(var z in y||(y={}))Me.call(y,z)&&mt(b,z,y[z]);if(Re)for(var z of Re(y))lt.call(y,z)&&mt(b,z,y[z]);return b},fe=(b,y,z)=>new Promise((ne,se)=>{var ce=Ae=>{try{ye(z.next(Ae))}catch(Ge){se(Ge)}},de=Ae=>{try{ye(z.throw(Ae))}catch(Ge){se(Ge)}},ye=Ae=>Ae.done?ne(Ae.value):Promise.resolve(Ae.value).then(ce,de);ye((z=z.apply(b,y)).next())});const a=({shixunsDetail:b,globalSetting:y,loading:z,dispatch:ne,title:se,pathList:ce=[],showInputPath:de=!1,isMergeSelectFile:ye=!1,onFinish:Ae=()=>{}})=>{const[Ge]=Oe.default.useForm(),Be=(0,x.useParams)(),rt=(0,x.useLocation)(),Xe=(0,ae.useRef)(),[ut,mn]=(0,ae.useState)(""),[ln,En]=(0,ae.useState)(""),[vn,Jt]=(0,ae.useState)([]),[Ea,_t]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var st,wt;Xe.current=((wt=(st=rt.pathname)==null?void 0:st.split("/"))==null?void 0:wt[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(b.actionTabs.key!=="Repository-SelectFilePath")return;const st=ce.join("/");let wt=[];ce.map((Ln,un)=>{un===0?wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ln}`,path:st}):wt.push({val:`/${Ln}`,path:st})}),Jt(wt),mn(st),En(st),an(st)},[b.actionTabs.key]);const an=st=>fe(void 0,null,function*(){const wt=yield ne({type:Xe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Be.id,path:st}});wt&&_t(wt.trees||[])}),Nn=st=>{let wt=ut;st.type==="tree"&&(vn.length?vn.push({val:`/${st.name}`,path:st.name}):vn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${st.name}`,path:st.name}),Jt(vn),wt=ut?`${ut}/${st.name}`:st.name,mn(wt)),an(wt)},jn=(st,wt)=>{const Ln=vn.filter((Un,Le)=>Le<=wt);Jt(Ln);const un=Ln.filter((Un,Le)=>Le!==0).map(Un=>Un.val).join("").substr(1);mn(un),an(un)},pn=()=>fe(void 0,null,function*(){const st=Ge==null?void 0:Ge.getFieldsValue(),wt=ut?`${ut}${st!=null&&st.name?`/${st==null?void 0:st.name}`:""}`:st==null?void 0:st.name;if(ye){Ae(wt),tt();return}if(de){yield Ge.validateFields();const Ln=yield ne({type:"shixunsDetail/uploadGitFolder",payload:$e($e({},{id:Be.id,path:wt}),Xe.current?{}:{secret_repository:!0})});Ae(ln),Ln.status===0&&Ze.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Ae(wt),Ze.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");tt()}),tt=()=>{ne({type:"shixunsDetail/setActionTabs",payload:{}}),Ge.resetFields()};return ae.createElement(ke.default,{centered:!0,title:se||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:b.actionTabs.key==="Repository-SelectFilePath",onOk:pn,onCancel:tt},ae.createElement("div",{className:Ce.wrap},ae.createElement("div",{className:Ce.content},ae.createElement("div",{className:Ce.mainPathWrap},!!(vn!=null&&vn.length)&&vn.map((st,wt)=>ae.createElement("a",{key:wt,onClick:()=>jn(st,wt)},st.val))),!!(Ea!=null&&Ea.length)&&Ea.map((st,wt)=>st.type==="tree"&&ae.createElement("a",{key:wt,onClick:()=>Nn(st)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Ce.colorBlue}`}),st.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},ut),de&&ae.createElement(Oe.default,{form:Ge,scrollToFirstError:!0,className:"mt20"},ae.createElement(Oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(et.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var E=(0,x.connect)(({shixunsDetail:b,loading:y,globalSetting:z})=>({shixunsDetail:b,globalSetting:z,loading:y.models.index}))(a)},45079:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ea}});var ae=ue(59301),x=ue(76560),Oe=ue(36381),Ze=ue(92832),ke=ue(78241),et=ue(8591),Ce=ue(43418),ct=ue(24905),Re=ue(6848),Me=ue(5871),lt=ue(5112),mt=ue(81327),$e=ue(95237),fe=ue(57809),a=ue(78673),E=ue(84236),b=ue(47949),y={wrap:"wrap___BgpUe",row:"row___UWxAG",textarea:"textarea___gaLin",btn:"btn___ZpuhS",sub:"sub___Jd_ZS"},z=ue(51124),ne=ue(82093),se=ue(34055),ce=ue(59301),de=Object.defineProperty,ye=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Xe=(_t,an,Nn)=>an in _t?de(_t,an,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):_t[an]=Nn,ut=(_t,an)=>{for(var Nn in an||(an={}))Be.call(an,Nn)&&Xe(_t,Nn,an[Nn]);if(Ge)for(var Nn of Ge(an))rt.call(an,Nn)&&Xe(_t,Nn,an[Nn]);return _t},mn=(_t,an)=>ye(_t,Ae(an)),ln=(_t,an,Nn)=>new Promise((jn,pn)=>{var tt=Ln=>{try{wt(Nn.next(Ln))}catch(un){pn(un)}},st=Ln=>{try{wt(Nn.throw(Ln))}catch(un){pn(un)}},wt=Ln=>Ln.done?jn(Ln.value):Promise.resolve(Ln.value).then(tt,st);wt((Nn=Nn.apply(_t,an)).next())});const{Panel:En}=Oe.default,{TextArea:vn}=Ze.default;var Ea=({active:_t,type:an="jupyter"})=>{var Nn,jn;const pn=(0,x.useParams)(),[tt]=ke.default.useForm(),[st,wt]=(0,ae.useState)({}),[Ln,un]=(0,ae.useState)(!1),[Un,Le]=(0,ae.useState)(0),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)([]),en=(jn=(Nn=(0,se.eY)())==null?void 0:Nn.shixun)==null?void 0:jn.editable;(0,ae.useEffect)(()=>{_t==="testCase"&&Rn()},[_t]),(0,ae.useEffect)(()=>{Rt()},[]);const Rn=()=>ln(void 0,null,function*(){var Dt,At,nn,ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Ja,gr;const ur=[{hidden:0,input:"",output:"",score:100}],za=yield(0,ne.ZP)(`/api/shixuns/${pn==null?void 0:pn.id}/jupyter_evalute_setting.json`,{method:"get"});if((za==null?void 0:za.status)===0){Gt((Dt=za==null?void 0:za.data)==null?void 0:Dt.standard_scripts);const Or={open_evaluate:(At=za==null?void 0:za.data)==null?void 0:At.open_evaluate,exec_time:((nn=za==null?void 0:za.data)==null?void 0:nn.exec_time)||3,test_set_score:((ht=za==null?void 0:za.data)==null?void 0:ht.test_set_score)===null?!1:(Ft=za==null?void 0:za.data)==null?void 0:Ft.test_set_score,test_set_average:((Nt=za==null?void 0:za.data)==null?void 0:Nt.test_set_average)===null?!0:(sn=za==null?void 0:za.data)==null?void 0:sn.test_set_average,choice_standard_scripts:((yt=za==null?void 0:za.data)==null?void 0:yt.choice_standard_scripts)||null,evaluate_script:((Mt=za==null?void 0:za.data)==null?void 0:Mt.evaluate_script)||"",evaluate_method:(Tn=za==null?void 0:za.data)==null?void 0:Tn.evaluate_method,use_jupyter_result:(zt=za==null?void 0:za.data)==null?void 0:zt.use_jupyter_result};tt.setFieldsValue(Or),wt(Or),Ve((Ja=(na=za==null?void 0:za.data)==null?void 0:na.test_sets)!=null&&Ja.length?(gr=za==null?void 0:za.data)==null?void 0:gr.test_sets:ur)}}),Rt=()=>ln(void 0,null,function*(){var Dt;const At=yield(0,ne.ZP)(`/api/shixuns/${pn==null?void 0:pn.id}/get_jupyter_tags.json`,{method:"get"});(At==null?void 0:At.status)===0&&Lt(((Dt=At==null?void 0:At.data)==null?void 0:Dt.list)||[])}),De=Dt=>ln(void 0,null,function*(){const nn=xe.map(Ft=>Ft.score).reduce((Ft,Nt)=>Ft+Nt,0);if(Dt.test_set_score&&nn!==100){et.ZP.warning("\u6D4B\u8BD5\u7528\u4F8B\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(Dt.evaluate_method===3&&(xe!=null&&xe.some(Ft=>!Ft.tags))){et.ZP.warning("\u8BF7\u9009\u62E9\u6307\u5B9A\u4EE3\u7801\u5757");return}un(!0),(yield(0,ne.ZP)(`/api/shixuns/${pn==null?void 0:pn.id}/update_jupyter_evaluate_setting.json`,{method:"post",body:mn(ut({},Dt),{mirror_script_id:Dt==null?void 0:Dt.choice_standard_scripts,open_evaluate:Dt!=null&&Dt.open_evaluate?1:0,test_set:xe.map(Ft=>mn(ut({},Ft),{is_file:!1}))})})).status===0&&et.ZP.success("\u4FDD\u5B58\u6210\u529F"),un(!1)}),We=Dt=>{wt(ut({},tt.getFieldsValue())),"test_set_average"in Dt&&(Dt!=null&&Dt.test_set_average)&&dt(xe),"test_set_score"in Dt&&(Dt!=null&&Dt.test_set_score)&&(tt.setFieldsValue({test_set_average:!0}),wt(mn(ut({},tt.getFieldsValue()),{test_set_average:!0})),dt(xe)),"choice_standard_scripts"in Dt&&Ce.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ce.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",ce.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ln(void 0,null,function*(){const At=yield(0,ne.ZP)(`/api/shixuns/${pn==null?void 0:pn.id}/get_script_contents.json`,{method:"get",params:{id:pn==null?void 0:pn.id,script_id:Dt==null?void 0:Dt.choice_standard_scripts}});At!=null&&At.content&&(Ce.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:ce.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")}),tt.setFieldsValue({evaluate_script:At==null?void 0:At.content}),wt(mn(ut({},tt.getFieldsValue()),{evaluate_script:At==null?void 0:At.content})))})})},dt=Dt=>{let At=0;const nn=Math.floor((100-At)/Dt.length),ht=nn+(100-At)%Dt.length;Dt=Dt.map((Ft,Nt)=>Nt===Dt.length-1?mn(ut({},Ft),{score:ht}):mn(ut({},Ft),{score:nn})),Ve(Dt)},Ot=()=>{const Dt=[...xe,{hidden:0,input:"",output:"",score:0}];tt.getFieldValue("test_set_average")?dt(Dt):Ve(Dt)},{test_set_score:$t,test_set_average:Xt,choice_standard_scripts:Kt,open_evaluate:on}=st;return ce.createElement("section",{className:y.wrap},ce.createElement(ke.default,{form:tt,disabled:!on,layout:"vertical",onValuesChange:We,onFinish:De},ce.createElement(ke.default.Item,{name:"open_evaluate",style:{marginTop:10},valuePropName:"checked"},ce.createElement(ct.default,{disabled:!1},"\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD")),ce.createElement("h4",{className:"font14"},"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(ke.default.Item,{label:"\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09\uFF1A",name:"exec_time",className:y.row,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}]},ce.createElement(Me.Z,{size:"large",style:{width:400},min:3}))),ce.createElement("h4",{className:"font14 mb10"},"\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219"),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(ke.default.Item,{name:"test_set_score"},ce.createElement(lt.ZP.Group,null,ce.createElement(mt.Z,{direction:"vertical"},ce.createElement(lt.ZP,{value:!1},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),ce.createElement(lt.ZP,{value:!0},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))))),ce.createElement(ke.default.Item,{label:ce.createElement("span",{style:{fontWeight:500},className:"c-black"},"\u8BC4\u6D4B\u8BBE\u7F6E"),name:"evaluate_method",style:{flexDirection:"row",marginTop:15},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u8BBE\u7F6E"}]},ce.createElement(lt.ZP.Group,null,ce.createElement(mt.Z,{direction:"vertical"},ce.createElement(lt.ZP,{value:1},"\u901A\u8FC7\u6240\u6709\u4EE3\u7801\u5757\u8BC4\u6D4B",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6240\u6709\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09")),ce.createElement(lt.ZP,{value:3},"\u901A\u8FC7\u6307\u5B9A\u4EE3\u7801\u5757\u8BC4\u6D4B",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6307\u5B9A\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09"))))),ce.createElement($e.Z,{align:"middle",justify:"space-between",className:"font14"},ce.createElement("div",{style:{fontWeight:500}},ce.createElement("span",{className:y.sub},"*"),"\u6D4B\u8BD5\u7528\u4F8B"),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(b.op,{style:{borderRadius:2},onClick:Ot},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B"))),$t&&ce.createElement(ke.default.Item,{name:"test_set_average"},ce.createElement(lt.ZP.Group,null,ce.createElement(lt.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),ce.createElement(lt.ZP,{value:!1,style:{marginLeft:50}},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement("div",null,xe.map((Dt,At)=>ce.createElement(Oe.default,{activeKey:Un,key:At,onChange:()=>{Le(nn=>nn===At?null:At)}},ce.createElement(En,{header:ce.createElement("div",{className:"font16"},ce.createElement("span",{className:"mr10"},"\u6D4B\u8BD5\u7528\u4F8B",At+1),st.test_set_score&&ce.createElement("span",{style:{marginLeft:40}},ce.createElement(Me.Z,{style:{width:120},value:Dt.score,onClick:nn=>nn.stopPropagation(),min:0,max:100,precision:0,onBlur:nn=>{if(Number(nn)<0||Number(nn)>100){et.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const ht=xe.map((Nt,sn)=>sn===At?mn(ut({},Nt),{score:100}):Nt),Ft={test_set_average:!1};wt(ut(ut({},st),Ft)),tt.setFieldsValue(Ft),Ve(ht)}},disabled:Xt,onChange:nn=>{const ht=xe.map((Nt,sn)=>sn===At?mn(ut({},Nt),{score:nn?Number(nn):0}):Nt),Ft={test_set_average:!1};wt(ut(ut({},st),Ft)),tt.setFieldsValue(Ft),Ve(ht)}}),ce.createElement("span",{className:"ml10 mr10"},"%")),ce.createElement("span",{className:"tr flex1",style:{float:"right"}},At!==0&&ce.createElement(Re.Z,{placement:"bottom",title:"\u5220\u9664"},ce.createElement("span",{style:{color:"#c5c5c5"},className:"current iconfont icon-shanchu4",onClick:nn=>{nn.stopPropagation(),Ce.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u6D4B\u8BD5\u7528\u4F8B\u5417\uFF1F",onOk:()=>{const ht=xe.filter((Ft,Nt)=>Nt!==At);dt(ht)}})}})))),key:At},ce.createElement("div",null,st.evaluate_method===3&&ce.createElement($e.Z,{align:"middle",className:"mb20"},ce.createElement("div",null,ce.createElement("span",{className:y.sub},"*"),ce.createElement("span",null,"\u6307\u5B9A\u4EE3\u7801\u5757"),ce.createElement(Re.Z,{title:"\u8BF7\u5148\u5728Jupyter\u4E2D\u5BF9\u60A8\u9700\u8981\u8BC4\u6D4B\u7684\u6307\u5B9A\u4EE3\u7801\u5757\u5B8C\u6210\u6807\u7B7E\u8BBE\u7F6E\u3002"},ce.createElement("i",{style:{marginLeft:6,marginRight:20,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),ce.createElement(fe.default,{value:Dt.tags,size:"large",style:{width:450},onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===At?mn(ut({},Ft),{tags:nn}):Ft);Ve(ht)}},Pt==null?void 0:Pt.map(nn=>ce.createElement(fe.default.Option,{value:nn==null?void 0:nn.tags,key:nn==null?void 0:nn.tags},nn==null?void 0:nn.tags)))),ce.createElement($e.Z,{align:"middle"},ce.createElement("div",null," ",ce.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ce.createElement(vn,{bordered:!1,className:y.textarea,rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:Dt.output,onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===At?mn(ut({},Ft),{output:nn.target.value}):Ft);Ve(ht)}})),ce.createElement($e.Z,{className:"mt20",align:"middle"},ce.createElement("div",null,ce.createElement("span",null,"\u53EF\u89C1\u6027"),ce.createElement(Re.Z,{title:ce.createElement("div",null,ce.createElement("div",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),ce.createElement("div",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),ce.createElement("div",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"))},ce.createElement("i",{style:{marginLeft:6,marginRight:13,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),ce.createElement("div",null,ce.createElement(ct.default,{className:"font14 ml5",checked:Dt.hidden===1,onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===At){let sn={is_invisible:!1,actual_output_visible:!1};return nn.target.checked&&(sn={is_invisible:!0,actual_output_visible:!0}),mn(ut(ut({},Ft),sn),{hidden:nn.target.checked?1:0})}return Ft});Ve(ht)}},"\u5168\u90E8\u9690\u85CF")),ce.createElement(ct.default,{checked:Dt.is_invisible,style:{margin:"0 60px"},onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===At){let sn=0;return nn.target.checked&&Ft.actual_output_visible&&(sn=1),mn(ut({},Ft),{hidden:sn,is_invisible:nn.target.checked})}return Ft});Ve(ht)}},"\u9690\u85CF\u9884\u671F\u8F93\u51FA"),ce.createElement(ct.default,{checked:Dt.actual_output_visible,onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===At){let sn=0;return nn.target.checked&&Ft.is_invisible&&(sn=1),mn(ut({},Ft),{hidden:sn,actual_output_visible:nn.target.checked})}return Ft});Ve(ht)}},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),ce.createElement("div",{className:"mt20"},ce.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),ce.createElement(ct.default,{checked:Dt.last_match_rule,onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===At?mn(ut({},Ft),{last_match_rule:nn.target.checked}):Ft);Ve(ht)}},ce.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",ce.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))))))),ce.createElement("h4",{className:"font14 mt20 mb10"},ce.createElement("span",{className:y.sub},"*"),"\u8BC4\u6D4B\u811A\u672C"),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(ke.default.Item,{name:"choice_standard_scripts",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"}]},ce.createElement(fe.default,{getPopupContainer:Dt=>Dt.parentNode,size:"large",style:{width:400},placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"},Tt.map((Dt,At)=>ce.createElement(fe.default.Option,{value:Dt.id,key:At},Dt.scptname))))),ce.createElement(Re.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(ke.default.Item,{name:"evaluate_script"},ce.createElement(z.ZP,{height:450,style:{border:"1px solid #ccc"},language:"shell",theme:"vs-light",options:{readOnly:!on}}))),(0,se.Ny)()&&ce.createElement($e.Z,{className:"mb20",align:"middle"},ce.createElement(ke.default.Item,{name:"use_jupyter_result",className:"mt10",valuePropName:"checked",noStyle:!0},ce.createElement(a.Z,null)),ce.createElement("div",{className:"ml10"},"\u662F\u5426\u6CBF\u7528Jupyter\u8FD0\u884C\u7ED3\u679C"))),ce.createElement(E.t,{okText:"\u4FDD\u5B58",hasOkBtn:en,loading:Ln,onCancel:()=>x.history.push(`/shixuns/${pn==null?void 0:pn.id}/challenges`),onOk:()=>tt.submit(),className:an==="jupyterLab"?y.btn:""}))}},18309:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Lt}});var ae=ue(59301),x=ue(43418),Oe=ue(8591),Ze=ue(43428),ke=ue(99313),et=ue(71418),Ce=ue(6848),ct=ue(3113),Re={header_body:"header_body___lAlEX",close:"close___OXweN",no_data:"no_data___h77J2",recommend_config_introduce:"recommend_config_introduce___ifFGY",recommend_config:"recommend_config___UXyKS",recommend_config_item:"recommend_config_item___zONum",item_title:"item_title___w5vXw",recommend_text:"recommend_text___f68Eu",item_content:"item_content___j_zbN",recommend_config_active_item:"recommend_config_active_item___SrTkJ",recommend_config_footer:"recommend_config_footer___PHnlA",application:"application___uh4gI",tooltip:"tooltip___f0uXh",disabled:"disabled___Ha9Ba"},Me=ue(99267),lt=ue(61485),mt=ue(13014),$e=ue(4977),fe=ue(82093),a=ue(76411),E={lineChart:"lineChart___dCEZW"},b=ue(56656),y=ue.n(b),z=ue(59301),se=({dataInfo:Tt,indexKey:Gt,valueName:en,startAndEndTime:Rn,colors:Rt=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"],imageTypeName:De})=>{let We=null;(0,ae.useEffect)(()=>{Dt()},[Tt]),(0,ae.useEffect)(()=>{window.addEventListener("resize",dt(()=>{We&&We.resize()},200))},[window.onresize]);const dt=(At,nn,ht=!1)=>{let Ft,Nt;return(...sn)=>{if(ht){At.apply(Nt,sn),ht=!1;return}clearTimeout(Ft),Ft=setTimeout(()=>{At.apply(Nt,sn)},nn)}},Ot=At=>At?At.map(nn=>{const ht=new Date(nn),Ft=String(ht.getMonth()+1).padStart(2,"0"),Nt=String(ht.getDate()).padStart(2,"0"),sn=String(ht.getHours()).padStart(2,"0"),yt=String(ht.getMinutes()).padStart(2,"0");return`${Ft}/${Nt} ${sn}:${yt}`}):[],$t=(At,nn)=>At.map(ht=>{const Ft=nn.timestamps.indexOf(ht);return Ft!==-1?nn.values[Ft]:null});function Xt(At){let nn=1/0;for(let Ft=0;Ft{let Ft=[];for(let Nt=At;Nt<=nn;Nt+=ht)Ft.push(Nt);return Ft},on=()=>{var At;const nn=((At=Tt==null?void 0:Tt.x)==null?void 0:At.flat())||[];let ht=[...new Set(nn)].sort((na,Ja)=>na-Ja),Ft=Xt(ht),Nt=Ft==null?void 0:Ft.newArray,sn=Ft==null?void 0:Ft.minInterval;ht=[...new Set([...ht,...Nt])].sort((na,Ja)=>na-Ja);let yt=y()(Rn[0],"YYYY-MM-DD HH:mm").valueOf(),Mt=Kt(yt,ht[0]-sn,sn),Tn=y()(Rn[1],"YYYY-MM-DD HH:mm").valueOf(),zt=Kt(ht[ht.length-1]+sn,Tn,sn);return ht=[...Mt,...ht,...zt],[...new Set(ht)].sort((na,Ja)=>na-Ja)},Dt=()=>{var At;We=a.init(document.getElementById(`lineChart${Gt}`));let nn=on(),ht=(At=Tt==null?void 0:Tt.y)==null?void 0:At.map((Nt,sn)=>{var yt;let Mt={timestamps:(yt=Tt==null?void 0:Tt.x)==null?void 0:yt[sn],values:Nt};return Nt=$t(nn,Mt),{name:en[sn],type:"line",itemStyle:{show:!1},lineStyle:{color:Rt[sn]},data:Nt}}),Ft={tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(212, 217, 227, 1)",type:"dashed"}},backgroundColor:"#fff",textStyle:{color:"#333333"},padding:10,extraCssText:"box-shadow: 0px 4px 8px 0px rgba(184,194,202,0.5)",formatter:function(Nt){var sn;let yt="";return Nt.forEach((Mt,Tn)=>{console.log("item",Mt),yt+=`
+
+
+ ${De[Mt==null?void 0:Mt.componentIndex]} +
+
${Mt.value>0?Mt.value.toFixed(5):Mt.value==0?0:"--"} ${Gt==0?"Cores":"MiB"}
+
`}),`
+
${(sn=Nt[0])==null?void 0:sn.name}
+ ${yt} +
`}},grid:{right:"5%",bottom:"20%",top:"10%"},dataZoom:[{show:!0,start:0,end:100},{type:"inside",start:20,end:100}],xAxis:[{type:"category",gridIndex:0,boundaryGap:!0,axisTick:{show:!1,alignWithLabel:!1},axisLine:{show:!0,lineStyle:{color:"#F0F0F0",type:"solid"}},axisLabel:{show:!0,color:"#9096A3"},splitLine:{show:!1},data:Ot(nn)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:Gt==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:ht};We.setOption(Ft)};return z.createElement("div",{id:`lineChart${Gt}`,className:E.lineChart})},ce=ue(47949),de={flex_warp:"flex_warp___Rtigf",chart_content:"chart_content___tVmUj",chart_title:"chart_title___AOPx7",listdata:"listdata___mi4KG",block:"block___prArl",typename:"typename___j4diD",val:"val___MeuWc",info_con:"info_con___eIdJL",info_top:"info_top___UKMbT",fullscreen:"fullscreen___PICBn",chart_content_qp:"chart_content_qp___ae1n1",spin_dom:"spin_dom___T7PCy"},ye=ue(57809),Ae=ue(5083),Ge=ue(88522);const Be=Tt=>{const Gt=new Date,Rn=(Rt=>{const De=new Date(Gt);switch(Rt){case"\u6700\u8FD130\u5206\u949F":De.setMinutes(Gt.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":De.setHours(Gt.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":De.setDate(Gt.getDate()-1);break;case"\u6700\u8FD17\u5929":De.setDate(Gt.getDate()-7);break;case"\u6700\u8FD115\u5929":De.setDate(Gt.getDate()-15);break;default:return null}return De})(Tt);return Rn?{startTime:Rn,endTime:Gt}:null},rt=(Tt,Gt,en)=>{if(!Tt)return!1;const Rn=y()(),[Rt,De]=Gt;if(Tt.isAfter(Rn))return!0;if(Rt){const We=Rt.clone().add(en,"days");if(De&&Tt.isAfter(We))return!0}if(De){const We=De.clone().subtract(en,"days");return Tt.isBefore(We)||Tt.isAfter(Rn)}return!1},Xe=Tt=>Tt<=5?"30s":Tt<=15?"1m":Tt<=30?"2m":Tt<=60?"5m":Tt<=180?"10m":Tt<=360?"30m":Tt<=720?"1h":Tt<=1440?"2h":Tt<=2880?"4h":Tt<=4320?"8h":Tt<=10080||Tt<=14400?"12h":Tt<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",ut=Tt=>{const[Gt,en]=Tt,Rn=moment.isMoment(Gt)?Gt:moment(Gt),Rt=moment.isMoment(en)?en:moment(en);if(!Rn.isValid()||!Rt.isValid())throw new Error("Invalid date provided");const We=moment.duration(Rt.diff(Rn)).asMinutes();return Xe(We)},mn=(Tt,Gt,en=20)=>{const Rn=new Date(Tt).getTime(),Rt=new Date(Gt).getTime(),De=en*1e3,We=[];let dt=Rn;for(;dt<=Rt;)We.push(dt),dt+=De;return We};var ln=ue(89392),En=ue(57884),vn=ue(2610),Jt=ue(59301),Ea=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())});const _t=ye.default.Option,{RangePicker:an}=Ae.default;var jn=({identifier:Tt,data:Gt,isFirst:en,setIsFirst:Rn,info:Rt})=>{var De;const[We,dt]=(0,ae.useState)([]),[Ot,$t]=(0,ae.useState)([]),[Xt,Kt]=(0,ae.useState)(null),[on,Dt]=(0,ae.useState)(""),[At,nn]=(0,ae.useState)([null,null]),[ht,Ft]=(0,ae.useState)([]),[Nt,sn]=(0,ae.useState)(!1),[yt,Mt]=(0,ae.useState)([]),[Tn,zt]=(0,ae.useState)(!1),[na,Ja]=(0,ae.useState)(!1),[gr,ur]=(0,ae.useState)(""),[za,Or]=(0,ae.useState)(1),yr=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],or=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,ae.useEffect)(()=>{var Ut,fn,Hn,ma;if(Gt&&en){bn(),dt(Gt==null?void 0:Gt.recent_users),$t(Gt==null?void 0:Gt.managers);const Qe=(Rt==null?void 0:Rt.type)==="\u6311\u6218\u9875\u9762";((Ut=Gt==null?void 0:Gt.managers)==null?void 0:Ut.length)>0?Kt(Qe?Rt==null?void 0:Rt.myshixun_id:(fn=Gt==null?void 0:Gt.managers[0])==null?void 0:fn.id):((Hn=Gt==null?void 0:Gt.recent_users)==null?void 0:Hn.length)>0&&Kt(Qe?Rt==null?void 0:Rt.myshixun_id:(ma=Gt==null?void 0:Gt.recent_users[0])==null?void 0:ma.id),Dt("\u6700\u8FD130\u5206\u949F"),Rn(!1)}},[Gt]),(0,ae.useEffect)(()=>{if(on){let Ut=Be(on);nn([y()(Ut==null?void 0:Ut.startTime),y()(Ut==null?void 0:Ut.endTime)])}},[on]),(0,ae.useEffect)(()=>{Xt&&(At!=null&&At[0])&&(At!=null&&At[1])&&fr()},[Xt,At]);const fr=()=>Ea(void 0,null,function*(){var Ut;sn(!0);let fn={startTimeString:At[0]?At[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:At[1]?At[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:Xt};const Hn=yield(0,fe.ZP)(`/api/shixuns/${Tt}/cpu_rank_data.json`,{method:"get",params:fn});(Hn==null?void 0:Hn.status)==0&&(Mt((Ut=Hn==null?void 0:Hn.data)==null?void 0:Ut.statisticsList),Or(za+1)),sn(!1)}),lr=(0,ae.useRef)((0,ln.throttle)(Ut=>Wa(Ut),1200,{leading:!0,trailing:!0})).current,Wa=Ut=>Ea(void 0,null,function*(){if(Ut=="")return;const fn=yield(0,fe.ZP)(`/api/shixuns/${Tt}/cpu_search_data`,{method:"get",params:{search:Ut}});(fn==null?void 0:fn.status)==0&&Ft(fn==null?void 0:fn.data)}),Gr=(Ut,fn)=>{Ut==="CPU"?(Tn?(0,vn.BU)():(0,vn.Dj)(document.getElementById(`tj${fn}`)),zt(!Tn)):(na?(0,vn.BU)():(0,vn.Dj)(document.getElementById(`tj${fn}`)),Ja(!na))},Br=(Ut,fn,Hn)=>{const ma=fn==="CPU"?"cpuUsageChart":"memoryUsageChart";let Qe=Ut.map(it=>{var Vn,Gn,Jn,Va;const Oa=(Vn=it.promQueryResult)==null?void 0:Vn[ma],va=`${it.envId}-${it.myPracticalTrainingId}_${fn}`,Na=((Va=(Jn=(Gn=Oa==null?void 0:Oa.results[va])==null?void 0:Gn.frames[0])==null?void 0:Jn.data)==null?void 0:Va.values)||[];return Na.length>0?Na[Hn]:[]});return Qe.some(it=>Array.isArray(it)&&it.length>0)?Qe:[]},bt=Ut=>{Kt(Ut),bn()},bn=()=>{Ft([]),ur("")},On=Ut=>{let fn=!1;for(let Hn=0;Hn<(yt==null?void 0:yt.length);Hn++){let ma=Br(yt,Ut,1)[Hn];if(ma&&(ma==null?void 0:ma.length)>0){fn=!0;break}}return(yt==null?void 0:yt.length)>0&&fn};return Jt.createElement(Jt.Fragment,null,Jt.createElement("div",{className:`${de.flex_warp}`},Jt.createElement(Ge.Z,{allowClear:!0,showSearch:!0,value:gr,style:{width:280},onSearch:lr,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(Ut,fn)=>{ur(Ut),fn!=null&&fn.key&&Kt(Number(fn==null?void 0:fn.key))},onClear:bn,size:"large"},ht==null?void 0:ht.map((Ut,fn)=>Jt.createElement(_t,{key:Ut.id,value:Ut.name},Ut.name.length>4?`${Ut.name.slice(0,4)}...`:Ut.name,`( ${Ut.phone?Ut.phone:""} ${Ut.mail?` - ${Ut.mail}`:""})`))),Jt.createElement("div",null,Jt.createElement(ye.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:on,onChange:Ut=>{Dt(Ut)}},yr.map((Ut,fn)=>Jt.createElement(ye.default.Option,{key:fn,value:Ut},Ut))),Jt.createElement(an,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:At,disabledDate:Ut=>rt(Ut,At,15),format:"YYYY-MM-DD HH:mm",onChange:Ut=>{nn(Ut),Dt(void 0)}}))),Jt.createElement(ce.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:Xt,onChange:Ut=>bt(Ut),dataSource:Ot,titleWidth:60,key:1}),Jt.createElement(ce.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(We==null?void 0:We.length)==0?"mt0":"",style:{marginBottom:(We==null?void 0:We.length)>0?"0px":"17px"},value:Xt,onChange:Ut=>bt(Ut),dataSource:We,titleWidth:60,key:2}),(De=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:De.map((Ut,fn)=>Jt.createElement("div",{className:`${de.chart_content}`,key:fn,id:`tj${fn}`},Jt.createElement("div",{className:de.chart_title},Jt.createElement("span",null,Ut==null?void 0:Ut.name,"\u4F7F\u7528\u91CF"),Jt.createElement("i",{className:`${de.fullscreen} + iconfont + ${(Ut==null?void 0:Ut.type)=="CPU"?Tn?"icon-tuichuquanping2":"icon-quanping2":na?"icon-tuichuquanping2":"icon-quanping2"} + `,onClick:()=>Gr(Ut.type,fn)})),Jt.createElement(et.Z,{spinning:Nt},On(Ut.type)?Jt.createElement("div",{style:{marginTop:(Ut==null?void 0:Ut.type)=="CPU"?Tn?"7%":"":na?"7%":""}},Jt.createElement(se,{dataInfo:{y:Br(yt,Ut==null?void 0:Ut.type,1)||[],x:Br(yt,Ut==null?void 0:Ut.type,0)||[]},startAndEndTime:At,colors:or,indexKey:fn,valueName:yt.map(Hn=>Hn.name),imageTypeName:yt.map(Hn=>{var ma;return(ma=Hn==null?void 0:Hn.promQueryResult)==null?void 0:ma.imageTypeName}),key:`${fn}-${za}`}),Jt.createElement("div",{className:de.info_con},Jt.createElement("div",{className:de.info_top},Jt.createElement("div",null,"\u6700\u5927\u503C"),Jt.createElement("div",null,"\u6700\u5C0F\u503C"),Jt.createElement("div",null,"\u5E73\u5747\u503C")),yt.map((Hn,ma)=>{var Qe;let gt=Hn==null?void 0:Hn.promQueryResult;return Jt.createElement("div",{className:de.listdata,key:ma},Jt.createElement("div",{className:de.block,style:{backgroundColor:or[ma],marginRight:10}}),Jt.createElement("div",{className:de.typename},(Qe=Hn==null?void 0:Hn.promQueryResult)==null?void 0:Qe.imageTypeName),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuMaxDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleMaxValue}MiB`),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuMinDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleMinValue}MiB`),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuAvgDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleAvgValue}MiB`))}))):Jt.createElement(En.Z,null)))))},pn=ue(59301),tt=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())}),wt=({getApi:Tt,identifier:Gt,visible:en,info:Rn})=>{const[Rt,De]=(0,ae.useState)({}),[We,dt]=(0,ae.useState)(!0);(0,ae.useEffect)(()=>{dt(!0)},[en]),(0,ae.useEffect)(()=>{Tt&&We&&Ot()},[Tt]);const Ot=()=>tt(void 0,null,function*(){const $t=yield(0,fe.ZP)(`/api/shixuns/${Gt}/cpu_basic_data.json`,{method:"get"});($t==null?void 0:$t.status)==0&&De($t)});return pn.createElement("div",null,pn.createElement(jn,{isFirst:We,setIsFirst:$t=>dt($t),identifier:Gt,data:Rt,info:Rn}))},Ln=ue(49661),un=ue(76560),Un=ue(67135),Le=ue(23869),xe=ue(59301),Ve=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())});const Pt=({globalSetting:Tt,dispatch:Gt,practiceSetting:en,shixunsDetail:Rn,visible:Rt,onCancel:De,info:We,identifier:dt,isJupyter:Ot,onOk:$t})=>{const[Xt,Kt]=(0,ae.useState)("1"),[on,Dt]=(0,ae.useState)("\u63A8\u8350\u914D\u7F6E"),[At,nn]=(0,ae.useState)([]),[ht,Ft]=(0,ae.useState)(!1),[Nt,sn]=(0,ae.useState)(!1),[yt,Mt]=(0,ae.useState)({}),[Tn,zt]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{Rt&&(sn(!1),Kt("1"),Dt("\u63A8\u8350\u914D\u7F6E"),(We==null?void 0:We.type)=="\u6311\u6218\u9875\u9762"?nn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):nn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),Mt({}),na(),(We==null?void 0:We.type)=="\u6311\u6218\u9875\u9762"&&Gt({type:"shixunsDetail/getShixunsDetail",payload:{id:dt}}))},[Rt]);const na=()=>Ve(void 0,null,function*(){zt(!0);const fr=yield(0,Un.HS)(dt);[0,-10].includes(fr.status)&&(Mt(fr),zt(!1))}),Ja=fr=>{fr=="2"?sn(!0):sn(!1),Kt(fr)},gr=()=>{x.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:xe.createElement("div",{className:"tc"},xe.createElement("img",{src:mt,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},ur=()=>Ve(void 0,null,function*(){if((0,Le.gy)(Gt,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||on=="\u5F53\u524D\u914D\u7F6E")return;Ft(!0),(yield(0,fe.ZP)(`/api/shixuns/${dt}/apply_recommend_config.json`,{method:"put",body:{data:on=="\u63A8\u8350\u914D\u7F6E"?yt==null?void 0:yt.recommend:yt==null?void 0:yt.high}})).status==0&&(Oe.ZP.success("\u5E94\u7528\u6210\u529F"),Ft(!1),De(),$t())}),za=()=>Ve(void 0,null,function*(){var fr,lr;if(yield Or(),(0,Ln.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(fr=Rn.detail)!=null&&fr.is_jupyter||(lr=Rn.detail)!=null&&lr.is_jupyter_lab){Gt({type:"shixunsDetail/execJupyter",payload:{id:dt}}).then(Gr=>{var Br;Gr!=null&&Gr.identifier&&((Br=un.history)==null||Br.push(`/tasks/${Gr.identifier}/jupyter`))});return}Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Wa=Ot?yield(0,Un.BK)({id:dt}):yield(0,Un.Ir)({id:dt});if(Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Wa!=null&&Wa.game_identifier||Wa!=null&&Wa.identifier){(0,Ln.xg)(Ot?`/tasks/${Wa==null?void 0:Wa.identifier}/jupyter`:`/tasks/${Wa.game_identifier}`);return}(Wa==null?void 0:Wa.status)===-3?(0,Ln.eF)():(Wa==null?void 0:Wa.status)===2?yr(Wa==null?void 0:Wa.message):(Wa==null?void 0:Wa.status)===3&&or(Wa==null?void 0:Wa.message)}),Or=()=>new Promise((fr,lr)=>{var Wa;(Wa=en==null?void 0:en.sideBar)!=null&&Wa.confirmLeave?x.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Gt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),fr()},onCancel:()=>{lr()}}):fr()}),yr=fr=>{fr=fr!=null&&fr.includes(".json")?fr:`${fr}.json`,x.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:xe.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ve(void 0,null,function*(){const lr=yield(0,fe.ZP)("/api"+fr,{method:"get"});if(!lr)return;Oe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Wa=yield(0,Un.Ir)({id:lr.shixun_identifier});if(Wa!=null&&Wa.game_identifier){(0,Ln.xg)(`/tasks/${Wa.game_identifier}`);return}(Wa==null?void 0:Wa.status)===2?yr(Wa==null?void 0:Wa.message):(Wa==null?void 0:Wa.status)===3&&or(Wa==null?void 0:Wa.message)})})},or=fr=>{x.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:xe.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",fr,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return xe.createElement(xe.Fragment,null,xe.createElement(Ze.Z,{title:null,placement:"right",open:Rt,width:1e3,onClose:De,closeIcon:null,footer:null},xe.createElement("div",{className:Re.header_body},xe.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),xe.createElement(Me.Z,{className:Re.close,onClick:De})),xe.createElement(ke.default,{activeKey:Xt,onChange:Ja},xe.createElement(ke.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},xe.createElement(et.Z,{spinning:Tn,size:"large",tip:xe.createElement("div",{style:{color:"#666",fontSize:"14px"}},xe.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),xe.createElement("div",{style:{lineHeight:"26px"}},"\u7CFB\u7EDF\u6B63\u5728\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\u8BA1\u7B97\u63A8\u8350\u914D\u7F6E",xe.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(yt==null?void 0:yt.status)==0?xe.createElement(xe.Fragment,null,xe.createElement("div",{className:Re.recommend_config_introduce},xe.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),xe.createElement("div",null,"\u63A8\u8350\u914D\u7F6E\uFF1A\u7CFB\u7EDF\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\uFF0C\u8BA1\u7B97\u51FA\u63A8\u8350\u914D\u7F6E\u3002\u4F7F\u7528\u7684\u4EBA\u8D8A\u591A\uFF0C\u63A8\u8350\u8D8A\u51C6\u786E\u3002"),xe.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),xe.createElement("div",{className:Re.recommend_config},At.map((fr,lr)=>xe.createElement("div",{className:`${Re.recommend_config_item} ${fr==on?Re.recommend_config_active_item:""}`,key:fr,onClick:()=>Dt(fr)},xe.createElement("div",{className:Re.item_title},xe.createElement("div",null,fr),lr==1?xe.createElement("div",{className:Re.recommend_text},"\u63A8\u8350"):xe.createElement(xe.Fragment,null)),(fr=="\u5F53\u524D\u914D\u7F6E"&&(yt==null?void 0:yt.current)||fr=="\u63A8\u8350\u914D\u7F6E"&&(yt==null?void 0:yt.recommend)||fr=="\u589E\u5F3A\u914D\u7F6E"&&(yt==null?void 0:yt.high)||[]).map((Wa,Gr)=>xe.createElement("div",{className:Re.item_content,key:Gr},xe.createElement("span",null,Wa==null?void 0:Wa.image_name),Wa!=null&&Wa.cpu_limit?xe.createElement("span",null,Wa==null?void 0:Wa.cpu_limit,"\u6838",Wa==null?void 0:Wa.memory_limit,"G"):xe.createElement("div",null,xe.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),xe.createElement(Ce.Z,{title:xe.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",xe.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",xe.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},xe.createElement(lt.Z,{className:Re.tooltip})))))))),xe.createElement("div",{className:Re.recommend_config_footer},xe.createElement("div",null,xe.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),xe.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>gr()},"\u8054\u7CFB\u7BA1\u7406\u5458")),xe.createElement(ct.ZP,{type:"primary",shape:"round",disabled:on=="\u5F53\u524D\u914D\u7F6E",onClick:ur,loading:ht},"\u4E00\u952E\u5E94\u7528"))):Tn?xe.createElement("div",{style:{height:400}}):xe.createElement("div",{className:Re.no_data},xe.createElement("img",{src:$e,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),xe.createElement("p",{className:"mt20 mb20 font14",style:{color:"#7B8394",width:"100%",lineHeight:"26px"}},"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6CA1\u6709\u4EFB\u4F55\u4EBA\u4F7F\u7528\u8FC7\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u6839\u636E\u5B9E\u9645\u4F7F\u7528\u60C5\u51B5\u7ED9\u51FA\u63A8\u8350\u914D\u7F6E\u3002",xe.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(We==null?void 0:We.type)!="\u6311\u6218\u9875\u9762"&&xe.createElement("div",{className:Re.application,onClick:()=>{za(),De()}},"\u6A21\u62DF\u5B9E\u6218")))),xe.createElement(ke.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},xe.createElement(wt,{getApi:Nt,identifier:dt,visible:Rt,info:We})))))};var Lt=(0,un.connect)(({globalSetting:Tt,practiceSetting:Gt,shixunsDetail:en})=>({globalSetting:Tt,practiceSetting:Gt,shixunsDetail:en}))(Pt)},40151:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Be}});var ae=ue(59301),x=ue(43418),Oe=ue(3113),Ze=ue(8591),ke=ue(99313),et=ue(71418),Ce=ue(10311),ct=ue(5871),Re=ue(1710),Me={modal:"modal___aF6vS",con_warp:"con_warp___W1gHS",flex:"flex___Cbe__",config_Warp:"config_Warp___lXnUZ",config_btn:"config_btn___OAH7T",sceneList:"sceneList___N5Y3k",sceneItem:"sceneItem____bE1H",sceneItemActive:"sceneItemActive___e82B8"},lt=ue(11724),mt=ue(62772),$e=ue(82093),fe=ue(57884),a=ue(59301),E=Object.defineProperty,b=Object.defineProperties,y=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(rt,Xe,ut)=>Xe in rt?E(rt,Xe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):rt[Xe]=ut,de=(rt,Xe)=>{for(var ut in Xe||(Xe={}))ne.call(Xe,ut)&&ce(rt,ut,Xe[ut]);if(z)for(var ut of z(Xe))se.call(Xe,ut)&&ce(rt,ut,Xe[ut]);return rt},ye=(rt,Xe)=>b(rt,y(Xe)),Ae=(rt,Xe,ut)=>new Promise((mn,ln)=>{var En=Ea=>{try{Jt(ut.next(Ea))}catch(_t){ln(_t)}},vn=Ea=>{try{Jt(ut.throw(Ea))}catch(_t){ln(_t)}},Jt=Ea=>Ea.done?mn(Ea.value):Promise.resolve(Ea.value).then(En,vn);Jt((ut=ut.apply(rt,Xe)).next())}),Be=({visible:rt,onOk:Xe,onCancel:ut,info:mn})=>{var ln,En,vn,Jt,Ea;const[_t,an]=(0,ae.useState)("1"),[Nn,jn]=(0,ae.useState)([]),[pn,tt]=(0,ae.useState)([]),[st,wt]=(0,ae.useState)(0),[Ln,un]=(0,ae.useState)(null),[Un,Le]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{rt&&(xe(),Ve(),Pt())},[rt]);const xe=()=>{an("1"),jn([]),un(null),wt(0)};(0,ae.useEffect)(()=>{var We,dt;((dt=(We=pn==null?void 0:pn[st])==null?void 0:We.content)==null?void 0:dt.length)>0&&un(ye(de({},pn[st].content[0]),{index:0}))},[_t,st,pn]);const Ve=()=>Ae(void 0,null,function*(){Le(!0),yield(0,$e.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(We=>{let{max_cpu:dt,max_memory:Ot,min_cpu:$t,min_memory:Xt}=We,{cpu:Kt,memory:on}=mn;jn([{name:"CPU",value:Kt,min:$t,max:dt,typeName:"\u6838"},{name:"\u5185\u5B58",value:on,min:Xt,max:Ot,typeName:"GB"}])}),Le(!1)}),Pt=()=>Ae(void 0,null,function*(){yield(0,$e.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(We=>{var dt;if(tt(We),(We==null?void 0:We.length)>0){let Ot=ye(de({},(dt=We==null?void 0:We[0])==null?void 0:dt.content[0]),{index:0});un(Ot)}})}),Lt=We=>{an(We),We==="2"&&wt(0)},Tt=(We,dt)=>{jn(Nn.map(Ot=>Ot.name===We?dt(Ot):Ot))},Gt=(We,dt)=>{isNaN(We)||Tt(dt,Ot=>ye(de({},Ot),{value:We}))},en=We=>{var dt;if(console.log("decline",We.value),We.value=Number(We.value),We.value<=((dt=We.min)!=null?dt:-1/0))return;let Ot=We.value-.5ye(de({},$t),{value:Ot}))},Rn=We=>{var dt;if(We.value=Number(We.value),We.value>=((dt=We.max)!=null?dt:1/0))return;let Ot=We.value+.5>We.max?We.max:We.value+.5;Tt(We.name,$t=>ye(de({},$t),{value:Ot}))},Rt=(We,dt)=>{isNaN(We)||Tt(dt,Ot=>ye(de({},Ot),{value:We}))},De=We=>{if(We==null||Number.isInteger(We))return We;const dt=We%1;return dt===.5?We:Math.floor(We)+(dt<.5?.5:1)};return a.createElement(a.Fragment,null,a.createElement(x.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:rt,width:752,destroyOnClose:!0,centered:!0,onCancel:ut,className:Me.modal,footer:[a.createElement("div",{className:Me.btn_warp,key:"1"},a.createElement(Oe.ZP,{onClick:ut},"\u53D6\u6D88"),a.createElement(Oe.ZP,{type:"primary",onClick:()=>{let We=de({},mn);if(_t=="1")We.cpu=Nn[0].value,We.memory=Nn[1].value;else if(_t=="2"){if(!Ln){Ze.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}We=ye(de({},We),{cpu:Ln.cpu,memory:Ln.memory})}Xe(We)}},"\u4FDD\u5B58"))]},a.createElement(ke.default,{activeKey:_t,onChange:Lt},a.createElement(ke.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},a.createElement(et.Z,{spinning:Un},Nn==null?void 0:Nn.map(We=>a.createElement("div",{className:Me.con_warp,key:We==null?void 0:We.name},a.createElement("div",null,We==null?void 0:We.name),a.createElement("div",null,a.createElement(Ce.Z,{min:We==null?void 0:We.min,max:We==null?void 0:We.max,onChange:dt=>Gt(dt,We==null?void 0:We.name),value:We==null?void 0:We.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),a.createElement("div",{className:`${Me.config_Warp} ${Me.flex}`},a.createElement("div",{className:`${Me.config_btn} ${Me.flex}`,onClick:()=>en(We)},a.createElement(lt.Z,null)),a.createElement(ct.Z,{min:We==null?void 0:We.min,max:We==null?void 0:We.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:We==null?void 0:We.value,onChange:dt=>{const Ot=De(dt);Rt(Ot,We==null?void 0:We.name)}}),a.createElement("div",{className:`${Me.config_btn} ${Me.flex}`,onClick:()=>Rn(We)},a.createElement(mt.Z,null))),a.createElement("div",null,We==null?void 0:We.typeName))))),(pn==null?void 0:pn.length)>0&&a.createElement(ke.default.TabPane,{tab:"\u6309\u504F\u597D\u914D\u7F6E",key:2},a.createElement("div",{className:Me.sceneList},pn==null?void 0:pn.map((We,dt)=>a.createElement("div",{className:`${Me.sceneItem} ${st==dt&&Me.sceneItemActive}`,key:We==null?void 0:We.id,onClick:()=>{wt(dt)}},We==null?void 0:We.name))),((En=(ln=pn==null?void 0:pn[st])==null?void 0:ln.content)==null?void 0:En.length)>0?a.createElement(Re.default,{rowSelection:{type:"radio",selectedRowKeys:[Ln==null?void 0:Ln.index],onChange:(We,dt)=>{un(dt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(We,dt)=>a.createElement("div",null,We,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(We,dt)=>a.createElement("div",null,We,"GB")}],dataSource:(vn=pn==null?void 0:pn[st])==null?void 0:vn.content.map((We,dt)=>ye(de({},We),{index:dt})),rowKey:"index",pagination:!1,scroll:((Ea=(Jt=pn==null?void 0:pn[st])==null?void 0:Jt.content)==null?void 0:Ea.length)>3?{y:148}:{}}):a.createElement(fe.Z,null)))))}},22734:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(43418),Ze=ue(8591),ke=ue(3113),et=ue(24905),Ce=ue(5112),ct=ue(88522),Re=ue(49127),Me=ue(5083),lt=ue(5871),mt=ue(10527),$e=ue(84236),fe=ue(23869),a=ue(56656),E=ue.n(a),b={wrap:"wrap___LhoYE",labelWrap:"labelWrap___kKVu_",label:"label___we33R",labelContent:"labelContent___RWgKj",flexRow:"flexRow___WhVXT",color999:"color999___R1ot6",radio:"radio___S0Uhc",selectSchool:"selectSchool___egsX3",dataPicker:"dataPicker___zNtLB",modal:"modal___J1s9f",colorOrange:"colorOrange___NDyE2",colorYellow:"colorYellow___Ijswi",bottomButton:"bottomButton___sODGQ"},y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(Be,rt)=>{var Xe={};for(var ut in Be)z.call(Be,ut)&&rt.indexOf(ut)<0&&(Xe[ut]=Be[ut]);if(Be!=null&&y)for(var ut of y(Be))rt.indexOf(ut)<0&&ne.call(Be,ut)&&(Xe[ut]=Be[ut]);return Xe},ce=(Be,rt,Xe)=>new Promise((ut,mn)=>{var ln=Jt=>{try{vn(Xe.next(Jt))}catch(Ea){mn(Ea)}},En=Jt=>{try{vn(Xe.throw(Jt))}catch(Ea){mn(Ea)}},vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(ln,En);vn((Xe=Xe.apply(Be,rt)).next())});const de=Be=>{if(!Be)return Be;const rt=Be.split(":");if(rt[1]=="00"||rt[1]=="30")return Be;const Xe=parseInt(rt[1]);if(Xe<30||Xe==60)return[rt[0],"30"].join(":");if(Xe<60){const ut=[rt[0],"00"].join(":"),mn="YYYY-MM-DD HH:mm",ln=E()(ut,mn);return ln.add(1,"hours"),ln.format(mn)}return Be},ye="YYYY-MM-DD HH:mm",Ae=Be=>{var rt=Be,{shixunsDetail:Xe,globalSetting:ut,loading:mn,user:ln,dispatch:En}=rt,vn=se(rt,["shixunsDetail","globalSetting","loading","user","dispatch"]),Jt,Ea,_t,an,Nn,jn,pn,tt,st;const wt=(0,ae.useRef)(),[Ln,un]=(0,ae.useState)(),[Un,Le]=(0,ae.useState)(),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(""),[en,Rn]=(0,ae.useState)(),[Rt,De]=(0,ae.useState)(),[We,dt]=(0,ae.useState)(),[Ot,$t]=(0,ae.useState)(!1),Xt=(Ea=(Jt=ln.userInfo)==null?void 0:Jt.shixun)==null?void 0:Ea.editable;(0,ae.useEffect)(()=>{var ht,Ft;wt.current=(Ft=(ht=location.pathname)==null?void 0:ht.split("/"))==null?void 0:Ft[2],Kt()},[]),(0,ae.useEffect)(()=>{var ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Ja,gr,ur,za,Or;Xe.setting&&(un((Ft=(ht=Xe.setting)==null?void 0:ht.shixun)==null?void 0:Ft.can_copy),Le((sn=(Nt=Xe.setting)==null?void 0:Nt.shixun)==null?void 0:sn.use_scope),Rn(!!((Mt=(yt=Xe.setting)==null?void 0:yt.shixun)!=null&&Mt.opening_time)),De((zt=(Tn=Xe.setting)==null?void 0:Tn.shixun)==null?void 0:zt.opening_time),Ve((Ja=(na=Xe.setting)==null?void 0:na.shixun)==null?void 0:Ja.scope_partment),$t((ur=(gr=Xe.setting)==null?void 0:gr.shixun)==null?void 0:ur.use_ai),dt((Or=(za=Xe.setting)==null?void 0:za.shixun)==null?void 0:Or.git_size))},[Xe.setting]);const Kt=ht=>ce(void 0,null,function*(){const Ft=yield En({type:"shixunsDetail/getDepartments",payload:{q:ht}});Ft&&Lt(Ft.shools_name||[])}),on=()=>ce(void 0,null,function*(){var ht,Ft,Nt,sn,yt,Mt;const Tn=(yield En({type:"shixunsDetail/getShixunQuote",payload:{id:wt.current}}))||{};Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ae.createElement("div",{className:`tc font14 ${b.modal}`},!!((ht=Tn.subjects)!=null&&ht.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(Nt=(Ft=Tn.subjects)==null?void 0:Ft.splice(0,2))==null?void 0:Nt.map(zt=>`\u300A${zt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},Tn==null?void 0:Tn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ae.createElement("br",null)),!!((sn=Tn.courses)!=null&&sn.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Mt=(yt=Tn.courses)==null?void 0:yt.splice(0,2))==null?void 0:Mt.map(zt=>`\u300A${zt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},Tn==null?void 0:Tn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ae.createElement("br",null)),ae.createElement("span",{className:`${b.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>ce(void 0,null,function*(){(yield En({type:"shixunsDetail/deleteShixun",payload:{id:wt.current}})).status===1&&(Ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),x.history.push("/shixuns"))})})}),Dt=()=>{(0,fe.gy)(En,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},At=ht=>{if(xe.includes(ht)){Ze.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Gt(null),Ve([...xe,ht])},nn=()=>ce(void 0,null,function*(){if(en&&!Rt){Ze.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Un===1&&!xe.length){Ze.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield En({type:"shixunsDetail/updatePermissionSetting",payload:{id:wt.current,scope_partment:Un===0?null:xe,shixun:{can_copy:Ln,use_scope:Un,opening_time:Rt,use_ai:Ot,git_size:We}}})).status!==-1&&(Ze.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),En({type:"shixunsDetail/getSettingsData",payload:{id:wt.current}}),En({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.current}}))});return ae.createElement("div",null,ae.createElement("section",{className:b.wrap},ae.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((_t=Xe==null?void 0:Xe.detail)==null?void 0:_t.shixun_status)!==2?ae.createElement(ke.ZP,{danger:!0,onClick:on},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ae.createElement(ke.ZP,{danger:!0,onClick:Dt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u590D\u5236\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ln,onChange:ht=>un(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((an=Xe.detail)==null?void 0:an.shixun_status)>1||((Nn=Xe.detail)==null?void 0:Nn.public)===2)&&((pn=(jn=Xe.setting)==null?void 0:jn.shixun)==null?void 0:pn.use_scope)===0&&((tt=Xe.detail)==null?void 0:tt.identity)>2)&&ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement(Ce.ZP.Group,{value:Un,onChange:ht=>Le(ht.target.value),disabled:!Xt},ae.createElement(Ce.ZP,{className:b.radio,value:0},ae.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement(Ce.ZP,{className:b.radio,value:1},ae.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Un===1&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"mt10"},ae.createElement(ct.Z,{showSearch:!0,className:b.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Tt,onChange:ht=>{Gt(ht),Kt(ht)},disabled:!Xt,onSelect:At,options:Pt==null?void 0:Pt.map(ht=>({value:ht}))}),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement("div",{className:"mt10"},xe==null?void 0:xe.map(ht=>Xt?ae.createElement(Re.Z,{count:"x",className:"mr20 current",onClick:()=>Ve(xe.filter(Ft=>Ft!==ht))},ae.createElement(ke.ZP,{type:"primary",ghost:!0},ht)):ae.createElement(ke.ZP,{type:"primary",ghost:!0,className:"mr20"},ht)))))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:en,onChange:ht=>Rn(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),en&&ae.createElement(Me.default,{className:`${b.dataPicker} mt10`,format:ye,locale:mt.Z,disabled:!Xt,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:ht=>ht&&htDe(de(Ft))}))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"AI\u52A9\u6559:"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ot,onChange:ht=>$t(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u9664\u4E86\u9879\u76EE\u5408\u4F5C\u8005\u4E4B\u5916\u7684\u5176\u4ED6\u7528\u6237\u4F7F\u7528AI\u52A9\u6559\u667A\u80FD\u95EE\u7B54\u529F\u80FD\uFF09")))),((st=ln==null?void 0:ln.userInfo)==null?void 0:st.role)===1&&ae.createElement("div",{className:b.labelWrap,style:{alignItems:"center"}},ae.createElement("label",{className:b.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(lt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:We,onChange:ht=>{dt(ht)}}),ae.createElement("span",{className:"c-grey-999"}," M "))))),ae.createElement($e.t,{okText:"\u4FDD\u5B58",hasOkBtn:Xt,loading:mn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>x.history.push(`/shixuns/${wt.current}/challenges`),onOk:nn,className:b.bottomButton}))};var Ge=(0,x.connect)(({shixunsDetail:Be,loading:rt,globalSetting:Xe,user:ut})=>({shixunsDetail:Be,globalSetting:Xe,user:ut,loading:rt}))(Ae)},4737:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76560),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5966),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(22734),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(90524),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(23869),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(34055),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(21693),React=__webpack_require__(59301),__async=(we,St,ue)=>new Promise((ae,x)=>{var Oe=et=>{try{ke(ue.next(et))}catch(Ce){x(Ce)}},Ze=et=>{try{ke(ue.throw(et))}catch(Ce){x(Ce)}},ke=et=>et.done?ae(et.value):Promise.resolve(et.value).then(Oe,Ze);ke((ue=ue.apply(we,St)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=we=>{if(!we)return we;const St=we.split(":");if(St[1]=="00"||St[1]=="30")return we;const ue=parseInt(St[1]);if(ue<30||ue==60)return[St[0],"30"].join(":");if(ue<60){const ae=[St[0],"00"].join(":"),x="YYYY-MM-DD HH:mm",Oe=moment__WEBPACK_IMPORTED_MODULE_3___default()(ae,x);return Oe.add(1,"hours"),Oe.format(x)}return we};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=we=>__async(this,null,function*(){const St=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:we}});St&&setDepartmentList(St.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var we,St;(St=(we=shixunsDetail.setting)==null?void 0:we.shixun)!=null&&St.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=we=>{if(selectDepartmentList.includes(we)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,we])},handleInitState=()=>{var we,St,ue,ae,x,Oe,Ze,ke,et,Ce,ct,Re,Me,lt,mt,$e,fe,a,E,b,y,z,ne,se,ce,de,ye,Ae,Ge,Be,rt,Xe,ut,mn,ln,En,vn,Jt,Ea,_t,an,Nn,jn,pn,tt,st,wt;setCodeEditPermission((St=(we=shixunsDetail.setting)==null?void 0:we.shixun)==null?void 0:St.code_edit_permission),setAllowFileUpload((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.allow_file_upload),setCodeHidden((Oe=(x=shixunsDetail.setting)==null?void 0:x.shixun)==null?void 0:Oe.show_code_dir),setForbidCopy((ke=(Ze=shixunsDetail.setting)==null?void 0:Ze.shixun)==null?void 0:ke.forbid_copy),setTaskPass((Ce=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:Ce.task_pass),setTestSetPermission((Re=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Re.test_set_permission),set_display_git_address((Me=shixunsDetail.setting.shixun)==null?void 0:Me.display_git_address),setIsCopy((mt=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:mt.can_copy),setOpenValue((fe=($e=shixunsDetail.setting)==null?void 0:$e.shixun)==null?void 0:fe.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(b=shixunsDetail.setting)==null?void 0:b.shixun)!=null&&y.opening_time)),setOpenTime((ne=(z=shixunsDetail.setting)==null?void 0:z.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((ce=(se=shixunsDetail.setting)==null?void 0:se.shixun)==null?void 0:ce.scope_partment),setDisableDiscuss((ye=(de=shixunsDetail.setting)==null?void 0:de.shixun)==null?void 0:ye.is_disable_discuss),setdisableAI((Ge=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((rt=(Be=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:rt.resource_recommend),setOpenCodeDebugger((ut=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:ut.open_code_debugger),setStartPermanent((ln=(mn=shixunsDetail.setting)==null?void 0:mn.shixun)==null?void 0:ln.start_permanent),setOpenSelfRun((vn=(En=shixunsDetail.setting)==null?void 0:En.shixun)==null?void 0:vn.open_self_run),setgitSize((Ea=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:Ea.git_size),setcourse_workspace_file_time((an=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:an.course_workspace_file_time),setPodSwitch((jn=(Nn=shixunsDetail.setting)==null?void 0:Nn.shixun)==null?void 0:jn.exit_delete_pod_switch),setai_user((tt=(pn=shixunsDetail.setting)==null?void 0:pn.shixun)==null?void 0:tt.ai_user),setOpenLocalEvaluate((wt=(st=shixunsDetail.setting)==null?void 0:st.shixun)==null?void 0:wt.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((we,St)=>{var ue,ae;we!=((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.scope_partment[St])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(we=!1,St=1){return __async(this,null,function*(){var ue,ae;const x=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:we}});(x==null?void 0:x.status)===0&&((ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ae=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ae.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,St))})}const handleDeleteShixun=()=>__async(this,null,function*(){var we,St,ue,ae,x,Oe;const Ze=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((we=Ze.subjects)!=null&&we.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(ue=(St=Ze.subjects)==null?void 0:St.splice(0,2))==null?void 0:ue.map(ke=>`\u300A${ke}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Ze==null?void 0:Ze.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ae=Ze.courses)!=null&&ae.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Oe=(x=Ze.courses)==null?void 0:x.splice(0,2))==null?void 0:Oe.map(ke=>`\u300A${ke}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Ze==null?void 0:Ze.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(we){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(we),parseInt(we)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"#0A143D",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"#0A143D",marginTop:"30px",fontSize:"14px"},onClick:we=>{var St;if((St=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&St.confirmLeave){showExitmodel(we.key);return}setMenuSelectKey(we.key),parseInt(we.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:we=>setTaskPass(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:we=>setTestSetPermission(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:we=>setIsCopy(we.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:we=>setOpenValue(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:we=>{setDepartmentValue(we),handleGetDepartments(we)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(we=>({value:we}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(we=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(St=>St!==we))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},we)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},we)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:we=>setOpenAnswer(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:we=>{setIsOpenTime(we.target.checked),we.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:we=>we&&wesetOpenTime(handleDateString(St))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:we=>set_display_git_address(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:we=>{setCodeHidden(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:we=>{setCodeEditPermission(we.target.checked),we.target.checked||setAllowFileUpload(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:we=>{setAllowFileUpload(we.target.checked),we.target.checked&&setCodeEditPermission(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:we=>setForbidCopy(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"/pdf/\u5E73\u53F0\u8C03\u8BD5\u5668\u529F\u80FD\u64CD\u4F5C\u8BF4\u660E.pdf",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:we=>setOpenCodeDebugger(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:we=>setOpenSelfRun(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:we=>setOpenLocalEvaluate(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:we=>{setgitSize(we)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:we=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:we=>{setPodSwitch(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:we=>setDisableDiscuss(!we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:we=>{setresource_recommend(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:we=>{setai_user(we.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var we,St;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(we=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&we.is_fork_from_creator&&((St=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&St.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(ue,ae)=>{handSubmeit(ue,ae)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:we,shixunsDetail:St,practiceSetting:ue})=>({user:we,shixunsDetail:St,practiceSetting:ue}))(Setting)},26595:function(we,St,ue){"use strict";ue.r(St),ue.d(St,{default:function(){return co}});var ae=ue(59301),x={flex_box_center:"flex_box_center___bPWMH",flex_space_between:"flex_space_between___fjQJK",flex_box_vertical_center:"flex_box_vertical_center___WWAEa",flex_box_center_end:"flex_box_center_end___mQNLW",flex_box_column:"flex_box_column___lOsG0",menu:"menu___szqfh",warehouse:"warehouse___SVzfZ",header:"header___DfoMH",title:"title___y2IOb",content:"content___pGWUf",left:"left___eYHD7",right:"right___RbSHM",loading:"loading___g8ST2",empty:"empty___JqJWS",tabs:"tabs___fuMob",line:"line___Wav7D",footer:"footer___xymfv",commit:"commit___ZwkDv",blueLight:"blueLight___f52KB",filePathWrp:"filePathWrp____p6mm",filePath:"filePath___qkzoJ",bottom0:"bottom0___MrVME"},Oe=ue(76560),Ze=ue(99313),ke=ue(6848),et=ue(8591),Ce=ue(20834),ct=ue(95237),Re=ue(43604),Me=ue(38854),lt=ue(43418),mt=ue(71418),$e=ue(3113),fe=ue(17574),a=ue(78673),E=ue(56102),b=ue(78241),y=ue(92832),z={wrap:"wrap___yTLAj",modal:"modal___B3dwx",title:"title___FHscn",path:"path___o7aJh",colorBlue:"colorBlue___p4I9Y",width240:"width240___UNGpD",filePath:"filePath___uTJLX"},ne=Object.defineProperty,se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ye=(xt,qe,He)=>qe in xt?ne(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Ae=(xt,qe)=>{for(var He in qe||(qe={}))ce.call(qe,He)&&ye(xt,He,qe[He]);if(se)for(var He of se(qe))de.call(qe,He)&&ye(xt,He,qe[He]);return xt},Ge=(xt,qe)=>{var He={};for(var Vt in xt)ce.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&se)for(var Vt of se(xt))qe.indexOf(Vt)<0&&de.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Be=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const rt=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:Ca}=qe,rn=Ge(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),zr=(0,Oe.useParams)(),[ho,zo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[Za]=b.default.useForm(),[Cr,Lr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&Za.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const Ka=sessionStorage.getItem("pathArray");if(Ka){const Ha=Ka.split(",").join("/"),mr=Ha.indexOf("/")===0?Ha.substr(1):Ha;Lr(mr)}},[]),(0,ae.useEffect)(()=>{var Ka,Ha;cr.current=(Ha=(Ka=da.pathname)==null?void 0:Ka.split("/"))==null?void 0:Ha[2]},[]);const Mr=(...Ka)=>Be(void 0,[...Ka],function*(Ha={}){const mr=yield xn({type:"shixunsDetail/addRepositoryFile",payload:{id:zr.id,message:Ha.commitMessage,content:"",path:(rn.defaultPath?rn.defaultPath+"/":"")+Ha.path+"/"+(Ha.file||".gitkeep"),secret_repository:Ca?void 0:!0}});mr!=null&&mr.url&&(et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:(rn.defaultPath?rn.defaultPath+"/":"")+Ha.path+"/"+(Ha.file||".gitkeep"),name:Ha.path.split("/")[Ha.path.split("/").length-1]}),rn.onClose())}),jr=()=>{var Ka,Ha;Oe.history.push(`/shixuns/${cr.current}/${(Ha=(Ka=da.pathname)==null?void 0:Ka.split("/"))==null?void 0:Ha[3]}${Cr?`/master/shixun_show/${Cr}`:""}`)};return ae.createElement(lt.default,{width:"60%",centered:!0,open:rn.visible,wrapClassName:z.modal,onOk:()=>{Za.submit()},onCancel:rn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},ae.createElement("section",{className:z.bg},ae.createElement("div",{className:z.wrap},ae.createElement(b.default,{className:"mt10",form:Za,scrollToFirstError:!0,layout:"vertical",onFinish:Mr,onChange:()=>{var Ka,Ha,mr,_r;const Kr=Ae({},Za.getFieldsValue()),pr=(Ka=Kr==null?void 0:Kr.path)==null?void 0:Ka.split(""),Pa=(Ha=Kr==null?void 0:Kr.file)==null?void 0:Ha.split("");(mr=pr==null?void 0:pr.filter(ta=>ta=="/"))!=null&&mr.length&&(Kr.path=Kr.path.substring(0,Kr.path.length-1)),(_r=Pa==null?void 0:Pa.filter(ta=>ta=="/"))!=null&&_r.length&&(Kr.file=Kr.file.substring(0,Kr.path.length-1)),Za.setFieldsValue(Ae({},Kr)),zo(Kr)}},ae.createElement(b.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},ae.createElement(ct.Z,null,ae.createElement(Re.Z,null,ae.createElement("span",{className:z.filePath},rn.defaultPath+"/")),ae.createElement(Re.Z,{flex:"1"},ae.createElement(b.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),ae.createElement(b.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),ae.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var Xe=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(rt),ut=ue(44905),mn=ue(21693),ln=ue(59301),En=Object.defineProperty,vn=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,_t=(xt,qe,He)=>qe in xt?En(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,an=(xt,qe)=>{for(var He in qe||(qe={}))Jt.call(qe,He)&&_t(xt,He,qe[He]);if(vn)for(var He of vn(qe))Ea.call(qe,He)&&_t(xt,He,qe[He]);return xt},Nn=(xt,qe)=>{var He={};for(var Vt in xt)Jt.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&vn)for(var Vt of vn(xt))qe.indexOf(Vt)<0&&Ea.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},jn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const pn=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:Ca}=qe,rn=Nn(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),zr=(0,Oe.useParams)(),[ho,zo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[Za]=b.default.useForm(),[Cr,Lr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&Za.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const Ka=sessionStorage.getItem("pathArray");if(Ka){const Ha=Ka.split(",").join("/"),mr=Ha.indexOf("/")===0?Ha.substr(1):Ha;Lr(mr)}},[]),(0,ae.useEffect)(()=>{var Ka,Ha;cr.current=(Ha=(Ka=da.pathname)==null?void 0:Ka.split("/"))==null?void 0:Ha[2]},[]);const Mr=(...Ka)=>jn(void 0,[...Ka],function*(Ha={},mr=!1,_r=1){var Kr,pr;const Pa=yield xn({type:"shixunsDetail/addRepositoryFile",payload:{id:zr.id,message:Ha.commitMessage,content:Ha.codeMirror,path:(rn.defaultPath?rn.defaultPath+"/":"")+Ha.path,secret_repository:Ca?void 0:!0,sync_origin_shixun:mr}});Pa!=null&&Pa.url&&((Kr=He==null?void 0:He.detail)!=null&&Kr.copy_for_exercise||et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:(rn.defaultPath?rn.defaultPath+"/":"")+Ha.path,name:Ha.path.split("/")[Ha.path.split("/").length-1]}),rn.onClose()),(pr=He==null?void 0:He.detail)!=null&&pr.copy_for_exercise&&(0,mn.m)(xn,He,zr.id,_r)}),jr=()=>{var Ka,Ha;Oe.history.push(`/shixuns/${cr.current}/${(Ha=(Ka=da.pathname)==null?void 0:Ka.split("/"))==null?void 0:Ha[3]}${Cr?`/master/shixun_show/${Cr}`:""}`)};return ln.createElement(lt.default,{width:"60%",open:rn.visible,wrapClassName:z.modal,destroyOnClose:!0,centered:!0,onOk:()=>{Za.submit()},onCancel:rn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},ln.createElement("section",{className:z.bg},ln.createElement("div",{className:z.wrap},ln.createElement(b.default,{className:"mt10",form:Za,scrollToFirstError:!0,layout:"vertical",onFinish:Ka=>{var Ha,mr;(Ha=He==null?void 0:He.detail)!=null&&Ha.is_fork_from_creator&&((mr=He==null?void 0:He.detail)!=null&&mr.copy_for_exercise)?(rn.onClose(),xn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:Ka,type:"wareHouse",fn:(_r,Kr,pr)=>{Mr(_r,Kr,pr)}}})):Mr(Ka)},onChange:()=>{var Ka,Ha;const mr=an({},Za.getFieldsValue()),_r=(Ka=mr==null?void 0:mr.path)==null?void 0:Ka.split("");((Ha=_r==null?void 0:_r.filter(Kr=>Kr=="/"))==null?void 0:Ha.length)>1&&(mr.path=mr.path.substring(0,mr.path.length-1)),Za.setFieldsValue(an({},mr)),zo(mr)}},ln.createElement(b.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},ln.createElement(ct.Z,null,ln.createElement(Re.Z,null,ln.createElement("span",{className:z.filePath},rn.defaultPath+"/")),ln.createElement(Re.Z,{flex:"1"},ln.createElement(b.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ln.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),ln.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ln.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),ln.createElement("div",{className:"mt10 mb20"},ln.createElement(b.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},ln.createElement(ut.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var tt=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(pn),st=Object.defineProperty,wt=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Un=(xt,qe,He)=>qe in xt?st(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Le=(xt,qe)=>{for(var He in qe||(qe={}))Ln.call(qe,He)&&Un(xt,He,qe[He]);if(wt)for(var He of wt(qe))un.call(qe,He)&&Un(xt,He,qe[He]);return xt},xe=(xt,qe)=>{var He={};for(var Vt in xt)Ln.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&wt)for(var Vt of wt(xt))qe.indexOf(Vt)<0&&un.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Ve=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const Pt=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:Ca}=qe,rn=xe(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),zr=(0,Oe.useParams)(),[ho,zo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[Za]=b.default.useForm(),[Cr,Lr]=(0,ae.useState)(""),[Mr,jr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&Za.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const mr=rn.defaultPath.split("/");mr.length===1?(Lr(""),jr(rn.defaultPath)):(jr(mr.pop()),Lr(mr.join("/")+"/"))},[rn.defaultPath]),(0,ae.useEffect)(()=>{var mr,_r;cr.current=(_r=(mr=da.pathname)==null?void 0:mr.split("/"))==null?void 0:_r[2]},[]);const Ka=(...mr)=>Ve(void 0,[...mr],function*(_r={}){const Kr=yield xn({type:"shixunsDetail/moveGitFile",payload:{id:zr.id,from:rn.defaultPath,to:Cr+_r.path,message:_r.commitMessage||`${rn.defaultPath} rename to ${Cr}${_r.path} `,secret_repository:Ca}});(Kr==null?void 0:Kr.status)===0&&(et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:_r.path,name:_r.path}),rn.onClose())}),Ha=()=>{var mr,_r;Oe.history.push(`/shixuns/${cr.current}/${(_r=(mr=da.pathname)==null?void 0:mr.split("/"))==null?void 0:_r[3]}${Cr?`/master/shixun_show/${Cr}`:""}`)};return ae.createElement(lt.default,{width:"40%",open:rn.visible,wrapClassName:z.modal,centered:!0,onOk:()=>{Za.submit()},onCancel:rn.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},ae.createElement("section",{className:z.bg},ae.createElement("div",{className:z.wrap},ae.createElement(b.default,{className:"mt10",form:Za,scrollToFirstError:!0,layout:"vertical",onFinish:Ka,onChange:()=>{var mr,_r;const Kr=Le({},Za.getFieldsValue()),pr=(mr=Kr==null?void 0:Kr.path)==null?void 0:mr.split("");((_r=pr==null?void 0:pr.filter(Pa=>Pa=="/"))==null?void 0:_r.length)>1&&(Kr.path=Kr.path.substring(0,Kr.path.length-1)),Za.setFieldsValue(Le({},Kr)),zo(Kr)}},ae.createElement(b.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},ae.createElement(ct.Z,null,ae.createElement(Re.Z,{flex:"1"},ae.createElement(b.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:Mr}))))),ae.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},ae.createElement(y.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${rn.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var Lt=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(Pt),Tt=ue(90524),Gt=ue(82093),en=ue(54580),Rn=ue(17826),Rt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},De=ue(59301),We=Object.defineProperty,dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Xt=(xt,qe,He)=>qe in xt?We(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Kt=(xt,qe)=>{for(var He in qe||(qe={}))Ot.call(qe,He)&&Xt(xt,He,qe[He]);if(dt)for(var He of dt(qe))$t.call(qe,He)&&Xt(xt,He,qe[He]);return xt},on=(xt,qe)=>{var He={};for(var Vt in xt)Ot.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&dt)for(var Vt of dt(xt))qe.indexOf(Vt)<0&&$t.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Dt=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const{Dragger:At}=en.default,nn=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:Ca}=qe,rn=on(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),zr=(0,Oe.useParams)(),[ho,zo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[Za]=b.default.useForm(),[Cr,Lr]=(0,ae.useState)([]),[Mr,jr]=(0,ae.useState)();let Ka;(0,ae.useEffect)(()=>{rn.visible&&(Za.resetFields(),Lr([]))},[rn.visible]),(0,ae.useEffect)(()=>{cr.current=zr.id},[]),(0,ae.useEffect)(()=>{const Pa=sessionStorage.getItem("pathArray");if(Pa){const ta=Pa.split(",").join("/"),Ta=ta.indexOf("/")===0?ta.substr(1):ta;jr(Ta)}},[]);const Ha=Pa=>{var ta,Ta,kr,Eo;if(Ka=Pa.file.name,Pa.file.status==="done"||Pa.file.status==="uploading"){if(Lr(Pa.fileList),!Pa.file.response)return;if(((ta=Pa.file.response)==null?void 0:ta.status)===0){(Ta=He==null?void 0:He.detail)!=null&&Ta.copy_for_exercise||(et.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Za.validateFields());return}Lr(Cr.filter(jo=>jo.uid!==Pa.file.uid)),(kr=Pa.file.response)!=null&&kr.message&&et.ZP.info((Eo=Pa.file.response)==null?void 0:Eo.message)}},mr=Pa=>Dt(void 0,null,function*(){if(!Pa.response){et.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield xn({type:"shixunsDetail/deleteGitFile",payload:{id:zr.id,path:Mr?`${Mr}/${Pa.name}`:Pa.name,message:Za.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${Mr?`${Mr}/${Pa.name}`:Pa.name}`,secret_repository:Ca?null:!0}})).status===0&&(Lr(Cr.filter(Ta=>Ta.uid!==Pa.uid)),et.ZP.info("\u5220\u9664\u6210\u529F"))}),_r={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!Za.getFieldValue("commitMessage"),data:()=>Dt(void 0,null,function*(){return new Promise((Pa,ta)=>Dt(void 0,null,function*(){setTimeout(()=>Dt(void 0,null,function*(){const Ta=yield Za.getFieldsValue(),kr=Kt(Kt({},{path:rn.defaultPath?rn.defaultPath:"",message:ho.commitMessage||`\u4E0A\u4F20\u4E86${Ka}`}),Ca?{}:{secret_repository:!0});Pa(kr)}),200)}))}),fileList:Cr,method:"post",action:`${Tt.Z.API_SERVER}/api/shixuns/${cr.current}/upload_git_file.json`,onChange:Ha,onRemove:mr,beforeUpload:Pa=>(Ka=Pa.name,Pa.size/1024/1024>50?(et.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Kr=(Pa=!1,ta=1)=>Dt(void 0,null,function*(){var Ta;const kr=Kt(Kt({},{path:rn.defaultPath?rn.defaultPath:"",message:ho.commitMessage||`\u4E0A\u4F20\u4E86${Ka}`}),Ca?{}:{secret_repository:!0});for(let Eo=0;Eo{jo.append(Qo,kr[Qo].toString())});const _o=yield(0,Gt.ZP)(`/api/shixuns/${cr.current}/upload_git_file.json`,{method:"post",body:jo},!0)}rn.onClose(),rn.onOK({path:rn.defaultPath}),pr(),(Ta=He==null?void 0:He.detail)!=null&&Ta.copy_for_exercise&&(0,mn.m)(xn,He,zr.id,ta)}),pr=()=>{var Pa,ta;Oe.history.push(`/shixuns/${cr.current}/${(ta=(Pa=da.pathname)==null?void 0:Pa.split("/"))==null?void 0:ta[3]}${Mr?`/master/shixun_show/${Mr}`:""}`)};return De.createElement(lt.default,{open:rn.visible,onOk:Pa=>{Za.submit()},centered:!0,onCancel:rn.onClose,width:"70%"},De.createElement("section",{className:Rt.bg},De.createElement("div",{className:Rt.wrap},De.createElement("div",{className:Rt.title},"\u4E0A\u4F20\u6587\u4EF6"),De.createElement(b.default,{className:"mt10",form:Za,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Dt(void 0,null,function*(){var Pa,ta;yield Za.validateFields(),(Pa=He==null?void 0:He.detail)!=null&&Pa.is_fork_from_creator&&((ta=He==null?void 0:He.detail)!=null&&ta.copy_for_exercise)?(rn.onClose(),xn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Ta,kr)=>{Kr(Ta,kr)}}})):Kr()}),onValuesChange:()=>zo(Kt({},Za.getFieldsValue()))},De.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},De.createElement(y.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),De.createElement(b.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(Pa,ta){return(Cr==null?void 0:Cr.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},De.createElement("div",{onClick:()=>{if(!Za.getFieldValue("commitMessage")){et.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},De.createElement(At,Kt({},_r),De.createElement("div",null,De.createElement("i",{className:`iconfont icon-shangchuan font50 ${Rt.colorBlue}`})),De.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",De.createElement("span",{className:`${Rt.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),De.createElement(Rn.Z,{onFinish:Pa=>jr(Pa)})))};var ht=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(nn),Ft={flex_box_center:"flex_box_center___UqJuy",flex_space_between:"flex_space_between___kWKf7",flex_box_vertical_center:"flex_box_vertical_center___nu70j",flex_box_center_end:"flex_box_center_end___NpRXJ",flex_box_column:"flex_box_column___mXaJ7",headLeft:"headLeft___CFA1O",colorBlue:"colorBlue___tdx2e",wrap:"wrap___Q6mHI",nodata:"nodata___f2U7q",nodataText:"nodataText___UUFGT",content:"content___nlH4h",gitCode:"gitCode___jaHbo",ellipsis:"ellipsis___wqs5z",menu:"menu___E01hA",overlayClass:"overlayClass___LrvQr",tips:"tips___XoHVF",gitTree:"gitTree___VsBuj"},Nt={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},sn=Object.defineProperty,yt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,zt=(xt,qe,He)=>qe in xt?sn(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,na=(xt,qe)=>{for(var He in qe||(qe={}))Mt.call(qe,He)&&zt(xt,He,qe[He]);if(yt)for(var He of yt(qe))Tn.call(qe,He)&&zt(xt,He,qe[He]);return xt},Ja=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const gr=({shixunsDetail:xt,globalSetting:qe,loading:He,dispatch:Vt,title:Mn,pathList:pa=[],showInputPath:xn=!1,isMergeSelectFile:Ca=!1,onFinish:rn=()=>{}})=>{const[da]=b.default.useForm(),zr=(0,Oe.useParams)(),ho=(0,Oe.useLocation)(),zo=(0,ae.useRef)(),[cr,Za]=(0,ae.useState)(""),[Cr,Lr]=(0,ae.useState)(""),[Mr,jr]=(0,ae.useState)([]),[Ka,Ha]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var ta,Ta;zo.current=((Ta=(ta=ho.pathname)==null?void 0:ta.split("/"))==null?void 0:Ta[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(xt.actionTabs.key!=="Repository-SelectFilePath")return;const ta=pa.join("/");let Ta=[];pa.map((kr,Eo)=>{Eo===0?Ta.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${kr}`,path:ta}):Ta.push({val:`/${kr}`,path:ta})}),jr(Ta),Za(ta),Lr(ta),mr(ta)},[xt.actionTabs.key]);const mr=ta=>Ja(void 0,null,function*(){const Ta=yield Vt({type:zo.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:zr.id,path:ta}});Ta&&Ha(Ta.trees||[])}),_r=ta=>{let Ta=cr;ta.type==="tree"&&(Mr.length?Mr.push({val:`/${ta.name}`,path:ta.name}):Mr.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${ta.name}`,path:ta.name}),jr(Mr),Ta=cr?`${cr}/${ta.name}`:ta.name,Za(Ta)),mr(Ta)},Kr=(ta,Ta)=>{const kr=Mr.filter((jo,_o)=>_o<=Ta);jr(kr);const Eo=kr.filter((jo,_o)=>_o!==0).map(jo=>jo.val).join("").substr(1);Za(Eo),mr(Eo)},pr=()=>Ja(void 0,null,function*(){const ta=da==null?void 0:da.getFieldsValue(),Ta=cr?`${cr}${ta!=null&&ta.name?`/${ta==null?void 0:ta.name}`:""}`:ta==null?void 0:ta.name;if(Ca){rn(Ta),Pa();return}if(xn){yield da.validateFields();const kr=yield Vt({type:"shixunsDetail/uploadGitFolder",payload:na(na({},{id:zr.id,path:Ta}),zo.current?{}:{secret_repository:!0})});rn(Cr),kr.status===0&&et.ZP.info("\u65B0\u5EFA\u6210\u529F")}else rn(Ta),et.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");Pa()}),Pa=()=>{Vt({type:"shixunsDetail/setActionTabs",payload:{}}),da.resetFields()};return ae.createElement(lt.default,{centered:!0,title:Mn||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:xt.actionTabs.key==="Repository-SelectFilePath",onOk:pr,onCancel:Pa},ae.createElement("div",{className:Nt.wrap},ae.createElement("div",{className:Nt.content},ae.createElement("div",{className:Nt.mainPathWrap},!!(Mr!=null&&Mr.length)&&Mr.map((ta,Ta)=>ae.createElement("a",{key:Ta,onClick:()=>Kr(ta,Ta)},ta.val))),!!(Ka!=null&&Ka.length)&&Ka.map((ta,Ta)=>ta.type==="tree"&&ae.createElement("a",{key:Ta,onClick:()=>_r(ta)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Nt.colorBlue}`}),ta.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},cr),xn&&ae.createElement(b.default,{form:da,scrollToFirstError:!0,className:"mt20"},ae.createElement(b.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var ur=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He})=>({shixunsDetail:xt,globalSetting:He,loading:qe.models.index}))(gr),za=ue(18785),Or=ue(84105),yr=ue(67135),or=ue(49661),fr=ue(23869),lr=ue(854),Wa=Object.defineProperty,Gr=Object.defineProperties,Br=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Ut=(xt,qe,He)=>qe in xt?Wa(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,fn=(xt,qe)=>{for(var He in qe||(qe={}))bn.call(qe,He)&&Ut(xt,He,qe[He]);if(bt)for(var He of bt(qe))On.call(qe,He)&&Ut(xt,He,qe[He]);return xt},Hn=(xt,qe)=>Gr(xt,Br(qe)),ma=(xt,qe)=>{var He={};for(var Vt in xt)bn.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&bt)for(var Vt of bt(xt))qe.indexOf(Vt)<0&&On.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Qe=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const{DirectoryTree:gt}=fe.default,it=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,activeKey:xn,dispatch:Ca,practiceSetting:rn,isRepository:da,treeData:zr,setTreeData:ho}=qe,zo=ma(qe,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),cr,Za,Cr,Lr,Mr,jr,Ka;const Ha=(0,Oe.useParams)(),mr=(0,Oe.useLocation)(),[_r,Kr]=(0,ae.useState)(),[pr,Pa]=(0,ae.useState)(!1),[ta,Ta]=(0,ae.useState)(!1),[kr,Eo]=(0,ae.useState)(!1),[jo,_o]=(0,ae.useState)(!1),[Qo,El]=(0,ae.useState)("");let[Aa,ql]=(0,ae.useState)([]),[ru,Iu]=(0,ae.useState)([]);const[ou,ar]=(0,ae.useState)([]),[ga,ia]=(0,ae.useState)(!1),[Sa,$r]=(0,ae.useState)(),[Co,Ho]=(0,ae.useState)(),[hr,Wr]=(0,ae.useState)(""),[vo,Jr]=(0,ae.useState)(),[Io,il]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{ho([]),Tl(""),localStorage.warehouseHideTip||ia(!0)},[mr.pathname,da]);const $o=(ba="")=>Qe(void 0,null,function*(){(yield(0,yr.Zt)({id:Ha.id,secret_dir_path:ba}))&&Jr(ba)}),Eu=ba=>{var Vr;return ae.createElement(Ce.default,{className:Ft.menu,onClick:Hr=>{switch(El(ba.path||""),Hr.key){case"1":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),Pa(!0);break;case"2":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),Eo(!0);break;case"3":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),_o(!0);break;case"4":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Ta(!0);break;case"5":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),Nu(ba.path,ba.name,ba);break;case"6":(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),kl(ba);break}}},(ba.type==="topTree"||ba.type==="tree")&&ae.createElement(Ce.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(ba.type==="topTree"||ba.type==="tree")&&ae.createElement(Ce.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(ba.type==="topTree"||ba.type==="tree")&&ae.createElement(Ce.default.Item,{key:"3"},"\u4E0A\u4F20"),ba.type!=="topTree"&&ba.type!=="tree"&&((Vr=He==null?void 0:He.detail)==null?void 0:Vr.public)<2&&ae.createElement(Ce.default.Item,{key:"4"},"\u91CD\u547D\u540D"),ba.type!=="topTree"&&ae.createElement(E.CopyToClipboard,{text:`/data/workspace/myshixun/${da?"":"secret/"}${ba==null?void 0:ba.path}`,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement(Ce.default.Item,{key:"6"},ae.createElement(ae.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),ba.type!=="topTree"&&ae.createElement(Ce.default.Item,{key:"5"},"\u5220\u9664"))},Pu=(ba,Vr)=>ba.map(Hr=>(Vr==""?Hr.path=Vr+Hr.name:Hr.path=Vr+"/"+Hr.name,Hr.title=ae.createElement(ct.Z,{className:"font14"},ae.createElement(Re.Z,{flex:"1"},ae.createElement(ct.Z,null,Hr.type==="blob"&&ae.createElement(Re.Z,{flex:"20px",style:{marginLeft:-20}},ae.createElement("span",{className:"iconfont icon-wenjian11 font12"})),ae.createElement(Re.Z,{flex:"1"},ae.createElement("span",{className:" multi_ellipsis1"},Hr.name)))),ae.createElement(Re.Z,null,(Hr.type==="blob"||Hr.type==="tree")&&ae.createElement(Me.Z,{dropdownRender:()=>Eu(Hr),className:Ft.ellipsis},ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Hr.disableCheckbox=_r&&_r!==Hr.name,Hr.className=Hr.type==="tree"?Ft.pl23:"",Hr.checkable=Hr.type!=="tree",Hr.isLeaf=Hr.type!=="tree",Hr.children=Hr.type==="tree"&&[],Hr.key=Hr.path,Hr)),Ql=ba=>{Ca({type:"practiceSetting/setSideBarTabs",payload:{selectPath:ba}})},_u=(ba,Vr)=>Qe(void 0,null,function*(){const Hr=ba.split("/");yield Tl(Qo),setTimeout(()=>{Ql(ba),Aa=[Hr[0]||""],ru=[ba],Iu([...ru]),ql([...Aa])},150)}),sl=(ba,Vr)=>{if(Vr=="")zr=[...ba],ho([...ba]);else{let Hr=zu(zr,Vr,ba);zr=Hr,ho([...Hr])}};function zu(ba,Vr,Hr){return ba.map(Po=>Po.key===Vr?(Po.children=[...Hr],fn({},Po)):Po.children?Hn(fn({},Po),{children:zu(Po.children,Vr,Hr)}):Po)}const Tl=(ba="")=>Qe(void 0,null,function*(){var Vr,Hr;const Po=yield Ca({type:da?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Ha.id,path:ba}});if(Po){if((Vr=Po.trees)!=null&&Vr.length){let yl=Pu([...Po.trees],ba);sl(yl,ba),ar(Po.trees||[]),Ho(ba||""),console.log("handleGetRepository:",yl,ba),setTimeout(()=>console.log(zr,Po.trees,ba,999999),2e3)}else ba==""&&ho([]);$r(((Hr=Po.commits)==null?void 0:Hr[0])||{})}return Po}),lu=ba=>Qe(void 0,null,function*(){return new Promise((Vr,Hr)=>Qe(void 0,null,function*(){ba.children.length&&Vr(),Wr(ba.path),yield Tl(ba.path),Vr()}))}),Gu=(ba,Vr)=>Qe(void 0,null,function*(){var Hr;console.log("handleSelectTree",ba,Vr.nativeEvent.target.nodeName,Vr);const Po=()=>{Ql(Vr.node.path),ba=[Vr.node.path],Iu([...ba])};Vr.nativeEvent.target.nodeName==="svg"||Vr.nativeEvent.target.nodeName==="LI"||Vr.nativeEvent.target.nodeName==="I"||Vr.node.type==="blob"&&((Hr=rn==null?void 0:rn.sideBar)!=null&&Hr.confirmLeave?lt.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Po(),Ca({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Po())}),Nu=(ba,Vr,Hr)=>{lt.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Hr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Qe(void 0,null,function*(){const Po=yield Ca({type:"shixunsDetail/deleteGitFile",payload:{id:Ha.id,path:ba,message:`\u5220\u9664${ba}`,secret_repository:da?null:!0}});let yl=ba.split("/");if((Po==null?void 0:Po.status)===0){et.ZP.info("\u5220\u9664\u6210\u529F"),yl.splice(yl.length-1,1);const $u=yield Tl(yl.length>1?yl.join("/"):"");return $u!=null&&$u.trees||(yl.splice(yl.length-1,1),yield Tl(yl.length>1?yl.join("/"):"")),Ql(""),!0}else(Po==null?void 0:Po.status)===-3?lt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ae.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",ba,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Ha.id}/edit/${Po==null?void 0:Po.message}/tab=2`}}):(Po==null?void 0:Po.status)===-4&<.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ae.createElement("div",null,Po==null?void 0:Po.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Ha.id}/edit?tabId=service`}})})})},kl=ba=>{console.log(ba,"item")},xi=(ba,Vr)=>Qe(void 0,null,function*(){if(console.log("handleExpand",Vr),Vr.nativeEvent.target.nodeName==="svg"||Vr.nativeEvent.target.nodeName==="path"||Vr.nativeEvent.target.nodeName==="LI")return!0;yield lu(Vr.node),Aa.includes(Vr.node.path)?Aa.splice(Aa.indexOf(Vr.node.path),1):Aa.push(Vr.node.path),ql([...Aa])}),oi=()=>{ia(!1),localStorage.warehouseHideTip=!0},xu=ba=>Qe(void 0,null,function*(){var Vr;let Hr,Po="",yl,$u;switch(da){case!0:Po="\u5F00\u542F\u7248\u672C\u5E93",yl="\u5F00\u542F",$u="\u4E0D\u5F00\u542F",Hr=ae.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(Vr=He==null?void 0:He.detail)!=null&&Vr.secret_repository?(Po="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",yl="\u786E\u5B9A",$u="\u53D6\u6D88",Hr=ae.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Po="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",yl="\u4E0D\u4F7F\u7528",$u="\u4F7F\u7528",Hr=ae.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!da&&(0,fr.gy)(Ca,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||lt.default.confirm({title:Po,okText:yl,cancelText:$u,content:Hr,onOk:()=>{var cl;(0,or.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Po]),!da&&!((cl=He==null?void 0:He.detail)!=null&&cl.secret_repository)||Uu(ba)},onCancel:()=>{var cl;!da&&!((cl=He==null?void 0:He.detail)!=null&&cl.secret_repository)&&Uu(ba)}})}),Uu=ba=>Qe(void 0,null,function*(){da?(yield(0,yr.h4)(fn({},Ha)),Ca({type:"practiceSetting/getCommonData",payload:fn({},Ha)})):yield(0,yr.K0)(Hn(fn({},Ha),{is_secret_repository:ba})),Tl(),Ca({type:"shixunsDetail/getShixunsDetail",payload:{id:Ha.id}})}),vi=ba=>{console.log(ba)},pi=ba=>Qe(void 0,null,function*(){console.log(ba);const Vr=ba.node.key,Hr=ba.dragNode.key,Po=ba.node.pos.split("-"),yl=ba.dropPosition-Number(Po[Po.length-1]);if(ba.dragNode.type==="tree"){et.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(ba.node.type!=="tree"){et.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield Ca({type:"shixunsDetail/moveGitFile",payload:fn({id:Ha.id,from:ba.dragNode.path,to:ba.node.path+"/"+ba.dragNode.name,message:`${ba.dragNode.path} move to ${ba.node.path+"/"+ba.dragNode.name} `},da?{}:{secret_repository:!0})})).status===0){Ql(""),yield Tl("");for(let Jo=0;JoEu({type:"topTree"}),className:"current"},ae.createElement(ke.Z,{open:ga,title:ae.createElement("div",{className:"font16"},ae.createElement(za.Z,{style:{position:"relative",left:-35},onClick:()=>oi()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",ae.createElement("span",{onClick:()=>oi(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:Ft.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},da&&((Lr=He==null?void 0:He.detail)==null?void 0:Lr.init_repository)&&ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!da&&((Mr=He==null?void 0:He.detail)==null?void 0:Mr.secret_repository)&&ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!zr.length&&!da&&ae.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},ae.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),zr.length?ae.createElement(ae.Fragment,null,ae.createElement("div",{className:Ft.content},xn==="1"&&ae.createElement("div",{className:Ft.tips},"\u63D0\u793A\uFF1A",ae.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),ae.createElement(gt,{disabled:!!Mn.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:zr,switcherIcon:ae.createElement(Or.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:xi,expandedKeys:Aa,selectedKeys:ru,onSelect:Gu,draggable:!0,onDragEnter:vi,onDrop:pi,className:Ft.gitTree}))):"",!zr.length&&da&&((jr=He==null?void 0:He.detail)==null?void 0:jr.init_repository)&&ae.createElement(Vn,null),!zr.length&&!da&&((Ka=He==null?void 0:He.detail)==null?void 0:Ka.secret_repository)&&ae.createElement(Vn,null))),ae.createElement(Lt,{visible:ta,defaultPath:Qo,onClose:()=>Ta(!1),isRepository:!da,onOK:ba=>Qe(void 0,null,function*(){const Vr=Qo.split("/");Vr.pop(),yield Tl(Vr.join("/")),Ql("")})}),ae.createElement(tt,{visible:pr,defaultPath:Qo,onClose:()=>Pa(!1),isRepository:da,onOK:ba=>{_u(ba.path,ba.name)}}),ae.createElement(Xe,{visible:kr,defaultPath:Qo,onClose:()=>Eo(!1),isRepository:da,onOK:ba=>{_u(ba.path,ba.name)}}),ae.createElement(ht,{defaultPath:Qo,visible:jo,isRepository:da,onClose:()=>_o(!1),onOK:ba=>Qe(void 0,null,function*(){const Vr=Qo.split("/");yield Tl(Qo),Aa=[Vr[0]||""],ru=[Qo],Iu([...ru]),ql([...Aa])})}),ae.createElement(ur,{pathList:Qo==null?void 0:Qo.split("/"),showInputPath:!0,isMergeSelectFile:Io,onFinish:ba=>{Io?$o(ba):Tl(ba),il(!1)}}))},Vn=()=>ae.createElement("div",{className:`mt20 pb50 ${Ft.nodata}`},ae.createElement("div",{className:Ft.headLeft},"\u63D0\u793A\uFF1A",ae.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",ae.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",ae.createElement("br",null),"1\u3001",ae.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",ae.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",ae.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),ae.createElement("img",{width:"100%",src:lr.Oe}));var Gn=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,practiceSetting:Vt,user:Mn})=>({shixunsDetail:xt,globalSetting:He,user:Mn,practiceSetting:Vt,loading:qe}))(it),Jn={flex_box_center:"flex_box_center___JYIA5",flex_space_between:"flex_space_between___OOSa6",flex_box_vertical_center:"flex_box_vertical_center___s1AAj",flex_box_center_end:"flex_box_center_end___Ou9x8",flex_box_column:"flex_box_column___fXhOh",commitWrap:"commitWrap___xJGHF",wrap:"wrap___OEGuw",colorGray:"colorGray___nocDG",content:"content___Cvvjf",itemTime:"itemTime___wIggD",imageUrl:"imageUrl___C3Dsm",blueLight:"blueLight___qEiQB",divider:"divider___G5Y2d",empty:"empty___L1pRU"},Va=ue(28103),Oa=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,ya=(xt,qe)=>{var He={};for(var Vt in xt)va.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&Oa)for(var Vt of Oa(xt))qe.indexOf(Vt)<0&&Na.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Sn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const wa=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:Ca}=qe,rn=ya(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useParams)(),[zr,ho]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{zo()},[Ca]);const zo=()=>Sn(void 0,null,function*(){const cr=yield xn({type:"shixunsDetail/getRepositoryCommit",payload:{id:da.id,secret_repository:Ca?void 0:!0}});cr&&ho(cr.commits||[])});return ae.createElement(ae.Fragment,null,zr==""&&ae.createElement("div",{className:Jn.empty},ae.createElement("img",{src:lr.em,width:"258"}),ae.createElement("br",null),ae.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),zr!=""&&ae.createElement("section",{className:Jn.bg},ae.createElement("div",{className:Jn.wrap},ae.createElement("div",{className:Jn.content},zr==null?void 0:zr.map(cr=>{var Za,Cr;return ae.createElement("div",null,ae.createElement(ct.Z,{align:"middle",className:"c-white font16"},ae.createElement(Re.Z,null,cr.title)),ae.createElement(ct.Z,{align:"middle",className:"mt20 "},ae.createElement(Re.Z,null,ae.createElement("img",{className:Jn.imageUrl,src:Tt.Z.IMG_SERVER+"/"+((Za=cr.author)==null?void 0:Za.image_url)})),ae.createElement(Re.Z,{className:Jn.blueLight},ae.createElement("span",{className:"ml20"},(Cr=cr.author)==null?void 0:Cr.username)),ae.createElement(Re.Z,null,ae.createElement("span",{className:`ml20 ${Jn.blueLight}`},"\u63D0\u4EA4\u4E8E"),ae.createElement("span",{className:`ml20 ${Jn.blueLight}`},cr.time))),ae.createElement(Va.Z,{className:Jn.divider}))})))))};var Dr=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(wa),oo=ue(10825),Kn=ue(59301),cn=Object.defineProperty,Lo=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,lo=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,yo=(xt,qe,He)=>qe in xt?cn(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Vo=(xt,qe)=>{for(var He in qe||(qe={}))Tr.call(qe,He)&&yo(xt,He,qe[He]);if(lo)for(var He of lo(qe))Bo.call(qe,He)&&yo(xt,He,qe[He]);return xt},Ur=(xt,qe)=>Lo(xt,vr(qe)),po=(xt,qe)=>{var He={};for(var Vt in xt)Tr.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&lo)for(var Vt of lo(xt))qe.indexOf(Vt)<0&&Bo.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},kn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{Ca(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{Ca(He.throw(rn))}catch(da){Mn(da)}},Ca=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);Ca((He=He.apply(xt,qe)).next())});const{TabPane:Nr}=Ze.default,uo=xt=>{var qe=xt,{globalSetting:He,loading:Vt,dispatch:Mn,practiceSetting:pa,shixunsDetail:xn}=qe,Ca=po(qe,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),rn,da,zr,ho,zo,cr,Za,Cr,Lr,Mr,jr,Ka,Ha,mr,_r,Kr,pr,Pa,ta;const[Ta,kr]=(0,ae.useState)("1"),[Eo,jo]=(0,ae.useState)("1");let[_o,Qo]=(0,ae.useState)();const El=(0,ae.useRef)(),[Aa,ql]=(0,ae.useState)(!0),[ru,Iu]=(0,ae.useState)(["2","1"]),[ou,ar]=(0,ae.useState)([]),ga=(0,ae.useRef)(),ia=(0,Oe.useParams)(),Sa=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Kn.createElement("span",null,Kn.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Kn.createElement(ke.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Kn.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,ae.useEffect)(()=>{var hr,Wr,vo,Jr,Io,il,$o,Eu,Pu,Ql,_u,sl,zu,Tl,lu,Gu,Nu,kl;try{((vo=(Wr=(hr=xn==null?void 0:xn.fileContent)==null?void 0:hr.content)==null?void 0:Wr.content)!=null&&vo.length||((Io=(Jr=xn==null?void 0:xn.fileContent)==null?void 0:Jr.content)==null?void 0:Io.content)=="")&&(((il=xn==null?void 0:xn.fileContent)==null?void 0:il.file_type)==="txt"?(El.current=window.decodeURIComponent(escape(window.atob((Eu=($o=xn==null?void 0:xn.fileContent)==null?void 0:$o.content)==null?void 0:Eu.content))),_o=window.decodeURIComponent(escape(window.atob((Ql=(Pu=xn==null?void 0:xn.fileContent)==null?void 0:Pu.content)==null?void 0:Ql.content))),Qo(_o)):(El.current=(sl=(_u=xn==null?void 0:xn.fileContent)==null?void 0:_u.content)==null?void 0:sl.content,_o=(Tl=(zu=xn==null?void 0:xn.fileContent)==null?void 0:zu.content)==null?void 0:Tl.content,Qo(_o)))}catch(xi){El.current=window.atob((Gu=(lu=xn==null?void 0:xn.fileContent)==null?void 0:lu.content)==null?void 0:Gu.content),_o=window.atob((kl=(Nu=xn==null?void 0:xn.fileContent)==null?void 0:Nu.content)==null?void 0:kl.content),Qo(_o),et.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",xn.fileContent.content)},[(rn=xn==null?void 0:xn.fileContent)==null?void 0:rn.content]),(0,ae.useEffect)(()=>{var hr;const Wr=(hr=pa==null?void 0:pa.sideBar)==null?void 0:hr.selectPath.split("/");Iu(Wr)},[(da=pa==null?void 0:pa.sideBar)==null?void 0:da.selectPath]);const $r=hr=>{Qo(hr);let Wr=-1;hr===El.current?Wr=0:Wr=1,Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!Wr}})};(0,ae.useEffect)(()=>{new Promise((hr,Wr)=>kn(void 0,null,function*(){var vo,Jr,Io;if(((vo=pa==null?void 0:pa.sideBar)==null?void 0:vo.selectPath)!==""&&((Jr=pa==null?void 0:pa.sideBar)!=null&&Jr.selectPath)){const il=yield Mn({type:"shixunsDetail/getFileContent",payload:{id:ia.id,path:(Io=pa==null?void 0:pa.sideBar)==null?void 0:Io.selectPath,secret_repository:Aa?null:!0}});il!=null&&il.content||(il==null?void 0:il.content)==""||Mn({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(zr=pa==null?void 0:pa.sideBar)==null?void 0:zr.selectPath]);const Co=Kn.createElement(Ce.default,{className:x.menu,style:{background:"#24294b"},onClick:hr=>{var Wr;!((Wr=xn==null?void 0:xn.detail)!=null&&Wr.secret_repository)&&hr.key==="2"&&jo("1"),kr(hr.key),hr.key==="1"?ql(!0):ql(!1)}},Kn.createElement(Ce.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Sa.filter(hr=>{var Wr,vo;return!((Wr=xn==null?void 0:xn.detail)!=null&&Wr.init_repository)||(vo=xn==null?void 0:xn.detail)!=null&&vo.is_jupyter_lab?hr.id!=="2":hr}).map((hr,Wr)=>Kn.createElement(Ce.default.Item,{className:"leaveClick",key:hr.id},hr.name))),Ho=(hr=!1,Wr=1)=>kn(void 0,null,function*(){var vo,Jr,Io,il;const $o=yield Mn({type:"shixunsDetail/updateRepositoryFile",payload:{id:ia.id,path:(Jr=(vo=xn==null?void 0:xn.fileContent)==null?void 0:vo.params)==null?void 0:Jr.path,content:_o,secret_repository:Aa?null:!0,sync_origin_shixun:hr}});$o!=null&&$o.content&&((Io=xn==null?void 0:xn.detail)!=null&&Io.copy_for_exercise||et.ZP.success("\u4FDD\u5B58\u6210\u529F"),Mn({type:"practiceSetting/setSideBarTabs",payload:Ur(Vo({},pa.sideBar),{confirmLeave:!1})})),(il=xn==null?void 0:xn.detail)!=null&&il.copy_for_exercise&&(0,mn.m)(Mn,xn,ia.id,Wr)});return Kn.createElement("div",{className:x.warehouse},Kn.createElement("div",{className:x.header},Kn.createElement(ct.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Kn.createElement(Re.Z,{flex:"1"},Kn.createElement(ct.Z,{align:"middle"},Kn.createElement(Re.Z,null,Kn.createElement(Me.Z,{dropdownRender:()=>Co,className:x.menu},Kn.createElement("span",{className:"font16 c-white current ml20"},Sa.find(hr=>hr.id===Ta).name," ",Kn.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Kn.createElement(Re.Z,{flex:"81px"},Kn.createElement("div",{className:x.line})),Kn.createElement(Re.Z,null,Kn.createElement(Ze.default,{className:x.tabs,activeKey:Eo,onChange:hr=>{var Wr;(Wr=pa==null?void 0:pa.sideBar)!=null&&Wr.confirmLeave?lt.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{jo(hr),Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(jo(hr),Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Kn.createElement(Nr,{tab:Kn.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),Aa&&((ho=xn==null?void 0:xn.detail)==null?void 0:ho.init_repository)&&Kn.createElement(Nr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!Aa&&((zo=xn==null?void 0:xn.detail)==null?void 0:zo.secret_repository)&&Kn.createElement(Nr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(Aa&&((cr=xn==null?void 0:xn.repository)==null?void 0:cr.git_url)||!Aa&&((Za=xn==null?void 0:xn.secretRepository)==null?void 0:Za.git_url))&&Kn.createElement(Kn.Fragment,null,Kn.createElement(Re.Z,null,Kn.createElement("span",{className:x.title},"\u4ED3\u5E93\u5730\u5740:"),Kn.createElement("input",{value:Aa?(Cr=xn==null?void 0:xn.repository)==null?void 0:Cr.git_url:(Lr=xn==null?void 0:xn.secretRepository)==null?void 0:Lr.git_url}),Kn.createElement(E.CopyToClipboard,{text:Aa?(Mr=xn==null?void 0:xn.repository)==null?void 0:Mr.git_url:(jr=xn==null?void 0:xn.secretRepository)==null?void 0:jr.git_url,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},Kn.createElement(ke.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Kn.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Kn.createElement("div",{className:x.content,style:{overflow:"auto"}},Eo==="1"&&Kn.createElement(Kn.Fragment,null,Kn.createElement("aside",{className:x.left},Kn.createElement(mt.Z,{spinning:!!Vt.effects["shixunsDetail/getRepository"],wrapperClassName:`${x.loading} ${x.bottom0}`},Kn.createElement(Gn,{setTreeData:ar,treeData:ou,activeKey:Ta,isRepository:Aa}))),Kn.createElement("aside",{className:x.right,ref:ga},((Ka=pa==null?void 0:pa.sideBar)==null?void 0:Ka.selectPath)!==""&&Kn.createElement(Kn.Fragment,null,Kn.createElement(mt.Z,{spinning:!!Vt.effects["shixunsDetail/getFileContent"],wrapperClassName:x.loading},Kn.createElement("div",{className:x.filePathWrp},Kn.createElement(ct.Z,{align:"middle",className:"w100"},Kn.createElement(Re.Z,null,Kn.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Kn.createElement(Re.Z,{flex:"40px"},Kn.createElement("div",{className:x.line,style:{marginLeft:20}})),Kn.createElement(Re.Z,{className:x.filePath},ru.map((hr,Wr)=>Kn.createElement("span",{className:"c-blue"},hr))))),Kn.createElement("div",{className:Vt.effects["shixunsDetail/getFileContent"]?"hide":"show"},Kn.createElement(oo.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Ha=xn==null?void 0:xn.fileContent)==null?void 0:Ha.filename,type:((mr=xn==null?void 0:xn.fileContent)==null?void 0:mr.file_type)==="office"?"download":(_r=xn==null?void 0:xn.fileContent)==null?void 0:_r.file_type,data:_o,monacoEditor:{value:_o,language:(Kr=xn==null?void 0:xn.fileContent)==null?void 0:Kr.language,onChange:hr=>$r(hr),options:{fontSize:14}}}))),((pr=xn==null?void 0:xn.fileContent)==null?void 0:pr.file_type)==="txt"&&Kn.createElement(ct.Z,{align:"middle",justify:"center",className:x.footer},Kn.createElement(Re.Z,null,Kn.createElement($e.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Oe.history.push(`/shixuns/${ia.id}/challenges`)}},"\u53D6\u6D88"),Kn.createElement($e.ZP,{type:"primary",size:"middle",className:"ml40",onClick:hr=>{var Wr,vo;(Wr=xn==null?void 0:xn.detail)!=null&&Wr.is_fork_from_creator&&((vo=xn==null?void 0:xn.detail)!=null&&vo.copy_for_exercise)?Mn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Jr,Io)=>{Ho(Jr,Io)}}}):Ho()}},"\u63D0\u4EA4")))),((Pa=pa==null?void 0:pa.sideBar)==null?void 0:Pa.selectPath)==""&&((ta=xn==null?void 0:xn.detail)==null?void 0:ta.init_repository)&&Kn.createElement("div",{className:x.empty},Kn.createElement("img",{src:lr.x7,width:"258"}),Kn.createElement("br",null),Kn.createElement("span",{className:"c-grey-c"},!!(ou!=null&&ou.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(ou!=null&&ou.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),Eo==="2"&&Kn.createElement("div",{className:x.commit},Kn.createElement(Dr,{isRepository:Aa}))))};var co=(0,Oe.connect)(({loading:xt,globalSetting:qe,practiceSetting:He,shixunsDetail:Vt})=>({globalSetting:qe,loading:xt,practiceSetting:He,shixunsDetail:Vt}))(uo)},21693:function(we,St,ue){"use strict";ue.d(St,{S:function(){return et},m:function(){return Ce}});var ae=ue(49661),x=ue(8591),Oe=ue(43418),Ze=ue(59301),ke=(ct,Re,Me)=>new Promise((lt,mt)=>{var $e=E=>{try{a(Me.next(E))}catch(b){mt(b)}},fe=E=>{try{a(Me.throw(E))}catch(b){mt(b)}},a=E=>E.done?lt(E.value):Promise.resolve(E.value).then($e,fe);a((Me=Me.apply(ct,Re)).next())});const et=ct=>{let Re=document.createElement("textarea");return Re.value=ct,Re.value},Ce=(ct,Re,Me,lt,mt)=>ke(void 0,null,function*(){var $e,fe;const a=yield ct({type:"shixunsDetail/saveCopyForExercise",payload:{id:Me,save_type:lt}});lt===1?((a==null?void 0:a.status)==0&&x.ZP.success("\u4FDD\u5B58\u6210\u529F"),($e=a==null?void 0:a.data)!=null&&$e.exists_same_shixun_name?ct({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(fe=a==null?void 0:a.data)==null?void 0:fe.shixun_name}}):ct({type:"classroomList/setActionTabs",payload:{}})):(ct({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Oe.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Ze.createElement("div",null,Ze.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var E,b;(0,ae.xg)(`/shixuns/${(b=(E=Re==null?void 0:Re.detail)==null?void 0:E.fork_from)==null?void 0:b.fork_identifier}/challenges`)}}))})},88195:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return z}});var ae=ue(59301),x=ue(76560),Oe=ue(92832),Ze=ue(78241),ke=ue(43418),et=ue(8591),Ce=ue(54580),ct=ue(3113),Re=ue(90524),Me=ue(55351),lt={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},mt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,a=(ne,se)=>{var ce={};for(var de in ne)$e.call(ne,de)&&se.indexOf(de)<0&&(ce[de]=ne[de]);if(ne!=null&&mt)for(var de of mt(ne))se.indexOf(de)<0&&fe.call(ne,de)&&(ce[de]=ne[de]);return ce},E=(ne,se,ce)=>new Promise((de,ye)=>{var Ae=rt=>{try{Be(ce.next(rt))}catch(Xe){ye(Xe)}},Ge=rt=>{try{Be(ce.throw(rt))}catch(Xe){ye(Xe)}},Be=rt=>rt.done?de(rt.value):Promise.resolve(rt.value).then(Ae,Ge);Be((ce=ce.apply(ne,se)).next())});const b=Oe.default.TextArea,y=ne=>{var se=ne,{newShixuns:ce,globalSetting:de,loading:ye,dispatch:Ae}=se,Ge=a(se,["newShixuns","globalSetting","loading","dispatch"]);const[Be]=Ze.default.useForm(),[rt,Xe]=(0,ae.useState)([]),ut=Jt=>{["uploading","done","removed"].includes(Jt.file.status)&&Xe(Jt.fileList)},mn=Jt=>{var Ea;if(!Jt.percent||Jt.percent==100){const _t=(Ea=Jt.response)==null?void 0:Ea.id;return ke.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>E(void 0,null,function*(){(yield Ae({type:"newShixuns/deleteAttachment",payload:{id:_t}}))&&Xe(rt.filter(Nn=>{var jn;return((jn=Nn.response)==null?void 0:jn.id)!==_t}))})}),!1}},ln=Jt=>rt.length?!1:Jt.size/1024/1024>50?(et.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,En=Jt=>E(void 0,null,function*(){var Ea,_t;const{language:an,env:Nn,mode:jn,code:pn}=Jt||{},tt=yield Ae({type:"newShixuns/applyShixunMirror",payload:{language:an,runtime:Nn,run_method:jn,attachment_id:(_t=(Ea=rt==null?void 0:rt[0])==null?void 0:Ea.response)==null?void 0:_t.id}});Ae({type:"newShixuns/setActionTabs",payload:{}}),tt&&et.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),vn=()=>{Be.resetFields(),Xe([])};return ae.createElement(ke.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:vn},ae.createElement("section",{className:lt.qrCode},ae.createElement("aside",{className:lt.a1},ae.createElement("div",{className:lt.code},ae.createElement("img",{width:120,height:120,src:Me,alt:"\u4E8C\u7EF4\u7801"})),ae.createElement("div",{className:lt.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ae.createElement("div",{className:lt.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ae.createElement("aside",{className:lt.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ae.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ae.createElement(Ze.default,{className:lt.formWrap,form:Be,labelCol:{span:4},wrapperCol:{span:20},onFinish:En},ae.createElement(Ze.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ae.createElement(Ze.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ae.createElement(Ze.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ae.createElement(Ze.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ae.createElement("div",{className:lt.upload},ae.createElement(Ce.default,{fileList:rt,action:`${Re.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:ut,onRemove:mn,beforeUpload:ln,withCredentials:!0},ae.createElement("span",{className:`${lt.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ae.createElement("span",{className:`${lt.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ae.createElement("div",{className:lt.footerWrap},ae.createElement(Ze.default.Item,null,ae.createElement(ct.ZP,{className:"mr5",size:"middle",onClick:()=>{Ae({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ae.createElement(ct.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:ye["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var z=(0,x.connect)(({newShixuns:ne,loading:se,globalSetting:ce})=>({newShixuns:ne,globalSetting:ce,loading:se.effects}))(y)},84722:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(76560),Oe=ue(43418),Ze=ue(55351);const ke=({newShixuns:et,dispatch:Ce,user:ct})=>{var Re;const[Me,lt]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{et.actionTabs.key==="Create-Environment"&&$e()},[(Re=et==null?void 0:et.actionTabs)==null?void 0:Re.key]);const mt=()=>{Ce({type:"newShixuns/setActionTabs",payload:{}})},$e=()=>{var fe,a,E,b;mt(),((fe=ct.userInfo)==null?void 0:fe.mirror_marker_status)===0?lt(!0):((a=ct.userInfo)==null?void 0:a.mirror_marker_status)===1?x.history.push(`/users/${(E=ct.userInfo)==null?void 0:E.login}/experiment-img/add`):((b=ct.userInfo)==null?void 0:b.mirror_marker_status)===2&&Oe.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var y;x.history.push(`/users/${(y=ct.userInfo)==null?void 0:y.login}/experiment-img`)}})};return ae.createElement(Oe.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:Me,footer:null,onCancel:()=>{lt(!1)}},ae.createElement("div",{style:{textAlign:"center"}},ae.createElement("br",null),ae.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Ze,alt:"\u4E8C\u7EF4\u7801"})),ae.createElement("img",null))};St.Z=(0,x.connect)(({newShixuns:et,user:Ce,globalSetting:ct})=>({newShixuns:et,globalSetting:ct,user:Ce}))(ke)},77165:function(we,St,ue){"use strict";ue.r(St),ue.d(St,{default:function(){return O0}});var ae=ue(22688),x=ue(59301),Oe=ue(76560),Ze={practiceSetting:"practiceSetting____JzSr",wrapHeader:"wrapHeader___UtEic",wrapLayout:"wrapLayout___LbxWe",wrapSidebar:"wrapSidebar____WwWi",wrapContent:"wrapContent___vQy6F"},ke={flex_box_center:"flex_box_center___ZbKWZ",flex_space_between:"flex_space_between___l3I6A",flex_box_vertical_center:"flex_box_vertical_center___Lq7k2",flex_box_center_end:"flex_box_center_end___fcllt",flex_box_column:"flex_box_column___X1bbd",header:"header___e8JpO","flex-center":"flex-center___bEydb",title:"title___uCK1_",schedule:"schedule___WsVbu",clickWarp:"clickWarp___HusBA",num:"num___Zrt0Q",subject:"subject___H4tj9",btns:"btns___e2enD",btn:"btn___T6H51",simulate:"simulate___Ori5S",exit:"exit___0V4Zt"},et=ue(49661),Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",ct=ue(67135),Re=ue(43418),Me=ue(8591),lt=ue(82093),mt=ue(59301),$e=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,E=(oe,le)=>{var re={};for(var pe in oe)fe.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&$e)for(var pe of $e(oe))le.indexOf(pe)<0&&a.call(oe,pe)&&(re[pe]=oe[pe]);return re},b=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const y=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at,shixunsDetail:je}=le,Ye=E(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze;const gn=(0,Oe.useLocation)(),zn=(0,x.useRef)(""),qt=(0,Oe.useParams)(),{title:Zn,base_info_warning:Bn,challenges_warning:Qn,service_warning:Fn,repository_warning:vt,mirror_warning:ca}=at;(0,x.useEffect)(()=>{var Wt;zn.current=(Wt=gn.pathname.split("/"))==null?void 0:Wt[2],Ne({type:"practiceSetting/setParams",payload:{id:zn.current}}),Ne({type:"practiceSetting/getCommonData",payload:{id:zn.current}})},[gn.pathname]),(0,x.useEffect)(()=>((0,et.Dk)(Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,et.Dk)()}));const An=()=>b(void 0,null,function*(){yield Zt(),Oe.history.push(`/shixuns/${zn.current}/challenges`)}),Zt=()=>new Promise((Wt,aa)=>{var ja;(ja=at==null?void 0:at.sideBar)!=null&&ja.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Wt()},onCancel:()=>{aa()}}):Wt()}),Qt=Wt=>{var aa;if(Wt===(at==null?void 0:at.sideBar.tabsActive))return;const ja=()=>{Oe.history.push(`/shixuns/${zn.current}/edit?tabId=${Wt}`),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Wt,selectPath:"",confirmLeave:!1}})};(aa=at==null?void 0:at.sideBar)!=null&&aa.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ja()}}):ja()},It=(Wt,aa=!1)=>{Wt=Wt!=null&&Wt.includes(".json")?Wt:`${Wt}.json`,Re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:mt.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>b(void 0,null,function*(){const ja=yield(0,lt.ZP)("/api"+Wt,{method:"get"});if(!ja)return;Me.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Pn=yield(0,ct.Ir)({id:ja.shixun_identifier,jump_challenge_setting:aa});if(Pn!=null&&Pn.game_identifier){(0,et.xg)(`/tasks/${Pn.game_identifier}`);return}(Pn==null?void 0:Pn.status)===2?It(Pn==null?void 0:Pn.message):(Pn==null?void 0:Pn.status)===3&&pt(Pn==null?void 0:Pn.message)})})},pt=Wt=>{Re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:mt.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Wt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=(Wt,aa)=>b(void 0,null,function*(){var ja,Pn,Qa,Da;if(yield Zt(),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(ja=je.detail)!=null&&ja.is_jupyter||(Pn=je.detail)!=null&&Pn.is_jupyter_lab){Ne({type:"shixunsDetail/execJupyter",payload:{id:zn.current}}).then(In=>{var Fr;In!=null&&In.identifier&&((Fr=Oe.history)==null||Fr.push(`/tasks/${In.identifier}/jupyter`))});return}Ne({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const qn=aa?yield(0,ct.BK)({id:Wt}):yield(0,ct.Ir)({id:Wt});if(Ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(qn==null?void 0:qn.status)==5&&!aa){Re.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u8BC4\u6D4B\u8BBE\u7F6E",cancelText:"\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218",title:"\u63D0\u793A",content:mt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(Da=(Qa=qn==null?void 0:qn.data)==null?void 0:Qa.challenge_errors)==null?void 0:Da.map((In,Fr)=>{var ra;return mt.createElement("span",{key:Fr,style:{color:"#3061D0"}},"\u7B2C",In==null?void 0:In.challenge_position,"\u5173",Fr!=((ra=qn==null?void 0:qn.data)==null?void 0:ra.challenge_errors)-1&&"\u3001")}),"\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u672A\u5B8C\u6210\uFF0C\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218\u65E0\u6CD5\u68C0\u6D4B\u6574\u4E2A\u5B9E\u9A8C\u6D41\u7A0B\uFF0C\u5EFA\u8BAE\u5148\u5B8C\u5584\u5173\u5361\u8BC4\u6D4B\u8BBE\u7F6E\u540E\u518D\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218"),onOk:()=>{var In,Fr,ra;window.location.href=`/shixuns/${zn.current}/edit/${(ra=(Fr=(In=qn==null?void 0:qn.data)==null?void 0:In.challenge_errors)==null?void 0:Fr[0])==null?void 0:ra.challenge_id}/tab=2`},onCancel:()=>{(0,ct.Ir)({id:zn.current,jump_challenge_setting:!0}).then(In=>{if(In!=null&&In.game_identifier||In!=null&&In.identifier){(0,et.xg)(`/tasks/${In.game_identifier}`);return}(In==null?void 0:In.status)===-3?(0,et.eF)():(In==null?void 0:In.status)===2?It(In==null?void 0:In.message,!0):(In==null?void 0:In.status)===3&&pt(In==null?void 0:In.message)})}});return}if((qn==null?void 0:qn.status)==6&&!aa){Re.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:mt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E\u4E0D\u5B8C\u5584\uFF0C\u65E0\u6CD5\u5F00\u542F\u5B9E\u9A8C\u73AF\u5883\u8FDB\u884C\u6A21\u62DF\u5B9E\u6218\u8BF7\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"),cancelButtonProps:{style:{display:"none"}},onOk:()=>{window.location.href=`/shixuns/${zn.current}/edit?tabId=environment`}});return}if(qn!=null&&qn.game_identifier||qn!=null&&qn.identifier){(0,et.xg)(aa?`/tasks/${qn==null?void 0:qn.identifier}/jupyter`:`/tasks/${qn.game_identifier}`);return}(qn==null?void 0:qn.status)===-3?(0,et.eF)():(qn==null?void 0:qn.status)===2?It(qn==null?void 0:qn.message):(qn==null?void 0:qn.status)===3&&pt(qn==null?void 0:qn.message)}),kt=()=>b(void 0,null,function*(){yield Zt(),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Ct=Wt=>({borderBottomColor:(at==null?void 0:at.sideBar.tabsActive)===Wt?"#0152d9":"transparent"});return mt.createElement("div",{className:ke.header},mt.createElement("aside",{className:ke.title},mt.createElement("i",{onClick:An,style:{color:"#333",marginRight:20},className:"icon iconfont icon-fanhui1"}),mt.createElement("span",{className:ke.edit},Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),mt.createElement("i",{onClick:kt,style:{color:"#165DFF"},className:"icon iconfont icon-xiugai1"})),mt.createElement("aside",{className:ke.schedule},mt.createElement("div",null,mt.createElement("span",{style:Ct("information"),className:ke.clickWarp,onClick:()=>Qt("information")},Bn?mt.createElement("span",{className:ke.num},"1"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:ke.subject},"\u57FA\u672C\u4FE1\u606F")),mt.createElement("i",{className:"iconfont icon-lujing"})),mt.createElement("div",null,mt.createElement("span",{style:Ct("warehouse"),className:ke.clickWarp,onClick:()=>Qt("warehouse")},vt?mt.createElement("span",{className:ke.num},"2"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:ke.subject},"\u4EE3\u7801\u4ED3\u5E93")),mt.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&!((Se=je==null?void 0:je.detail)!=null&&Se.is_jupyter_lab)&&mt.createElement("div",null,mt.createElement("span",{style:Ct("level"),className:ke.clickWarp,onClick:()=>Qt("level")},Qn?mt.createElement("span",{className:ke.num},"3"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:ke.subject},"\u4EFB\u52A1\u5173\u5361")),mt.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&((ze=je==null?void 0:je.detail)==null?void 0:ze.is_jupyter_lab)&&mt.createElement("div",null,mt.createElement("span",{style:Ct("service"),className:ke.clickWarp,onClick:()=>Qt("service")},Fn?mt.createElement("span",{className:ke.num},"3"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:ke.subject},"\u670D\u52A1")),mt.createElement("i",{className:"iconfont icon-lujing"})),mt.createElement("div",null,mt.createElement("span",{style:Ct("environment"),className:ke.clickWarp,onClick:()=>Qt("environment")},ca?mt.createElement("span",{className:ke.num},"4"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:ke.subject},"\u5B9E\u9A8C\u73AF\u5883")))),mt.createElement("aside",{className:ke.btns},mt.createElement("div",{className:ke.simulate,onClick:()=>wn(zn.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var z=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(y),ne={information:"information___LkgI6",scroll:"scroll___JnYs4",formWrap:"formWrap___qq0ju",img:"img___z2Jy6"},se=ue(89389),ce=ue(78241),de=ue(3113),ye=ue(92832),Ae=ue(19842),Ge=ue(95237),Be=ue(43604),rt=ue(54580),Xe=ue(24905),ut={btn:"btn___LFkWh",s1:"s1___kiYKO",s2:"s2___omvJi"},mn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",ln=Object.defineProperty,En=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Ea=(oe,le,re)=>le in oe?ln(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,_t=(oe,le)=>{for(var re in le||(le={}))vn.call(le,re)&&Ea(oe,re,le[re]);if(En)for(var re of En(le))Jt.call(le,re)&&Ea(oe,re,le[re]);return oe},an=(oe,le)=>{var re={};for(var pe in oe)vn.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&En)for(var pe of En(oe))le.indexOf(pe)<0&&Jt.call(oe,pe)&&(re[pe]=oe[pe]);return re},jn=oe=>{var le=oe,{InputRight:re,value:pe=[],onChange:Ne}=le,at=an(le,["InputRight","value","onChange"]);const[je,Ye]=(0,x.useState)(),Se=gn=>{const zn=pe.filter((qt,Zn)=>Zn!==gn);Ne(zn)},ze=gn=>{if(gn.preventDefault(),!!je){if(pe.findIndex(zn=>zn.name===je)>-1){Me.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Ne([...pe,{id:null,name:je}]),Ye(null)}};return x.createElement("div",null,x.createElement(ye.default,_t({bordered:!1,style:{width:600},value:je,onChange:gn=>Ye(gn.target.value),onPressEnter:ze,onBlur:ze},at)),re||x.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),x.createElement("div",{className:"mt20"},pe==null?void 0:pe.map((gn,zn)=>x.createElement("div",{key:zn,className:ut.btn},x.createElement("span",{className:ut.s1},gn.name),x.createElement("img",{src:mn,className:ut.s2,onClick:()=>Se(zn)})))))},pn=ue(89392),tt=ue(90524),st={flex_box_center:"flex_box_center___ZDst5",flex_space_between:"flex_space_between___KjWS3",flex_box_vertical_center:"flex_box_vertical_center___JmkIN",flex_box_center_end:"flex_box_center_end___xd4AX",flex_box_column:"flex_box_column___zLQXm",complete:"complete___d4XS6",cancel:"cancel___awB16",save:"save___CMuaC"};const wt=({dispatch:oe,onCancel:le,onSave:re,loading:pe=!1})=>x.createElement("div",{className:st.complete},x.createElement("div",{onClick:le,className:st.cancel},"\u53D6\u6D88"),x.createElement(de.ZP,{type:"primary",loading:pe,onClick:re,className:st.save},"\u4FDD\u5B58"));var Ln=(0,Oe.connect)()(wt),un=ue(21693),Un=ue(32050),Le=ue(19248),xe=ue(7664),Ve=ue(59301),Pt=Object.defineProperty,Lt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Rt=(oe,le,re)=>le in oe?Pt(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,De=(oe,le)=>{for(var re in le||(le={}))en.call(le,re)&&Rt(oe,re,le[re]);if(Gt)for(var re of Gt(le))Rn.call(le,re)&&Rt(oe,re,le[re]);return oe},We=(oe,le)=>Lt(oe,Tt(le)),dt=(oe,le)=>{var re={};for(var pe in oe)en.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Gt)for(var pe of Gt(oe))le.indexOf(pe)<0&&Rn.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ot=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const $t=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at,problemset:je,shixunsDetail:Ye}=le,Se=dt(le,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),ze,gn;const[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)({}),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(""),[It,pt]=(0,x.useState)(""),[wn,kt]=(0,x.useState)(""),[Ct,Wt]=(0,x.useState)(),aa=(0,x.useRef)({}),ja=(0,x.useRef)(""),Pn=(0,x.useRef)(""),Qa=(0,x.useRef)(""),Da=(0,x.useRef)(null),qn=(0,x.useRef)((0,pn.throttle)(()=>sr(),2e3,{leading:!0,trailing:!1})).current,{id:In}=at,[Fr,ra]=(0,x.useState)(!1);(0,x.useEffect)(()=>{In&&ir()},[In]),(0,x.useEffect)(()=>(JSON.stringify(qt)!=="{}"&&ea(),()=>{clearTimeout(Da.current)}),[qt,Zt,wn,It]);const ea=()=>{clearTimeout(Da.current),Da.current=setTimeout(()=>{!(0,pn.isEqual)(qt,aa.current)||Zt!==ja.current||wn!==Pn.current||It!==Qa.current?Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},ir=()=>Ot(void 0,null,function*(){var $a,Sr,Xr,Ia,wr,Mo,Wn;Ne({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_base_info.json`,{method:"get"});if(oa.status===0){const ua=We(De({},oa.data),{description:(0,un.S)(oa.data.description)}),fo={description:ua.description,shixun_tags:ua.shixun_tags,name:ua.name,course:(($a=ua==null?void 0:ua.disciplines)==null?void 0:$a.length)>0?[(Xr=(Sr=ua==null?void 0:ua.disciplines)==null?void 0:Sr[0])==null?void 0:Xr.id,(Mo=(wr=(Ia=ua==null?void 0:ua.disciplines)==null?void 0:Ia[0])==null?void 0:wr.sub_discipline)==null?void 0:Mo.id]:[]};(Wn=Ye.detail)!=null&&Wn.is_jupyter_lab&&(fo.jupyter_show_description=oa.data.jupyter_show_description),zn.setFieldsValue(fo),aa.current=De({},fo),ja.current=ua.attachment_id||"",Pn.current=ua.cover_image_id||"",Qa.current=ua.attachment_id_b||"",Zn(De({},fo)),Qt(ua.attachment_id||""),pt(ua.attachment_id_b||""),kt(ua.cover_image_id||""),Wt(ua.cover_image||"")}}),Pr=($a,Sr)=>{Zn(De({},Sr))},Er=()=>{Ma()},sr=()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),zn.submit()},dn=($a,Sr=!1,Xr=1)=>{var Ia;const{name:wr,description:Mo,shixun_tags:Wn,course:oa,jupyter_show_description:ua=!1}=$a;let fo={name:wr,description:Mo,shixun_tags:Wn,attachment_id:Zt,cover_image_id:wn,attachment_id_b:It,sub_discipline_ids:oa[1]};(Ia=Ye.detail)!=null&&Ia.is_jupyter_lab&&(fo=We(De({},fo),{jupyter_show_description:ua})),(0,lt.ZP)(`/api/shixuns/${In}/base_info_save.json`,{method:"post",body:{shixun:De({},fo),sync_origin_shixun:Sr}}).then(hs=>Ot(void 0,null,function*(){var Gs,Fc,yc,xa;if(hs.status===0&&((Gs=Ye==null?void 0:Ye.detail)!=null&&Gs.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ne({type:"practiceSetting/getCommonData",payload:{id:In}}),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),aa.current={description:qt.description,shixun_tags:qt.shixun_tags,name:qt.name},ja.current=Zt,Pn.current=wn,Qa.current=It,(Fc=Ye==null?void 0:Ye.detail)!=null&&Fc.copy_for_exercise)){const br=yield Ne({type:"shixunsDetail/saveCopyForExercise",payload:{id:In,save_type:Xr}});Xr===1?(yc=br==null?void 0:br.data)!=null&&yc.exists_same_shixun_name?Ne({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(xa=br==null?void 0:br.data)==null?void 0:xa.shixun_name,getBaseInfo:()=>{ir()}}}):(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),Ne({type:"classroomList/setActionTabs",payload:{}})):(Ne({type:"classroomList/setActionTabs",payload:{}}),(br==null?void 0:br.status)===0&&Re.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Ve.createElement("div",null,Ve.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var Qr,Ao;(0,et.xg)(`/shixuns/${(Ao=(Qr=Ye==null?void 0:Ye.detail)==null?void 0:Qr.fork_from)==null?void 0:Ao.fork_identifier}/challenges`)}}))}}))},Ma=()=>{var $a;const Sr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};($a=at==null?void 0:at.sideBar)!=null&&$a.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Sr()}}):Sr()};function nr($a){const Sr=$a.type==="image/jpeg"||$a.type==="image/png";return Sr||Me.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),Sr}const la=Ve.createElement(de.ZP,{loading:Bn,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ga=Ve.createElement(de.ZP,{loading:ca,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ka=Ve.createElement(de.ZP,{loading:Fn,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function Ir($a,Sr){const Xr=new FileReader;Xr.addEventListener("load",()=>Sr(Xr.result)),Xr.readAsDataURL($a)}const Do=$a=>{var Sr,Xr;if($a.file.status==="uploading"){Qn(!0);return}$a.file.status==="done"&&(Qn(!1),Qt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id))},Wo=$a=>{var Sr,Xr;if($a.file.status==="uploading"){vt(!0);return}$a.file.status==="done"&&(vt(!1),pt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id))},Ll=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)("/api/attachments/"+Zt,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>Qt(""),style:{fontSize:"16px",color:"red"}}))),Al=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)("/api/attachments/"+It,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>pt(""),style:{fontSize:"16px",color:"red"}}))),qu=$a=>{var Sr,Xr;if($a.file.status==="uploading"){An(!0);return}$a.file.status==="done"&&(An(!1),kt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id),ra(!0))},Ai=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)(Fr?"/api/attachments/"+wn:Ct,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>{kt(""),Wt("")},style:{fontSize:"16px",color:"red"}})));return Ve.createElement("div",{className:ne.information},Ve.createElement("section",{className:ne.scroll},Ve.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Ve.createElement("div",{className:ne.formWrap}," ",Ve.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onValuesChange:Pr,onFinish:$a=>{var Sr,Xr;(Sr=Ye==null?void 0:Ye.detail)!=null&&Sr.is_fork_from_creator&&((Xr=Ye==null?void 0:Ye.detail)!=null&&Xr.copy_for_exercise)?Ne({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:$a,type:"information",fn:(Ia,wr,Mo)=>{dn(Ia,wr,Mo)}}}):dn($a)}},Ve.createElement(ce.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},Ve.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((ze=qt.name)==null?void 0:ze.length)||0}/60`})),Ve.createElement(ce.default.Item,{className:"customAddTags",name:"shixun_tags",label:Ve.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",Ve.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},Ve.createElement(jn,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Ve.createElement(ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Ve.createElement(Ae.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:je.courseOptions,getPopupContainer:$a=>$a.parentNode})),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Zt?Ll():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:Do},la))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},It?Al():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:Wo},ka))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},wn||Ct?Ai():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:qu},Ga))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(ce.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Ve.createElement(se.Z,{defaultValue:qt.description||"",watch:!0})),((gn=Ye.detail)==null?void 0:gn.is_jupyter_lab)&&Ve.createElement(ce.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Ve.createElement(Xe.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),Ve.createElement(Ln,{onSave:qn,onCancel:Er,loading:Bn||ca||Fn}))};var Xt=(0,Oe.connect)(({problemset:oe,loading:le,globalSetting:re,practiceSetting:pe,shixunsDetail:Ne})=>({globalSetting:re,loading:le,practiceSetting:pe,problemset:oe,shixunsDetail:Ne}))($t),Kt={flex_box_center:"flex_box_center___LiAPc",flex_space_between:"flex_space_between___zOrvl",flex_box_vertical_center:"flex_box_vertical_center___pWI0p",flex_box_center_end:"flex_box_center_end___R1B7f",flex_box_column:"flex_box_column___BUSOq",menu:"menu___MLa2L",warehouse:"warehouse___NZ6o9",header:"header___DQSpw",title:"title___Q6voz",content:"content___v9Jfn",left:"left___MiFbg",right:"right___UOxcP",loading:"loading___r25tt",empty:"empty___J3rPx",tabs:"tabs___BsV1l",line:"line___tmfZh",footer:"footer___E442y",commit:"commit___vMKYK",blueLight:"blueLight___n7jAx",filePathWrp:"filePathWrp___ueAb3",filePath:"filePath___V7EhW",bottom0:"bottom0___WUqx8"},on=ue(99313),Dt=ue(6848),At=ue(20834),nn=ue(38854),ht=ue(71418),Ft=ue(17574),Nt=ue(78673),sn=ue(56102),yt={wrap:"wrap___IzxNT",modal:"modal___jcKd0",title:"title___DeCGl",path:"path___IiSd5",colorBlue:"colorBlue___P7hk_",width240:"width240___HRevG",filePath:"filePath___l5wGn"},Mt=Object.defineProperty,Tn=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,Ja=(oe,le,re)=>le in oe?Mt(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,gr=(oe,le)=>{for(var re in le||(le={}))zt.call(le,re)&&Ja(oe,re,le[re]);if(Tn)for(var re of Tn(le))na.call(le,re)&&Ja(oe,re,le[re]);return oe},ur=(oe,le)=>{var re={};for(var pe in oe)zt.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Tn)for(var pe of Tn(oe))le.indexOf(pe)<0&&na.call(oe,pe)&&(re[pe]=oe[pe]);return re},za=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Or=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,dispatch:je,isRepository:Ye}=le,Se=ur(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Qn,Fn]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const An=sessionStorage.getItem("pathArray");if(An){const Zt=An.split(",").join("/"),Qt=Zt.indexOf("/")===0?Zt.substr(1):Zt;Fn(Qt)}},[]),(0,x.useEffect)(()=>{var An,Zt;Zn.current=(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[2]},[]);const vt=(...An)=>za(void 0,[...An],function*(Zt={}){const Qt=yield je({type:"shixunsDetail/addRepositoryFile",payload:{id:gn.id,message:Zt.commitMessage,content:"",path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path+"/"+(Zt.file||".gitkeep"),secret_repository:Ye?void 0:!0}});Qt!=null&&Qt.url&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path+"/"+(Zt.file||".gitkeep"),name:Zt.path.split("/")[Zt.path.split("/").length-1]}),Se.onClose())}),ca=()=>{var An,Zt;Oe.history.push(`/shixuns/${Zn.current}/${(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[3]}${Qn?`/master/shixun_show/${Qn}`:""}`)};return x.createElement(Re.default,{width:"60%",centered:!0,open:Se.visible,wrapClassName:yt.modal,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},x.createElement("section",{className:yt.bg},x.createElement("div",{className:yt.wrap},x.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:vt,onChange:()=>{var An,Zt,Qt,It;const pt=gr({},Bn.getFieldsValue()),wn=(An=pt==null?void 0:pt.path)==null?void 0:An.split(""),kt=(Zt=pt==null?void 0:pt.file)==null?void 0:Zt.split("");(Qt=wn==null?void 0:wn.filter(Ct=>Ct=="/"))!=null&&Qt.length&&(pt.path=pt.path.substring(0,pt.path.length-1)),(It=kt==null?void 0:kt.filter(Ct=>Ct=="/"))!=null&&It.length&&(pt.file=pt.file.substring(0,pt.path.length-1)),Bn.setFieldsValue(gr({},pt)),qt(pt)}},x.createElement(ce.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},x.createElement(Ge.Z,null,x.createElement(Be.Z,null,x.createElement("span",{className:yt.filePath},Se.defaultPath+"/")),x.createElement(Be.Z,{flex:"1"},x.createElement(ce.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),x.createElement(ce.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),x.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var yr=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Or),or=ue(44905),fr=ue(41227),lr=ue(59301),Wa=Object.defineProperty,Gr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,bn=(oe,le,re)=>le in oe?Wa(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,On=(oe,le)=>{for(var re in le||(le={}))Br.call(le,re)&&bn(oe,re,le[re]);if(Gr)for(var re of Gr(le))bt.call(le,re)&&bn(oe,re,le[re]);return oe},Ut=(oe,le)=>{var re={};for(var pe in oe)Br.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Gr)for(var pe of Gr(oe))le.indexOf(pe)<0&&bt.call(oe,pe)&&(re[pe]=oe[pe]);return re},fn=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Hn=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,dispatch:je,isRepository:Ye}=le,Se=Ut(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Qn,Fn]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const An=sessionStorage.getItem("pathArray");if(An){const Zt=An.split(",").join("/"),Qt=Zt.indexOf("/")===0?Zt.substr(1):Zt;Fn(Qt)}},[]),(0,x.useEffect)(()=>{var An,Zt;Zn.current=(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[2]},[]);const vt=(...An)=>fn(void 0,[...An],function*(Zt={},Qt=!1,It=1){var pt,wn;const kt=yield je({type:"shixunsDetail/addRepositoryFile",payload:{id:gn.id,message:Zt.commitMessage,content:Zt.codeMirror,path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path,secret_repository:Ye?void 0:!0,sync_origin_shixun:Qt}});kt!=null&&kt.url&&((pt=re==null?void 0:re.detail)!=null&&pt.copy_for_exercise||Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path,name:Zt.path.split("/")[Zt.path.split("/").length-1]}),Se.onClose()),(wn=re==null?void 0:re.detail)!=null&&wn.copy_for_exercise&&(0,fr.m)(je,re,gn.id,It)}),ca=()=>{var An,Zt;Oe.history.push(`/shixuns/${Zn.current}/${(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[3]}${Qn?`/master/shixun_show/${Qn}`:""}`)};return lr.createElement(Re.default,{width:"60%",open:Se.visible,wrapClassName:yt.modal,destroyOnClose:!0,centered:!0,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},lr.createElement("section",{className:yt.bg},lr.createElement("div",{className:yt.wrap},lr.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:An=>{var Zt,Qt;(Zt=re==null?void 0:re.detail)!=null&&Zt.is_fork_from_creator&&((Qt=re==null?void 0:re.detail)!=null&&Qt.copy_for_exercise)?(Se.onClose(),je({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:An,type:"wareHouse",fn:(It,pt,wn)=>{vt(It,pt,wn)}}})):vt(An)},onChange:()=>{var An,Zt;const Qt=On({},Bn.getFieldsValue()),It=(An=Qt==null?void 0:Qt.path)==null?void 0:An.split("");((Zt=It==null?void 0:It.filter(pt=>pt=="/"))==null?void 0:Zt.length)>1&&(Qt.path=Qt.path.substring(0,Qt.path.length-1)),Bn.setFieldsValue(On({},Qt)),qt(Qt)}},lr.createElement(ce.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},lr.createElement(Ge.Z,null,lr.createElement(Be.Z,null,lr.createElement("span",{className:yt.filePath},Se.defaultPath+"/")),lr.createElement(Be.Z,{flex:"1"},lr.createElement(ce.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},lr.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),lr.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},lr.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),lr.createElement("div",{className:"mt10 mb20"},lr.createElement(ce.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},lr.createElement(or.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var ma=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Hn),Qe=Object.defineProperty,gt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,Gn=(oe,le,re)=>le in oe?Qe(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Jn=(oe,le)=>{for(var re in le||(le={}))it.call(le,re)&&Gn(oe,re,le[re]);if(gt)for(var re of gt(le))Vn.call(le,re)&&Gn(oe,re,le[re]);return oe},Va=(oe,le)=>{var re={};for(var pe in oe)it.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&>)for(var pe of gt(oe))le.indexOf(pe)<0&&Vn.call(oe,pe)&&(re[pe]=oe[pe]);return re},Oa=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const va=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,dispatch:je,isRepository:Ye}=le,Se=Va(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Qn,Fn]=(0,x.useState)(""),[vt,ca]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const Qt=Se.defaultPath.split("/");Qt.length===1?(Fn(""),ca(Se.defaultPath)):(ca(Qt.pop()),Fn(Qt.join("/")+"/"))},[Se.defaultPath]),(0,x.useEffect)(()=>{var Qt,It;Zn.current=(It=(Qt=ze.pathname)==null?void 0:Qt.split("/"))==null?void 0:It[2]},[]);const An=(...Qt)=>Oa(void 0,[...Qt],function*(It={}){const pt=yield je({type:"shixunsDetail/moveGitFile",payload:{id:gn.id,from:Se.defaultPath,to:Qn+It.path,message:It.commitMessage||`${Se.defaultPath} rename to ${Qn}${It.path} `,secret_repository:Ye}});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:It.path,name:It.path}),Se.onClose())}),Zt=()=>{var Qt,It;Oe.history.push(`/shixuns/${Zn.current}/${(It=(Qt=ze.pathname)==null?void 0:Qt.split("/"))==null?void 0:It[3]}${Qn?`/master/shixun_show/${Qn}`:""}`)};return x.createElement(Re.default,{width:"40%",open:Se.visible,wrapClassName:yt.modal,centered:!0,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},x.createElement("section",{className:yt.bg},x.createElement("div",{className:yt.wrap},x.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:An,onChange:()=>{var Qt,It;const pt=Jn({},Bn.getFieldsValue()),wn=(Qt=pt==null?void 0:pt.path)==null?void 0:Qt.split("");((It=wn==null?void 0:wn.filter(kt=>kt=="/"))==null?void 0:It.length)>1&&(pt.path=pt.path.substring(0,pt.path.length-1)),Bn.setFieldsValue(Jn({},pt)),qt(pt)}},x.createElement(ce.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},x.createElement(Ge.Z,null,x.createElement(Be.Z,{flex:"1"},x.createElement(ce.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:vt}))))),x.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},x.createElement(ye.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Se.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var Na=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(va),ya=ue(97477),Sn={wrap:"wrap___mjOgj",title:"title___yLtbX",path:"path___oKd0o",colorBlue:"colorBlue___HAuxN"},wa=ue(59301),Dr=Object.defineProperty,oo=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,Lo=(oe,le,re)=>le in oe?Dr(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,vr=(oe,le)=>{for(var re in le||(le={}))Kn.call(le,re)&&Lo(oe,re,le[re]);if(oo)for(var re of oo(le))cn.call(le,re)&&Lo(oe,re,le[re]);return oe},lo=(oe,le)=>{var re={};for(var pe in oe)Kn.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&oo)for(var pe of oo(oe))le.indexOf(pe)<0&&cn.call(oe,pe)&&(re[pe]=oe[pe]);return re},Tr=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:Bo}=rt.default,yo=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,dispatch:je,isRepository:Ye}=le,Se=lo(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)();let An;(0,x.useEffect)(()=>{Se.visible&&(Bn.resetFields(),Fn([]))},[Se.visible]),(0,x.useEffect)(()=>{Zn.current=gn.id},[]),(0,x.useEffect)(()=>{const kt=sessionStorage.getItem("pathArray");if(kt){const Ct=kt.split(",").join("/"),Wt=Ct.indexOf("/")===0?Ct.substr(1):Ct;ca(Wt)}},[]);const Zt=kt=>{var Ct,Wt,aa,ja;if(An=kt.file.name,kt.file.status==="done"||kt.file.status==="uploading"){if(Fn(kt.fileList),!kt.file.response)return;if(((Ct=kt.file.response)==null?void 0:Ct.status)===0){(Wt=re==null?void 0:re.detail)!=null&&Wt.copy_for_exercise||(Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Bn.validateFields());return}Fn(Qn.filter(Pn=>Pn.uid!==kt.file.uid)),(aa=kt.file.response)!=null&&aa.message&&Me.ZP.info((ja=kt.file.response)==null?void 0:ja.message)}},Qt=kt=>Tr(void 0,null,function*(){if(!kt.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield je({type:"shixunsDetail/deleteGitFile",payload:{id:gn.id,path:vt?`${vt}/${kt.name}`:kt.name,message:Bn.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${vt?`${vt}/${kt.name}`:kt.name}`,secret_repository:Ye?null:!0}})).status===0&&(Fn(Qn.filter(Wt=>Wt.uid!==kt.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),It={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!Bn.getFieldValue("commitMessage"),data:()=>Tr(void 0,null,function*(){return new Promise((kt,Ct)=>Tr(void 0,null,function*(){setTimeout(()=>Tr(void 0,null,function*(){const Wt=yield Bn.getFieldsValue(),aa=vr(vr({},{path:Se.defaultPath?Se.defaultPath:"",message:zn.commitMessage||`\u4E0A\u4F20\u4E86${An}`}),Ye?{}:{secret_repository:!0});kt(aa)}),200)}))}),fileList:Qn,method:"post",action:`${tt.Z.API_SERVER}/api/shixuns/${Zn.current}/upload_git_file.json`,onChange:Zt,onRemove:Qt,beforeUpload:kt=>(An=kt.name,kt.size/1024/1024>50?(Me.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},pt=(kt=!1,Ct=1)=>Tr(void 0,null,function*(){var Wt;const aa=vr(vr({},{path:Se.defaultPath?Se.defaultPath:"",message:zn.commitMessage||`\u4E0A\u4F20\u4E86${An}`}),Ye?{}:{secret_repository:!0});for(let ja=0;ja{Pn.append(Da,aa[Da].toString())});const Qa=yield(0,lt.ZP)(`/api/shixuns/${Zn.current}/upload_git_file.json`,{method:"post",body:Pn},!0)}Se.onClose(),Se.onOK({path:Se.defaultPath}),wn(),(Wt=re==null?void 0:re.detail)!=null&&Wt.copy_for_exercise&&(0,fr.m)(je,re,gn.id,Ct)}),wn=()=>{var kt,Ct;Oe.history.push(`/shixuns/${Zn.current}/${(Ct=(kt=ze.pathname)==null?void 0:kt.split("/"))==null?void 0:Ct[3]}${vt?`/master/shixun_show/${vt}`:""}`)};return wa.createElement(Re.default,{open:Se.visible,onOk:kt=>{Bn.submit()},centered:!0,onCancel:Se.onClose,width:"70%"},wa.createElement("section",{className:Sn.bg},wa.createElement("div",{className:Sn.wrap},wa.createElement("div",{className:Sn.title},"\u4E0A\u4F20\u6587\u4EF6"),wa.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Tr(void 0,null,function*(){var kt,Ct;yield Bn.validateFields(),(kt=re==null?void 0:re.detail)!=null&&kt.is_fork_from_creator&&((Ct=re==null?void 0:re.detail)!=null&&Ct.copy_for_exercise)?(Se.onClose(),je({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Wt,aa)=>{pt(Wt,aa)}}})):pt()}),onValuesChange:()=>qt(vr({},Bn.getFieldsValue()))},wa.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},wa.createElement(ye.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),wa.createElement(ce.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(kt,Ct){return(Qn==null?void 0:Qn.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},wa.createElement("div",{onClick:()=>{if(!Bn.getFieldValue("commitMessage")){Me.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},wa.createElement(Bo,vr({},It),wa.createElement("div",null,wa.createElement("i",{className:`iconfont icon-shangchuan font50 ${Sn.colorBlue}`})),wa.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",wa.createElement("span",{className:`${Sn.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),wa.createElement(ya.Z,{onFinish:kt=>ca(kt)})))};var Vo=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(yo),Ur={flex_box_center:"flex_box_center___yg9nA",flex_space_between:"flex_space_between___f3dyx",flex_box_vertical_center:"flex_box_vertical_center___ezJcl",flex_box_center_end:"flex_box_center_end___nfffI",flex_box_column:"flex_box_column___c30ic",headLeft:"headLeft___rFzBG",colorBlue:"colorBlue___I8QNd",wrap:"wrap___E3izY",nodata:"nodata___o_3nl",nodataText:"nodataText___bDrE1",content:"content___oLCqi",gitCode:"gitCode___CGi8t",ellipsis:"ellipsis___OJSuo",menu:"menu___aPJ5X",overlayClass:"overlayClass___EtZDz",tips:"tips___P5llh",gitTree:"gitTree___uVb5X"},po={wrap:"wrap___MYOb_",content:"content___hIU8_",mainPathWrap:"mainPathWrap___U1qhQ",colorBlue:"colorBlue___UUdCo"},kn=Object.defineProperty,Nr=Object.getOwnPropertySymbols,uo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,xt=(oe,le,re)=>le in oe?kn(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,qe=(oe,le)=>{for(var re in le||(le={}))uo.call(le,re)&&xt(oe,re,le[re]);if(Nr)for(var re of Nr(le))co.call(le,re)&&xt(oe,re,le[re]);return oe},He=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Vt=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,title:Ne,pathList:at=[],showInputPath:je=!1,isMergeSelectFile:Ye=!1,onFinish:Se=()=>{}})=>{const[ze]=ce.default.useForm(),gn=(0,Oe.useParams)(),zn=(0,Oe.useLocation)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(""),[Qn,Fn]=(0,x.useState)(""),[vt,ca]=(0,x.useState)([]),[An,Zt]=(0,x.useState)([]);(0,x.useEffect)(()=>{var Ct,Wt;qt.current=((Wt=(Ct=zn.pathname)==null?void 0:Ct.split("/"))==null?void 0:Wt[3])==="repository"},[]),(0,x.useEffect)(()=>{if(oe.actionTabs.key!=="Repository-SelectFilePath")return;const Ct=at.join("/");let Wt=[];at.map((aa,ja)=>{ja===0?Wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${aa}`,path:Ct}):Wt.push({val:`/${aa}`,path:Ct})}),ca(Wt),Bn(Ct),Fn(Ct),Qt(Ct)},[oe.actionTabs.key]);const Qt=Ct=>He(void 0,null,function*(){const Wt=yield pe({type:qt.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:gn.id,path:Ct}});Wt&&Zt(Wt.trees||[])}),It=Ct=>{let Wt=Zn;Ct.type==="tree"&&(vt.length?vt.push({val:`/${Ct.name}`,path:Ct.name}):vt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ct.name}`,path:Ct.name}),ca(vt),Wt=Zn?`${Zn}/${Ct.name}`:Ct.name,Bn(Wt)),Qt(Wt)},pt=(Ct,Wt)=>{const aa=vt.filter((Pn,Qa)=>Qa<=Wt);ca(aa);const ja=aa.filter((Pn,Qa)=>Qa!==0).map(Pn=>Pn.val).join("").substr(1);Bn(ja),Qt(ja)},wn=()=>He(void 0,null,function*(){const Ct=ze==null?void 0:ze.getFieldsValue(),Wt=Zn?`${Zn}${Ct!=null&&Ct.name?`/${Ct==null?void 0:Ct.name}`:""}`:Ct==null?void 0:Ct.name;if(Ye){Se(Wt),kt();return}if(je){yield ze.validateFields();const aa=yield pe({type:"shixunsDetail/uploadGitFolder",payload:qe(qe({},{id:gn.id,path:Wt}),qt.current?{}:{secret_repository:!0})});Se(Qn),aa.status===0&&Me.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Se(Wt),Me.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");kt()}),kt=()=>{pe({type:"shixunsDetail/setActionTabs",payload:{}}),ze.resetFields()};return x.createElement(Re.default,{centered:!0,title:Ne||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:oe.actionTabs.key==="Repository-SelectFilePath",onOk:wn,onCancel:kt},x.createElement("div",{className:po.wrap},x.createElement("div",{className:po.content},x.createElement("div",{className:po.mainPathWrap},!!(vt!=null&&vt.length)&&vt.map((Ct,Wt)=>x.createElement("a",{key:Wt,onClick:()=>pt(Ct,Wt)},Ct.val))),!!(An!=null&&An.length)&&An.map((Ct,Wt)=>Ct.type==="tree"&&x.createElement("a",{key:Wt,onClick:()=>It(Ct)},x.createElement("i",{className:`iconfont icon-wenjianjia ${po.colorBlue}`}),Ct.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement("div",{className:"mt5 mb5"},Zn),je&&x.createElement(ce.default,{form:ze,scrollToFirstError:!0,className:"mt20"},x.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var Mn=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(Vt),pa=ue(18785),xn=ue(84105),Ca=ue(23869),rn=ue(854),da=Object.defineProperty,zr=Object.defineProperties,ho=Object.getOwnPropertyDescriptors,zo=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,Cr=(oe,le,re)=>le in oe?da(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Lr=(oe,le)=>{for(var re in le||(le={}))cr.call(le,re)&&Cr(oe,re,le[re]);if(zo)for(var re of zo(le))Za.call(le,re)&&Cr(oe,re,le[re]);return oe},Mr=(oe,le)=>zr(oe,ho(le)),jr=(oe,le)=>{var re={};for(var pe in oe)cr.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&zo)for(var pe of zo(oe))le.indexOf(pe)<0&&Za.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ka=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{DirectoryTree:Ha}=Ft.default,mr=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,activeKey:je,dispatch:Ye,practiceSetting:Se,isRepository:ze,treeData:gn,setTreeData:zn}=le,qt=jr(le,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Zn,Bn,Qn,Fn,vt,ca,An;const Zt=(0,Oe.useParams)(),Qt=(0,Oe.useLocation)(),[It,pt]=(0,x.useState)(),[wn,kt]=(0,x.useState)(!1),[Ct,Wt]=(0,x.useState)(!1),[aa,ja]=(0,x.useState)(!1),[Pn,Qa]=(0,x.useState)(!1),[Da,qn]=(0,x.useState)("");let[In,Fr]=(0,x.useState)([]),[ra,ea]=(0,x.useState)([]);const[ir,Pr]=(0,x.useState)([]),[Er,sr]=(0,x.useState)(!1),[dn,Ma]=(0,x.useState)(),[nr,la]=(0,x.useState)(),[Ga,ka]=(0,x.useState)(""),[Ir,Do]=(0,x.useState)(),[Wo,Ll]=(0,x.useState)(!1);(0,x.useEffect)(()=>{zn([]),wr(""),localStorage.warehouseHideTip||sr(!0)},[Qt.pathname,ze]);const Al=(xa="")=>Ka(void 0,null,function*(){(yield(0,ct.Zt)({id:Zt.id,secret_dir_path:xa}))&&Do(xa)}),qu=xa=>{var br;return x.createElement(At.default,{className:Ur.menu,onClick:Qr=>{switch(qn(xa.path||""),Qr.key){case"1":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),kt(!0);break;case"2":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),ja(!0);break;case"3":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),Qa(!0);break;case"4":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Wt(!0);break;case"5":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),oa(xa.path,xa.name,xa);break;case"6":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),ua(xa);break}}},(xa.type==="topTree"||xa.type==="tree")&&x.createElement(At.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(xa.type==="topTree"||xa.type==="tree")&&x.createElement(At.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(xa.type==="topTree"||xa.type==="tree")&&x.createElement(At.default.Item,{key:"3"},"\u4E0A\u4F20"),xa.type!=="topTree"&&xa.type!=="tree"&&((br=re==null?void 0:re.detail)==null?void 0:br.public)<2&&x.createElement(At.default.Item,{key:"4"},"\u91CD\u547D\u540D"),xa.type!=="topTree"&&x.createElement(sn.CopyToClipboard,{text:`/data/workspace/myshixun/${ze?"":"secret/"}${xa==null?void 0:xa.path}`,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(At.default.Item,{key:"6"},x.createElement(x.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),xa.type!=="topTree"&&x.createElement(At.default.Item,{key:"5"},"\u5220\u9664"))},Ai=(xa,br)=>xa.map(Qr=>(br==""?Qr.path=br+Qr.name:Qr.path=br+"/"+Qr.name,Qr.title=x.createElement(Ge.Z,{className:"font14"},x.createElement(Be.Z,{flex:"1"},x.createElement(Ge.Z,null,Qr.type==="blob"&&x.createElement(Be.Z,{flex:"20px",style:{marginLeft:-20}},x.createElement("span",{className:"iconfont icon-wenjian11 font12"})),x.createElement(Be.Z,{flex:"1"},x.createElement("span",{className:" multi_ellipsis1"},Qr.name)))),x.createElement(Be.Z,null,(Qr.type==="blob"||Qr.type==="tree")&&x.createElement(nn.Z,{dropdownRender:()=>qu(Qr),className:Ur.ellipsis},x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Qr.disableCheckbox=It&&It!==Qr.name,Qr.className=Qr.type==="tree"?Ur.pl23:"",Qr.checkable=Qr.type!=="tree",Qr.isLeaf=Qr.type!=="tree",Qr.children=Qr.type==="tree"&&[],Qr.key=Qr.path,Qr)),$a=xa=>{Ye({type:"practiceSetting/setSideBarTabs",payload:{selectPath:xa}})},Sr=(xa,br)=>Ka(void 0,null,function*(){const Qr=xa.split("/");yield wr(Da),setTimeout(()=>{$a(xa),In=[Qr[0]||""],ra=[xa],ea([...ra]),Fr([...In])},150)}),Xr=(xa,br)=>{if(br=="")gn=[...xa],zn([...xa]);else{let Qr=Ia(gn,br,xa);gn=Qr,zn([...Qr])}};function Ia(xa,br,Qr){return xa.map(Ao=>Ao.key===br?(Ao.children=[...Qr],Lr({},Ao)):Ao.children?Mr(Lr({},Ao),{children:Ia(Ao.children,br,Qr)}):Ao)}const wr=(xa="")=>Ka(void 0,null,function*(){var br,Qr;const Ao=yield Ye({type:ze?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Zt.id,path:xa}});if(Ao){if((br=Ao.trees)!=null&&br.length){let hu=Ai([...Ao.trees],xa);Xr(hu,xa),Pr(Ao.trees||[]),la(xa||""),console.log("handleGetRepository:",hu,xa),setTimeout(()=>console.log(gn,Ao.trees,xa,999999),2e3)}else xa==""&&zn([]);Ma(((Qr=Ao.commits)==null?void 0:Qr[0])||{})}return Ao}),Mo=xa=>Ka(void 0,null,function*(){return new Promise((br,Qr)=>Ka(void 0,null,function*(){xa.children.length&&br(),ka(xa.path),yield wr(xa.path),br()}))}),Wn=(xa,br)=>Ka(void 0,null,function*(){var Qr;console.log("handleSelectTree",xa,br.nativeEvent.target.nodeName,br);const Ao=()=>{$a(br.node.path),xa=[br.node.path],ea([...xa])};br.nativeEvent.target.nodeName==="svg"||br.nativeEvent.target.nodeName==="LI"||br.nativeEvent.target.nodeName==="I"||br.node.type==="blob"&&((Qr=Se==null?void 0:Se.sideBar)!=null&&Qr.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ao(),Ye({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Ao())}),oa=(xa,br,Qr)=>{Re.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Qr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ka(void 0,null,function*(){const Ao=yield Ye({type:"shixunsDetail/deleteGitFile",payload:{id:Zt.id,path:xa,message:`\u5220\u9664${xa}`,secret_repository:ze?null:!0}});let hu=xa.split("/");if((Ao==null?void 0:Ao.status)===0){Me.ZP.info("\u5220\u9664\u6210\u529F"),hu.splice(hu.length-1,1);const Us=yield wr(hu.length>1?hu.join("/"):"");return Us!=null&&Us.trees||(hu.splice(hu.length-1,1),yield wr(hu.length>1?hu.join("/"):"")),$a(""),!0}else(Ao==null?void 0:Ao.status)===-3?Re.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:x.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",xa,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Zt.id}/edit/${Ao==null?void 0:Ao.message}/tab=2`}}):(Ao==null?void 0:Ao.status)===-4&&Re.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:x.createElement("div",null,Ao==null?void 0:Ao.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Zt.id}/edit?tabId=service`}})})})},ua=xa=>{console.log(xa,"item")},fo=(xa,br)=>Ka(void 0,null,function*(){if(console.log("handleExpand",br),br.nativeEvent.target.nodeName==="svg"||br.nativeEvent.target.nodeName==="path"||br.nativeEvent.target.nodeName==="LI")return!0;yield Mo(br.node),In.includes(br.node.path)?In.splice(In.indexOf(br.node.path),1):In.push(br.node.path),Fr([...In])}),Bi=()=>{sr(!1),localStorage.warehouseHideTip=!0},hs=xa=>Ka(void 0,null,function*(){var br;let Qr,Ao="",hu,Us;switch(ze){case!0:Ao="\u5F00\u542F\u7248\u672C\u5E93",hu="\u5F00\u542F",Us="\u4E0D\u5F00\u542F",Qr=x.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(br=re==null?void 0:re.detail)!=null&&br.secret_repository?(Ao="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",hu="\u786E\u5B9A",Us="\u53D6\u6D88",Qr=x.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Ao="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",hu="\u4E0D\u4F7F\u7528",Us="\u4F7F\u7528",Qr=x.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!ze&&(0,Ca.gy)(Ye,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||Re.default.confirm({title:Ao,okText:hu,cancelText:Us,content:Qr,onOk:()=>{var Wi;(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Ao]),!ze&&!((Wi=re==null?void 0:re.detail)!=null&&Wi.secret_repository)||Gs(xa)},onCancel:()=>{var Wi;!ze&&!((Wi=re==null?void 0:re.detail)!=null&&Wi.secret_repository)&&Gs(xa)}})}),Gs=xa=>Ka(void 0,null,function*(){ze?(yield(0,ct.h4)(Lr({},Zt)),Ye({type:"practiceSetting/getCommonData",payload:Lr({},Zt)})):yield(0,ct.K0)(Mr(Lr({},Zt),{is_secret_repository:xa})),wr(),Ye({type:"shixunsDetail/getShixunsDetail",payload:{id:Zt.id}})}),Fc=xa=>{console.log(xa)},yc=xa=>Ka(void 0,null,function*(){console.log(xa);const br=xa.node.key,Qr=xa.dragNode.key,Ao=xa.node.pos.split("-"),hu=xa.dropPosition-Number(Ao[Ao.length-1]);if(xa.dragNode.type==="tree"){Me.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(xa.node.type!=="tree"){Me.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield Ye({type:"shixunsDetail/moveGitFile",payload:Lr({id:Zt.id,from:xa.dragNode.path,to:xa.node.path+"/"+xa.dragNode.name,message:`${xa.dragNode.path} move to ${xa.node.path+"/"+xa.dragNode.name} `},ze?{}:{secret_repository:!0})})).status===0){$a(""),yield wr("");for(let Rl=0;Rlqu({type:"topTree"}),className:"current"},x.createElement(Dt.Z,{open:Er,title:x.createElement("div",{className:"font16"},x.createElement(pa.Z,{style:{position:"relative",left:-35},onClick:()=>Bi()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",x.createElement("span",{onClick:()=>Bi(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:Ur.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ze&&((Fn=re==null?void 0:re.detail)==null?void 0:Fn.init_repository)&&x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ze&&((vt=re==null?void 0:re.detail)==null?void 0:vt.secret_repository)&&x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!gn.length&&!ze&&x.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},x.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),gn.length?x.createElement(x.Fragment,null,x.createElement("div",{className:Ur.content},je==="1"&&x.createElement("div",{className:Ur.tips},"\u63D0\u793A\uFF1A",x.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),x.createElement(Ha,{disabled:!!Ne.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:gn,switcherIcon:x.createElement(xn.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:fo,expandedKeys:In,selectedKeys:ra,onSelect:Wn,draggable:!0,onDragEnter:Fc,onDrop:yc,className:Ur.gitTree}))):"",!gn.length&&ze&&((ca=re==null?void 0:re.detail)==null?void 0:ca.init_repository)&&x.createElement(_r,null),!gn.length&&!ze&&((An=re==null?void 0:re.detail)==null?void 0:An.secret_repository)&&x.createElement(_r,null))),x.createElement(Na,{visible:Ct,defaultPath:Da,onClose:()=>Wt(!1),isRepository:!ze,onOK:xa=>Ka(void 0,null,function*(){const br=Da.split("/");br.pop(),yield wr(br.join("/")),$a("")})}),x.createElement(ma,{visible:wn,defaultPath:Da,onClose:()=>kt(!1),isRepository:ze,onOK:xa=>{Sr(xa.path,xa.name)}}),x.createElement(yr,{visible:aa,defaultPath:Da,onClose:()=>ja(!1),isRepository:ze,onOK:xa=>{Sr(xa.path,xa.name)}}),x.createElement(Vo,{defaultPath:Da,visible:Pn,isRepository:ze,onClose:()=>Qa(!1),onOK:xa=>Ka(void 0,null,function*(){const br=Da.split("/");yield wr(Da),In=[br[0]||""],ra=[Da],ea([...ra]),Fr([...In])})}),x.createElement(Mn,{pathList:Da==null?void 0:Da.split("/"),showInputPath:!0,isMergeSelectFile:Wo,onFinish:xa=>{Wo?Al(xa):wr(xa),Ll(!1)}}))},_r=()=>x.createElement("div",{className:`mt20 pb50 ${Ur.nodata}`},x.createElement("div",{className:Ur.headLeft},"\u63D0\u793A\uFF1A",x.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",x.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",x.createElement("br",null),"1\u3001",x.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",x.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",x.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),x.createElement("img",{width:"100%",src:rn.Oe}));var Kr=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,practiceSetting:pe,user:Ne})=>({shixunsDetail:oe,globalSetting:re,user:Ne,practiceSetting:pe,loading:le}))(mr),pr={flex_box_center:"flex_box_center___uEeXZ",flex_space_between:"flex_space_between___z5vGD",flex_box_vertical_center:"flex_box_vertical_center___yPWu8",flex_box_center_end:"flex_box_center_end___A11tq",flex_box_column:"flex_box_column___Mpz7g",commitWrap:"commitWrap____iXlX",wrap:"wrap___TqYMq",colorGray:"colorGray___zz_Ji",content:"content___jIgca",itemTime:"itemTime___u4iJz",imageUrl:"imageUrl___iQiEg",blueLight:"blueLight___saBbR",divider:"divider___Vpgba",empty:"empty___vUjYH"},Pa=ue(28103),ta=Object.getOwnPropertySymbols,Ta=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Eo=(oe,le)=>{var re={};for(var pe in oe)Ta.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&ta)for(var pe of ta(oe))le.indexOf(pe)<0&&kr.call(oe,pe)&&(re[pe]=oe[pe]);return re},jo=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const _o=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,user:at,dispatch:je,isRepository:Ye}=le,Se=Eo(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useParams)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{qt()},[Ye]);const qt=()=>jo(void 0,null,function*(){const Zn=yield je({type:"shixunsDetail/getRepositoryCommit",payload:{id:ze.id,secret_repository:Ye?void 0:!0}});Zn&&zn(Zn.commits||[])});return x.createElement(x.Fragment,null,gn==""&&x.createElement("div",{className:pr.empty},x.createElement("img",{src:rn.em,width:"258"}),x.createElement("br",null),x.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),gn!=""&&x.createElement("section",{className:pr.bg},x.createElement("div",{className:pr.wrap},x.createElement("div",{className:pr.content},gn==null?void 0:gn.map(Zn=>{var Bn,Qn;return x.createElement("div",null,x.createElement(Ge.Z,{align:"middle",className:"c-white font16"},x.createElement(Be.Z,null,Zn.title)),x.createElement(Ge.Z,{align:"middle",className:"mt20 "},x.createElement(Be.Z,null,x.createElement("img",{className:pr.imageUrl,src:tt.Z.IMG_SERVER+"/"+((Bn=Zn.author)==null?void 0:Bn.image_url)})),x.createElement(Be.Z,{className:pr.blueLight},x.createElement("span",{className:"ml20"},(Qn=Zn.author)==null?void 0:Qn.username)),x.createElement(Be.Z,null,x.createElement("span",{className:`ml20 ${pr.blueLight}`},"\u63D0\u4EA4\u4E8E"),x.createElement("span",{className:`ml20 ${pr.blueLight}`},Zn.time))),x.createElement(Pa.Z,{className:pr.divider}))})))))};var Qo=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(_o),El=ue(10825),Aa=ue(59301),ql=Object.defineProperty,ru=Object.defineProperties,Iu=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable,ia=(oe,le,re)=>le in oe?ql(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Sa=(oe,le)=>{for(var re in le||(le={}))ar.call(le,re)&&ia(oe,re,le[re]);if(ou)for(var re of ou(le))ga.call(le,re)&&ia(oe,re,le[re]);return oe},$r=(oe,le)=>ru(oe,Iu(le)),Co=(oe,le)=>{var re={};for(var pe in oe)ar.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&ou)for(var pe of ou(oe))le.indexOf(pe)<0&&ga.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ho=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{TabPane:hr}=on.default,Wr=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at,shixunsDetail:je}=le,Ye=Co(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze,gn,zn,qt,Zn,Bn,Qn,Fn,vt,ca,An,Zt,Qt,It,pt,wn,kt,Ct;const[Wt,aa]=(0,x.useState)("1"),[ja,Pn]=(0,x.useState)("1");let[Qa,Da]=(0,x.useState)();const qn=(0,x.useRef)(),[In,Fr]=(0,x.useState)(!0),[ra,ea]=(0,x.useState)(["2","1"]),[ir,Pr]=(0,x.useState)([]),Er=(0,x.useRef)(),sr=(0,Oe.useParams)(),dn=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Aa.createElement("span",null,Aa.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Aa.createElement(Dt.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Aa.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,x.useEffect)(()=>{var Ga,ka,Ir,Do,Wo,Ll,Al,qu,Ai,$a,Sr,Xr,Ia,wr,Mo,Wn,oa,ua;try{((Ir=(ka=(Ga=je==null?void 0:je.fileContent)==null?void 0:Ga.content)==null?void 0:ka.content)!=null&&Ir.length||((Wo=(Do=je==null?void 0:je.fileContent)==null?void 0:Do.content)==null?void 0:Wo.content)=="")&&(((Ll=je==null?void 0:je.fileContent)==null?void 0:Ll.file_type)==="txt"?(qn.current=window.decodeURIComponent(escape(window.atob((qu=(Al=je==null?void 0:je.fileContent)==null?void 0:Al.content)==null?void 0:qu.content))),Qa=window.decodeURIComponent(escape(window.atob(($a=(Ai=je==null?void 0:je.fileContent)==null?void 0:Ai.content)==null?void 0:$a.content))),Da(Qa)):(qn.current=(Xr=(Sr=je==null?void 0:je.fileContent)==null?void 0:Sr.content)==null?void 0:Xr.content,Qa=(wr=(Ia=je==null?void 0:je.fileContent)==null?void 0:Ia.content)==null?void 0:wr.content,Da(Qa)))}catch(fo){qn.current=window.atob((Wn=(Mo=je==null?void 0:je.fileContent)==null?void 0:Mo.content)==null?void 0:Wn.content),Qa=window.atob((ua=(oa=je==null?void 0:je.fileContent)==null?void 0:oa.content)==null?void 0:ua.content),Da(Qa),Me.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",je.fileContent.content)},[(Se=je==null?void 0:je.fileContent)==null?void 0:Se.content]),(0,x.useEffect)(()=>{var Ga;const ka=(Ga=at==null?void 0:at.sideBar)==null?void 0:Ga.selectPath.split("/");ea(ka)},[(ze=at==null?void 0:at.sideBar)==null?void 0:ze.selectPath]);const Ma=Ga=>{Da(Ga);let ka=-1;Ga===qn.current?ka=0:ka=1,Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!ka}})};(0,x.useEffect)(()=>{new Promise((Ga,ka)=>Ho(void 0,null,function*(){var Ir,Do,Wo;if(((Ir=at==null?void 0:at.sideBar)==null?void 0:Ir.selectPath)!==""&&((Do=at==null?void 0:at.sideBar)!=null&&Do.selectPath)){const Ll=yield Ne({type:"shixunsDetail/getFileContent",payload:{id:sr.id,path:(Wo=at==null?void 0:at.sideBar)==null?void 0:Wo.selectPath,secret_repository:In?null:!0}});Ll!=null&&Ll.content||(Ll==null?void 0:Ll.content)==""||Ne({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(gn=at==null?void 0:at.sideBar)==null?void 0:gn.selectPath]);const nr=Aa.createElement(At.default,{className:Kt.menu,style:{background:"#24294b"},onClick:Ga=>{var ka;!((ka=je==null?void 0:je.detail)!=null&&ka.secret_repository)&&Ga.key==="2"&&Pn("1"),aa(Ga.key),Ga.key==="1"?Fr(!0):Fr(!1)}},Aa.createElement(At.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),dn.filter(Ga=>{var ka,Ir;return!((ka=je==null?void 0:je.detail)!=null&&ka.init_repository)||(Ir=je==null?void 0:je.detail)!=null&&Ir.is_jupyter_lab?Ga.id!=="2":Ga}).map((Ga,ka)=>Aa.createElement(At.default.Item,{className:"leaveClick",key:Ga.id},Ga.name))),la=(Ga=!1,ka=1)=>Ho(void 0,null,function*(){var Ir,Do,Wo,Ll;const Al=yield Ne({type:"shixunsDetail/updateRepositoryFile",payload:{id:sr.id,path:(Do=(Ir=je==null?void 0:je.fileContent)==null?void 0:Ir.params)==null?void 0:Do.path,content:Qa,secret_repository:In?null:!0,sync_origin_shixun:Ga}});Al!=null&&Al.content&&((Wo=je==null?void 0:je.detail)!=null&&Wo.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ne({type:"practiceSetting/setSideBarTabs",payload:$r(Sa({},at.sideBar),{confirmLeave:!1})})),(Ll=je==null?void 0:je.detail)!=null&&Ll.copy_for_exercise&&(0,fr.m)(Ne,je,sr.id,ka)});return Aa.createElement("div",{className:Kt.warehouse},Aa.createElement("div",{className:Kt.header},Aa.createElement(Ge.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Aa.createElement(Be.Z,{flex:"1"},Aa.createElement(Ge.Z,{align:"middle"},Aa.createElement(Be.Z,null,Aa.createElement(nn.Z,{dropdownRender:()=>nr,className:Kt.menu},Aa.createElement("span",{className:"font16 c-white current ml20"},dn.find(Ga=>Ga.id===Wt).name," ",Aa.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Aa.createElement(Be.Z,{flex:"81px"},Aa.createElement("div",{className:Kt.line})),Aa.createElement(Be.Z,null,Aa.createElement(on.default,{className:Kt.tabs,activeKey:ja,onChange:Ga=>{var ka;(ka=at==null?void 0:at.sideBar)!=null&&ka.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Pn(Ga),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(Pn(Ga),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Aa.createElement(hr,{tab:Aa.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),In&&((zn=je==null?void 0:je.detail)==null?void 0:zn.init_repository)&&Aa.createElement(hr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!In&&((qt=je==null?void 0:je.detail)==null?void 0:qt.secret_repository)&&Aa.createElement(hr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(In&&((Zn=je==null?void 0:je.repository)==null?void 0:Zn.git_url)||!In&&((Bn=je==null?void 0:je.secretRepository)==null?void 0:Bn.git_url))&&Aa.createElement(Aa.Fragment,null,Aa.createElement(Be.Z,null,Aa.createElement("span",{className:Kt.title},"\u4ED3\u5E93\u5730\u5740:"),Aa.createElement("input",{value:In?(Qn=je==null?void 0:je.repository)==null?void 0:Qn.git_url:(Fn=je==null?void 0:je.secretRepository)==null?void 0:Fn.git_url}),Aa.createElement(sn.CopyToClipboard,{text:In?(vt=je==null?void 0:je.repository)==null?void 0:vt.git_url:(ca=je==null?void 0:je.secretRepository)==null?void 0:ca.git_url,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},Aa.createElement(Dt.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Aa.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Aa.createElement("div",{className:Kt.content,style:{overflow:"auto"}},ja==="1"&&Aa.createElement(Aa.Fragment,null,Aa.createElement("aside",{className:Kt.left},Aa.createElement(ht.Z,{spinning:!!pe.effects["shixunsDetail/getRepository"],wrapperClassName:`${Kt.loading} ${Kt.bottom0}`},Aa.createElement(Kr,{setTreeData:Pr,treeData:ir,activeKey:Wt,isRepository:In}))),Aa.createElement("aside",{className:Kt.right,ref:Er},((An=at==null?void 0:at.sideBar)==null?void 0:An.selectPath)!==""&&Aa.createElement(Aa.Fragment,null,Aa.createElement(ht.Z,{spinning:!!pe.effects["shixunsDetail/getFileContent"],wrapperClassName:Kt.loading},Aa.createElement("div",{className:Kt.filePathWrp},Aa.createElement(Ge.Z,{align:"middle",className:"w100"},Aa.createElement(Be.Z,null,Aa.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Aa.createElement(Be.Z,{flex:"40px"},Aa.createElement("div",{className:Kt.line,style:{marginLeft:20}})),Aa.createElement(Be.Z,{className:Kt.filePath},ra.map((Ga,ka)=>Aa.createElement("span",{className:"c-blue"},Ga))))),Aa.createElement("div",{className:pe.effects["shixunsDetail/getFileContent"]?"hide":"show"},Aa.createElement(El.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Zt=je==null?void 0:je.fileContent)==null?void 0:Zt.filename,type:((Qt=je==null?void 0:je.fileContent)==null?void 0:Qt.file_type)==="office"?"download":(It=je==null?void 0:je.fileContent)==null?void 0:It.file_type,data:Qa,monacoEditor:{value:Qa,language:(pt=je==null?void 0:je.fileContent)==null?void 0:pt.language,onChange:Ga=>Ma(Ga),options:{fontSize:14}}}))),((wn=je==null?void 0:je.fileContent)==null?void 0:wn.file_type)==="txt"&&Aa.createElement(Ge.Z,{align:"middle",justify:"center",className:Kt.footer},Aa.createElement(Be.Z,null,Aa.createElement(de.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Oe.history.push(`/shixuns/${sr.id}/challenges`)}},"\u53D6\u6D88"),Aa.createElement(de.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Ga=>{var ka,Ir;(ka=je==null?void 0:je.detail)!=null&&ka.is_fork_from_creator&&((Ir=je==null?void 0:je.detail)!=null&&Ir.copy_for_exercise)?Ne({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Do,Wo)=>{la(Do,Wo)}}}):la()}},"\u63D0\u4EA4")))),((kt=at==null?void 0:at.sideBar)==null?void 0:kt.selectPath)==""&&((Ct=je==null?void 0:je.detail)==null?void 0:Ct.init_repository)&&Aa.createElement("div",{className:Kt.empty},Aa.createElement("img",{src:rn.x7,width:"258"}),Aa.createElement("br",null),Aa.createElement("span",{className:"c-grey-c"},!!(ir!=null&&ir.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(ir!=null&&ir.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),ja==="2"&&Aa.createElement("div",{className:Kt.commit},Aa.createElement(Qo,{isRepository:In}))))};var vo=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(Wr),Jr={flex_box_center:"flex_box_center___qr2XQ",flex_space_between:"flex_space_between___aexCP",flex_box_vertical_center:"flex_box_vertical_center___BCwy9",flex_box_center_end:"flex_box_center_end___MMXT9",flex_box_column:"flex_box_column___XpXt5",level:"level___zlDui",left:"left___eEQyc",container:"container___uKDQP",title:"title___NIFJk",listWrap:"listWrap___uVi_7",list:"list___K1CRH",s3:"s3___s7a1S",s2:"s2___LsTSy",listActive:"listActive___r53KB",os:"os___zLMDu",btns:"btns___fvyWI",btnsWrap:"btnsWrap___pVqhU",icon:"icon___TBkIn",btn:"btn___RbP1C",d1:"d1_____n0x",d2:"d2___TFujl",shrink:"shrink___XsTLO",elseShrink:"elseShrink___Sgotd",right:"right___kNV70",addIcon:"addIcon___Dagu_"},Io="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISGBkBCmZhCQkADCryjaJrYo+IvdKOAEor89rL/Ir2LLIHbaCWyRtqUl0sumW0UQbVvGJqjMYUqKzEmlUhlreuP513fu2e+dunVfvXr1XqDUOmu9dd+998z7O3vvs8+5ZyvUKnTo0IoFmNMWxbGxKI5KhJFM5XAwpbGhK4WXH36/2lqroibyqX0PqFpkuex7etrUBlyQjGJKTiGPnJNrGFAaocEMtm3vxoOPXq321aLMiTxq2wNVA2H5XXrelCacT2KrEHSp6uk8lFbIbO/DTx+5TO2sbTMmcqu2B6oCwsm360mzJ+EdBEFQRQgMAkDe8T6fRfblbvz7+mtUb7WVn0hfux4YPRA6dOzk+Wivz6KBxR/Ko29qAifEo2jJ6yInCAPQCkpp6JyCCvNq6xtSHihSKex44DL137VrxkRO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Xa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",il=ue(64165),$o=ue(19306),Eu=Object.defineProperty,Pu=Object.defineProperties,Ql=Object.getOwnPropertyDescriptors,_u=Object.getOwnPropertySymbols,sl=Object.prototype.hasOwnProperty,zu=Object.prototype.propertyIsEnumerable,Tl=(oe,le,re)=>le in oe?Eu(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,lu=(oe,le)=>{for(var re in le||(le={}))sl.call(le,re)&&Tl(oe,re,le[re]);if(_u)for(var re of _u(le))zu.call(le,re)&&Tl(oe,re,le[re]);return oe},Gu=(oe,le)=>Pu(oe,Ql(le)),Nu=(oe,le)=>{var re={};for(var pe in oe)sl.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&_u)for(var pe of _u(oe))le.indexOf(pe)<0&&zu.call(oe,pe)&&(re[pe]=oe[pe]);return re},kl=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const xi=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ne}=le,at=Nu(le,["globalSetting","dispatch","practiceSetting"]);const je=(0,Oe.useLocation)(),[Ye]=(0,Oe.useSearchParams)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)(!0),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(null),ca=(0,x.useRef)(!1),{id:An,updateIndex:Zt,is_published:Qt,newQuestion:It}=Ne,{challenge_list:pt=[]}=gn;(0,x.useEffect)(()=>{if(An)return kt(),()=>{pe({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[An,Zt]),(0,x.useEffect)(()=>{wn()},[je]);const wn=()=>{const ra=je.pathname.split("/");(ra.includes("newquestion")||ra.includes("new")||Ye.get("tabId"))&&(ca.current=!0)},kt=()=>kl(void 0,null,function*(){var ra,ea,ir;Zn(!0);const Pr=yield(0,ct.n5)({id:An});if((ra=Pr==null?void 0:Pr.challenge_list)!=null&&ra.length){const Er=je.pathname.split("/"),sr=Pr.challenge_list.find(dn=>String(dn.challenge_id)===Er[4]);if(Er.includes("newquestion")||Er.includes("new")){const dn=Pr.challenge_list[((ea=Pr.challenge_list)==null?void 0:ea.length)-1];pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:Er.includes("new")?0:1,name:""}}}),vt(void 0),Pn(dn)}else Er[4]&&sr?Ct(sr,!1):Ct(Pr.challenge_list[0])}(ir=Pr==null?void 0:Pr.challenge_list)!=null&&ir.length||vt(null),zn(Pr),Zn(!1)}),Ct=(ra,ea=!0)=>{if(vt(ra.challenge_id),Pn(ra),ea){const ir=`/shixuns/${An}/edit/${ra.challenge_id}/${ra.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}},Wt=(ra,ea)=>{ea.stopPropagation();const{challenge_id:ir}=ra,Pr=()=>kl(void 0,null,function*(){var Er,sr;if((yield(0,ct.rO)({id:An,challengesId:ir})).status===1){const Ma=yield(0,ct.n5)({id:An});if(zn(Ma),ir===Fn&&((Er=Ma.challenge_list)!=null&&Er.length)){Ct(Ma.challenge_list[0]);return}(sr=Ma.challenge_list)!=null&&sr.length||(vt(null),ca.current=!0,Pn({}),Oe.history.push(`/shixuns/${An}/edit?tabId=level`))}});Re.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Pr})},aa=(ra,ea,ir)=>{const Pr=Array.from(ra),[Er]=Pr.splice(ea,1);return Pr.splice(ir,0,Er),Pr},ja=(ra,ea)=>{if(!ra.destination)return;const ir=aa(ea,ra.source.index,ra.destination.index);zn(Gu(lu({},gn),{challenge_list:ir}));const Pr=ir.map(Er=>Er.challenge_id);(0,ct.xg)({id:An,ids:Pr}).then(Er=>{Er.status!==0&&zn(Gu(lu({},gn),{challenge_list:ea}))})},Pn=ra=>{pe({type:"practiceSetting/setParams",payload:{selectQuestionParams:ra}})},Qa=(ra,ea)=>kl(void 0,null,function*(){if(ra===Fn)return;yield Da(),vt(ra),Pn(ea),pe({type:"practiceSetting/setParams",payload:{newQuestion:null}});const ir=`/shixuns/${An}/edit/${ra}/${ea.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}),Da=()=>new Promise((ra,ea)=>{var ir;(ir=Ne==null?void 0:Ne.sideBar)!=null&&ir.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{pe({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),ra()},onCancel:()=>{ea()}}):ra()}),qn=ra=>x.createElement(x.Fragment,null,x.createElement($o.Z5,{onDragEnd:ea=>ja(ea,ra)},x.createElement($o.bK,{droppableId:"droppable"},(ea,ir)=>x.createElement("div",Gu(lu({ref:ea.innerRef},ea.droppableProps),{style:{width:"100%"}}),ra.map((Pr,Er)=>{const{st:sr,name:dn,challenge_id:Ma}=Pr;return x.createElement($o._l,{key:Ma,draggableId:Ma.toString(),index:Er,isDragDisabled:Qt},(nr,la)=>x.createElement("div",Gu(lu(lu({ref:nr.innerRef},nr.draggableProps),nr.dragHandleProps),{className:Fn===Ma?Jr.listActive:Jr.list,onClick:()=>Qa(Ma,Pr)}),x.createElement("span",{className:Jr.s1},sr===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Jr.s2},"\u7B2C",Er+1,"\u5173: ",dn),!Qt&&x.createElement("span",{className:Jr.s3,onClick:Ga=>Wt(Pr,Ga)},x.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),It&&x.createElement("div",{className:Jr.listActive},x.createElement("span",{className:Jr.s1},(It==null?void 0:It.st)===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Jr.s2},"\u7B2C",ra.length+1,"\u5173: ",It==null?void 0:It.name)),!Qt&&x.createElement("div",{className:Jr.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),In=ra=>kl(void 0,null,function*(){yield Da(),ra==="new"?Oe.history.push(`/shixuns/${An}/edit/new`):Oe.history.push(`/shixuns/${An}/edit/newquestion`),ze(!1),vt(void 0),pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:ra==="new"?0:1,name:""}}})}),Fr=()=>{(0,Ca.gy)(pe,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||ze(!Se)};return x.createElement("div",{className:Jr.level},x.createElement("aside",{className:Jr.left,style:{width:Bn?"0":"25%"}},x.createElement("div",{className:Jr.container},x.createElement("div",{className:Jr.title},"\u4EFB\u52A1\u5173\u5361(",pt.length,")"),x.createElement("div",{className:Jr.listWrap},qt?x.createElement(ht.Z,{size:"middle"}):pt.length||It?qn(pt):x.createElement(il.Z,{image:Io,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Bn&&x.createElement("div",{className:Jr.btns},x.createElement("aside",{className:Jr.btnsWrap},x.createElement("div",{style:{transform:Se?"rotate(45deg)":"rotate(0deg)"},className:Jr.icon,onClick:Fr},"+"),x.createElement("div",{className:Jr.btn,style:{left:Se?20:-154}},x.createElement("div",{className:Jr.d1,onClick:()=>In("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),x.createElement("div",{className:Jr.d2,onClick:()=>In("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),x.createElement("div",{className:Bn?Jr.elseShrink:Jr.shrink,onClick:()=>Qn(!Bn)},x.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),x.createElement("aside",{className:Jr.right,id:"modal-level-question"},Fn===null&&ca.current?x.createElement("div",{className:Jr.addIcon},x.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):x.createElement(Oe.Outlet,null)))};var oi=(0,Oe.connect)(({globalSetting:oe,practiceSetting:le})=>({globalSetting:oe,practiceSetting:le}))(xi),xu=ue(61621),Uu=ue(58421),vi=ue(5112),pi={title:"title___nOeqx",content:"content___fZhlH",add:"add___UacIA",colorBlue:"colorBlue___mDMlZ",radio:"radio___mI6Bh"},ba=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable,Po=(oe,le)=>{var re={};for(var pe in oe)Vr.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&ba)for(var pe of ba(oe))le.indexOf(pe)<0&&Hr.call(oe,pe)&&(re[pe]=oe[pe]);return re},yl=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const $u=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,dispatch:at,onReloadData:je}=le,Ye=Po(le,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Se,ze]=(0,x.useState)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{re.actionTabs.key==="Collaborators-ChangeManager"&&qt()},[re.actionTabs.key]);const qt=()=>yl(void 0,null,function*(){var Fn;const vt=yield at({type:"shixunsDetail/getChangeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}});zn(vt||[])}),Zn=()=>{var Fn;at({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}}})},Bn=()=>yl(void 0,null,function*(){var Fn;if(!Se){Me.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const vt=yield at({type:"shixunsDetail/changeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id,user_id:Se}});Qn(),vt&&(je(),Me.ZP.info(vt.message))}),Qn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}}),ze(null)};return x.createElement(Re.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:re.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Ne.effects["shixunsDetail/changeManager"],onOk:Bn,onCancel:Qn},x.createElement("div",null,x.createElement("div",{className:pi.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",x.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),x.createElement("div",{className:pi.content},gn.length?x.createElement(vi.ZP.Group,{value:Se,onChange:Fn=>ze(Fn.target.value)},gn.map((Fn,vt)=>x.createElement(vi.ZP,{className:pi.radio,key:vt,value:Fn.user_id},Fn.name))):x.createElement("div",{className:pi.add},x.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",x.createElement("a",{className:pi.colorBlue,onClick:Zn},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var cl=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))($u),hi=ue(68226),li=ue(44405);const{TabPane:Jo}=on.default;var ju=({visible:oe,onCancel:le,onSelectGroup:re,shixunId:pe,onSelectCollaborator:Ne})=>x.createElement(Re.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:oe,width:1100,centered:!0,keyboard:!1,onCancel:le,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},x.createElement(on.default,{defaultActiveKey:"1"},x.createElement(Jo,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},x.createElement(hi.Z,{onCancel:le,container_type:2,container_id:pe,onSelect:Ne})),x.createElement(Jo,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},x.createElement(li.Z,{onCancel:le,onSelect:re})))),Xo={bg:"bg___eNGI2",wrap:"wrap___cXTZg",modal:"modal___tpv7Q",content:"content___MwVZ6",head:"head___PxksF",headCount:"headCount___ltwMD",button:"button___KydF2",itemWrap:"itemWrap___E0xoZ",imgWrap:"imgWrap___sjKtg",img:"img___iT84N",manager:"manager___T0le_",itemContent:"itemContent___v3w_e",nameWrap:"nameWrap___dFMCl",name:"name___Y7cXc",actionGroup:"actionGroup___fIyBj",deleteIcon:"deleteIcon___gBNJ0",schoolWrap:"schoolWrap___rJCGL",school:"school___V97lL",countWrap:"countWrap___Dhs2Z",deletetitle:"deletetitle___ifJFw",yseTitle:"yseTitle___yrW0X"},wu=ue(87496),Xi=Object.defineProperty,Ps=Object.getOwnPropertySymbols,Cc=Object.prototype.hasOwnProperty,bc=Object.prototype.propertyIsEnumerable,qi=(oe,le,re)=>le in oe?Xi(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Gl=(oe,le)=>{for(var re in le||(le={}))Cc.call(le,re)&&qi(oe,re,le[re]);if(Ps)for(var re of Ps(le))bc.call(le,re)&&qi(oe,re,le[re]);return oe},Ei=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const id=({shixunsDetail:oe,globalSetting:le,loading:re,user:pe,dispatch:Ne})=>{var at,je,Ye,Se,ze,gn;const zn=(0,Oe.useParams)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(0),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({id:null,page:1}),An=(je=(at=pe.userInfo)==null?void 0:at.shixun)==null?void 0:je.editable,Zt=((Ye=pe.userInfo)==null?void 0:Ye.role)<=2||((ze=(Se=pe.userInfo)==null?void 0:Se.shixun)==null?void 0:ze.is_creator);(0,x.useEffect)(()=>{qt.current=zn.id,vt.id=qt.current,ca(vt),Qt(vt)},[]);const Qt=Pn=>Ei(void 0,null,function*(){const Qa=yield Ne({type:"shixunsDetail/getCollaboratorsData",payload:Pn});Qa&&(Fn(Qa.members||[]),Bn(Qa.member_count))}),It=()=>Ei(void 0,null,function*(){vt.page=1,ca(vt);const Pn=(0,wu.g)();yield Ne({type:"user/getUserInfo",payload:Pn}),yield Qt(vt)}),pt=Pn=>{vt.page=Pn,ca(vt),Qt(vt)},wn=Pn=>{Re.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:x.createElement("div",{className:Xo.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>Ei(void 0,null,function*(){var Qa;const Da=yield Ne({type:"shixunsDetail/deleteCollaborators",payload:{id:qt.current,userId:Pn}});if(((Qa=pe.userInfo)==null?void 0:Qa.user_id)===Pn){Oe.history.push("/shixuns");return}Me.ZP.info(Da==null?void 0:Da.message),vt.page=1,ca(vt),Qt(vt)})})},kt=()=>{Ne({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:qt.current}}})};function Ct(Pn,Qa,Da,qn){return Ei(this,null,function*(){yield Ne({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Pn,user_id:Qa,editable:Da?0:1}}),Qt(vt)})}const Wt=()=>{Ne({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:qt.current}}})};function aa(){Ne({type:"shixunsDetail/setActionTabs",payload:{}})}const ja={visible:oe.actionTabs.key==="Collaborators-AddCollaborator",onCancel:aa,shixunId:qt.current,onSelectCollaborator:Pn=>Ei(void 0,null,function*(){aa(),(yield Ne({type:"shixunsDetail/addCollaborator",payload:{id:qt.current,user_ids:Pn}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())}),onSelectGroup:Pn=>Ei(void 0,null,function*(){aa(),(yield Ne({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:qt.current,group_id:Pn.group_id}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())})};return x.createElement("section",null,x.createElement("div",{className:Xo.wrap},x.createElement("div",{className:Xo.content},((gn=oe.detail)==null?void 0:gn.identity)<5&&x.createElement("div",{className:Xo.head},x.createElement("span",{className:Xo.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Zn,"\u4EBA\uFF09"),x.createElement("div",null,Zt&&x.createElement(de.ZP,{type:"primary",ghost:!0,className:Xo.button,style:{marginRight:"20px"},onClick:kt},"\u66F4\u6362\u7BA1\u7406\u5458"),An&&x.createElement(de.ZP,{type:"primary",className:Xo.button,style:{marginRight:"40px"},onClick:Wt},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),x.createElement("div",{className:Xo.list},x.createElement(xu.Z,{loading:re.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Qn.map((Pn,Qa)=>{var Da,qn,In,Fr,ra,ea,ir,Pr;return x.createElement("div",{style:{display:"inline-block",width:"50%"}},x.createElement("div",{className:Xo.itemWrap,key:Qa},x.createElement("a",{href:(Da=Pn.user)==null?void 0:Da.user_url,target:"_blank",className:Xo.imgWrap},x.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:Xo.img,src:`${tt.Z.IMG_SERVER}/images/${(qn=Pn.user)==null?void 0:qn.image_url}`}),((In=Pn.user)==null?void 0:In.shixun_manager)&&x.createElement("span",{className:Xo.manager},"\u521B\u5EFA\u8005")),x.createElement("div",{className:Xo.itemContent},x.createElement("p",{className:Xo.nameWrap},x.createElement("a",{href:Pn.user.user_url,target:"_blank",className:Xo.name},(Fr=Pn.user)==null?void 0:Fr.name,Pn.user.user_id===((ra=pe.userInfo)==null?void 0:ra.user_id)?x.createElement("span",null,"\u6211"):null),x.createElement("div",{className:Xo.actionGroup},Zt?(ea=Pn.user)!=null&&ea.shixun_manager?null:x.createElement(nn.Z,{dropdownRender:()=>x.createElement(At.default,{selectedKeys:[Pn.editable?"1":"2"],onClick:()=>{var Er;Ct(oe.detail.identifier,Pn.user.user_id,Pn.editable,(Er=Pn.user)==null?void 0:Er.name)}},x.createElement(At.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),x.createElement(At.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},x.createElement("div",null,Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",x.createElement(xn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((ir=Pn.user)!=null&&ir.shixun_manager)&&An?x.createElement("a",{className:Xo.deletetitle,onClick:()=>{var Er;return wn((Er=Pn.user)==null?void 0:Er.user_id)}},"\u5220\u9664"):null)),x.createElement("p",{className:Xo.schoolWrap},x.createElement("span",{className:Xo.school},(Pr=Pn.user)==null?void 0:Pr.school_name)))))})))),Zn>10&&x.createElement("div",{className:Xo.countWrap},x.createElement(Uu.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Zn,onChange:Pn=>pt(Pn),pageSize:10,current:vt.page}))),x.createElement(cl,{onReloadData:It}),x.createElement(ju,Gl({},ja)))};var wi=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le}))(id),Li=ue(79768),Dc=ue(87516),Ks={practice:"practice___ickwa",select:"select___aZrGc"},sd=Object.defineProperty,Ss=Object.defineProperties,cd=Object.getOwnPropertyDescriptors,Hs=Object.getOwnPropertySymbols,dd=Object.prototype.hasOwnProperty,gd=Object.prototype.propertyIsEnumerable,Ac=(oe,le,re)=>le in oe?sd(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Vi=(oe,le)=>{for(var re in le||(le={}))dd.call(le,re)&&Ac(oe,re,le[re]);if(Hs)for(var re of Hs(le))gd.call(le,re)&&Ac(oe,re,le[re]);return oe},Fs=(oe,le)=>Ss(oe,cd(le)),ys=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const md=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{const{id:Ne}=oe,[at]=ce.default.useForm(),je={compute:"GPU",cluster_type:"OpenI"},[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({}),[zn,qt]=(0,x.useState)({});(0,x.useEffect)(()=>{Zn()},[]);const Zn=()=>ys(void 0,null,function*(){var vt,ca,An,Zt;const Qt=yield(0,lt.ZP)(`/api/shixuns/${Ne}.json`,{method:"get"});if(Qt.identifier){const It={place_image_id:[(vt=Qt==null?void 0:Qt.image_data)==null?void 0:vt.id],spec_id:Qt==null?void 0:Qt.spec_id,compute:(ca=Qt.image_data)!=null&&ca.image_id?"GPU":"NPU",cluster_type:(An=Qt.image_data)!=null&&An.clusterType?(Zt=Qt.image_data)==null?void 0:Zt.clusterType:"C2Net"};at.setFieldsValue(Vi({},It)),gn(Vi({},It)),qt(It)}});(0,x.useEffect)(()=>{(0,pn.isEqual)(ze,zn)?le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}})},[ze]);const Bn=()=>{var vt;const ca=()=>{Oe.history.push(`/shixuns/${Ne}/challenges`),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(vt=oe==null?void 0:oe.sideBar)!=null&&vt.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ca()}}):ca()},Qn=(vt,ca)=>{("compute"in vt||"cluster_type"in vt)&&(ca=Fs(Vi({},ca),{place_image_id:"",spec_id:""})),"spec_id"in vt&&(ca=Fs(Vi({},ca),{place_image_id:""})),at.setFieldsValue(Vi({},ca)),gn(Vi({},ca))},Fn=vt=>ys(void 0,null,function*(){const{spec_id:ca,place_image_id:An,image_data:Zt}=vt||{};Se(!0),(yield(0,lt.ZP)(`/api/shixuns/${Ne}`,{method:"put",body:{is_openi:!0,openi_data:{spec_id:ca,image_data:Zt}}})).status===0&&(Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Zn()),Se(!1)});return x.createElement("div",{className:Ks.practice},x.createElement(ce.default,{form:at,initialValues:je,scrollToFirstError:!0,layout:"vertical",onValuesChange:Qn,onFinish:Fn},x.createElement(Dc.Z,{form:at}),x.createElement(Ge.Z,{align:"middle",justify:"end",className:"mt40"},x.createElement(de.ZP,{size:"large",onClick:Bn},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"large",type:"primary",className:"ml20",onClick:()=>at.submit(),loading:Ye},"\u4FDD\u5B58"))))};var Ys=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))(md);const $i=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{var Ne;console.log();const at=(Ne=re.detail)==null?void 0:Ne.is_openi;return x.createElement(x.Fragment,null,at&&x.createElement(Ys,null))};var zi=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))($i),ui=ue(57809),Cs=ue(5871),Bc=ue(60324),eg=ue(51124),Qs=ue(87169),fd={footerWrap:"footerWrap___Qaahm"},Gi=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,vd=Object.prototype.propertyIsEnumerable,tg=(oe,le)=>{var re={};for(var pe in oe)es.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Gi)for(var pe of Gi(oe))le.indexOf(pe)<0&&vd.call(oe,pe)&&(re[pe]=oe[pe]);return re},pd=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Js=ye.default.TextArea,Pi=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,dispatch:at,onFinish:je=()=>{}}=le,Ye=tg(le,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Se]=ce.default.useForm(),ze=zn=>pd(void 0,null,function*(){var qt;const Zn=yield at({type:"shixunsDetail/getCustomScript",payload:{id:(qt=re.actionTabs.params)==null?void 0:qt.id,compile:zn.execute,excutive:zn.compile}});gn(),Zn&&je(Zn==null?void 0:Zn.shixun_script)}),gn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}})};return x.createElement(Re.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:re.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:gn},x.createElement(ce.default,{form:Se,scrollToFirstError:!0,layout:"vertical",onFinish:ze},x.createElement(ce.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},x.createElement(Js,{rows:4})),x.createElement(ce.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},x.createElement(Js,{rows:4})),x.createElement("div",{className:fd.footerWrap},x.createElement(ce.default.Item,null,x.createElement(de.ZP,{className:"mr5",size:"middle",onClick:gn},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ne.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var bs=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))(Pi),Xs=ue(76406),xc=ue(95887),ol={practice:"practice___g43Av",right:"right___plViv",title:"title___fJJJd",content:"content___Aiv2H",des:"des___kaZig",mainBody:"mainBody___fTSjs",selectBox:"selectBox___omezm",smallType:"smallType___NU4X3",evaluating:"evaluating___YaR_r",evaluatingLabel:"evaluatingLabel___Cy_Vk",mask:"mask___ewIvw",evaluatingS1:"evaluatingS1___oKt4O",serviceSettingWrap:"serviceSettingWrap___Haz9b",serviceBox:"serviceBox___Oc9DS",serviceSetLeft:"serviceSetLeft___ek9V_",serviceSetTip:"serviceSetTip___t8Vpy",btns:"btns___E8bN3",popover:"popover___s3ipd",serverConfig:"serverConfig___tirr2",viewRecommendConfig:"viewRecommendConfig___vFIgu",gpuConfig:"gpuConfig___JuK_Z"},me=ue(88195),ve=ue(84722),he=ue(40151),Ie=ue(18309),Te=Object.defineProperty,Bt=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,sa=(oe,le,re)=>le in oe?Te(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Cn=(oe,le)=>{for(var re in le||(le={}))Yt.call(le,re)&&sa(oe,re,le[re]);if(Ht)for(var re of Ht(le))hn.call(le,re)&&sa(oe,re,le[re]);return oe},Dn=(oe,le)=>Bt(oe,ft(le)),Yn=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Xn=ui.default.Option,jt=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{var Ne,at;const[je,Ye]=(0,x.useState)(null),[Se,ze]=(0,x.useState)([]),[gn,zn]=(0,x.useState)(!0),[qt,Zn]=(0,x.useState)({}),[Bn,Qn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(),[ca,An]=(0,x.useState)(),[Zt,Qt]=(0,x.useState)([]),[It,pt]=(0,x.useState)({}),wn=(0,x.useRef)(null),kt=(0,x.useRef)(!0),Ct=(0,x.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Wt=(0,x.useRef)(null),[aa,ja]=(0,x.useState)(!1),[Pn,Qa]=(0,x.useState)(!1),[Da,qn]=(0,x.useState)({}),{id:In,is_published:Fr}=oe,{frequence_image:ra=[],environments:ea=[],choice_small_type:ir=[],other_image:Pr=[]}=It,{name:Er,description:sr,authorization:dn,small_type:Ma=[]}=qt;(0,x.useEffect)(()=>{je!==null&&(Ga(),wn.current.scrollTop=0)},[je]),(0,x.useEffect)(()=>{In&&la()},[In]),(0,x.useEffect)(()=>{if(je!==null)return nr(),()=>{clearTimeout(Wt.current)}},[je,Se,Bn,Fn,ca]);const nr=()=>{clearTimeout(Wt.current),Wt.current=setTimeout(()=>{!(0,pn.isEqual)(Ct.current.activeId,je)||!(0,pn.isEqual)(Ct.current.selectId,Se)||!(0,pn.isEqual)(Ct.current.serviceConfigList,Bn)||!(0,pn.isEqual)(Ct.current.evaluateScript,Fn)||!(0,pn.isEqual)(Ct.current.evaluationScript,ca)?le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},la=()=>Yn(void 0,null,function*(){var Ia,wr,Mo;zn(!0);const Wn=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_environment_info.json`,{method:"get"});Wn.status===0&&(pt(Cn({},Wn.data)),zn(!1),(Ia=Wn==null?void 0:Wn.data)!=null&&Ia.id?(Ct.current.activeId=(wr=Wn==null?void 0:Wn.data)==null?void 0:wr.id,Ye((Mo=Wn==null?void 0:Wn.data)==null?void 0:Mo.id)):Ye(null))}),Ga=()=>Yn(void 0,null,function*(){var Ia,wr,Mo,Wn;const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:je}});Zn(oa.data),Ct.current.selectId=(Ia=oa.data)==null?void 0:Ia.choice_small_type,ze((wr=oa.data)==null?void 0:wr.choice_small_type),Ct.current.serviceConfigList=(Mo=oa.data)==null?void 0:Mo.shixun_service_configs,Qn((Wn=oa.data)==null?void 0:Wn.shixun_service_configs),Ct.current.evaluateScript=oa.data.evaluate_script,vt(oa.data.evaluate_script),Ct.current.evaluationScript=oa.data.choice_standard_scripts,An(oa.data.choice_standard_scripts),Qt(oa.data.standard_scripts)}),ka=()=>{var Ia;const wr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Ia=oe==null?void 0:oe.sideBar)!=null&&Ia.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wr()}}):wr()},Ir=(Ia=!1)=>Yn(void 0,null,function*(){if((qt==null?void 0:qt.survival_time)<10){Me.ZP.warning("\u57FA\u672C\u4FE1\u606F\u66F4\u65B0\u5931\u8D25:\u9A8C\u8BC1\u5931\u8D25: \u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F\u5FC5\u987B\u5927\u4E8E\u6216\u7B49\u4E8E 10");return}if((0,Ca.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;const wr={sub_type:Se,main_type:je,shixun:{mirror_script_id:ca,is_jupyter_lab_private_cloud:!1,survival_time:qt==null?void 0:qt.survival_time},shixun_info:{evaluate_script:Fn},shixun_service_configs:Bn.map(Wn=>({mirror_repository_id:Wn.mirror_repository_id,cpu_limit:Wn.cpu_limit,lower_cpu_limit:Wn.lower_cpu_limit,memory_limit:Wn.memory_limit,request_limit:Wn.request_limit,resource_limit:Wn.resource_limit,single_machine_gpu_count:(Wn==null?void 0:Wn.single_machine_gpu_count)||null,single_card_gpu_resource:(Wn==null?void 0:Wn.single_card_gpu_resource)||null}))};(yield(0,lt.ZP)(`/api/shixuns/${In}`,{method:"put",body:wr})).status===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),Ct.current={activeId:je,selectId:Se,serviceConfigList:Bn,evaluateScript:Fn,evaluationScript:ca},le({type:"practiceSetting/getCommonData",payload:{id:In}}),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),Do=Ma.filter(Ia=>Se.includes(Ia.id)),Wo=()=>{ka()},Ll=(Ia,wr,Mo)=>{Qn(Wn=>Wn.map((oa,ua)=>ua===Mo?Dn(Cn({},oa),{[wr]:Ia}):oa))},Al=()=>{(0,Ca.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||le({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:In}}})},qu=Ia=>Yn(void 0,null,function*(){const wr=yield le({type:"shixunsDetail/getScriptContent",payload:{id:In,script_id:Ia}});wr&&vt(wr.content)}),Ai=Ia=>{Re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",x.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>Yn(void 0,null,function*(){yield qu(Ia),Re.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:x.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},$a=(Ia,wr)=>{const Mo=Bn[0]?[Bn[0]]:[];wr.forEach(Wn=>{const oa=Bn.find(ua=>ua.mirror_repository_id===Number(Wn.key));if(oa)Mo.push(oa);else{const ua=Ma.find(fo=>fo.id===Number(Wn.key));if(ua.mirror_name){const fo={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(Wn.key),name:ua.mirror_name,request_limit:10};Mo.push(fo)}}}),Qn(Mo),ze(Ia)},Sr=Ia=>{Ll(String(Ia==null?void 0:Ia.cpu),"cpu_limit",Ia.index),Ll(String(Ia==null?void 0:Ia.memory),"memory_limit",Ia.index),ja(!1)},Xr=(Ia,wr)=>{var Mo;const{single_card_gpu_resource:Wn,single_machine_gpu_count:oa,mirror_repository:ua}=Ia;if(!ua)return x.createElement(x.Fragment,null);let fo=(ua==null?void 0:ua.gpu_allocation_method)=="single_card_multi_allocation"?(ua==null?void 0:ua.single_card_gpu_resource)*1024/Wn:(ua==null?void 0:ua.single_machine_gpu_count)/oa;return x.createElement("div",{className:"mb20 mt20"},x.createElement("div",{style:{color:"#333",marginBottom:4}},"GPU\u8D44\u6E90\u914D\u7F6E"),((ua==null?void 0:ua.gpu_allocation_method)=="single_machine_multi_card"||(ua==null?void 0:ua.gpu_allocation_method)=="multi_machine_multi_card")&&x.createElement(x.Fragment,null,x.createElement("div",{className:ol.gpuConfig},x.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A",(ua==null?void 0:ua.gpu_allocation_method)=="single_machine_multi_card"?"\u5355\u673A\u591A\u5361":"\u591A\u673A\u591A\u5361","\uFF0C\u5F53\u524D\u9879\u76EE\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u4E0A\u9650\u4E3A ",ua==null?void 0:ua.single_machine_gpu_count," \u5F20\uFF0C\u6BCF\u5F20\u663E\u5B58\u5927\u5C0F\u4E3A",(Mo=ua==null?void 0:ua.gpu_model)==null?void 0:Mo[0],"GB")),x.createElement("div",{className:ol.gpuConfig,style:{marginTop:10}},x.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u9650\u5236",x.createElement(Cs.Z,{precision:0,min:1,max:ua==null?void 0:ua.single_machine_gpu_count,defaultValue:1,value:oa,size:"large",className:"ml10 mr10",onChange:Bi=>{Ll(Bi||1,"single_machine_gpu_count",wr)}}),"\u5F20\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",x.createElement("span",{style:{color:"#FA6400"}},fo)," \u4EBA"))),(ua==null?void 0:ua.gpu_allocation_method)=="single_card_multi_allocation"&&x.createElement(x.Fragment,null,x.createElement("div",{className:ol.gpuConfig},x.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A\u5355\u5361\u591A\u5206\uFF0C\u53EF\u5206\u914DGPU\u8D44\u6E90\u4E3A",ua==null?void 0:ua.single_card_gpu_resource,"GB")),x.createElement("div",{className:ol.gpuConfig,style:{marginTop:10}},x.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684GPU\u8D44\u6E90\u9650\u5236\uFF08\u5355\u4E2A\u5B9E\u4F8B\u542F\u52A8pod\u6240\u5360\u7528\u7684\u663E\u5B58\uFF09",x.createElement(Cs.Z,{min:1,max:(ua==null?void 0:ua.single_card_gpu_resource)*1024,defaultValue:1024,value:Wn,size:"large",className:"ml10 mr10",onChange:Bi=>{Ll(Bi||1,"single_card_gpu_resource",wr)}}),"MB\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",x.createElement("span",{style:{color:"#FA6400"}},Math.floor(fo))," \u4EBA"))))};return x.createElement("div",{className:ol.practice},x.createElement(xc.Z,{loading:gn,skin:"night",className:ol.left,dispatch:le,value:je,data:ea,otherData:Pr,tags:ra,onChange:Ia=>Ye(Ia),onSearchWord:()=>{}}),x.createElement("div",{className:ol.right},x.createElement("header",null,x.createElement("div",{className:ol.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",je===null?"\u2014 \u2014":Er)),x.createElement("div",{className:ol.content,ref:wn},je===null&&x.createElement(il.Z,{image:Xs,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),je!==null&&x.createElement("div",{className:ol.des},x.createElement("div",{className:ol.mainBody},x.createElement(xe.Z,{value:sr})),x.createElement("div",{className:ol.title},"\u9644\u5E26\u73AF\u5883"),x.createElement("div",{className:ol.selectBox},x.createElement(ui.default,{onChange:(Ia,wr)=>$a(Ia,wr),getPopupContainer:Ia=>Ia.parentNode,mode:"multiple",bordered:!1,value:Se,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},Ma.map((Ia,wr)=>x.createElement(Xn,{key:Ia.id,value:Ia.id},Ia.type_name))),x.createElement("div",{className:ol.smallType},Do.map(Ia=>Ia.description?x.createElement("span",{key:Ia.id},Ia.description):null))),!((Ne=re==null?void 0:re.detail)!=null&&Ne.is_jupyter_lab)&&x.createElement(x.Fragment,null,x.createElement("div",{className:ol.title},"\u8BC4\u6D4B\u811A\u672C"),x.createElement("div",{className:ol.evaluating},x.createElement("div",{className:ol.evaluatingLabel},Fr&&x.createElement("div",{onClick:()=>{(0,Ca.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:ol.mask}),x.createElement(ui.default,{style:{width:400},bordered:!1,getPopupContainer:Ia=>Ia.parentNode,value:ca,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:Ia=>{Ai(Ia),An(Ia)}},(Zt||[]).map((Ia,wr)=>x.createElement(Xn,{value:parseInt(Ia.id),name:Ia.scptname,key:wr},Ia.scptname))),x.createElement("span",{className:ol.evaluatingS1,onClick:Al},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),x.createElement(Bc.Z,{overlayClassName:ol.popover,placement:"bottomLeft",content:x.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",x.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",x.createElement("br",null),"challengeProgramNames",x.createElement("br",null),"sourceClassNames",x.createElement("br",null),x.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",x.createElement("br",null),x.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",x.createElement("br",null),"src/step1/HelloWorld.java",x.createElement("br",null),"src/step2/Other.java",x.createElement("br",null),x.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",x.createElement("br",null),"step1.HelloWorld",x.createElement("br",null),"step2.Other",x.createElement("br",null),x.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",x.createElement("br",null),'ff challengeProgramNames=("src/step1/',x.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',x.createElement("br",null),'sourceClassNames=("step1.HelloWorld',x.createElement("br",null),'" "step2.Other")',x.createElement("br",null),x.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},x.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},x.createElement(Qs.Z,null)))),x.createElement(eg.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:Fn,onChange:Ia=>{if(kt.current){kt.current=!1;return}vt(Ia),(0,Ca.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{kt.current=!0,vt(Ct.current.evaluateScript)},200)}}))),((at=re.detail)==null?void 0:at.identity)<3&&!!Bn.length&&x.createElement(x.Fragment,null,x.createElement("div",{className:ol.title},"\u8D44\u6E90\u914D\u7F6E"),x.createElement("div",{className:ol.serviceSettingWrap},Bn==null?void 0:Bn.map((Ia,wr)=>x.createElement("div",{key:wr,className:"mb30"},x.createElement("div",{className:"mb20"},x.createElement("span",{className:"font16"},Ia.name)),x.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),x.createElement(Ge.Z,{align:"middle"},x.createElement(Ge.Z,{align:"middle",wrap:!1},x.createElement("div",{className:ol.serverConfig,style:Fr?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Fr||(qn({index:wr,cpu:Ia==null?void 0:Ia.cpu_limit,memory:Ia==null?void 0:Ia.memory_limit}),ja(!0))}},x.createElement("div",null,x.createElement("span",null,Ia==null?void 0:Ia.cpu_limit,"\u6838")," ",x.createElement("span",null,Ia==null?void 0:Ia.memory_limit,"GB")),x.createElement("i",{className:"iconfont icon-bianji21",style:Fr?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),x.createElement(Ge.Z,{align:"middle",wrap:!1},x.createElement("div",{className:ol.viewRecommendConfig,onClick:()=>Qa(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),Xr(Ia,wr),x.createElement("div",{className:ol.serviceBox},x.createElement("div",{className:ol.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),x.createElement(ye.default,{value:Ia.resource_limit,style:{width:400,height:50},disabled:Fr,maxLength:5,onChange:Mo=>{const{value:Wn}=Mo.target,oa=/^\d*(\.\d*)?$/;Wn.match(oa)&&Ll(Mo.target.value,"resource_limit",wr)},addonAfter:"M"}),x.createElement("label",{className:ol.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))))),x.createElement("div",{className:"flex flex-col gap-10px"},x.createElement("div",null,"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),x.createElement(Cs.Z,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F",value:qt==null?void 0:qt.survival_time,addonAfter:"\u5206",min:0,style:{width:256},onChange:Ia=>{Zn(Dn(Cn({},qt),{survival_time:Ia}))}})))),x.createElement("div",{className:ol.btns},x.createElement(de.ZP,{size:"middle",style:{marginRight:20},onClick:Wo},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"middle",type:"primary",disabled:je===null,onClick:()=>Ir()},"\u4FDD\u5B58"))),x.createElement(me.Z,null),x.createElement(bs,{onFinish:Ia=>vt(Ia)}),x.createElement(ve.Z,null),x.createElement(he.Z,{visible:aa,onOk:Ia=>Sr(Ia),onCancel:()=>ja(!1),info:Da}),x.createElement(Ie.Z,{identifier:In,visible:Pn,onCancel:()=>Qa(!1),info:null,isJupyter:!0}))};var yn=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))(jt);const $n=({shixunsDetail:oe})=>{var le,re,pe,Ne;const[at,je]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{var Ye;typeof((Ye=oe==null?void 0:oe.detail)==null?void 0:Ye.is_jupyter_lab)=="boolean"&&at&&je(!1)},[(le=oe==null?void 0:oe.detail)==null?void 0:le.is_jupyter_lab,at]),console.log((re=oe==null?void 0:oe.detail)==null?void 0:re.is_jupyter_lab,at),x.createElement(xu.Z,{loading:at,active:!0},((pe=oe==null?void 0:oe.detail)==null?void 0:pe.is_jupyter_lab)===!1&&x.createElement(zi,null),((Ne=oe==null?void 0:oe.detail)==null?void 0:Ne.is_jupyter_lab)===!0&&x.createElement(yn,null))};var Ua=(0,Oe.connect)(({shixunsDetail:oe})=>({shixunsDetail:oe}))($n),Ba=ue(1710),Ya=ue(56656),Xa=ue.n(Ya),ha={flex_box_center:"flex_box_center___ap7QK",flex_space_between:"flex_space_between___y0ril",flex_box_vertical_center:"flex_box_vertical_center___lHV36",flex_box_center_end:"flex_box_center_end___LZ9Th",flex_box_column:"flex_box_column___w365Y",dataset:"dataset___Fpv_2",header:"header___JaI8B",title:"title___W2bjU",dataPath:"dataPath___VR6tz",pathTitle:"pathTitle___ZsIta",btns:"btns___o1xZS",content:"content___bsrju",customTable:"customTable___RS8yq",row:"row___dbMWu",empty:"empty___jeKzD",path:"path___q4vau",text:"text___Xngoj",actionsBtns:"actionsBtns___lW7NZ",customModal:"customModal___j7oZm",shareModal:"shareModal___UfYMy",fileName:"fileName___oCsnD",renameModal:"renameModal___kGFhU",errorDes:"errorDes___GQgpo",uploadFileModal:"uploadFileModal___uvHAo",selectBtn:"selectBtn___wCM31",leftButton:"leftButton___KNGj3",rightButton:"rightButton___ejFn9",centerText:"centerText___oZo20"},La={wrap:"wrap___tHiDz",colorBlue:"colorBlue___YpQqS",repeatedName:"repeatedName___THyMO"},ao=ue(25992),Ar=Object.defineProperty,eo=Object.defineProperties,Fo=Object.getOwnPropertyDescriptors,bo=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,xo=(oe,le,re)=>le in oe?Ar(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Yr=(oe,le)=>{for(var re in le||(le={}))No.call(le,re)&&xo(oe,re,le[re]);if(bo)for(var re of bo(le))dl.call(le,re)&&xo(oe,re,le[re]);return oe},mo=(oe,le)=>eo(oe,Fo(le)),Go=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:Yo}=rt.default;var ll=({dispatch:oe,id:le,onClose:re,onOK:pe,visible:Ne,wrapClassName:at,local:je,containerId:Ye,rootIdentifier:Se})=>{var ze;const[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)([]),[Bn,Qn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(0),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(!1),[It]=ce.default.useForm(),[pt,wn]=(0,x.useState)([]),kt=(0,x.useRef)([]);(0,x.useEffect)(()=>{Ne&&(It.resetFields(),wn([]),Qn([]),Zn([]),vt(0),Qt(!1),An(!1))},[Ne]);const Ct=dn=>{var Ma,nr,la;if(dn.file.status==="done"||dn.file.status==="uploading"){if(wn(dn.fileList),!dn.file.response)return;if((Ma=dn.file.response)!=null&&Ma.id){Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}wn(pt.filter(Ga=>Ga.uid!==dn.file.uid)),(nr=dn.file.response)!=null&&nr.message&&Me.ZP.info((la=dn.file.response)==null?void 0:la.message)}},Wt=dn=>Go(void 0,null,function*(){var Ma;if(!Fn){const la=pt.filter(Ga=>Ga.uid!==dn.uid);wn(la),kt.current=[...la],Zn(qt.filter(Ga=>Ga!==dn.name)),Me.ZP.info("\u5220\u9664\u6210\u529F"),la.length||(It.setFieldsValue({file:void 0}),It.validateFields());return}if(!dn.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,lt.ZP)(`/api/shixuns/${le}/destroy_data_sets.json`,{method:"Delete",body:{id:[(Ma=dn==null?void 0:dn.response)==null?void 0:Ma.id]}})).status===0&&(wn(pt.filter(la=>la.uid!==dn.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),aa=dn=>{if(pt!=null&&pt.some(nr=>nr.name===dn.name))return Me.ZP.info(`${dn.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const Ma={name:dn.name,uid:dn.uid,file:dn,percent:0};return pt.push(Ma),kt.current=[...pt],wn([...pt]),!1},ja={height:300,multiple:!0,disabled:Fn>0,withCredentials:!0,fileList:pt,action:`${tt.Z.API_SERVER}/api/attachments.json`,onChange:Ct,onRemove:Wt,beforeUpload:aa},Pn=(dn,Ma,nr,la,Ga)=>{const ka=new FormData;Object.keys(dn).forEach(Do=>{ka.append(Do,dn[Do])});const Ir=new window.XMLHttpRequest;return Ir.withCredentials=!0,Ir.addEventListener("load",function(Do){var Wo;nr(JSON.parse((Wo=Do==null?void 0:Do.target)==null?void 0:Wo.response))},!1),Ir.addEventListener("error",function(Do){Ga&&Ga(Do)},!1),Ir.upload.onprogress=Do=>{la&&la(Do)},Ir.open("POST",Ma),Ir.send(ka),Ir},Qa=(dn,Ma)=>{if(dn.lengthComputable){const nr=Math.floor(dn.loaded/dn.total*100),la=mo(Yr({},Ma),{percent:nr,status:nr===100?"done":"uploading"});console.log(kt.current,333),kt.current=kt.current.map(Ga=>Ga.uid===Ma.uid?la:Ga),wn(kt.current)}},Da=(dn,Ma)=>{const nr=mo(Yr({},Ma),{status:"error"});Me.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),kt.current=kt.current.map(la=>la.uid===Ma.uid?nr:la),kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},qn=(dn,Ma)=>{let nr=mo(Yr({},Ma),{status:"done"});if(dn.status===0||(nr=mo(Yr({},Ma),{status:"error"}),Me.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),kt.current=kt.current.map(la=>la.uid===Ma.uid?nr:la),kt.current.every(la=>la.status==="done")){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},In=()=>{let dn=!0;return window.navigator.onLine==!0?dn=!0:dn=!1,dn},Fr=dn=>Go(void 0,null,function*(){if(Qt(!0),Fn===3){vt(2);return}if(Fn===2||Fn===1){ra();return}const{commitMessage:Ma="",fileOss:nr=[]}=dn||{},Ga=(je?pt:nr).map(Ir=>Ir.name);if(Ga.filter(Ir=>Ir.indexOf("\u3001")!=-1||Ir.indexOf(" ")!=-1).length>0){Me.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Qt(!1);return}const ka=yield(0,lt.ZP)(`/api/shixuns/${le}/check_data_sets`,{method:"post",body:{files_name:Ga}});if(ka.status===-3){Zn(ka==null?void 0:ka.exist_files),Qt(!1);return}if(JSON.stringify(ka)==="{}"){Qt(!1),Me.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}ka.status===0&&(pt.forEach(Ir=>{const Do=Pn({file:Ir.file,description:Ma},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Wo=>qn(Wo,Ir),Wo=>Qa(Wo,Ir),Wo=>Da(Wo,Ir));Bn.push(Do)}),vt(1))}),ra=()=>{const{commitMessage:dn=""}=Yr({},It.getFieldsValue())||{},Ma=kt.current.filter(la=>la.status==="error"),nr=kt.current.map(la=>mo(Yr({},la),{status:la.status==="error"?"uploading":la.status}));wn(nr),Ma.forEach(la=>{const Ga=Pn({file:la.file,description:dn},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,ka=>qn(ka,la),ka=>Qa(ka,la),ka=>Da(ka,la));Bn.push(Ga)})},ea=dn=>{var Ma,nr;if(console.log(dn,"changedValues"),"fileOss"in dn){if(dn!=null&&dn.fileOss.every(la=>la.status==="done")&&((Ma=dn==null?void 0:dn.fileOss)!=null&&Ma.length)){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}if(dn!=null&&dn.fileOss.every(la=>la.status==="done"||la.status==="error")&&((nr=dn==null?void 0:dn.fileOss)!=null&&nr.length)){vt(3),Qt(!1);return}Zn(qt.filter(la=>{var Ga;return(Ga=dn==null?void 0:dn.fileOss)==null?void 0:Ga.some(ka=>ka.name===la)}))}zn(Yr({},It.getFieldsValue()))},ir=dn=>{dn||(An(!0),Bn.forEach(Ma=>{Ma.abort()})),pe(),re()},Pr=()=>{const{fileOss:dn=[]}=Yr({},It.getFieldsValue())||{},Ma=pt==null?void 0:pt.every(la=>la.status==="done"),nr=dn==null?void 0:dn.every(la=>la.status==="done");if(!Ma||!nr){Re.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ir()}});return}ir()},Er=()=>x.createElement(x.Fragment,null,x.createElement("div",null,x.createElement("i",{className:`iconfont icon-shangchuan font50 ${La.colorBlue}`})),x.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",x.createElement("span",{className:`${La.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),sr=dn=>{console.log(dn,444)};return x.createElement(Re.default,{open:Ne,onOk:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),It.submit()},centered:!0,okText:Fn===0?"\u786E\u5B9A":Fn===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Zt},onCancel:Pr,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},x.createElement("div",{className:La.wrap},x.createElement(ce.default,{className:"mt10",form:It,scrollToFirstError:!0,layout:"vertical",onFinish:Fr,onValuesChange:ea},je?x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{style:{visibility:"hidden"},className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(Yo,Yr({},ja)," ",Er())):x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(ao.ZP,{identifier:Se,cancelUpload:ca,container_type:"Shixun",container_id:Ye,uploading:Fn<3?Fn:0,disabled:Fn>0,height:300,maxSize:100*1024*1024*1024,description:gn.commitMessage||"",text:Er(),onComplete:sr,realFileName:!0})),!!qt.length&&x.createElement("span",{className:La.repeatedName},qt.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),x.createElement(ce.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{bordered:!1,disabled:Fn>0,maxLength:100,suffix:`${((ze=gn.commitMessage)==null?void 0:ze.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},qo={flex_box_center:"flex_box_center___RwP4Q",flex_space_between:"flex_space_between___JqfPJ",flex_box_vertical_center:"flex_box_vertical_center___L0FU3",flex_box_center_end:"flex_box_center_end___wLRsI",flex_box_column:"flex_box_column___MEfj6",listItem:"listItem___UjT9q",wrap:"wrap___tj83M",leftContent:"leftContent___SgeL2",header:"header___JIhx8",title:"title___Wc9o6",time:"time___SMHCq",introduction:"introduction___uNDtN",from:"from___Cg8bF",bottom:"bottom___Ve8Zg",user_img:"user_img___qqs9Y",user_name:"user_name___LjcGY",tags_name:"tags_name___xvwsP",buttonList:"buttonList___nAH2P",buttonItem:"buttonItem___D6ug3"},Uo=ue(47949),Ul=ue(57884),pl=ue(67298),io=ue(59301),gl=Object.defineProperty,Cl=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Ol=(oe,le,re)=>le in oe?gl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,eu=(oe,le)=>{for(var re in le||(le={}))Zl.call(le,re)&&Ol(oe,re,le[re]);if(Cl)for(var re of Cl(le))$l.call(le,re)&&Ol(oe,re,le[re]);return oe},Su=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const So=({globalSetting:oe,dispatch:le,practiceSetting:re,shixunsDetail:pe,user:Ne,visible:at,setVisible:je,type:Ye="all",updateData:Se,recordId:ze,identifier:gn})=>{const[zn,qt]=(0,x.useState)([]),[Zn,Bn]=(0,x.useState)(0),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({page:1,limit:4,search:"",order:"public"}),[An,Zt]=(0,x.useState)([{id:"public",name:"\u516C\u5F00\u6570\u636E\u96C6"},{id:"mine",name:"\u6211\u7684\u6570\u636E\u96C6"},{id:"share",name:"\u56E2\u961F\u5171\u4EAB"},{id:"collect",name:"\u6211\u6536\u85CF\u7684"}]);(0,x.useEffect)(()=>{at&&pt()},[at,vt]);const Qt=Ct=>{vt.search=Ct,vt.page=1,ca(eu({},vt))},It=Ct=>{vt.page=1,vt.order=Ct,ca(eu({},vt))},pt=()=>Su(void 0,null,function*(){(0,pl._S)({page:vt==null?void 0:vt.page,limit:vt==null?void 0:vt.limit,search:vt==null?void 0:vt.search,category:Ye=="all"?vt==null?void 0:vt.order:"mine"}).then(Ct=>{var Wt,aa;(Ct==null?void 0:Ct.status)==0&&(qt((Wt=Ct==null?void 0:Ct.data)==null?void 0:Wt.list),Bn((aa=Ct==null?void 0:Ct.data)==null?void 0:aa.count))})}),wn=()=>Su(void 0,null,function*(){if((Qn==null?void 0:Qn.length)===0)return Me.ZP.warning("\u8BF7\u9009\u62E9\u6570\u636E\u96C6");let Ct=Ye=="all"?{url:"/api/data_sets/batch_send_to_shixun.json",body:{shixun_identifier:gn,data_set_ids:Qn}}:{url:"/api/data_sets/sync_my_data_sets.json",body:{attachment_ids:ze,data_set_id:Qn[0]}};(yield(0,lt.ZP)(Ct==null?void 0:Ct.url,{method:"post",body:Ct==null?void 0:Ct.body})).status===0&&(Me.ZP.info("\u6DFB\u52A0\u6210\u529F"),kt(),Se())}),kt=()=>{je(!1),qt([]),Fn([]),Bn(0),ca({page:1,limit:4,search:"",order:"public"})};return io.createElement(Re.default,{title:"\u9009\u62E9\u6570\u636E\u96C6",open:at,width:900,centered:!0,keyboard:!1,onCancel:()=>kt(),maskClosable:!1,bodyStyle:{minHeight:400},okText:io.createElement("div",{onClick:()=>wn()},"\u6DFB\u52A0(",Qn==null?void 0:Qn.length,")")},io.createElement(Ge.Z,{align:"middle",justify:"space-between",className:"mt10 mb20"},io.createElement(Uo.tp,{dataSource:Ye=="all"?An:[{id:"mine",name:"\u6211\u7684\u6570\u636E\u96C6"}],value:Ye=="all"?vt==null?void 0:vt.order:"mine",onChange:It}),io.createElement(Uo.t7,{style:{width:303},placeholder:"\u8BF7\u641C\u7D22\u6570\u636E\u96C6\u540D\u79F0",value:vt==null?void 0:vt.search,onChange:Qt})),(zn==null?void 0:zn.length)===0?io.createElement(Ul.Z,{customText:"\u6682\u65E0\u6570\u636E"}):io.createElement("div",null,io.createElement("div",{style:{height:"410px",overflowY:"auto"}},zn==null?void 0:zn.map((Ct,Wt)=>{var aa,ja,Pn;return io.createElement("div",{className:qo.listItem,key:Wt,onClick:Qa=>{if(Ye=="my"){Fn([Ct.id]);return}Qn.indexOf(Ct.id)>-1?Fn(Qn.filter(Da=>Da!==Ct.id)):Fn(Qn.concat(Ct.id))}},io.createElement("div",{style:{display:"flex"}},io.createElement("div",{style:{marginTop:"1px"}},Ye=="all"?io.createElement(Xe.default,{checked:Qn.includes(Ct.id),value:Ct.id}):io.createElement(vi.ZP,{checked:Qn.includes(Ct.id),value:Ct.id})),io.createElement("aside",{className:qo.wrap,key:Wt},io.createElement("div",{className:qo.leftContent},io.createElement("div",{className:qo.header},io.createElement("div",{className:qo.title},Ct==null?void 0:Ct.title)),io.createElement(Dt.Z,{title:Ct==null?void 0:Ct.introduction},io.createElement("div",{className:qo.introduction},Ct==null?void 0:Ct.desc)),io.createElement("div",{className:qo.bottom},io.createElement("img",{className:qo.user_img,alt:"\u7528\u6237\u5934\u50CF",src:`${tt.Z.IMG_SERVER}/images/${(aa=Ct==null?void 0:Ct.user_info)==null?void 0:aa.image_url}`}),io.createElement("div",{className:qo.user_name},(ja=Ct==null?void 0:Ct.user_info)==null?void 0:ja.name),(Pn=Ct==null?void 0:Ct.data_set_tags)==null?void 0:Pn.map((Qa,Da)=>{var qn;return Da<3?io.createElement("div",{key:Da,className:qo.tags_name},Qa==null?void 0:Qa.tag_name):Da==3?io.createElement(Dt.Z,{key:Da,title:(qn=Ct==null?void 0:Ct.data_set_tags)==null?void 0:qn.map((In,Fr)=>{var ra;if(Fr>2)return(In==null?void 0:In.tag_name)+(Fr===((ra=In==null?void 0:In.data_set_tags)==null?void 0:ra.length)-1?"":"\u3001")}).join("")},io.createElement("div",{key:Da,className:qo.tags_name},"...")):null}))))))})),io.createElement(Uu.Z,{showTotal:Ct=>io.createElement("span",null,"\u5171",io.createElement("span",{style:{color:"#165DFF",marginLeft:"3px"}},Ct)," \u6761\u6570\u636E"),style:{marginTop:10},onChange:(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(eu({},vt)),pt()},defaultCurrent:1,pageSize:vt.limit||4,current:vt.page||1,total:Zn})))};var ml=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(So),ul=ue(97e3),Ml=Object.defineProperty,Jl=Object.defineProperties,Pl=Object.getOwnPropertyDescriptors,Dl=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,tu=(oe,le,re)=>le in oe?Ml(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,nu=(oe,le)=>{for(var re in le||(le={}))Ru.call(le,re)&&tu(oe,re,le[re]);if(Dl)for(var re of Dl(le))Lu.call(le,re)&&tu(oe,re,le[re]);return oe},Fu=(oe,le)=>Jl(oe,Pl(le)),Oi=(oe,le)=>{var re={};for(var pe in oe)Ru.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Dl)for(var pe of Dl(oe))le.indexOf(pe)<0&&Lu.call(oe,pe)&&(re[pe]=oe[pe]);return re},jl=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Fragment:Ku}=x,{TabPane:du}=on.default,Mi=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ne,shixunsDetail:at,user:je}=le,Ye=Oi(le,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Se,ze,gn,zn,qt,Zn;const{id:Bn}=Ne,[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({}),[An,Zt]=(0,x.useState)([]),[Qt,It]=(0,x.useState)(!1),[pt,wn]=(0,x.useState)(!0),[kt,Ct]=(0,x.useState)(!1),[Wt,aa]=(0,x.useState)(!1),[ja,Pn]=(0,x.useState)(!1),[Qa,Da]=(0,x.useState)(!1),[qn,In]=(0,x.useState)("all"),[Fr,ra]=(0,x.useState)([]),[ea,ir]=(0,x.useState)([]),[Pr,Er]=(0,x.useState)(!1),[sr,dn]=(0,x.useState)({}),[Ma,nr]=(0,x.useState)(!1),[la,Ga]=(0,x.useState)([]),[ka,Ir]=(0,x.useState)({page:1,limit:10,total:0}),[Do,Wo]=(0,x.useState)({page:1,limit:10,search:"",order:"mine"});(0,x.useEffect)(()=>{Bn&&Al()},[Bn]);const Ll=Wn=>{const oa=Fu(nu({},ka),{page:Wn});ir([]),Ir(oa),Al(oa)},Al=Wn=>jl(void 0,null,function*(){const ua=Wn||{page:1,limit:10,total:0};It(!0);const fo=yield pe({type:"shixunsDetail/getSetData",payload:Fu(nu({},ua),{id:Bn})});fo!=null&&fo.data_sets&&(It(!1),Fn([...fo.data_sets]),Ir(Fu(nu({},ua),{total:fo==null?void 0:fo.data_sets_count})),wn(!1),ca(nu({},fo)))}),qu=()=>x.createElement("div",{className:ha.empty},x.createElement("img",{src:rn.x7,width:"258"}),x.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),$a={selectedRowKeys:ea,columnWidth:70,onChange:Wn=>{console.log("selectedRowKeys changed: ",Wn),ir(Wn)}},Sr=Wn=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const oa=Wn?[Wn]:ea;Re.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>jl(void 0,null,function*(){if((yield(0,lt.ZP)(`/api/shixuns/${Bn}/destroy_data_sets.json`,{method:"Delete",body:{id:oa}})).status===0){const fo=oa.length===Qn.length&&ka.page>1?ka.page-1:ka.page;Me.ZP.success("\u5220\u9664\u6210\u529F"),Al(Fu(nu({},ka),{page:fo})),ir([])}})})},Xr=()=>jl(void 0,null,function*(){const{title:Wn}=sr;let oa=null;if(console.log(Wn,"title"),Wn===""){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",dn(Fu(nu({},sr),{errorDes:oa}));return}if(Wn.includes(" ")){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",dn(Fu(nu({},sr),{errorDes:oa}));return}const ua=Qn.find(hs=>hs.id===(sr==null?void 0:sr.id)).title;if(Wn===ua.substring(0,ua.lastIndexOf("."))||Wn===ua){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",dn(Fu(nu({},sr),{errorDes:oa}));return}const fo=ua.includes(".")?ua.substring(ua.lastIndexOf("."),ua.length):"";(yield(0,lt.ZP)(`/api/shixuns/${Bn}/rename_data_sets.json`,{method:"post",body:{id:sr==null?void 0:sr.id,new_file_name:Wn+fo}})).status===0&&(Me.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),Al(ka),Ct(!1),dn({}))}),Ia=()=>{const{download_url:Wn}=sr;wr(Wn),Me.ZP.success("\u590D\u5236\u6210\u529F"),aa(!1),dn({})},wr=Wn=>{const oa=Wn,ua=document.createElement("input");ua.value=oa,document.body.appendChild(ua),ua.select(),document.execCommand("Copy"),ua.style.display="none"},Mo=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:Wn=>x.createElement(Dt.Z,{title:Wn},x.createElement("span",null,Wn))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(Wn,oa)=>oa!=null&&oa.data_set_id?x.createElement(Dt.Z,{title:Wn},x.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,et.xg)(`/dataset/${oa==null?void 0:oa.data_set_id}/detail?tabId=public`)}},Wn)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:Wn=>x.createElement(Dt.Z,{title:Wn},x.createElement("span",null,Wn||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(Wn,oa)=>Xa()(oa.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(Wn,oa)=>x.createElement("div",{className:ha.path},x.createElement(Dt.Z,{title:Wn},x.createElement("span",{className:ha.text},Wn)),x.createElement(sn.CopyToClipboard,{text:Wn,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Dt.Z,{title:"\u590D\u5236"},x.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(Wn,oa)=>x.createElement("div",{className:ha.actionsBtns},x.createElement(Dt.Z,{title:"\u91CD\u547D\u540D"},x.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var ua;dn((0,pn.clone)(Fu(nu({},oa),{title:oa!=null&&oa.title.includes(".")?(ua=oa==null?void 0:oa.title)==null?void 0:ua.substring(0,oa.title.lastIndexOf(".")):oa==null?void 0:oa.title}))),Ct(!0),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),x.createElement(Dt.Z,{title:"\u5206\u4EAB"},x.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),dn((0,pn.clone)(oa)),aa(!0)}})),x.createElement(Dt.Z,{title:"\u4E0B\u8F7D"},x.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,et.Nd)(oa.title,oa==null?void 0:oa.download_url)}})),x.createElement(Dt.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},x.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),Da(!0),Ga([oa]),ra([oa.id])}})),x.createElement(Dt.Z,{title:"\u5220\u9664"},x.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),Sr(oa.id)}})))}];return x.createElement("div",{className:ha.dataset},x.createElement("div",{className:ha.header},x.createElement("div",{className:ha.title},"\u6570\u636E\u96C6(",ka.total,")"),x.createElement("div",{className:ha.dataPath},x.createElement("span",{className:ha.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),x.createElement("input",{value:vt==null?void 0:vt.folder_name,disabled:!0}),x.createElement(sn.CopyToClipboard,{text:vt==null?void 0:vt.folder_name,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Dt.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},x.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),x.createElement("div",{className:ha.btns},x.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>Sr(),disabled:!ea.length,style:{width:"60px"}},"\u5220\u9664"),x.createElement(de.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{Da(!0),ra(ea),Ga(Qn.filter(Wn=>ea.includes(Wn.id)))},disabled:!ea.length},"\u540C\u6B65"),x.createElement(nn.Z,{className:"ml10",disabled:((Se=je==null?void 0:je.userInfo)==null?void 0:Se.user_status)===2,dropdownRender:()=>x.createElement(At.default,null,x.createElement(At.default.Item,{key:1,onClick:()=>{Er(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),x.createElement(At.default.Item,{key:2,onClick:()=>{Pn(!0),In("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},x.createElement("span",{className:ha.selectBtn},x.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),x.createElement("div",{className:ha.content},x.createElement(xu.Z,{loading:pt,active:!0,paragraph:{rows:5}},ka.total?x.createElement(Ba.default,{rowSelection:$a,className:ha.customTable,dataSource:Qn,bordered:!1,rowKey:Wn=>Wn.id,rowClassName:ha.row,columns:Mo,loading:Qt,pagination:{pageSize:ka.limit,total:ka.total,current:ka.page,onChange:Ll,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):qu())),x.createElement(ll,{rootIdentifier:(ze=at==null?void 0:at.detail)==null?void 0:ze.root_identifier,wrapClassName:ha.uploadFileModal,id:Bn,containerId:(gn=at==null?void 0:at.detail)==null?void 0:gn.id,local:(zn=re==null?void 0:re.setting)==null?void 0:zn.is_local,dispatch:pe,visible:Pr,onClose:()=>Er(!1),onOK:Al}),x.createElement(Re.default,{title:"\u91CD\u547D\u540D",open:kt,onOk:Xr,centered:!0,wrapClassName:ha.renameModal,onCancel:()=>{Ct(!1),dn({})},width:"1000px"},x.createElement("div",null,x.createElement("div",{className:ha.fileName},x.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),x.createElement(ye.default,{value:sr==null?void 0:sr.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:Wn=>{dn(Fu(nu({},sr),{title:Wn.target.value,errorDes:null}))},maxLength:60,suffix:`${((qt=sr==null?void 0:sr.title)==null?void 0:qt.length)||0}/60`}),(sr==null?void 0:sr.errorDes)&&x.createElement("div",{className:ha.errorDes},sr==null?void 0:sr.errorDes))),x.createElement(Re.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Wt,onOk:Ia,centered:!0,wrapClassName:ha.shareModal,onCancel:()=>{aa(!1),dn({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},x.createElement("div",null,x.createElement("div",{className:ha.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",x.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),x.createElement(ye.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:sr==null?void 0:sr.download_url}))),x.createElement(ml,{setVisible:Pn,visible:ja,recordId:Fr,type:qn,updateData:Al,identifier:(Zn=at.detail)==null?void 0:Zn.identifier}),x.createElement(Re.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Qa,width:400,centered:!0,keyboard:!1,onCancel:()=>Da(!1),maskClosable:!1,footer:x.createElement("div",{style:{display:"flex",justifyContent:"center"}},x.createElement("div",{className:ha.leftButton,onClick:()=>{nr(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),x.createElement("div",{className:ha.rightButton,onClick:()=>{Da(!1),Pn(!0),In("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},x.createElement("div",{className:ha.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),x.createElement(ul.Z,{visible:Ma,attachmentInfo:la,onClose:()=>nr(!1),onSuccess:Wn=>{nr(!1),Oe.history.push(`/dataset/${Wn}/detail?tabId=mine`)}}))};var ei=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(Mi),gu=ue(31797),el={wrap:"wrap___XfiDL",content:"content___Wo8S5",mainPathWrap:"mainPathWrap___HiWyw",colorBlue:"colorBlue___YquQT"},mu=Object.defineProperty,Hu=Object.getOwnPropertySymbols,Yu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,fu=(oe,le,re)=>le in oe?mu(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Tu=(oe,le)=>{for(var re in le||(le={}))Yu.call(le,re)&&fu(oe,re,le[re]);if(Hu)for(var re of Hu(le))yu.call(le,re)&&fu(oe,re,le[re]);return oe},Bl=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Kl=oe=>oe!=null&&oe.length?oe.filter((le,re)=>re!==0).map(le=>le.val).join("").substr(1):"",ii=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,fileType:Ne,path:at,onFinish:je=()=>{}})=>{const Ye=(0,Oe.useParams)(),[Se,ze]=(0,x.useState)(""),[gn,zn]=(0,x.useState)([]),[qt,Zn]=(0,x.useState)([]),Qn=[di.OriginalPicturePath,di.ExpectPicturePath,di.PicturePath].includes(Ne);(0,x.useEffect)(()=>{oe.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(ze(at||""),Fn())},[oe.actionTabs.key]);const Fn=(pt="")=>Bl(void 0,null,function*(){var wn;const kt=yield pe({type:"shixunsDetail/getRepository",payload:{id:Ye.id,path:pt}});if(pt===""&&!((wn=kt==null?void 0:kt.trees)!=null&&wn.length)&&Me.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),kt!=null&&kt.trees){const Ct=kt.trees.map(Wt=>Tu(Tu({},Wt),{name:Wt.name,val:Wt.name}));Zn(Ct||[])}}),vt=pt=>{const wn=Kl(gn),kt=`${wn&&`${wn}/`}${pt}`;Ne===di.Path?!(Se!=null&&Se.includes(`${kt}\uFF1B`))&&ze(`${Se}${kt}\uFF1B`):Ne===di.ExecPath&&ze(kt)},ca=pt=>{if(pt.type==="tree"){gn.length?gn.push({val:`/${pt.val}`,path:pt.val}):gn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${pt.val}`,path:pt.val}),zn(gn);const wn=Kl(gn);Qn&&ze(wn),Fn(wn)}},An=(pt,wn)=>{const kt=gn.filter((Wt,aa)=>aa<=wn);zn(kt);const Ct=Kl(kt);Qn&&ze(Ct),Fn(Ct)},Zt=()=>Bl(void 0,null,function*(){je(Se),Qt()}),Qt=()=>{ze(""),zn([]),Zn([]),pe({type:"shixunsDetail/setActionTabs",payload:{}})},It=Kl(gn);return x.createElement(Re.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:oe.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Zt,onCancel:Qt},x.createElement("div",{className:el.wrap},x.createElement("div",{className:el.content},x.createElement("div",{className:el.mainPathWrap},!!(gn!=null&&gn.length)&&gn.map((pt,wn)=>x.createElement("a",{key:wn,onClick:()=>An(pt,wn)},pt.val))),!!(qt!=null&&qt.length)&&qt.map((pt,wn)=>pt.type==="tree"?x.createElement("a",{key:wn,onClick:()=>ca(pt)},x.createElement("i",{className:`iconfont icon-wenjianjia ${el.colorBlue}`}),It&&`${It}/`,pt.name):x.createElement("a",{key:wn,onClick:()=>vt(`${pt.name}`)},x.createElement("i",{className:`iconfont icon-zuoye ${el.colorBlue}`}),It&&`${It}/`,pt.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Se,onChange:pt=>ze(pt.target.value)})))};var tl=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(ii),uu={wrap:"wrap___B8qi_",fixBtn:"fixBtn___OvNbo"},ku=ue(84236),Ko=Object.defineProperty,Ou=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Si=(oe,le,re)=>le in oe?Ko(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ti=(oe,le)=>{for(var re in le||(le={}))Cu.call(le,re)&&Si(oe,re,le[re]);if(Ou)for(var re of Ou(le))bu.call(le,re)&&Si(oe,re,le[re]);return oe},Ii=(oe,le)=>{var re={};for(var pe in oe)Cu.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ou)for(var pe of Ou(oe))le.indexOf(pe)<0&&bu.call(oe,pe)&&(re[pe]=oe[pe]);return re},si=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const qr=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,user:Ne,dispatch:at}=le,je=Ii(le,["shixunsDetail","globalSetting","user","dispatch"]),Ye,Se;const ze=(0,Oe.useLocation)(),gn=(0,x.useRef)((Se=(Ye=ze.pathname)==null?void 0:Ye.split("/"))==null?void 0:Se[2]),[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)(""),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{gn.current&&ca()},[gn.current]);const ca=()=>si(void 0,null,function*(){Qn(!0);const Zt=yield(0,lt.ZP)(`/api/shixuns/${gn.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Zt.status===0&&(Zn((Zt==null?void 0:Zt.standard_answer)||""),zn.setFieldsValue({hide_answer:Zt==null?void 0:Zt.hide_answer,disable_copy:Zt==null?void 0:Zt.disable_copy}),Qn(!1))}),An=Zt=>si(void 0,null,function*(){vt(!0),(yield(0,lt.ZP)(`/api/shixuns/${gn.current}/set_standard_answer.json`,{method:"post",body:ti({},Zt)})).status===0&&Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),vt(!1)});return x.createElement("section",{className:uu.wrap},x.createElement(xu.Z,{loading:Bn},x.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onFinish:An},x.createElement(ce.default.Item,{name:"hide_answer",valuePropName:"checked"},x.createElement(Xe.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),x.createElement(ce.default.Item,{name:"disable_copy",valuePropName:"checked"},x.createElement(Xe.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),x.createElement(ce.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},x.createElement(se.Z,{defaultValue:qt})),x.createElement(ce.default.Item,null,x.createElement(ku.t,{okText:"\u4FDD\u5B58",loading:Fn,hasCancelBtn:!1,className:uu.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var tr=(0,Oe.connect)(({shixunsDetail:oe,globalSetting:le,user:re})=>({shixunsDetail:oe,globalSetting:le,user:re}))(qr),so=ue(33796),fl=ue(61485),Du=ue(45079),hl=ue(59301),ts=Object.defineProperty,Ui=Object.defineProperties,ji=Object.getOwnPropertyDescriptors,Wl=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,Mu=(oe,le,re)=>le in oe?ts(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ns=(oe,le)=>{for(var re in le||(le={}))to.call(le,re)&&Mu(oe,re,le[re]);if(Wl)for(var re of Wl(le))Ki.call(le,re)&&Mu(oe,re,le[re]);return oe},qs=(oe,le)=>Ui(oe,ji(le)),Au=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Countdown:ci}=gu.default;var Ni=(oe=>(oe[oe.LoadingFail=1]="LoadingFail",oe[oe.Loading=2]="Loading",oe[oe.Finish=3]="Finish",oe))(Ni||{}),di=(oe=>(oe.Path="path",oe.ExecPath="exec_path",oe.OriginalPicturePath="original_picture_path",oe.ExpectPicturePath="expect_picture_path",oe.PicturePath="picture_path",oe))(di||{});const Ds=({globalSetting:oe,loading:le,dispatch:re,practiceSetting:pe,shixunsDetail:Ne})=>{var at;const[je,Ye]=(0,x.useState)(),[Se,ze]=(0,x.useState)(),gn=(0,x.useRef)(),[zn,qt]=(0,x.useState)(),[Zn,Bn]=(0,x.useState)(),[Qn,Fn]=(0,x.useState)(!0),[vt,ca]=(0,x.useState)(700),[An,Zt]=(0,x.useState)(""),[Qt,It]=(0,x.useState)("1"),pt=(0,Oe.useParams)();(0,x.useEffect)(()=>{kt()},[]);const wn=()=>Au(void 0,null,function*(){var qn,In;const Fr=yield re({type:"shixunsDetail/updateRepositoryFile",payload:{id:pt.id,path:(In=(qn=Ne==null?void 0:Ne.fileContent)==null?void 0:qn.params)==null?void 0:In.path,content:je,secret_repository:Qn?null:!0}});Fr!=null&&Fr.content&&(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),re({type:"practiceSetting/setSideBarTabs",payload:qs(ns({},pe.sideBar),{confirmLeave:!1})}))}),kt=()=>Au(void 0,null,function*(){var qn,In,Fr,ra;const ea=yield(0,ct.Ui)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){so.Z.publish("pod-restrict-data",{identifier:(Fr=ea==null?void 0:ea.data)==null?void 0:Fr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}ea!=null&&ea.url&&Zt(ea==null?void 0:ea.url)}),Ct=()=>Au(void 0,null,function*(){const qn=yield(0,ct.K_)({identifier:pt.id});(qn==null?void 0:qn.status)===0&&(qn!=null&&qn.remainingSeconds?(qt(Date.now()+qn.remainingSeconds*1e3),Bn(qn.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(qn.remainingSeconds-300)*1e3)):Wt())}),Wt=()=>{Re.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:hl.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>Au(void 0,null,function*(){aa()})})},aa=()=>Au(void 0,null,function*(){var qn,In,Fr,ra;ze(2);const ea=yield(0,ct.zH)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){so.Z.publish("pod-restrict-data",{identifier:(Fr=ea==null?void 0:ea.data)==null?void 0:Fr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}(ea==null?void 0:ea.status)===0&&(ze(3),Zt(ea.url),gn.current=ea.port,Me.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),ja=()=>{Re.default.destroyAll(),Re.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:hl.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",hl.createElement("span",null,hl.createElement(ci,{value:zn,format:"HH:mm:ss",onFinish:Pn})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>Au(void 0,null,function*(){(yield(0,ct.q9)({identifier:pt.id})).status===0&&(yield Ct(),Me.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Pn=()=>{Re.default.destroyAll(),Re.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:hl.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{aa()}})},Qa=qn=>{re({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},Da=qn=>Au(void 0,null,function*(){yield(0,ct.QA)({id:pt.id,startup_file:qn}),kt(),re({type:"practiceSetting/getCommonData",payload:ns({},pt)})});return hl.createElement(on.default,{activeKey:Qt,onChange:qn=>It(qn),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:hl.createElement("div",null,hl.createElement(Ge.Z,{className:"mt20 ml20 font14",align:"middle"},hl.createElement(Be.Z,null,hl.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),hl.createElement(Be.Z,{className:"mr10"},hl.createElement(Dt.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},hl.createElement(fl.Z,{style:{cursor:"pointer"}}))),hl.createElement(Be.Z,{flex:"300px",onClick:()=>Qa("exec_path")},hl.createElement(ye.default,{value:An})),hl.createElement(Be.Z,{flex:"1"},hl.createElement(de.ZP,{type:"primary",className:"ml10",onClick:()=>Qa("exec_path")},"\u8BBE\u7F6E"))),hl.createElement("iframe",{onLoad:qn=>{},src:An,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),hl.createElement(tl,{fileType:"path",path:(at=Ne==null?void 0:Ne.detail)==null?void 0:at.startup_file,onFinish:qn=>Da(qn)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Qt==="2"?hl.createElement(Du.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:hl.createElement(tr,null)}]})};var As=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(Ds),nl={catechism:"catechism___sjAIS",tab:"tab___g7aXg"},xr={collect:"collect___gSAx5",head:"head___h3Wha"},Il=ue(59301),vl=Object.defineProperty,Bs=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,hd=Object.prototype.propertyIsEnumerable,_s=(oe,le,re)=>le in oe?vl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Fi=(oe,le)=>{for(var re in le||(le={}))$s.call(le,re)&&_s(oe,re,le[re]);if(Bs)for(var re of Bs(le))hd.call(le,re)&&_s(oe,re,le[re]);return oe},wc=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),ec=({onOk:oe,onCancel:le,visible:re,modalParams:pe,forceIn:Ne})=>{const[at]=ce.default.useForm(),[je,Ye]=(0,x.useState)(!1),Se=Ne?!1:typeof re=="number";(0,x.useEffect)(()=>{re?at.setFieldsValue(Fi({},pe)):at.resetFields()},[re]);const ze=gn=>wc(void 0,null,function*(){Ye(!0),yield oe(gn),Ye(!1)});return Il.createElement(Re.default,{centered:!0,destroyOnClose:!0,onCancel:()=>le(),onOk:()=>at.submit(),open:!!re,confirmLoading:je,title:Se?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Se?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},Il.createElement(ce.default,{form:at,size:"large",onFinish:ze},Il.createElement(ce.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},Il.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),Il.createElement(ce.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},Il.createElement(se.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:pe==null?void 0:pe.content}))))},al=ue(59301),tc=Object.defineProperty,Ri=Object.getOwnPropertySymbols,Ed=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,as=(oe,le,re)=>le in oe?tc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,yi=(oe,le)=>{for(var re in le||(le={}))Ed.call(le,re)&&as(oe,re,le[re]);if(Ri)for(var re of Ri(le))nc.call(le,re)&&as(oe,re,le[re]);return oe},Hi=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),rs=({})=>{const oe=(0,Oe.useParams)(),[le,re]=(0,x.useState)(!1),[pe,Ne]=(0,x.useState)(0),[at,je]=(0,x.useState)([]),[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({title:"",content:""}),[zn,qt]=(0,x.useState)(!1),[Zn,Bn]=(0,x.useState)(!1),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({keywords:"",page:1,limit:10});(0,x.useEffect)(()=>{An(vt)},[]);const An=Ct=>Hi(void 0,null,function*(){var Wt,aa;re(!0);const ja=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"get",params:Ct});ja.status===0&&(je(((Wt=ja==null?void 0:ja.data)==null?void 0:Wt.qna_sets)||[]),Ne((aa=ja==null?void 0:ja.data)==null?void 0:aa.total_count)),re(!1)}),Zt=Ct=>{vt.keywords=Ct,vt.page=1,ca(yi({},vt)),An(vt)},Qt=(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(yi({},vt)),An(vt)},It=Ct=>Hi(void 0,null,function*(){if(typeof Ye=="number"){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ye}.json`,{method:"put",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),An(vt),Se(!1))}else{const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),vt.page=1,vt.keywords="",ca(yi({},vt)),An(vt),Se(!1))}}),pt=Ct=>Hi(void 0,null,function*(){Re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>Hi(void 0,null,function*(){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ct.id}.json`,{method:"delete"});if((Wt==null?void 0:Wt.status)===0){const aa=at.length===1&&vt.page>1?vt.page-1:vt.page;vt.page=aa,ca(yi({},vt)),An(vt),Me.ZP.success("\u5220\u9664\u6210\u529F")}})})}),wn=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Ct=>al.createElement(Dt.Z,{placement:"topLeft",title:Ct},al.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Ct=>al.createElement(Dt.Z,{placement:"topLeft",title:Ct},al.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Ct,Wt)=>al.createElement("span",null,al.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Se(Ct),gn({title:Wt==null?void 0:Wt.title,content:Wt==null?void 0:Wt.content})}},"\u7F16\u8F91"),al.createElement("span",{className:"current c-red",onClick:()=>pt(Wt)},"\u5220\u9664"))}],kt={onRemove:()=>{Fn([])},beforeUpload:Ct=>{if((Ct==null?void 0:Ct.size)>1024*1024*50)return Me.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Ct.type==="application/vnd.ms-excel"||Ct.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Me.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let aa=[];return aa.push(Ct),Fn([...aa]),!1},fileList:Qn,accept:".xls,.xlsx"};return al.createElement("div",{className:xr.collect},al.createElement("div",{className:xr.head},al.createElement(Uo.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:vt.keywords,onChange:Zt}),al.createElement(Uo.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Se(!0),gn({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),al.createElement(Uo.op,{type:"primary",shape:"default",onClick:()=>qt(!0)},"\u5BFC\u5165\u95EE\u7B54")),al.createElement(Ba.default,{columns:wn,style:{marginTop:33},dataSource:at,loading:le,rowKey:"id",pagination:{current:vt.page,hideOnSinglePage:!pe,showQuickJumper:!0,showSizeChanger:!0,pageSize:vt.limit,pageSizeOptions:["10","20","50","100","200"],total:pe,size:"default",showTotal:et.rU,onChange:Qt}}),al.createElement(Re.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:zn,centered:!0,confirmLoading:Zn,onCancel:()=>{qt(!1),Fn([])},onOk:()=>Hi(void 0,null,function*(){var Ct;const Wt=new FormData;if(Qn.length>0)Wt.append("file",Qn[0]);else{Me.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Bn(!0);let aa=yield(0,lt.ZP)(`/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/import.json`,{method:"post",body:Wt},!0);(aa==null?void 0:aa.status)===0&&((Ct=aa==null?void 0:aa.fail)!=null&&Ct.length?Re.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:al.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",al.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Me.ZP.success("\u5BFC\u5165\u6210\u529F"),vt.page=1,vt.keywords="",ca(yi({},vt)),An(vt),qt(!1),Fn([]))),Bn(!1)})},al.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",al.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),al.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),al.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",al.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),al.createElement("div",{style:{marginLeft:74}},al.createElement(rt.default,yi({},kt),al.createElement(Uo.op,{shape:"default",icon:al.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),al.createElement(ec,{visible:Ye,onCancel:()=>Se(!1),onOk:It,modalParams:ze}))},os={record:"record___zypfi",head:"head___bEv4O"},rl=ue(59301),ls=Object.defineProperty,Pd=Object.defineProperties,Lc=Object.getOwnPropertyDescriptors,ac=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,Fd=Object.prototype.propertyIsEnumerable,Oc=(oe,le,re)=>le in oe?ls(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ni=(oe,le)=>{for(var re in le||(le={}))Sd.call(le,re)&&Oc(oe,re,le[re]);if(ac)for(var re of ac(le))Fd.call(le,re)&&Oc(oe,re,le[re]);return oe},yd=(oe,le)=>Pd(oe,Lc(le)),Ci=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),xs=({})=>{const oe=(0,Oe.useParams)(),[le]=ce.default.useForm(),[re,pe]=(0,x.useState)(!1),[Ne,at]=(0,x.useState)(0),[je,Ye]=(0,x.useState)([]),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({title:"",content:""});let[qt,Zn]=(0,x.useState)({page:1,limit:10});(0,x.useEffect)(()=>{Fn(qt)},[]);const Bn=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Qn=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],Fn=It=>Ci(void 0,null,function*(){var pt,wn;pe(!0);const kt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records.json`,{method:"get",params:It});kt.status===0&&(Ye(((pt=kt==null?void 0:kt.data)==null?void 0:pt.qna_records)||[]),at((wn=kt==null?void 0:kt.data)==null?void 0:wn.total_count)),pe(!1)}),vt=It=>{qt.page=1,qt=ni(ni({},qt),It),Zn(ni({},qt)),Fn(qt)},ca=(It,pt)=>{qt.page=It,qt.limit=pt,Zn(ni({},qt)),Fn(qt)},An=It=>Ci(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:yd(ni({},It),{qna_record_id:Se})});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fn(qt),ze(!1))}),Zt=It=>Ci(void 0,null,function*(){Re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>Ci(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records/${It.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(pt==null?void 0:pt.status)===0&&Fn(qt)})})}),Qt=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:It=>rl.createElement(Dt.Z,{placement:"topLeft",title:It},rl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:It=>rl.createElement(Dt.Z,{placement:"topLeft",title:It},rl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:It=>{var pt;return rl.createElement("span",{className:"c-black"},(pt=Bn==null?void 0:Bn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:It=>{var pt;return rl.createElement("span",{className:"c-black"},(pt=Qn==null?void 0:Qn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(It,pt)=>rl.createElement("span",null,["pending","ignored"].includes(pt.status)&&rl.createElement(rl.Fragment,null,rl.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{ze(It),zn({title:pt==null?void 0:pt.question,content:pt==null?void 0:pt.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),rl.createElement("span",{className:"current c-light-primary",onClick:()=>Zt(pt)},"\u5FFD\u7565")),["skipped"].includes(pt.status)&&rl.createElement(Dt.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},rl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(pt.status)&&rl.createElement(Dt.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},rl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return rl.createElement("div",{className:os.record},rl.createElement("div",{className:os.head},rl.createElement(ce.default,{layout:"inline",form:le,colon:!1,size:"large",onFinish:vt},rl.createElement(ce.default.Item,{name:"keywords",label:"\u95EE\u9898"},rl.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),rl.createElement(ce.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},rl.createElement(ui.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Bn,style:{width:200}})),rl.createElement(ce.default.Item,{name:"status",label:"\u72B6\u6001"},rl.createElement(ui.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Qn,style:{width:200}})),rl.createElement(ce.default.Item,{style:{marginRight:0}},rl.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),rl.createElement(Ba.default,{columns:Qt,style:{marginTop:33},dataSource:je,loading:re,rowKey:"id",pagination:{current:qt.page,hideOnSinglePage:!Ne,showQuickJumper:!0,showSizeChanger:!0,pageSize:qt.limit,pageSizeOptions:["10","20","50","100","200"],total:Ne,size:"default",showTotal:et.rU,onChange:ca}}),rl.createElement(ec,{visible:Se,onCancel:()=>ze(!1),onOk:An,modalParams:gn,forceIn:!0}))},ws=ue(59301);const rc=({dispatch:oe,practiceSetting:le,shixunsDetail:re})=>{const[pe,Ne]=(0,x.useState)("1");return ws.createElement("div",{className:nl.catechism},ws.createElement(Uo.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:pe,onChange:at=>Ne(at),className:nl.tab}),pe==="1"&&ws.createElement(rs,null),pe==="2"&&ws.createElement(xs,null))};var Cd=(0,Oe.connect)(({practiceSetting:oe,shixunsDetail:le})=>({practiceSetting:oe,shixunsDetail:le}))(rc),us=Object.defineProperty,Yi=Object.getOwnPropertySymbols,Ic=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,Nc=(oe,le,re)=>le in oe?us(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,is=(oe,le)=>{for(var re in le||(le={}))Ic.call(le,re)&&Nc(oe,re,le[re]);if(Yi)for(var re of Yi(le))Ls.call(le,re)&&Nc(oe,re,le[re]);return oe},bd=(oe,le)=>{var re={};for(var pe in oe)Ic.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Yi)for(var pe of Yi(oe))le.indexOf(pe)<0&&Ls.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ad=oe=>{var le=oe,{tabsActive:re}=le,pe=bd(le,["tabsActive"]);return x.createElement(x.Fragment,null,re==="information"&&x.createElement(Xt,null),re==="warehouse"&&x.createElement(vo,null),re==="level"&&x.createElement(oi,is({},pe)),re==="collaborate"&&x.createElement(wi,is({},pe)),re==="setting"&&x.createElement(Li.Z,null),re==="environment"&&x.createElement(Ua,is({},pe)),re==="dataset"&&x.createElement(ei,null),re==="service"&&x.createElement(As,is({},pe)),re==="catechism"&&x.createElement(Cd,is({},pe)))},Qi={flex_box_center:"flex_box_center___MI0To",flex_space_between:"flex_space_between___Gn3Yr",flex_box_vertical_center:"flex_box_vertical_center___K5RIt",flex_box_center_end:"flex_box_center_end___WhL43",flex_box_column:"flex_box_column___AAEDd",sidebar:"sidebar___NrZKL",items:"items___Q_UEK",item:"item___VHVCz",name:"name___oYWmC",itemActive:"itemActive___UBKSy",question:"question___D6Z4B"},Os=Object.defineProperty,oc=Object.getOwnPropertySymbols,lc=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,Is=(oe,le,re)=>le in oe?Os(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Rc=(oe,le)=>{for(var re in le||(le={}))lc.call(le,re)&&Is(oe,re,le[re]);if(oc)for(var re of oc(le))Ms.call(le,re)&&Is(oe,re,le[re]);return oe};const Bd=oe=>React.createElement("svg",Rc({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"\u63D0\u793A\u4FE1\u606F"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M8 0a8 8 0 1 1-8 8 8.01 8.01 0 0 1 8-8Z",fill:"#FEB300"}),React.createElement("path",{d:"M8.111 12a.78.78 0 1 0 .006-1.56.78.78 0 0 0-.006 1.56ZM7.556 4a.21.21 0 0 0-.212.218l.244 5.133a.117.117 0 0 0 .116.11h.815a.118.118 0 0 0 .117-.11l.243-5.133A.208.208 0 0 0 8.666 4h-1.11Z",fill:"#FFF"})));var ai="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",Tc=Object.defineProperty,kc=Object.getOwnPropertySymbols,Ti=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,uc=(oe,le,re)=>le in oe?Tc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Zc=(oe,le)=>{for(var re in le||(le={}))Ti.call(le,re)&&uc(oe,re,le[re]);if(kc)for(var re of kc(le))xd.call(le,re)&&uc(oe,re,le[re]);return oe};const wd=oe=>React.createElement("svg",Zc({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"\u5F62\u72B6 6"),React.createElement("path",{d:"M12 24C5.372 24 0 18.628 0 12S5.372 0 12 0s12 5.372 12 12-5.372 12-12 12Zm0-5.25c.445 0 .806-.144 1.083-.431.277-.288.417-.644.417-1.069 0-.425-.139-.774-.417-1.048-.278-.274-.638-.424-1.083-.452-.584.028-1.014.288-1.291.78-.278.494-.278.987 0 1.48.277.493.707.74 1.291.74Zm1.149-4.9c0-.086-.03-.333-.026-.298-.031-.312.01-.59.181-.857.125-.196.318-.38.606-.55 1.693-1 2.312-2.115 2.277-3.275-.052-1.737-1.332-3.441-4.107-3.466-2.32-.022-3.844 1.098-4.205 3.202a1.125 1.125 0 0 0 2.217.38c.164-.952.698-1.344 1.967-1.333 1.393.013 1.86.635 1.88 1.284a.54.54 0 0 1-.086.316c-.155.279-.492.603-1.087.955-.589.347-1.042.779-1.36 1.278-.494.777-.602 1.545-.518 2.325.012.118.011.103.011.04a1.125 1.125 0 1 0 2.25 0Z",fill:"#F7B500",fillRule:"nonzero"}));var ic="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDI0QzUuMzcyIDI0IDAgMTguNjI4IDAgMTJTNS4zNzIgMCAxMiAwczEyIDUuMzcyIDEyIDEyLTUuMzcyIDEyLTEyIDEyWm0wLTUuMjVjLjQ0NSAwIC44MDYtLjE0NCAxLjA4My0uNDMxLjI3Ny0uMjg4LjQxNy0uNjQ0LjQxNy0xLjA2OSAwLS40MjUtLjEzOS0uNzc0LS40MTctMS4wNDgtLjI3OC0uMjc0LS42MzgtLjQyNC0xLjA4My0uNDUyLS41ODQuMDI4LTEuMDE0LjI4OC0xLjI5MS43OC0uMjc4LjQ5NC0uMjc4Ljk4NyAwIDEuNDguMjc3LjQ5My43MDcuNzQgMS4yOTEuNzRabTEuMTQ5LTQuOWMwLS4wODYtLjAzLS4zMzMtLjAyNi0uMjk4LS4wMzEtLjMxMi4wMS0uNTkuMTgxLS44NTcuMTI1LS4xOTYuMzE4LS4zOC42MDYtLjU1IDEuNjkzLTEgMi4zMTItMi4xMTUgMi4yNzctMy4yNzUtLjA1Mi0xLjczNy0xLjMzMi0zLjQ0MS00LjEwNy0zLjQ2Ni0yLjMyLS4wMjItMy44NDQgMS4wOTgtNC4yMDUgMy4yMDJhMS4xMjUgMS4xMjUgMCAwIDAgMi4yMTcuMzhjLjE2NC0uOTUyLjY5OC0xLjM0NCAxLjk2Ny0xLjMzMyAxLjM5My4wMTMgMS44Ni42MzUgMS44OCAxLjI4NGEuNTQuNTQgMCAwIDEtLjA4Ni4zMTZjLS4xNTUuMjc5LS40OTIuNjAzLTEuMDg3Ljk1NS0uNTg5LjM0Ny0xLjA0Mi43NzktMS4zNiAxLjI3OC0uNDk0Ljc3Ny0uNjAyIDEuNTQ1LS41MTggMi4zMjUuMDEyLjExOC4wMTEuMTAzLjAxMS4wNGExLjEyNSAxLjEyNSAwIDEgMCAyLjI1IDBaIiBmaWxsPSIjRjdCNTAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Sl=ue(59301),Ld=Object.defineProperty,Od=Object.defineProperties,sc=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,Wc=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,ri=(oe,le,re)=>le in oe?Ld(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Vc=(oe,le)=>{for(var re in le||(le={}))Wc.call(le,re)&&ri(oe,re,le[re]);if(Ns)for(var re of Ns(le))Rs.call(le,re)&&ri(oe,re,le[re]);return oe},Md=(oe,le)=>Od(oe,sc(le)),zc=(oe,le)=>{var re={};for(var pe in oe)Wc.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ns)for(var pe of Ns(oe))le.indexOf(pe)<0&&Rs.call(oe,pe)&&(re[pe]=oe[pe]);return re};const ss=[{name:"\u57FA\u672C\u4FE1\u606F",icon:Sl.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:Sl.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:Sl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:Sl.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:Sl.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:Sl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:Sl.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:Sl.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:Sl.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],Gc=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,shixunsDetail:at,practiceSetting:je}=le,Ye=zc(le,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Se;const{base_info_warning:ze,challenges_warning:gn,id:zn,repository_warning:qt,sideBar:Zn,service_warning:Bn}=je,Qn=(0,Oe.useLocation)(),Fn=(0,Oe.useParams)(),[vt]=(0,Oe.useSearchParams)();(0,x.useEffect)(()=>{var Zt;const Qt=vt.get("tabId"),It=Qn.pathname.split("/").length,wn=((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?ss.filter(kt=>kt.tabId!=="dataset"):ss).map(kt=>kt.tabId).includes(Qt);if(Qt&&wn){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Qt}});return}if(It>4){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Qt||Qt&&!wn){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Se=at==null?void 0:at.detail)==null?void 0:Se.windows_vnc]),(0,x.useEffect)(()=>()=>{Ne({type:"practiceSetting/setSideBarTabs",payload:Md(Vc({},je.sideBar),{selectPath:""})})},[Fn.id]);const ca=Zt=>{var Qt;if(Zt===Zn.tabsActive)return;const It=()=>{Oe.history.push(`/shixuns/${zn}/edit?tabId=${Zt}`),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Zt,selectPath:"",confirmLeave:!1}})};(Qt=je==null?void 0:je.sideBar)!=null&&Qt.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{It()}}):It()},An=()=>{var Zt;return((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?ss.filter(It=>It.tabId!=="dataset"):ss).filter(It=>{var pt;return(pt=at==null?void 0:at.detail)!=null&&pt.is_jupyter_lab?It.tabId!=="level":It.tabId!=="service"}).map(It=>{const{name:pt,icon:wn,tabId:kt}=It;return Sl.createElement("div",{key:kt,className:`${je.sideBar.tabsActive===kt?Qi.itemActive:Qi.item} font12`,onClick:()=>ca(kt)},wn,Sl.createElement("span",{className:Qi.name},pt),kt==="information"&&ze&&Sl.createElement(Dt.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},Sl.createElement("img",{src:ai,alt:""})),kt==="level"&&gn&&Sl.createElement(Dt.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},Sl.createElement("img",{src:ai,alt:""})),kt==="service"&&Bn&&Sl.createElement(Dt.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},Sl.createElement("img",{src:ai,alt:""})),kt==="warehouse"&&qt&&Sl.createElement(Dt.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},Sl.createElement("img",{src:ai,alt:""})))})};return Sl.createElement("div",{className:Qi.sidebar},Sl.createElement("div",{className:Qi.items},An()),Sl.createElement("div",{className:Qi.question},Sl.createElement(Dt.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},Sl.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},Sl.createElement("img",{src:ic,height:24,width:24,alt:""})))))};var Id=(0,Oe.connect)(({loading:oe,globalSetting:le,shixunsDetail:re,practiceSetting:pe})=>({globalSetting:le,loading:oe,practiceSetting:pe,shixunsDetail:re}))(Gc),cc={bottom:"bottom___g7TNS",yes:"yes___IpiGn",no:"no___xC90Y"},Hl=ue(59301),Nd=Object.defineProperty,Uc=Object.getOwnPropertySymbols,Rd=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,ds=(oe,le,re)=>le in oe?Nd(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ts=(oe,le)=>{for(var re in le||(le={}))Rd.call(le,re)&&ds(oe,re,le[re]);if(Uc)for(var re of Uc(le))cs.call(le,re)&&ds(oe,re,le[re]);return oe},ks=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Td=({classroomList:oe,loading:le,dispatch:re,shixunsDetail:pe})=>{var Ne,at;const je=(0,Oe.useParams)(),Ye=(0,Oe.useLocation)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)(!1),{actionTabs:qt}=oe,[Zn]=ce.default.useForm(),[Bn,Qn]=(0,x.useState)({name:"string"}),Fn=Zt=>Zt&&Zt{console.log(je),oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Bn.name=qt==null?void 0:qt.name),Qn(Ts({},Bn)),Zn.setFieldsValue({name:qt==null?void 0:qt.name})},[oe.actionTabs.key]);const An={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Hl.createElement(Hl.Fragment,null,Hl.createElement(Re.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Ne=oe==null?void 0:oe.actionTabs)==null?void 0:Ne.zIndex)||1e3,footer:null,onOk:()=>ks(void 0,null,function*(){console.log(123123)}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Hl.createElement("div",null,Hl.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",An[oe.actionTabs.type],"\uFF1F")),Hl.createElement("div",{className:cc.bottom},Hl.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&gn,className:cc.no,onClick:()=>ks(void 0,null,function*(){var Zt;zn(!0),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!0,2):oe.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Hl.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&!gn,className:cc.yes,onClick:()=>ks(void 0,null,function*(){var Zt;zn(!1),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!1,1):oe.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Hl.createElement(Re.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Se,onOk:()=>ks(void 0,null,function*(){var Zt,Qt;yield Zn.validateFields();const It=Zn.getFieldValue();ze(!0);const pt=yield(0,lt.ZP)(`/api/shixuns/${je==null?void 0:je.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:It.name}});ze(!1),pt.status===0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),re({type:"practiceSetting/getCommonData",payload:{id:je.id}}),(Zt=oe.actionTabs)!=null&&Zt.getBaseInfo&&((Qt=oe.actionTabs)==null||Qt.getBaseInfo())),re({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Hl.createElement("div",null,Hl.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Hl.createElement(ce.default,{form:Zn,initialValues:{name:vt},onChange:()=>{Qn(Zn.getFieldValue())}},Hl.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Hl.createElement(Ge.Z,{className:"mt30",align:"middle"},Hl.createElement(Be.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Hl.createElement(Be.Z,{flex:"1"},Hl.createElement(ye.default,{maxLength:60,defaultValue:qt==null?void 0:qt.name,suffix:Hl.createElement("span",null,((at=Bn==null?void 0:Bn.name)==null?void 0:at.length)||0,"/",60)}))))))))};var To=(0,Oe.connect)(({classroomList:oe,loading:le,shixunsDetail:re})=>({classroomList:oe,loading:le.effects,shixunsDetail:re}))(Td),qa=ue(59301),Zr=Object.defineProperty,ko=Object.defineProperties,Fl=Object.getOwnPropertyDescriptors,gi=Object.getOwnPropertySymbols,Qu=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,Ju=(oe,le,re)=>le in oe?Zr(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ji=(oe,le)=>{for(var re in le||(le={}))Qu.call(le,re)&&Ju(oe,re,le[re]);if(gi)for(var re of gi(le))mi.call(le,re)&&Ju(oe,re,le[re]);return oe},bi=(oe,le)=>ko(oe,Fl(le)),Xu=(oe,le)=>{var re={};for(var pe in oe)Qu.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&gi)for(var pe of gi(oe))le.indexOf(pe)<0&&mi.call(oe,pe)&&(re[pe]=oe[pe]);return re};const rg=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at}=le,je=Xu(le,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ye}=at,{tabsActive:Se}=Ye;let ze=(0,Oe.useParams)();return(0,x.useEffect)(()=>(Ne({type:"globalSetting/headerFooterToggle",payload:!1}),Ne({type:"shixunsDetail/getShixunsDetail",payload:bi(Ji({},ze),{shixun_managed:!0})}),()=>{Ne({type:"globalSetting/headerFooterToggle",payload:!0}),Ne({type:"practiceSetting/setParams",payload:{id:""}})}),[]),qa.createElement("div",{className:Ze.practiceSetting},qa.createElement("div",{className:Ze.wrapHeader},qa.createElement(z,null)),qa.createElement("div",{className:Ze.wrapLayout},qa.createElement("div",{className:Ze.wrapSidebar},qa.createElement(Id,null)),qa.createElement("div",{className:Ze.wrapContent},qa.createElement(Ad,bi(Ji({},je),{tabsActive:at.sideBar.tabsActive})))),qa.createElement(To,null))};var Lg=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re})=>({globalSetting:le,loading:oe,practiceSetting:re}))(rg),Zs={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Yl={flex_box_center:"flex_box_center___XeTw7",flex_space_between:"flex_space_between___Hfc9g",flex_box_vertical_center:"flex_box_vertical_center___JWkfv",flex_box_center_end:"flex_box_center_end___bKF19",flex_box_column:"flex_box_column___XWcdc",header:"header___HkrmL","flex-center":"flex-center___Xqcdj",title:"title___rc2FS",schedule:"schedule___MloKP",clickWarp:"clickWarp___yvMMm",num:"num___etFJa",subject:"subject___ZbcjS",btns:"btns___R7eGw",btn:"btn___NLvn4",simulate:"simulate___kVrJQ",exit:"exit___CTNC5"},wo=ue(59301),Og=Object.getOwnPropertySymbols,kd=Object.prototype.hasOwnProperty,Mg=Object.prototype.propertyIsEnumerable,Ig=(oe,le)=>{var re={};for(var pe in oe)kd.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Og)for(var pe of Og(oe))le.indexOf(pe)<0&&Mg.call(oe,pe)&&(re[pe]=oe[pe]);return re},jc=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Ng=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at,shixunsDetail:je}=le,Ye=Ig(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze;const gn=(0,Oe.useLocation)(),zn=(0,x.useRef)(""),qt=(0,Oe.useParams)(),{title:Zn,base_info_warning:Bn,challenges_warning:Qn,service_warning:Fn,repository_warning:vt,mirror_warning:ca}=at;(0,x.useEffect)(()=>{var Wt;zn.current=(Wt=gn.pathname.split("/"))==null?void 0:Wt[2],Ne({type:"practiceSetting/setParams",payload:{id:zn.current}}),Ne({type:"practiceSetting/getCommonData",payload:{id:zn.current}})},[gn.pathname]),(0,x.useEffect)(()=>((0,et.Dk)(Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,et.Dk)()}));const An=()=>jc(void 0,null,function*(){yield Zt(),Oe.history.push(`/shixuns/${zn.current}/challenges`)}),Zt=()=>new Promise((Wt,aa)=>{var ja;(ja=at==null?void 0:at.sideBar)!=null&&ja.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Wt()},onCancel:()=>{aa()}}):Wt()}),Qt=Wt=>{var aa;if(Wt===(at==null?void 0:at.sideBar.tabsActive))return;const ja=()=>{Oe.history.push(`/shixuns/${zn.current}/edit?tabId=${Wt}`),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Wt,selectPath:"",confirmLeave:!1}})};(aa=at==null?void 0:at.sideBar)!=null&&aa.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ja()}}):ja()},It=(Wt,aa=!1)=>{Wt=Wt!=null&&Wt.includes(".json")?Wt:`${Wt}.json`,Re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:wo.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>jc(void 0,null,function*(){const ja=yield(0,lt.ZP)("/api"+Wt,{method:"get"});if(!ja)return;Me.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Pn=yield(0,ct.Ir)({id:ja.shixun_identifier,jump_challenge_setting:aa});if(Pn!=null&&Pn.game_identifier){(0,et.xg)(`/tasks/${Pn.game_identifier}`);return}(Pn==null?void 0:Pn.status)===2?It(Pn==null?void 0:Pn.message):(Pn==null?void 0:Pn.status)===3&&pt(Pn==null?void 0:Pn.message)})})},pt=Wt=>{Re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:wo.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Wt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=(Wt,aa)=>jc(void 0,null,function*(){var ja,Pn,Qa;if(yield Zt(),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),Ne({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF0C\u8BF7\u7A0D\u540E..."}}),(ja=je.detail)!=null&&ja.is_openi){const qn=()=>{Ne({type:"shixunsDetail/execOpeni",payload:{identifier:zn.current}}).then(In=>{if((In==null?void 0:In.status)===300002||(In==null?void 0:In.status)===300003||(In==null?void 0:In.status)===300004){(0,et.sd)(In),Ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}});return}if((In==null?void 0:In.status)===3||(In==null?void 0:In.status)===4||(In==null?void 0:In.status)===5){setTimeout(()=>{qn()},3e3);return}In!=null&&In.notebook&&(0,et.xg)(In==null?void 0:In.notebook),Ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})})};qn();return}if((Pn=je.detail)!=null&&Pn.is_jupyter||(Qa=je.detail)!=null&&Qa.is_jupyter_lab){Ne({type:"shixunsDetail/execJupyter",payload:{id:zn.current}}).then(qn=>{var In;qn!=null&&qn.identifier&&((In=Oe.history)==null||In.push(`/tasks/${qn.identifier}/jupyter`))}).finally(()=>{Ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})});return}const Da=aa?yield(0,ct.BK)({id:Wt}):yield(0,ct.Ir)({id:Wt});if(Ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Da!=null&&Da.game_identifier||Da!=null&&Da.identifier){(0,et.xg)(aa?`/tasks/${Da==null?void 0:Da.identifier}/jupyter`:`/tasks/${Da.game_identifier}`);return}(Da==null?void 0:Da.status)===-3?(0,et.eF)():(Da==null?void 0:Da.status)===2?It(Da==null?void 0:Da.message):(Da==null?void 0:Da.status)===3&&pt(Da==null?void 0:Da.message)}),kt=()=>jc(void 0,null,function*(){yield Zt(),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Ct=Wt=>({borderBottomColor:(at==null?void 0:at.sideBar.tabsActive)===Wt?"#0152d9":"transparent"});return wo.createElement("div",{className:Yl.header},wo.createElement("aside",{className:Yl.title},wo.createElement("i",{onClick:An,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),wo.createElement("span",{className:Yl.edit},Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),wo.createElement("i",{onClick:kt,className:"icon iconfont icon-xiugai1"})),wo.createElement("aside",{className:Yl.schedule},wo.createElement("div",null,wo.createElement("span",{style:Ct("information"),className:Yl.clickWarp,onClick:()=>Qt("information")},Bn?wo.createElement("span",{className:Yl.num},"1"):wo.createElement("img",{src:Ce}),wo.createElement("span",{className:Yl.subject},"\u57FA\u672C\u4FE1\u606F")),wo.createElement("i",{className:"iconfont icon-lujing"})),wo.createElement("div",null,wo.createElement("span",{style:Ct("warehouse"),className:Yl.clickWarp,onClick:()=>Qt("warehouse")},vt?wo.createElement("span",{className:Yl.num},"2"):wo.createElement("img",{src:Ce}),wo.createElement("span",{className:Yl.subject},"\u4EE3\u7801\u4ED3\u5E93")),wo.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&!((Se=je==null?void 0:je.detail)!=null&&Se.is_jupyter_lab)&&wo.createElement("div",null,wo.createElement("span",{style:Ct("level"),className:Yl.clickWarp,onClick:()=>Qt("level")},Qn?wo.createElement("span",{className:Yl.num},"3"):wo.createElement("img",{src:Ce}),wo.createElement("span",{className:Yl.subject},"\u4EFB\u52A1\u5173\u5361")),wo.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&((ze=je==null?void 0:je.detail)==null?void 0:ze.is_jupyter_lab)&&wo.createElement("div",null,wo.createElement("span",{style:Ct("service"),className:Yl.clickWarp,onClick:()=>Qt("service")},Fn?wo.createElement("span",{className:Yl.num},"3"):wo.createElement("img",{src:Ce}),wo.createElement("span",{className:Yl.subject},"\u670D\u52A1")),wo.createElement("i",{className:"iconfont icon-lujing"})),wo.createElement("div",null,wo.createElement("span",{style:Ct("environment"),className:Yl.clickWarp,onClick:()=>Qt("environment")},ca?wo.createElement("span",{className:Yl.num},"4"):wo.createElement("img",{src:Ce}),wo.createElement("span",{className:Yl.subject},"\u5B9E\u9A8C\u73AF\u5883")))),wo.createElement("aside",{className:Yl.btns},wo.createElement("div",{className:Yl.simulate,onClick:()=>wn(zn.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var Rg=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe,dispatch:Ne})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe,dispatch:Ne}))(Ng),Ws={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},Zd={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},og=Object.defineProperty,gs=Object.getOwnPropertySymbols,dc=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,Kc=(oe,le,re)=>le in oe?og(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ug=(oe,le)=>{for(var re in le||(le={}))dc.call(le,re)&&Kc(oe,re,le[re]);if(gs)for(var re of gs(le))lg.call(le,re)&&Kc(oe,re,le[re]);return oe},Tg=(oe,le)=>{var re={};for(var pe in oe)dc.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&gs)for(var pe of gs(oe))le.indexOf(pe)<0&&lg.call(oe,pe)&&(re[pe]=oe[pe]);return re},kg=oe=>{var le=oe,{InputRight:re,value:pe=[],onChange:Ne}=le,at=Tg(le,["InputRight","value","onChange"]);const[je,Ye]=(0,x.useState)(),Se=gn=>{const zn=pe.filter((qt,Zn)=>Zn!==gn);Ne(zn)},ze=gn=>{if(gn.preventDefault(),!!je){if(pe.findIndex(zn=>zn.name===je)>-1){Me.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Ne([...pe,{id:null,name:je}]),Ye(null)}};return x.createElement("div",null,x.createElement(ye.default,ug({bordered:!1,style:{width:600},value:je,onChange:gn=>Ye(gn.target.value),onPressEnter:ze,onBlur:ze},at)),re||x.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),x.createElement("div",{className:"mt20"},pe==null?void 0:pe.map((gn,zn)=>x.createElement("div",{key:zn,className:Zd.btn},x.createElement("span",{className:Zd.s1},gn.name),x.createElement("img",{src:mn,className:Zd.s2,onClick:()=>Se(zn)})))))},Wd={flex_box_center:"flex_box_center___hBEA9",flex_space_between:"flex_space_between___rMB3f",flex_box_vertical_center:"flex_box_vertical_center___XT_7U",flex_box_center_end:"flex_box_center_end___ayQhe",flex_box_column:"flex_box_column___Yqif8",complete:"complete___zRKx3",cancel:"cancel___D5r7A",save:"save___sa92o"};const Vd=({dispatch:oe,onCancel:le,onSave:re,loading:pe=!1})=>x.createElement("div",{className:Wd.complete},x.createElement("div",{onClick:le,className:Wd.cancel},"\u53D6\u6D88"),x.createElement(de.ZP,{type:"primary",loading:pe,onClick:re,className:Wd.save},"\u4FDD\u5B58"));var ig=(0,Oe.connect)()(Vd),Rr=ue(59301),zd=Object.defineProperty,Zg=Object.defineProperties,Wg=Object.getOwnPropertyDescriptors,Hc=Object.getOwnPropertySymbols,sg=Object.prototype.hasOwnProperty,cg=Object.prototype.propertyIsEnumerable,Gd=(oe,le,re)=>le in oe?zd(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Vs=(oe,le)=>{for(var re in le||(le={}))sg.call(le,re)&&Gd(oe,re,le[re]);if(Hc)for(var re of Hc(le))cg.call(le,re)&&Gd(oe,re,le[re]);return oe},dg=(oe,le)=>Zg(oe,Wg(le)),Vg=(oe,le)=>{var re={};for(var pe in oe)sg.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Hc)for(var pe of Hc(oe))le.indexOf(pe)<0&&cg.call(oe,pe)&&(re[pe]=oe[pe]);return re},gg=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const zg=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at,problemset:je,shixunsDetail:Ye}=le,Se=Vg(le,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),ze,gn;const[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)({}),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(""),[It,pt]=(0,x.useState)(""),[wn,kt]=(0,x.useState)(""),[Ct,Wt]=(0,x.useState)(),aa=(0,x.useRef)({}),ja=(0,x.useRef)(""),Pn=(0,x.useRef)(""),Qa=(0,x.useRef)(""),Da=(0,x.useRef)(null),qn=(0,x.useRef)((0,pn.throttle)(()=>sr(),2e3,{leading:!0,trailing:!1})).current,{id:In}=at,[Fr,ra]=(0,x.useState)(!1);(0,x.useEffect)(()=>{In&&ir()},[In]),(0,x.useEffect)(()=>(JSON.stringify(qt)!=="{}"&&ea(),()=>{clearTimeout(Da.current)}),[qt,Zt,wn,It]);const ea=()=>{clearTimeout(Da.current),Da.current=setTimeout(()=>{!(0,pn.isEqual)(qt,aa.current)||Zt!==ja.current||wn!==Pn.current||It!==Qa.current?Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},ir=()=>gg(void 0,null,function*(){var $a,Sr,Xr,Ia,wr,Mo,Wn;Ne({type:"problemset/getEditDisciplines",payload:{source:"all_shixun"}});const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_base_info.json`,{method:"get"});if(oa.status===0){const ua=dg(Vs({},oa.data),{description:(0,un.S)(oa.data.description)}),fo={description:ua.description,shixun_tags:ua.shixun_tags,name:ua.name,course:(($a=ua==null?void 0:ua.disciplines)==null?void 0:$a.length)>0?[(Xr=(Sr=ua==null?void 0:ua.disciplines)==null?void 0:Sr[0])==null?void 0:Xr.id,(Mo=(wr=(Ia=ua==null?void 0:ua.disciplines)==null?void 0:Ia[0])==null?void 0:wr.sub_discipline)==null?void 0:Mo.id]:[]};(Wn=Ye.detail)!=null&&Wn.is_jupyter_lab&&(fo.jupyter_show_description=oa.data.jupyter_show_description),zn.setFieldsValue(fo),aa.current=Vs({},fo),ja.current=ua.attachment_id||"",Pn.current=ua.cover_image_id||"",Qa.current=ua.attachment_id_b||"",Zn(Vs({},fo)),Qt(ua.attachment_id||""),pt(ua.attachment_id_b||""),kt(ua.cover_image_id||""),Wt(ua.cover_image||"")}}),Pr=($a,Sr)=>{Zn(Vs({},Sr))},Er=()=>{Ma()},sr=()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),zn.submit()},dn=($a,Sr=!1,Xr=1)=>{var Ia;const{name:wr,description:Mo,shixun_tags:Wn,course:oa,jupyter_show_description:ua=!1}=$a;let fo={name:wr,description:Mo,shixun_tags:Wn,attachment_id:Zt,cover_image_id:wn,attachment_id_b:It,sub_discipline_ids:oa[1]};(Ia=Ye.detail)!=null&&Ia.is_jupyter_lab&&(fo=dg(Vs({},fo),{jupyter_show_description:ua})),(0,lt.ZP)(`/api/shixuns/${In}/base_info_save.json`,{method:"post",body:{shixun:Vs({},fo),sync_origin_shixun:Sr}}).then(hs=>gg(void 0,null,function*(){var Gs,Fc,yc,xa;if(hs.status===0&&((Gs=Ye==null?void 0:Ye.detail)!=null&&Gs.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ne({type:"practiceSetting/getCommonData",payload:{id:In}}),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),aa.current={description:qt.description,shixun_tags:qt.shixun_tags,name:qt.name},ja.current=Zt,Pn.current=wn,Qa.current=It,(Fc=Ye==null?void 0:Ye.detail)!=null&&Fc.copy_for_exercise)){const br=yield Ne({type:"shixunsDetail/saveCopyForExercise",payload:{id:In,save_type:Xr}});Xr===1?(yc=br==null?void 0:br.data)!=null&&yc.exists_same_shixun_name?Ne({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(xa=br==null?void 0:br.data)==null?void 0:xa.shixun_name,getBaseInfo:()=>{ir()}}}):(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),Ne({type:"classroomList/setActionTabs",payload:{}})):(Ne({type:"classroomList/setActionTabs",payload:{}}),(br==null?void 0:br.status)===0&&Re.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Rr.createElement("div",null,Rr.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var Qr,Ao;(0,et.xg)(`/shixuns/${(Ao=(Qr=Ye==null?void 0:Ye.detail)==null?void 0:Qr.fork_from)==null?void 0:Ao.fork_identifier}/challenges`)}}))}}))},Ma=()=>{var $a;const Sr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};($a=at==null?void 0:at.sideBar)!=null&&$a.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Sr()}}):Sr()};function nr($a){const Sr=$a.type==="image/jpeg"||$a.type==="image/png";return Sr||Me.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),Sr}const la=Rr.createElement(de.ZP,{loading:Bn,icon:Rr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ga=Rr.createElement(de.ZP,{loading:ca,icon:Rr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ka=Rr.createElement(de.ZP,{loading:Fn,icon:Rr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function Ir($a,Sr){const Xr=new FileReader;Xr.addEventListener("load",()=>Sr(Xr.result)),Xr.readAsDataURL($a)}const Do=$a=>{var Sr,Xr;if($a.file.status==="uploading"){Qn(!0);return}$a.file.status==="done"&&(Qn(!1),Qt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id))},Wo=$a=>{var Sr,Xr;if($a.file.status==="uploading"){vt(!0);return}$a.file.status==="done"&&(vt(!1),pt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id))},Ll=()=>Rr.createElement("div",{className:Ws.img},Rr.createElement("img",{src:(0,xe.z)("/api/attachments/"+Zt,!0),alt:"avatar",style:{width:"100%"}}),Rr.createElement("div",null,Rr.createElement(Le.Z,{onClick:()=>Qt(""),style:{fontSize:"16px",color:"red"}}))),Al=()=>Rr.createElement("div",{className:Ws.img},Rr.createElement("img",{src:(0,xe.z)("/api/attachments/"+It,!0),alt:"avatar",style:{width:"100%"}}),Rr.createElement("div",null,Rr.createElement(Le.Z,{onClick:()=>pt(""),style:{fontSize:"16px",color:"red"}}))),qu=$a=>{var Sr,Xr;if($a.file.status==="uploading"){An(!0);return}$a.file.status==="done"&&(An(!1),kt((Xr=(Sr=$a==null?void 0:$a.file)==null?void 0:Sr.response)==null?void 0:Xr.id),ra(!0))},Ai=()=>Rr.createElement("div",{className:Ws.img},Rr.createElement("img",{src:(0,xe.z)(Fr?"/api/attachments/"+wn:Ct,!0),alt:"avatar",style:{width:"100%"}}),Rr.createElement("div",null,Rr.createElement(Le.Z,{onClick:()=>{kt(""),Wt("")},style:{fontSize:"16px",color:"red"}})));return Rr.createElement("div",{className:Ws.information},Rr.createElement("section",{className:Ws.scroll},Rr.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Rr.createElement("div",{className:Ws.formWrap}," ",Rr.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onValuesChange:Pr,onFinish:$a=>{var Sr,Xr;(Sr=Ye==null?void 0:Ye.detail)!=null&&Sr.is_fork_from_creator&&((Xr=Ye==null?void 0:Ye.detail)!=null&&Xr.copy_for_exercise)?Ne({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:$a,type:"information",fn:(Ia,wr,Mo)=>{dn(Ia,wr,Mo)}}}):dn($a)}},Rr.createElement(ce.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},Rr.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((ze=qt.name)==null?void 0:ze.length)||0}/60`})),Rr.createElement(ce.default.Item,{className:"customAddTags",name:"shixun_tags",label:Rr.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",Rr.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},Rr.createElement(kg,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Rr.createElement(ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Rr.createElement(Ae.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:je.courseOptions,getPopupContainer:$a=>$a.parentNode})),Rr.createElement(Ge.Z,null,Rr.createElement(Be.Z,null,Rr.createElement(ce.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Zt?Ll():Rr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:Do},la))),Rr.createElement(Be.Z,{className:"c-grey-999"},Rr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Rr.createElement(Ge.Z,null,Rr.createElement(Be.Z,null,Rr.createElement(ce.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},It?Al():Rr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:Wo},ka))),Rr.createElement(Be.Z,{className:"c-grey-999"},Rr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Rr.createElement(Ge.Z,null,Rr.createElement(Be.Z,null,Rr.createElement(ce.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},wn||Ct?Ai():Rr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:nr,onChange:qu},Ga))),Rr.createElement(Be.Z,{className:"c-grey-999"},Rr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Rr.createElement(ce.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Rr.createElement(se.Z,{defaultValue:qt.description||"",watch:!0})),((gn=Ye.detail)==null?void 0:gn.is_jupyter_lab)&&Rr.createElement(ce.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Rr.createElement(Xe.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),Rr.createElement(ig,{onSave:qn,onCancel:Er,loading:Bn||ca||Fn}))};var Gg=(0,Oe.connect)(({problemset:oe,loading:le,globalSetting:re,practiceSetting:pe,shixunsDetail:Ne})=>({globalSetting:re,loading:le,practiceSetting:pe,problemset:oe,shixunsDetail:Ne}))(zg),Ug=ue(26595),xl={flex_box_center:"flex_box_center___eoeVu",flex_space_between:"flex_space_between___f9Khj",flex_box_vertical_center:"flex_box_vertical_center___mDOuj",flex_box_center_end:"flex_box_center_end___q43Rs",flex_box_column:"flex_box_column___lnTOC",level:"level___W39_7",left:"left___xugM0",container:"container___MnoCi",title:"title___HNuSO",listWrap:"listWrap___Oz5IK",list:"list___Fq6dF",s3:"s3___piVr6",s2:"s2___jJaip",listActive:"listActive___e7FOo",os:"os___Zt66K",btns:"btns___mA9Xb",btnsWrap:"btnsWrap___hx2vE",icon:"icon___l26_g",btn:"btn___AF61O",d1:"d1___WyJ4s",d2:"d2___GQq5w",shrink:"shrink___NbOqs",elseShrink:"elseShrink___ZoNE2",right:"right___zgEq_",addIcon:"addIcon___aVZVl"},jg=Object.defineProperty,Kg=Object.defineProperties,Hg=Object.getOwnPropertyDescriptors,Yc=Object.getOwnPropertySymbols,Ud=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,mg=(oe,le,re)=>le in oe?jg(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,gc=(oe,le)=>{for(var re in le||(le={}))Ud.call(le,re)&&mg(oe,re,le[re]);if(Yc)for(var re of Yc(le))jd.call(le,re)&&mg(oe,re,le[re]);return oe},Qc=(oe,le)=>Kg(oe,Hg(le)),fg=(oe,le)=>{var re={};for(var pe in oe)Ud.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Yc)for(var pe of Yc(oe))le.indexOf(pe)<0&&jd.call(oe,pe)&&(re[pe]=oe[pe]);return re},Jc=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Yg=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ne}=le,at=fg(le,["globalSetting","dispatch","practiceSetting"]);const je=(0,Oe.useLocation)(),[Ye]=(0,Oe.useSearchParams)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)(!0),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(null),ca=(0,x.useRef)(!1),{id:An,updateIndex:Zt,is_published:Qt,newQuestion:It}=Ne,{challenge_list:pt=[]}=gn;(0,x.useEffect)(()=>{if(An)return kt(),()=>{pe({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[An,Zt]),(0,x.useEffect)(()=>{wn()},[je]);const wn=()=>{const ra=je.pathname.split("/");(ra.includes("newquestion")||ra.includes("new")||Ye.get("tabId"))&&(ca.current=!0)},kt=()=>Jc(void 0,null,function*(){var ra,ea,ir;Zn(!0);const Pr=yield(0,ct.n5)({id:An});if((ra=Pr==null?void 0:Pr.challenge_list)!=null&&ra.length){const Er=je.pathname.split("/"),sr=Pr.challenge_list.find(dn=>String(dn.challenge_id)===Er[4]);if(Er.includes("newquestion")||Er.includes("new")){const dn=Pr.challenge_list[((ea=Pr.challenge_list)==null?void 0:ea.length)-1];pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:Er.includes("new")?0:1,name:""}}}),vt(void 0),Pn(dn)}else Er[4]&&sr?Ct(sr,!1):Ct(Pr.challenge_list[0])}(ir=Pr==null?void 0:Pr.challenge_list)!=null&&ir.length||vt(null),zn(Pr),Zn(!1)}),Ct=(ra,ea=!0)=>{if(vt(ra.challenge_id),Pn(ra),ea){const ir=`/shixuns/${An}/edit/${ra.challenge_id}/${ra.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}},Wt=(ra,ea)=>{ea.stopPropagation();const{challenge_id:ir}=ra,Pr=()=>Jc(void 0,null,function*(){var Er,sr;if((yield(0,ct.rO)({id:An,challengesId:ir})).status===1){const Ma=yield(0,ct.n5)({id:An});if(zn(Ma),ir===Fn&&((Er=Ma.challenge_list)!=null&&Er.length)){Ct(Ma.challenge_list[0]);return}(sr=Ma.challenge_list)!=null&&sr.length||(vt(null),ca.current=!0,Pn({}),Oe.history.push(`/shixuns/${An}/edit?tabId=level`))}});Re.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Pr})},aa=(ra,ea,ir)=>{const Pr=Array.from(ra),[Er]=Pr.splice(ea,1);return Pr.splice(ir,0,Er),Pr},ja=(ra,ea)=>{if(!ra.destination)return;const ir=aa(ea,ra.source.index,ra.destination.index);zn(Qc(gc({},gn),{challenge_list:ir}));const Pr=ir.map(Er=>Er.challenge_id);(0,ct.xg)({id:An,ids:Pr}).then(Er=>{Er.status!==0&&zn(Qc(gc({},gn),{challenge_list:ea}))})},Pn=ra=>{pe({type:"practiceSetting/setParams",payload:{selectQuestionParams:ra}})},Qa=(ra,ea)=>Jc(void 0,null,function*(){if(ra===Fn)return;yield Da(),vt(ra),Pn(ea),pe({type:"practiceSetting/setParams",payload:{newQuestion:null}});const ir=`/shixuns/${An}/edit/${ra}/${ea.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}),Da=()=>new Promise((ra,ea)=>{var ir;(ir=Ne==null?void 0:Ne.sideBar)!=null&&ir.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{pe({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),ra()},onCancel:()=>{ea()}}):ra()}),qn=ra=>x.createElement(x.Fragment,null,x.createElement($o.Z5,{onDragEnd:ea=>ja(ea,ra)},x.createElement($o.bK,{droppableId:"droppable"},(ea,ir)=>x.createElement("div",Qc(gc({ref:ea.innerRef},ea.droppableProps),{style:{width:"100%"}}),ra.map((Pr,Er)=>{const{st:sr,name:dn,challenge_id:Ma}=Pr;return x.createElement($o._l,{key:Ma,draggableId:Ma.toString(),index:Er,isDragDisabled:Qt},(nr,la)=>x.createElement("div",Qc(gc(gc({ref:nr.innerRef},nr.draggableProps),nr.dragHandleProps),{className:Fn===Ma?xl.listActive:xl.list,onClick:()=>Qa(Ma,Pr)}),x.createElement("span",{className:xl.s1},sr===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:xl.s2},"\u7B2C",Er+1,"\u5173: ",dn),!Qt&&x.createElement("span",{className:xl.s3,onClick:Ga=>Wt(Pr,Ga)},x.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),It&&x.createElement("div",{className:xl.listActive},x.createElement("span",{className:xl.s1},(It==null?void 0:It.st)===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:xl.s2},"\u7B2C",ra.length+1,"\u5173: ",It==null?void 0:It.name)),!Qt&&x.createElement("div",{className:xl.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),In=ra=>Jc(void 0,null,function*(){yield Da(),ra==="new"?Oe.history.push(`/shixuns/${An}/edit/new`):Oe.history.push(`/shixuns/${An}/edit/newquestion`),ze(!1),vt(void 0),pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:ra==="new"?0:1,name:""}}})}),Fr=()=>{(0,Ca.gy)(pe,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||ze(!Se)};return x.createElement("div",{className:xl.level},x.createElement("aside",{className:xl.left,style:{width:Bn?"0":"25%"}},x.createElement("div",{className:xl.container},x.createElement("div",{className:xl.title},"\u4EFB\u52A1\u5173\u5361(",pt.length,")"),x.createElement("div",{className:xl.listWrap},qt?x.createElement(ht.Z,{size:"middle"}):pt.length||It?qn(pt):x.createElement(il.Z,{image:Io,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Bn&&x.createElement("div",{className:xl.btns},x.createElement("aside",{className:xl.btnsWrap},x.createElement("div",{style:{transform:Se?"rotate(45deg)":"rotate(0deg)"},className:xl.icon,onClick:Fr},"+"),x.createElement("div",{className:xl.btn,style:{left:Se?20:-154}},x.createElement("div",{className:xl.d1,onClick:()=>In("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),x.createElement("div",{className:xl.d2,onClick:()=>In("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),x.createElement("div",{className:Bn?xl.elseShrink:xl.shrink,onClick:()=>Qn(!Bn)},x.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),x.createElement("aside",{className:xl.right,id:"modal-level-question"},Fn===null&&ca.current?x.createElement("div",{className:xl.addIcon},x.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):x.createElement(Oe.Outlet,null)))};var Qg=(0,Oe.connect)(({globalSetting:oe,practiceSetting:le})=>({globalSetting:oe,practiceSetting:le}))(Yg),mc={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},vg=Object.getOwnPropertySymbols,pg=Object.prototype.hasOwnProperty,Jg=Object.prototype.propertyIsEnumerable,Xg=(oe,le)=>{var re={};for(var pe in oe)pg.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&vg)for(var pe of vg(oe))le.indexOf(pe)<0&&Jg.call(oe,pe)&&(re[pe]=oe[pe]);return re},Xc=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const hg=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ne,dispatch:at,onReloadData:je}=le,Ye=Xg(le,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Se,ze]=(0,x.useState)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{re.actionTabs.key==="Collaborators-ChangeManager"&&qt()},[re.actionTabs.key]);const qt=()=>Xc(void 0,null,function*(){var Fn;const vt=yield at({type:"shixunsDetail/getChangeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}});zn(vt||[])}),Zn=()=>{var Fn;at({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}}})},Bn=()=>Xc(void 0,null,function*(){var Fn;if(!Se){Me.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const vt=yield at({type:"shixunsDetail/changeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id,user_id:Se}});Qn(),vt&&(je(),Me.ZP.info(vt.message))}),Qn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}}),ze(null)};return x.createElement(Re.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:re.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Ne.effects["shixunsDetail/changeManager"],onOk:Bn,onCancel:Qn},x.createElement("div",null,x.createElement("div",{className:mc.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",x.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),x.createElement("div",{className:mc.content},gn.length?x.createElement(vi.ZP.Group,{value:Se,onChange:Fn=>ze(Fn.target.value)},gn.map((Fn,vt)=>x.createElement(vi.ZP,{className:mc.radio,key:vt,value:Fn.user_id},Fn.name))):x.createElement("div",{className:mc.add},x.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",x.createElement("a",{className:mc.colorBlue,onClick:Zn},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var qg=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))(hg);const{TabPane:Eg}=on.default;var $g=({visible:oe,onCancel:le,onSelectGroup:re,shixunId:pe,onSelectCollaborator:Ne})=>x.createElement(Re.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:oe,width:1100,centered:!0,keyboard:!1,onCancel:le,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},x.createElement(on.default,{defaultActiveKey:"1"},x.createElement(Eg,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},x.createElement(hi.Z,{onCancel:le,container_type:2,container_id:pe,onSelect:Ne})),x.createElement(Eg,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},x.createElement(li.Z,{onCancel:le,onSelect:re})))),Xl={bg:"bg___GzXpp",wrap:"wrap___A40jS",modal:"modal___Zz7dC",content:"content___H5ZN2",head:"head___o5t32",headCount:"headCount___eBMPN",button:"button___YSSGm",itemWrap:"itemWrap___iPWUC",imgWrap:"imgWrap___T70Es",img:"img___oumA5",manager:"manager___VdXG8",itemContent:"itemContent____npAh",nameWrap:"nameWrap___nazId",name:"name___Z48aE",actionGroup:"actionGroup___eScAq",deleteIcon:"deleteIcon___FK_OA",schoolWrap:"schoolWrap___jJuIm",school:"school___kSMwT",countWrap:"countWrap___p7epV",deletetitle:"deletetitle___uVCHi",yseTitle:"yseTitle___L6JF9"},Pg=Object.defineProperty,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ge=(oe,le,re)=>le in oe?Pg(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ee=(oe,le)=>{for(var re in le||(le={}))te.call(le,re)&&ge(oe,re,le[re]);if(ee)for(var re of ee(le))ie.call(le,re)&&ge(oe,re,le[re]);return oe},Pe=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Fe=({shixunsDetail:oe,globalSetting:le,loading:re,user:pe,dispatch:Ne})=>{var at,je,Ye,Se,ze,gn;const zn=(0,Oe.useParams)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(0),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({id:null,page:1}),An=(je=(at=pe.userInfo)==null?void 0:at.shixun)==null?void 0:je.editable,Zt=((Ye=pe.userInfo)==null?void 0:Ye.role)<=2||((ze=(Se=pe.userInfo)==null?void 0:Se.shixun)==null?void 0:ze.is_creator);(0,x.useEffect)(()=>{qt.current=zn.id,vt.id=qt.current,ca(vt),Qt(vt)},[]);const Qt=Pn=>Pe(void 0,null,function*(){const Qa=yield Ne({type:"shixunsDetail/getCollaboratorsData",payload:Pn});Qa&&(Fn(Qa.members||[]),Bn(Qa.member_count))}),It=()=>Pe(void 0,null,function*(){vt.page=1,ca(vt);const Pn=(0,wu.g)();yield Ne({type:"user/getUserInfo",payload:Pn}),yield Qt(vt)}),pt=Pn=>{vt.page=Pn,ca(vt),Qt(vt)},wn=Pn=>{Re.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:x.createElement("div",{className:Xl.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>Pe(void 0,null,function*(){var Qa;const Da=yield Ne({type:"shixunsDetail/deleteCollaborators",payload:{id:qt.current,userId:Pn}});if(((Qa=pe.userInfo)==null?void 0:Qa.user_id)===Pn){Oe.history.push("/shixuns");return}Me.ZP.info(Da==null?void 0:Da.message),vt.page=1,ca(vt),Qt(vt)})})},kt=()=>{Ne({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:qt.current}}})};function Ct(Pn,Qa,Da,qn){return Pe(this,null,function*(){yield Ne({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Pn,user_id:Qa,editable:Da?0:1}}),Qt(vt)})}const Wt=()=>{Ne({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:qt.current}}})};function aa(){Ne({type:"shixunsDetail/setActionTabs",payload:{}})}const ja={visible:oe.actionTabs.key==="Collaborators-AddCollaborator",onCancel:aa,shixunId:qt.current,onSelectCollaborator:Pn=>Pe(void 0,null,function*(){aa(),(yield Ne({type:"shixunsDetail/addCollaborator",payload:{id:qt.current,user_ids:Pn}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())}),onSelectGroup:Pn=>Pe(void 0,null,function*(){aa(),(yield Ne({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:qt.current,group_id:Pn.group_id}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())})};return x.createElement("section",null,x.createElement("div",{className:Xl.wrap},x.createElement("div",{className:Xl.content},((gn=oe.detail)==null?void 0:gn.identity)<5&&x.createElement("div",{className:Xl.head},x.createElement("span",{className:Xl.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Zn,"\u4EBA\uFF09"),x.createElement("div",null,Zt&&x.createElement(de.ZP,{type:"primary",ghost:!0,className:Xl.button,style:{marginRight:"20px"},onClick:kt},"\u66F4\u6362\u7BA1\u7406\u5458"),An&&x.createElement(de.ZP,{type:"primary",className:Xl.button,style:{marginRight:"40px"},onClick:Wt},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),x.createElement("div",{className:Xl.list},x.createElement(xu.Z,{loading:re.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Qn.map((Pn,Qa)=>{var Da,qn,In,Fr,ra,ea,ir,Pr;return x.createElement("div",{style:{display:"inline-block",width:"50%"}},x.createElement("div",{className:Xl.itemWrap,key:Qa},x.createElement("a",{href:(Da=Pn.user)==null?void 0:Da.user_url,target:"_blank",className:Xl.imgWrap},x.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:Xl.img,src:`${tt.Z.IMG_SERVER}/images/${(qn=Pn.user)==null?void 0:qn.image_url}`}),((In=Pn.user)==null?void 0:In.shixun_manager)&&x.createElement("span",{className:Xl.manager},"\u521B\u5EFA\u8005")),x.createElement("div",{className:Xl.itemContent},x.createElement("p",{className:Xl.nameWrap},x.createElement("a",{href:Pn.user.user_url,target:"_blank",className:Xl.name},(Fr=Pn.user)==null?void 0:Fr.name,Pn.user.user_id===((ra=pe.userInfo)==null?void 0:ra.user_id)?x.createElement("span",null,"\u6211"):null),x.createElement("div",{className:Xl.actionGroup},Zt?(ea=Pn.user)!=null&&ea.shixun_manager?null:x.createElement(nn.Z,{dropdownRender:()=>x.createElement(At.default,{selectedKeys:[Pn.editable?"1":"2"],onClick:()=>{var Er;Ct(oe.detail.identifier,Pn.user.user_id,Pn.editable,(Er=Pn.user)==null?void 0:Er.name)}},x.createElement(At.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),x.createElement(At.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},x.createElement("div",null,Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",x.createElement(xn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((ir=Pn.user)!=null&&ir.shixun_manager)&&An?x.createElement("a",{className:Xl.deletetitle,onClick:()=>{var Er;return wn((Er=Pn.user)==null?void 0:Er.user_id)}},"\u5220\u9664"):null)),x.createElement("p",{className:Xl.schoolWrap},x.createElement("span",{className:Xl.school},(Pr=Pn.user)==null?void 0:Pr.school_name)))))})))),Zn>10&&x.createElement("div",{className:Xl.countWrap},x.createElement(Uu.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Zn,onChange:Pn=>pt(Pn),pageSize:10,current:vt.page}))),x.createElement(qg,{onReloadData:It}),x.createElement($g,Ee({},ja)))};var be=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le}))(Fe),Ke=ue(4737);const ot=({shixunsDetail:oe})=>{var le,re,pe,Ne;const[at,je]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{var Ye;typeof((Ye=oe==null?void 0:oe.detail)==null?void 0:Ye.is_jupyter_lab)=="boolean"&&at&&je(!1)},[(le=oe==null?void 0:oe.detail)==null?void 0:le.is_jupyter_lab,at]),console.log((re=oe==null?void 0:oe.detail)==null?void 0:re.is_jupyter_lab,at),x.createElement(xu.Z,{loading:at,active:!0},((pe=oe==null?void 0:oe.detail)==null?void 0:pe.is_jupyter_lab)===!1&&x.createElement(zi,null),((Ne=oe==null?void 0:oe.detail)==null?void 0:Ne.is_jupyter_lab)===!0&&x.createElement(yn,null))};var nt=(0,Oe.connect)(({shixunsDetail:oe})=>({shixunsDetail:oe}))(ot),Ue={flex_box_center:"flex_box_center___l5eTc",flex_space_between:"flex_space_between___k0OR7",flex_box_vertical_center:"flex_box_vertical_center___OKlIC",flex_box_center_end:"flex_box_center_end___hN9A6",flex_box_column:"flex_box_column___ijTq_",dataset:"dataset___dSWAV",header:"header___BzxI4",title:"title___cPEyN",dataPath:"dataPath___wJ6mR",pathTitle:"pathTitle___TOS2Z",btns:"btns___jGE8o",content:"content___s4ep8",customTable:"customTable___OG3_9",row:"row___ONd7r",empty:"empty___CgtTE",path:"path___Cg5rX",text:"text___SCLRV",actionsBtns:"actionsBtns___L5tdC",customModal:"customModal___qVeG3",shareModal:"shareModal___HedYo",fileName:"fileName___x56US",renameModal:"renameModal___SmCAd",errorDes:"errorDes___VLR_5",uploadFileModal:"uploadFileModal___pYYDB",selectBtn:"selectBtn___m_hrR",leftButton:"leftButton___F0fvG",rightButton:"rightButton___oCK81",centerText:"centerText___jpgrt"},Je={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},Et=Object.defineProperty,tn=Object.defineProperties,fa=Object.getOwnPropertyDescriptors,Fa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,dr=(oe,le,re)=>le in oe?Et(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,rr=(oe,le)=>{for(var re in le||(le={}))Ra.call(le,re)&&dr(oe,re,le[re]);if(Fa)for(var re of Fa(le))er.call(le,re)&&dr(oe,re,le[re]);return oe},no=(oe,le)=>tn(oe,fa(le)),ro=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:Oo}=rt.default;var Zo=({dispatch:oe,id:le,onClose:re,onOK:pe,visible:Ne,wrapClassName:at,local:je,containerId:Ye,rootIdentifier:Se})=>{var ze;const[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)([]),[Bn,Qn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(0),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(!1),[It]=ce.default.useForm(),[pt,wn]=(0,x.useState)([]),kt=(0,x.useRef)([]);(0,x.useEffect)(()=>{Ne&&(It.resetFields(),wn([]),Qn([]),Zn([]),vt(0),Qt(!1),An(!1))},[Ne]);const Ct=dn=>{var Ma,nr,la;if(dn.file.status==="done"||dn.file.status==="uploading"){if(wn(dn.fileList),!dn.file.response)return;if((Ma=dn.file.response)!=null&&Ma.id){Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}wn(pt.filter(Ga=>Ga.uid!==dn.file.uid)),(nr=dn.file.response)!=null&&nr.message&&Me.ZP.info((la=dn.file.response)==null?void 0:la.message)}},Wt=dn=>ro(void 0,null,function*(){var Ma;if(!Fn){const la=pt.filter(Ga=>Ga.uid!==dn.uid);wn(la),kt.current=[...la],Zn(qt.filter(Ga=>Ga!==dn.name)),Me.ZP.info("\u5220\u9664\u6210\u529F"),la.length||(It.setFieldsValue({file:void 0}),It.validateFields());return}if(!dn.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,lt.ZP)(`/api/shixuns/${le}/destroy_data_sets.json`,{method:"Delete",body:{id:[(Ma=dn==null?void 0:dn.response)==null?void 0:Ma.id]}})).status===0&&(wn(pt.filter(la=>la.uid!==dn.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),aa=dn=>{if(pt!=null&&pt.some(nr=>nr.name===dn.name))return Me.ZP.info(`${dn.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const Ma={name:dn.name,uid:dn.uid,file:dn,percent:0};return pt.push(Ma),kt.current=[...pt],wn([...pt]),!1},ja={height:300,multiple:!0,disabled:Fn>0,withCredentials:!0,fileList:pt,action:`${tt.Z.API_SERVER}/api/attachments.json`,onChange:Ct,onRemove:Wt,beforeUpload:aa},Pn=(dn,Ma,nr,la,Ga)=>{const ka=new FormData;Object.keys(dn).forEach(Do=>{ka.append(Do,dn[Do])});const Ir=new window.XMLHttpRequest;return Ir.withCredentials=!0,Ir.addEventListener("load",function(Do){var Wo;nr(JSON.parse((Wo=Do==null?void 0:Do.target)==null?void 0:Wo.response))},!1),Ir.addEventListener("error",function(Do){Ga&&Ga(Do)},!1),Ir.upload.onprogress=Do=>{la&&la(Do)},Ir.open("POST",Ma),Ir.send(ka),Ir},Qa=(dn,Ma)=>{if(dn.lengthComputable){const nr=Math.floor(dn.loaded/dn.total*100),la=no(rr({},Ma),{percent:nr,status:nr===100?"done":"uploading"});console.log(kt.current,333),kt.current=kt.current.map(Ga=>Ga.uid===Ma.uid?la:Ga),wn(kt.current)}},Da=(dn,Ma)=>{const nr=no(rr({},Ma),{status:"error"});Me.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),kt.current=kt.current.map(la=>la.uid===Ma.uid?nr:la),kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},qn=(dn,Ma)=>{let nr=no(rr({},Ma),{status:"done"});if(dn.status===0||(nr=no(rr({},Ma),{status:"error"}),Me.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),kt.current=kt.current.map(la=>la.uid===Ma.uid?nr:la),kt.current.every(la=>la.status==="done")){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},In=()=>{let dn=!0;return window.navigator.onLine==!0?dn=!0:dn=!1,dn},Fr=dn=>ro(void 0,null,function*(){if(Qt(!0),Fn===3){vt(2);return}if(Fn===2||Fn===1){ra();return}const{commitMessage:Ma="",fileOss:nr=[]}=dn||{},Ga=(je?pt:nr).map(Ir=>Ir.name);if(Ga.filter(Ir=>Ir.indexOf("\u3001")!=-1||Ir.indexOf(" ")!=-1).length>0){Me.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Qt(!1);return}const ka=yield(0,lt.ZP)(`/api/shixuns/${le}/check_data_sets`,{method:"post",body:{files_name:Ga}});if(ka.status===-3){Zn(ka==null?void 0:ka.exist_files),Qt(!1);return}if(JSON.stringify(ka)==="{}"){Qt(!1),Me.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}ka.status===0&&(pt.forEach(Ir=>{const Do=Pn({file:Ir.file,description:Ma},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Wo=>qn(Wo,Ir),Wo=>Qa(Wo,Ir),Wo=>Da(Wo,Ir));Bn.push(Do)}),vt(1))}),ra=()=>{const{commitMessage:dn=""}=rr({},It.getFieldsValue())||{},Ma=kt.current.filter(la=>la.status==="error"),nr=kt.current.map(la=>no(rr({},la),{status:la.status==="error"?"uploading":la.status}));wn(nr),Ma.forEach(la=>{const Ga=Pn({file:la.file,description:dn},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,ka=>qn(ka,la),ka=>Qa(ka,la),ka=>Da(ka,la));Bn.push(Ga)})},ea=dn=>{var Ma,nr;if(console.log(dn,"changedValues"),"fileOss"in dn){if(dn!=null&&dn.fileOss.every(la=>la.status==="done")&&((Ma=dn==null?void 0:dn.fileOss)!=null&&Ma.length)){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}if(dn!=null&&dn.fileOss.every(la=>la.status==="done"||la.status==="error")&&((nr=dn==null?void 0:dn.fileOss)!=null&&nr.length)){vt(3),Qt(!1);return}Zn(qt.filter(la=>{var Ga;return(Ga=dn==null?void 0:dn.fileOss)==null?void 0:Ga.some(ka=>ka.name===la)}))}zn(rr({},It.getFieldsValue()))},ir=dn=>{dn||(An(!0),Bn.forEach(Ma=>{Ma.abort()})),pe(),re()},Pr=()=>{const{fileOss:dn=[]}=rr({},It.getFieldsValue())||{},Ma=pt==null?void 0:pt.every(la=>la.status==="done"),nr=dn==null?void 0:dn.every(la=>la.status==="done");if(!Ma||!nr){Re.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ir()}});return}ir()},Er=()=>x.createElement(x.Fragment,null,x.createElement("div",null,x.createElement("i",{className:`iconfont icon-shangchuan font50 ${Je.colorBlue}`})),x.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",x.createElement("span",{className:`${Je.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),sr=dn=>{console.log(dn,444)};return x.createElement(Re.default,{open:Ne,onOk:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),It.submit()},centered:!0,okText:Fn===0?"\u786E\u5B9A":Fn===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Zt},onCancel:Pr,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},x.createElement("div",{className:Je.wrap},x.createElement(ce.default,{className:"mt10",form:It,scrollToFirstError:!0,layout:"vertical",onFinish:Fr,onValuesChange:ea},je?x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{style:{visibility:"hidden"},className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(Oo,rr({},ja)," ",Er())):x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(ao.ZP,{identifier:Se,cancelUpload:ca,container_type:"Shixun",container_id:Ye,uploading:Fn<3?Fn:0,disabled:Fn>0,height:300,maxSize:100*1024*1024*1024,description:gn.commitMessage||"",text:Er(),onComplete:sr,realFileName:!0})),!!qt.length&&x.createElement("span",{className:Je.repeatedName},qt.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),x.createElement(ce.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{bordered:!1,disabled:Fn>0,maxLength:100,suffix:`${((ze=gn.commitMessage)==null?void 0:ze.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},Nl=ue(51673),iu=Object.defineProperty,vu=Object.defineProperties,Di=Object.getOwnPropertyDescriptors,Zu=Object.getOwnPropertySymbols,Wu=Object.prototype.hasOwnProperty,fi=Object.prototype.propertyIsEnumerable,su=(oe,le,re)=>le in oe?iu(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,pu=(oe,le)=>{for(var re in le||(le={}))Wu.call(le,re)&&su(oe,re,le[re]);if(Zu)for(var re of Zu(le))fi.call(le,re)&&su(oe,re,le[re]);return oe},cu=(oe,le)=>vu(oe,Di(le)),fc=(oe,le)=>{var re={};for(var pe in oe)Wu.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Zu)for(var pe of Zu(oe))le.indexOf(pe)<0&&fi.call(oe,pe)&&(re[pe]=oe[pe]);return re},ki=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Fragment:ms}=x,{TabPane:Zi}=on.default,fs=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ne,shixunsDetail:at,user:je}=le,Ye=fc(le,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Se,ze,gn,zn,qt,Zn;const{id:Bn}=Ne,[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({}),[An,Zt]=(0,x.useState)([]),[Qt,It]=(0,x.useState)(!1),[pt,wn]=(0,x.useState)(!0),[kt,Ct]=(0,x.useState)(!1),[Wt,aa]=(0,x.useState)(!1),[ja,Pn]=(0,x.useState)(!1),[Qa,Da]=(0,x.useState)(!1),[qn,In]=(0,x.useState)("all"),[Fr,ra]=(0,x.useState)([]),[ea,ir]=(0,x.useState)([]),[Pr,Er]=(0,x.useState)(!1),[sr,dn]=(0,x.useState)({}),[Ma,nr]=(0,x.useState)(!1),[la,Ga]=(0,x.useState)([]),[ka,Ir]=(0,x.useState)({page:1,limit:10,total:0}),[Do,Wo]=(0,x.useState)({page:1,limit:10,search:"",order:"mine"});(0,x.useEffect)(()=>{Bn&&Al()},[Bn]);const Ll=Wn=>{const oa=cu(pu({},ka),{page:Wn});ir([]),Ir(oa),Al(oa)},Al=Wn=>ki(void 0,null,function*(){const ua=Wn||{page:1,limit:10,total:0};It(!0);const fo=yield pe({type:"shixunsDetail/getSetData",payload:cu(pu({},ua),{id:Bn})});fo!=null&&fo.data_sets&&(It(!1),Fn([...fo.data_sets]),Ir(cu(pu({},ua),{total:fo==null?void 0:fo.data_sets_count})),wn(!1),ca(pu({},fo)))}),qu=()=>x.createElement("div",{className:Ue.empty},x.createElement("img",{src:rn.x7,width:"258"}),x.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),$a={selectedRowKeys:ea,columnWidth:70,onChange:Wn=>{console.log("selectedRowKeys changed: ",Wn),ir(Wn)}},Sr=Wn=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const oa=Wn?[Wn]:ea;Re.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ki(void 0,null,function*(){if((yield(0,lt.ZP)(`/api/shixuns/${Bn}/destroy_data_sets.json`,{method:"Delete",body:{id:oa}})).status===0){const fo=oa.length===Qn.length&&ka.page>1?ka.page-1:ka.page;Me.ZP.success("\u5220\u9664\u6210\u529F"),Al(cu(pu({},ka),{page:fo})),ir([])}})})},Xr=()=>ki(void 0,null,function*(){const{title:Wn}=sr;let oa=null;if(console.log(Wn,"title"),Wn===""){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",dn(cu(pu({},sr),{errorDes:oa}));return}if(Wn.includes(" ")){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",dn(cu(pu({},sr),{errorDes:oa}));return}const ua=Qn.find(hs=>hs.id===(sr==null?void 0:sr.id)).title;if(Wn===ua.substring(0,ua.lastIndexOf("."))||Wn===ua){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",dn(cu(pu({},sr),{errorDes:oa}));return}const fo=ua.includes(".")?ua.substring(ua.lastIndexOf("."),ua.length):"";(yield(0,lt.ZP)(`/api/shixuns/${Bn}/rename_data_sets.json`,{method:"post",body:{id:sr==null?void 0:sr.id,new_file_name:Wn+fo}})).status===0&&(Me.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),Al(ka),Ct(!1),dn({}))}),Ia=()=>{const{download_url:Wn}=sr;wr(Wn),Me.ZP.success("\u590D\u5236\u6210\u529F"),aa(!1),dn({})},wr=Wn=>{const oa=Wn,ua=document.createElement("input");ua.value=oa,document.body.appendChild(ua),ua.select(),document.execCommand("Copy"),ua.style.display="none"},Mo=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:Wn=>x.createElement(Dt.Z,{title:Wn},x.createElement("span",null,Wn))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(Wn,oa)=>oa!=null&&oa.data_set_id?x.createElement(Dt.Z,{title:Wn},x.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,et.xg)(`/dataset/${oa==null?void 0:oa.data_set_id}/detail?tabId=public`)}},Wn)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:Wn=>x.createElement(Dt.Z,{title:Wn},x.createElement("span",null,Wn||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(Wn,oa)=>Xa()(oa.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(Wn,oa)=>x.createElement("div",{className:Ue.path},x.createElement(Dt.Z,{title:Wn},x.createElement("span",{className:Ue.text},Wn)),x.createElement(sn.CopyToClipboard,{text:Wn,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Dt.Z,{title:"\u590D\u5236"},x.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(Wn,oa)=>x.createElement("div",{className:Ue.actionsBtns},x.createElement(Dt.Z,{title:"\u91CD\u547D\u540D"},x.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var ua;dn((0,pn.clone)(cu(pu({},oa),{title:oa!=null&&oa.title.includes(".")?(ua=oa==null?void 0:oa.title)==null?void 0:ua.substring(0,oa.title.lastIndexOf(".")):oa==null?void 0:oa.title}))),Ct(!0),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),x.createElement(Dt.Z,{title:"\u5206\u4EAB"},x.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),dn((0,pn.clone)(oa)),aa(!0)}})),x.createElement(Dt.Z,{title:"\u4E0B\u8F7D"},x.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,et.Nd)(oa.title,oa==null?void 0:oa.download_url)}})),x.createElement(Dt.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},x.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),Da(!0),Ga([oa]),ra([oa.id])}})),x.createElement(Dt.Z,{title:"\u5220\u9664"},x.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),Sr(oa.id)}})))}];return x.createElement("div",{className:Ue.dataset},x.createElement("div",{className:Ue.header},x.createElement("div",{className:Ue.title},"\u6570\u636E\u96C6(",ka.total,")"),x.createElement("div",{className:Ue.dataPath},x.createElement("span",{className:Ue.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),x.createElement("input",{value:vt==null?void 0:vt.folder_name,disabled:!0}),x.createElement(sn.CopyToClipboard,{text:vt==null?void 0:vt.folder_name,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Dt.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},x.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),x.createElement("div",{className:Ue.btns},x.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>Sr(),disabled:!ea.length,style:{width:"60px"}},"\u5220\u9664"),x.createElement(de.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{Da(!0),ra(ea),Ga(Qn.filter(Wn=>ea.includes(Wn.id)))},disabled:!ea.length},"\u540C\u6B65"),x.createElement(nn.Z,{className:"ml10",disabled:((Se=je==null?void 0:je.userInfo)==null?void 0:Se.user_status)===2,dropdownRender:()=>x.createElement(At.default,null,x.createElement(At.default.Item,{key:1,onClick:()=>{Er(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),x.createElement(At.default.Item,{key:2,onClick:()=>{Pn(!0),In("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},x.createElement("span",{className:Ue.selectBtn},x.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),x.createElement("div",{className:Ue.content},x.createElement(xu.Z,{loading:pt,active:!0,paragraph:{rows:5}},ka.total?x.createElement(Ba.default,{rowSelection:$a,className:Ue.customTable,dataSource:Qn,bordered:!1,rowKey:Wn=>Wn.id,rowClassName:Ue.row,columns:Mo,loading:Qt,pagination:{pageSize:ka.limit,total:ka.total,current:ka.page,onChange:Ll,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):qu())),x.createElement(Zo,{rootIdentifier:(ze=at==null?void 0:at.detail)==null?void 0:ze.root_identifier,wrapClassName:Ue.uploadFileModal,id:Bn,containerId:(gn=at==null?void 0:at.detail)==null?void 0:gn.id,local:(zn=re==null?void 0:re.setting)==null?void 0:zn.is_local,dispatch:pe,visible:Pr,onClose:()=>Er(!1),onOK:Al}),x.createElement(Re.default,{title:"\u91CD\u547D\u540D",open:kt,onOk:Xr,centered:!0,wrapClassName:Ue.renameModal,onCancel:()=>{Ct(!1),dn({})},width:"1000px"},x.createElement("div",null,x.createElement("div",{className:Ue.fileName},x.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),x.createElement(ye.default,{value:sr==null?void 0:sr.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:Wn=>{dn(cu(pu({},sr),{title:Wn.target.value,errorDes:null}))},maxLength:60,suffix:`${((qt=sr==null?void 0:sr.title)==null?void 0:qt.length)||0}/60`}),(sr==null?void 0:sr.errorDes)&&x.createElement("div",{className:Ue.errorDes},sr==null?void 0:sr.errorDes))),x.createElement(Re.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Wt,onOk:Ia,centered:!0,wrapClassName:Ue.shareModal,onCancel:()=>{aa(!1),dn({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},x.createElement("div",null,x.createElement("div",{className:Ue.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",x.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),x.createElement(ye.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:sr==null?void 0:sr.download_url}))),x.createElement(Nl.Z,{setVisible:Pn,visible:ja,recordId:Fr,type:qn,updateData:Al,identifier:(Zn=at.detail)==null?void 0:Zn.identifier}),x.createElement(Re.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Qa,width:400,centered:!0,keyboard:!1,onCancel:()=>Da(!1),maskClosable:!1,footer:x.createElement("div",{style:{display:"flex",justifyContent:"center"}},x.createElement("div",{className:Ue.leftButton,onClick:()=>{nr(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),x.createElement("div",{className:Ue.rightButton,onClick:()=>{Da(!1),Pn(!0),In("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},x.createElement("div",{className:Ue.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),x.createElement(ul.Z,{visible:Ma,attachmentInfo:la,onClose:()=>nr(!1),onSuccess:Wn=>{nr(!1),Oe.history.push(`/dataset/${Wn}/detail?tabId=mine`)}}))};var qc=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(fs),Vu={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},vc=Object.defineProperty,pc=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,$c=Object.prototype.propertyIsEnumerable,hc=(oe,le,re)=>le in oe?vc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Kd=(oe,le)=>{for(var re in le||(le={}))zs.call(le,re)&&hc(oe,re,le[re]);if(pc)for(var re of pc(le))$c.call(le,re)&&hc(oe,re,le[re]);return oe},Sg=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const vs=oe=>oe!=null&&oe.length?oe.filter((le,re)=>re!==0).map(le=>le.val).join("").substr(1):"",em=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,fileType:Ne,path:at,onFinish:je=()=>{}})=>{const Ye=(0,Oe.useParams)(),[Se,ze]=(0,x.useState)(""),[gn,zn]=(0,x.useState)([]),[qt,Zn]=(0,x.useState)([]),Qn=[rd.OriginalPicturePath,rd.ExpectPicturePath,rd.PicturePath].includes(Ne);(0,x.useEffect)(()=>{oe.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(ze(at||""),Fn())},[oe.actionTabs.key]);const Fn=(pt="")=>Sg(void 0,null,function*(){var wn;const kt=yield pe({type:"shixunsDetail/getRepository",payload:{id:Ye.id,path:pt}});if(pt===""&&!((wn=kt==null?void 0:kt.trees)!=null&&wn.length)&&Me.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),kt!=null&&kt.trees){const Ct=kt.trees.map(Wt=>Kd(Kd({},Wt),{name:Wt.name,val:Wt.name}));Zn(Ct||[])}}),vt=pt=>{const wn=vs(gn),kt=`${wn&&`${wn}/`}${pt}`;Ne===rd.Path?!(Se!=null&&Se.includes(`${kt}\uFF1B`))&&ze(`${Se}${kt}\uFF1B`):Ne===rd.ExecPath&&ze(kt)},ca=pt=>{if(pt.type==="tree"){gn.length?gn.push({val:`/${pt.val}`,path:pt.val}):gn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${pt.val}`,path:pt.val}),zn(gn);const wn=vs(gn);Qn&&ze(wn),Fn(wn)}},An=(pt,wn)=>{const kt=gn.filter((Wt,aa)=>aa<=wn);zn(kt);const Ct=vs(kt);Qn&&ze(Ct),Fn(Ct)},Zt=()=>Sg(void 0,null,function*(){je(Se),Qt()}),Qt=()=>{ze(""),zn([]),Zn([]),pe({type:"shixunsDetail/setActionTabs",payload:{}})},It=vs(gn);return x.createElement(Re.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:oe.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Zt,onCancel:Qt},x.createElement("div",{className:Vu.wrap},x.createElement("div",{className:Vu.content},x.createElement("div",{className:Vu.mainPathWrap},!!(gn!=null&&gn.length)&&gn.map((pt,wn)=>x.createElement("a",{key:wn,onClick:()=>An(pt,wn)},pt.val))),!!(qt!=null&&qt.length)&&qt.map((pt,wn)=>pt.type==="tree"?x.createElement("a",{key:wn,onClick:()=>ca(pt)},x.createElement("i",{className:`iconfont icon-wenjianjia ${Vu.colorBlue}`}),It&&`${It}/`,pt.name):x.createElement("a",{key:wn,onClick:()=>vt(`${pt.name}`)},x.createElement("i",{className:`iconfont icon-zuoye ${Vu.colorBlue}`}),It&&`${It}/`,pt.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Se,onChange:pt=>ze(pt.target.value)})))};var Fg=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(em),ed={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},td=Object.defineProperty,Ec=Object.getOwnPropertySymbols,nd=Object.prototype.hasOwnProperty,ad=Object.prototype.propertyIsEnumerable,yg=(oe,le,re)=>le in oe?td(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Pc=(oe,le)=>{for(var re in le||(le={}))nd.call(le,re)&&yg(oe,re,le[re]);if(Ec)for(var re of Ec(le))ad.call(le,re)&&yg(oe,re,le[re]);return oe},Hd=(oe,le)=>{var re={};for(var pe in oe)nd.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ec)for(var pe of Ec(oe))le.indexOf(pe)<0&&ad.call(oe,pe)&&(re[pe]=oe[pe]);return re},am=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Om=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,user:Ne,dispatch:at}=le,je=Hd(le,["shixunsDetail","globalSetting","user","dispatch"]),Ye,Se;const ze=(0,Oe.useLocation)(),gn=(0,x.useRef)((Se=(Ye=ze.pathname)==null?void 0:Ye.split("/"))==null?void 0:Se[2]),[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)(""),[Bn,Qn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{gn.current&&ca()},[gn.current]);const ca=()=>am(void 0,null,function*(){Qn(!0);const Zt=yield(0,lt.ZP)(`/api/shixuns/${gn.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Zt.status===0&&(Zn((Zt==null?void 0:Zt.standard_answer)||""),zn.setFieldsValue({hide_answer:Zt==null?void 0:Zt.hide_answer,disable_copy:Zt==null?void 0:Zt.disable_copy}),Qn(!1))}),An=Zt=>am(void 0,null,function*(){vt(!0),(yield(0,lt.ZP)(`/api/shixuns/${gn.current}/set_standard_answer.json`,{method:"post",body:Pc({},Zt)})).status===0&&Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),vt(!1)});return x.createElement("section",{className:ed.wrap},x.createElement(xu.Z,{loading:Bn},x.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onFinish:An},x.createElement(ce.default.Item,{name:"hide_answer",valuePropName:"checked"},x.createElement(Xe.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),x.createElement(ce.default.Item,{name:"disable_copy",valuePropName:"checked"},x.createElement(Xe.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),x.createElement(ce.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},x.createElement(se.Z,{defaultValue:qt})),x.createElement(ce.default.Item,null,x.createElement(ku.t,{okText:"\u4FDD\u5B58",loading:Fn,hasCancelBtn:!1,className:ed.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var Mm=(0,Oe.connect)(({shixunsDetail:oe,globalSetting:le,user:re})=>({shixunsDetail:oe,globalSetting:le,user:re}))(Om),au=ue(59301),Im=Object.defineProperty,Nm=Object.defineProperties,Rm=Object.getOwnPropertyDescriptors,rm=Object.getOwnPropertySymbols,Tm=Object.prototype.hasOwnProperty,km=Object.prototype.propertyIsEnumerable,om=(oe,le,re)=>le in oe?Im(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,lm=(oe,le)=>{for(var re in le||(le={}))Tm.call(le,re)&&om(oe,re,le[re]);if(rm)for(var re of rm(le))km.call(le,re)&&om(oe,re,le[re]);return oe},Zm=(oe,le)=>Nm(oe,Rm(le)),Sc=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Countdown:Wm}=gu.default;var Vm=(oe=>(oe[oe.LoadingFail=1]="LoadingFail",oe[oe.Loading=2]="Loading",oe[oe.Finish=3]="Finish",oe))(Vm||{}),rd=(oe=>(oe.Path="path",oe.ExecPath="exec_path",oe.OriginalPicturePath="original_picture_path",oe.ExpectPicturePath="expect_picture_path",oe.PicturePath="picture_path",oe))(rd||{});const zm=({globalSetting:oe,loading:le,dispatch:re,practiceSetting:pe,shixunsDetail:Ne})=>{var at;const[je,Ye]=(0,x.useState)(),[Se,ze]=(0,x.useState)(),gn=(0,x.useRef)(),[zn,qt]=(0,x.useState)(),[Zn,Bn]=(0,x.useState)(),[Qn,Fn]=(0,x.useState)(!0),[vt,ca]=(0,x.useState)(700),[An,Zt]=(0,x.useState)(""),[Qt,It]=(0,x.useState)("1"),pt=(0,Oe.useParams)();(0,x.useEffect)(()=>{kt()},[]);const wn=()=>Sc(void 0,null,function*(){var qn,In;const Fr=yield re({type:"shixunsDetail/updateRepositoryFile",payload:{id:pt.id,path:(In=(qn=Ne==null?void 0:Ne.fileContent)==null?void 0:qn.params)==null?void 0:In.path,content:je,secret_repository:Qn?null:!0}});Fr!=null&&Fr.content&&(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),re({type:"practiceSetting/setSideBarTabs",payload:Zm(lm({},pe.sideBar),{confirmLeave:!1})}))}),kt=()=>Sc(void 0,null,function*(){var qn,In,Fr,ra;const ea=yield(0,ct.Ui)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){so.Z.publish("pod-restrict-data",{identifier:(Fr=ea==null?void 0:ea.data)==null?void 0:Fr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}ea!=null&&ea.url&&Zt(ea==null?void 0:ea.url)}),Ct=()=>Sc(void 0,null,function*(){const qn=yield(0,ct.K_)({identifier:pt.id});(qn==null?void 0:qn.status)===0&&(qn!=null&&qn.remainingSeconds?(qt(Date.now()+qn.remainingSeconds*1e3),Bn(qn.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(qn.remainingSeconds-300)*1e3)):Wt())}),Wt=()=>{Re.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:au.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>Sc(void 0,null,function*(){aa()})})},aa=()=>Sc(void 0,null,function*(){var qn,In,Fr,ra;ze(2);const ea=yield(0,ct.zH)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){so.Z.publish("pod-restrict-data",{identifier:(Fr=ea==null?void 0:ea.data)==null?void 0:Fr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}(ea==null?void 0:ea.status)===0&&(ze(3),Zt(ea.url),gn.current=ea.port,Me.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),ja=()=>{Re.default.destroyAll(),Re.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:au.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",au.createElement("span",null,au.createElement(Wm,{value:zn,format:"HH:mm:ss",onFinish:Pn})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>Sc(void 0,null,function*(){(yield(0,ct.q9)({identifier:pt.id})).status===0&&(yield Ct(),Me.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Pn=()=>{Re.default.destroyAll(),Re.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:au.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{aa()}})},Qa=qn=>{re({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},Da=qn=>Sc(void 0,null,function*(){yield(0,ct.QA)({id:pt.id,startup_file:qn}),kt(),re({type:"practiceSetting/getCommonData",payload:lm({},pt)})});return au.createElement(on.default,{activeKey:Qt,onChange:qn=>It(qn),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:au.createElement("div",null,au.createElement(Ge.Z,{className:"mt20 ml20 font14",align:"middle"},au.createElement(Be.Z,null,au.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),au.createElement(Be.Z,{className:"mr10"},au.createElement(Dt.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},au.createElement(fl.Z,{style:{cursor:"pointer"}}))),au.createElement(Be.Z,{flex:"300px",onClick:()=>Qa("exec_path")},au.createElement(ye.default,{value:An})),au.createElement(Be.Z,{flex:"1"},au.createElement(de.ZP,{type:"primary",className:"ml10",onClick:()=>Qa("exec_path")},"\u8BBE\u7F6E"))),au.createElement("iframe",{onLoad:qn=>{},src:An,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),au.createElement(Fg,{fileType:"path",path:(at=Ne==null?void 0:Ne.detail)==null?void 0:at.startup_file,onFinish:qn=>Da(qn)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Qt==="2"?au.createElement(Du.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:au.createElement(Mm,null)}]})};var Gm=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(zm),um={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},im={collect:"collect___pxqYO",head:"head___WuH5D"},od=ue(59301),Um=Object.defineProperty,sm=Object.getOwnPropertySymbols,jm=Object.prototype.hasOwnProperty,Km=Object.prototype.propertyIsEnumerable,cm=(oe,le,re)=>le in oe?Um(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Hm=(oe,le)=>{for(var re in le||(le={}))jm.call(le,re)&&cm(oe,re,le[re]);if(sm)for(var re of sm(le))Km.call(le,re)&&cm(oe,re,le[re]);return oe},Ym=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),dm=({onOk:oe,onCancel:le,visible:re,modalParams:pe,forceIn:Ne})=>{const[at]=ce.default.useForm(),[je,Ye]=(0,x.useState)(!1),Se=Ne?!1:typeof re=="number";(0,x.useEffect)(()=>{re?at.setFieldsValue(Hm({},pe)):at.resetFields()},[re]);const ze=gn=>Ym(void 0,null,function*(){Ye(!0),yield oe(gn),Ye(!1)});return od.createElement(Re.default,{centered:!0,destroyOnClose:!0,onCancel:()=>le(),onOk:()=>at.submit(),open:!!re,confirmLoading:je,title:Se?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Se?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},od.createElement(ce.default,{form:at,size:"large",onFinish:ze},od.createElement(ce.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},od.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),od.createElement(ce.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},od.createElement(se.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:pe==null?void 0:pe.content}))))},wl=ue(59301),Qm=Object.defineProperty,gm=Object.getOwnPropertySymbols,Jm=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable,mm=(oe,le,re)=>le in oe?Qm(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ld=(oe,le)=>{for(var re in le||(le={}))Jm.call(le,re)&&mm(oe,re,le[re]);if(gm)for(var re of gm(le))Xm.call(le,re)&&mm(oe,re,le[re]);return oe},Yd=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),qm=({})=>{const oe=(0,Oe.useParams)(),[le,re]=(0,x.useState)(!1),[pe,Ne]=(0,x.useState)(0),[at,je]=(0,x.useState)([]),[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({title:"",content:""}),[zn,qt]=(0,x.useState)(!1),[Zn,Bn]=(0,x.useState)(!1),[Qn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({keywords:"",page:1,limit:10});(0,x.useEffect)(()=>{An(vt)},[]);const An=Ct=>Yd(void 0,null,function*(){var Wt,aa;re(!0);const ja=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"get",params:Ct});ja.status===0&&(je(((Wt=ja==null?void 0:ja.data)==null?void 0:Wt.qna_sets)||[]),Ne((aa=ja==null?void 0:ja.data)==null?void 0:aa.total_count)),re(!1)}),Zt=Ct=>{vt.keywords=Ct,vt.page=1,ca(ld({},vt)),An(vt)},Qt=(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(ld({},vt)),An(vt)},It=Ct=>Yd(void 0,null,function*(){if(typeof Ye=="number"){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ye}.json`,{method:"put",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),An(vt),Se(!1))}else{const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),vt.page=1,vt.keywords="",ca(ld({},vt)),An(vt),Se(!1))}}),pt=Ct=>Yd(void 0,null,function*(){Re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>Yd(void 0,null,function*(){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ct.id}.json`,{method:"delete"});if((Wt==null?void 0:Wt.status)===0){const aa=at.length===1&&vt.page>1?vt.page-1:vt.page;vt.page=aa,ca(ld({},vt)),An(vt),Me.ZP.success("\u5220\u9664\u6210\u529F")}})})}),wn=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Ct=>wl.createElement(Dt.Z,{placement:"topLeft",title:Ct},wl.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Ct=>wl.createElement(Dt.Z,{placement:"topLeft",title:Ct},wl.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Ct,Wt)=>wl.createElement("span",null,wl.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Se(Ct),gn({title:Wt==null?void 0:Wt.title,content:Wt==null?void 0:Wt.content})}},"\u7F16\u8F91"),wl.createElement("span",{className:"current c-red",onClick:()=>pt(Wt)},"\u5220\u9664"))}],kt={onRemove:()=>{Fn([])},beforeUpload:Ct=>{if((Ct==null?void 0:Ct.size)>1024*1024*50)return Me.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Ct.type==="application/vnd.ms-excel"||Ct.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Me.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let aa=[];return aa.push(Ct),Fn([...aa]),!1},fileList:Qn,accept:".xls,.xlsx"};return wl.createElement("div",{className:im.collect},wl.createElement("div",{className:im.head},wl.createElement(Uo.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:vt.keywords,onChange:Zt}),wl.createElement(Uo.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Se(!0),gn({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),wl.createElement(Uo.op,{type:"primary",shape:"default",onClick:()=>qt(!0)},"\u5BFC\u5165\u95EE\u7B54")),wl.createElement(Ba.default,{columns:wn,style:{marginTop:33},dataSource:at,loading:le,rowKey:"id",pagination:{current:vt.page,hideOnSinglePage:!pe,showQuickJumper:!0,showSizeChanger:!0,pageSize:vt.limit,pageSizeOptions:["10","20","50","100","200"],total:pe,size:"default",showTotal:et.rU,onChange:Qt}}),wl.createElement(Re.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:zn,centered:!0,confirmLoading:Zn,onCancel:()=>{qt(!1),Fn([])},onOk:()=>Yd(void 0,null,function*(){var Ct;const Wt=new FormData;if(Qn.length>0)Wt.append("file",Qn[0]);else{Me.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Bn(!0);let aa=yield(0,lt.ZP)(`/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/import.json`,{method:"post",body:Wt},!0);(aa==null?void 0:aa.status)===0&&((Ct=aa==null?void 0:aa.fail)!=null&&Ct.length?Re.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:wl.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",wl.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Me.ZP.success("\u5BFC\u5165\u6210\u529F"),vt.page=1,vt.keywords="",ca(ld({},vt)),An(vt),qt(!1),Fn([]))),Bn(!1)})},wl.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",wl.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),wl.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),wl.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",wl.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),wl.createElement("div",{style:{marginLeft:74}},wl.createElement(rt.default,ld({},kt),wl.createElement(Uo.op,{shape:"default",icon:wl.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),wl.createElement(dm,{visible:Ye,onCancel:()=>Se(!1),onOk:It,modalParams:ze}))},fm={record:"record___Ueu3j",head:"head___UOVq4"},bl=ue(59301),$m=Object.defineProperty,e0=Object.defineProperties,t0=Object.getOwnPropertyDescriptors,vm=Object.getOwnPropertySymbols,n0=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable,pm=(oe,le,re)=>le in oe?$m(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Qd=(oe,le)=>{for(var re in le||(le={}))n0.call(le,re)&&pm(oe,re,le[re]);if(vm)for(var re of vm(le))a0.call(le,re)&&pm(oe,re,le[re]);return oe},r0=(oe,le)=>e0(oe,t0(le)),Cg=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),o0=({})=>{const oe=(0,Oe.useParams)(),[le]=ce.default.useForm(),[re,pe]=(0,x.useState)(!1),[Ne,at]=(0,x.useState)(0),[je,Ye]=(0,x.useState)([]),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({title:"",content:""});let[qt,Zn]=(0,x.useState)({page:1,limit:10});(0,x.useEffect)(()=>{Fn(qt)},[]);const Bn=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Qn=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],Fn=It=>Cg(void 0,null,function*(){var pt,wn;pe(!0);const kt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records.json`,{method:"get",params:It});kt.status===0&&(Ye(((pt=kt==null?void 0:kt.data)==null?void 0:pt.qna_records)||[]),at((wn=kt==null?void 0:kt.data)==null?void 0:wn.total_count)),pe(!1)}),vt=It=>{qt.page=1,qt=Qd(Qd({},qt),It),Zn(Qd({},qt)),Fn(qt)},ca=(It,pt)=>{qt.page=It,qt.limit=pt,Zn(Qd({},qt)),Fn(qt)},An=It=>Cg(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:r0(Qd({},It),{qna_record_id:Se})});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fn(qt),ze(!1))}),Zt=It=>Cg(void 0,null,function*(){Re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>Cg(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records/${It.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(pt==null?void 0:pt.status)===0&&Fn(qt)})})}),Qt=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:It=>bl.createElement(Dt.Z,{placement:"topLeft",title:It},bl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:It=>bl.createElement(Dt.Z,{placement:"topLeft",title:It},bl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:It=>{var pt;return bl.createElement("span",{className:"c-black"},(pt=Bn==null?void 0:Bn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:It=>{var pt;return bl.createElement("span",{className:"c-black"},(pt=Qn==null?void 0:Qn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(It,pt)=>bl.createElement("span",null,["pending","ignored"].includes(pt.status)&&bl.createElement(bl.Fragment,null,bl.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{ze(It),zn({title:pt==null?void 0:pt.question,content:pt==null?void 0:pt.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),bl.createElement("span",{className:"current c-light-primary",onClick:()=>Zt(pt)},"\u5FFD\u7565")),["skipped"].includes(pt.status)&&bl.createElement(Dt.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},bl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(pt.status)&&bl.createElement(Dt.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},bl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return bl.createElement("div",{className:fm.record},bl.createElement("div",{className:fm.head},bl.createElement(ce.default,{layout:"inline",form:le,colon:!1,size:"large",onFinish:vt},bl.createElement(ce.default.Item,{name:"keywords",label:"\u95EE\u9898"},bl.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),bl.createElement(ce.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},bl.createElement(ui.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Bn,style:{width:200}})),bl.createElement(ce.default.Item,{name:"status",label:"\u72B6\u6001"},bl.createElement(ui.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Qn,style:{width:200}})),bl.createElement(ce.default.Item,{style:{marginRight:0}},bl.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),bl.createElement(Ba.default,{columns:Qt,style:{marginTop:33},dataSource:je,loading:re,rowKey:"id",pagination:{current:qt.page,hideOnSinglePage:!Ne,showQuickJumper:!0,showSizeChanger:!0,pageSize:qt.limit,pageSizeOptions:["10","20","50","100","200"],total:Ne,size:"default",showTotal:et.rU,onChange:ca}}),bl.createElement(dm,{visible:Se,onCancel:()=>ze(!1),onOk:An,modalParams:gn,forceIn:!0}))},bg=ue(59301);const l0=({dispatch:oe,practiceSetting:le,shixunsDetail:re})=>{const[pe,Ne]=(0,x.useState)("1");return bg.createElement("div",{className:um.catechism},bg.createElement(Uo.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:pe,onChange:at=>Ne(at),className:um.tab}),pe==="1"&&bg.createElement(qm,null),pe==="2"&&bg.createElement(o0,null))};var u0=(0,Oe.connect)(({practiceSetting:oe,shixunsDetail:le})=>({practiceSetting:oe,shixunsDetail:le}))(l0),i0=Object.defineProperty,Dg=Object.getOwnPropertySymbols,hm=Object.prototype.hasOwnProperty,Em=Object.prototype.propertyIsEnumerable,Pm=(oe,le,re)=>le in oe?i0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Jd=(oe,le)=>{for(var re in le||(le={}))hm.call(le,re)&&Pm(oe,re,le[re]);if(Dg)for(var re of Dg(le))Em.call(le,re)&&Pm(oe,re,le[re]);return oe},s0=(oe,le)=>{var re={};for(var pe in oe)hm.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Dg)for(var pe of Dg(oe))le.indexOf(pe)<0&&Em.call(oe,pe)&&(re[pe]=oe[pe]);return re};const c0=oe=>{var le=oe,{tabsActive:re,shixunsDetail:pe}=le,Ne=s0(le,["tabsActive","shixunsDetail"]),at;return x.createElement(x.Fragment,null,re==="information"&&x.createElement(Gg,null),re==="warehouse"&&x.createElement(Ug.default,null),re==="level"&&x.createElement(Qg,Jd({},Ne)),re==="collaborate"&&x.createElement(be,Jd({},Ne)),re==="setting"&&x.createElement(Ke.Z,null),re==="environment"&&((at=pe.detail)!=null&&at.is_openi?x.createElement(zi,Jd({},Ne)):x.createElement(nt,null)),re==="dataset"&&x.createElement(qc,null),re==="service"&&x.createElement(Gm,Jd({},Ne)),re==="catechism"&&x.createElement(u0,Jd({},Ne)))};var d0=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))(c0),ud={flex_box_center:"flex_box_center___FN240",flex_space_between:"flex_space_between___wjShI",flex_box_vertical_center:"flex_box_vertical_center___HbcwC",flex_box_center_end:"flex_box_center_end___gj_ks",flex_box_column:"flex_box_column___zxJPU",sidebar:"sidebar___OW5LG",items:"items___j856O",item:"item___Zn_qr",name:"name___ZfhoC",itemActive:"itemActive___sW_Ri",question:"question___yfIcY"},zl=ue(59301),g0=Object.defineProperty,m0=Object.defineProperties,f0=Object.getOwnPropertyDescriptors,Ag=Object.getOwnPropertySymbols,Sm=Object.prototype.hasOwnProperty,Fm=Object.prototype.propertyIsEnumerable,ym=(oe,le,re)=>le in oe?g0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,v0=(oe,le)=>{for(var re in le||(le={}))Sm.call(le,re)&&ym(oe,re,le[re]);if(Ag)for(var re of Ag(le))Fm.call(le,re)&&ym(oe,re,le[re]);return oe},p0=(oe,le)=>m0(oe,f0(le)),h0=(oe,le)=>{var re={};for(var pe in oe)Sm.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ag)for(var pe of Ag(oe))le.indexOf(pe)<0&&Fm.call(oe,pe)&&(re[pe]=oe[pe]);return re};const Bg=[{name:"\u57FA\u672C\u4FE1\u606F",icon:zl.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:zl.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:zl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:zl.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:zl.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:zl.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:zl.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:zl.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],E0=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,shixunsDetail:at,practiceSetting:je}=le,Ye=h0(le,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Se;const{base_info_warning:ze,challenges_warning:gn,id:zn,repository_warning:qt,sideBar:Zn,service_warning:Bn}=je,Qn=(0,Oe.useLocation)(),Fn=(0,Oe.useParams)(),[vt]=(0,Oe.useSearchParams)();(0,x.useEffect)(()=>{var Zt;const Qt=vt.get("tabId"),It=Qn.pathname.split("/").length,wn=((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?Bg.filter(kt=>kt.tabId!=="dataset"):Bg).map(kt=>kt.tabId).includes(Qt);if(Qt&&wn){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Qt}});return}if(It>4){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Qt||Qt&&!wn){Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Se=at==null?void 0:at.detail)==null?void 0:Se.windows_vnc]),(0,x.useEffect)(()=>()=>{Ne({type:"practiceSetting/setSideBarTabs",payload:p0(v0({},je.sideBar),{selectPath:""})})},[Fn.id]);const ca=Zt=>{var Qt;if(Zt===Zn.tabsActive)return;const It=()=>{Oe.history.push(`/shixuns/${zn}/edit?tabId=${Zt}`),Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Zt,selectPath:"",confirmLeave:!1}})};(Qt=je==null?void 0:je.sideBar)!=null&&Qt.confirmLeave?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{It()}}):It()},An=()=>{var Zt;return((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?Bg.filter(It=>It.tabId!=="dataset"):Bg).filter(It=>{var pt;return(pt=at==null?void 0:at.detail)!=null&&pt.is_jupyter_lab?It.tabId!=="level":It.tabId!=="service"}).map(It=>{const{name:pt,icon:wn,tabId:kt}=It;return zl.createElement("div",{key:kt,className:`${je.sideBar.tabsActive===kt?ud.itemActive:ud.item} font12`,onClick:()=>ca(kt)},wn,zl.createElement("span",{className:ud.name},pt),kt==="information"&&ze&&zl.createElement(Dt.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},zl.createElement("img",{src:ai,alt:""})),kt==="level"&&gn&&zl.createElement(Dt.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},zl.createElement("img",{src:ai,alt:""})),kt==="service"&&Bn&&zl.createElement(Dt.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},zl.createElement("img",{src:ai,alt:""})),kt==="warehouse"&&qt&&zl.createElement(Dt.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},zl.createElement("img",{src:ai,alt:""})))})};return zl.createElement("div",{className:ud.sidebar},zl.createElement("div",{className:ud.items},An()),zl.createElement("div",{className:ud.question},zl.createElement(Dt.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},zl.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},zl.createElement("img",{src:rn.Pt,height:44,width:44,alt:""})))))};var P0=(0,Oe.connect)(({loading:oe,globalSetting:le,shixunsDetail:re,practiceSetting:pe})=>({globalSetting:le,loading:oe,practiceSetting:pe,shixunsDetail:re}))(E0),tm={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},Bu=ue(59301),S0=Object.defineProperty,Cm=Object.getOwnPropertySymbols,F0=Object.prototype.hasOwnProperty,y0=Object.prototype.propertyIsEnumerable,bm=(oe,le,re)=>le in oe?S0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Dm=(oe,le)=>{for(var re in le||(le={}))F0.call(le,re)&&bm(oe,re,le[re]);if(Cm)for(var re of Cm(le))y0.call(le,re)&&bm(oe,re,le[re]);return oe},xg=(oe,le,re)=>new Promise((pe,Ne)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ne(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ne(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const C0=({classroomList:oe,loading:le,dispatch:re,shixunsDetail:pe})=>{var Ne,at;const je=(0,Oe.useParams)(),Ye=(0,Oe.useLocation)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)(!1),{actionTabs:qt}=oe,[Zn]=ce.default.useForm(),[Bn,Qn]=(0,x.useState)({name:"string"}),Fn=Zt=>Zt&&Zt{console.log(je),oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Bn.name=qt==null?void 0:qt.name),Qn(Dm({},Bn)),Zn.setFieldsValue({name:qt==null?void 0:qt.name})},[oe.actionTabs.key]);const An={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Bu.createElement(Bu.Fragment,null,Bu.createElement(Re.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Ne=oe==null?void 0:oe.actionTabs)==null?void 0:Ne.zIndex)||1e3,footer:null,onOk:()=>xg(void 0,null,function*(){console.log(123123)}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Bu.createElement("div",null,Bu.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",An[oe.actionTabs.type],"\uFF1F")),Bu.createElement("div",{className:tm.bottom},Bu.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&gn,className:tm.no,onClick:()=>xg(void 0,null,function*(){var Zt;zn(!0),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!0,2):oe.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Bu.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&!gn,className:tm.yes,onClick:()=>xg(void 0,null,function*(){var Zt;zn(!1),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!1,1):oe.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Bu.createElement(Re.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Se,onOk:()=>xg(void 0,null,function*(){var Zt,Qt;yield Zn.validateFields();const It=Zn.getFieldValue();ze(!0);const pt=yield(0,lt.ZP)(`/api/shixuns/${je==null?void 0:je.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:It.name}});ze(!1),pt.status===0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),re({type:"practiceSetting/getCommonData",payload:{id:je.id}}),(Zt=oe.actionTabs)!=null&&Zt.getBaseInfo&&((Qt=oe.actionTabs)==null||Qt.getBaseInfo())),re({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Bu.createElement("div",null,Bu.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Bu.createElement(ce.default,{form:Zn,initialValues:{name:vt},onChange:()=>{Qn(Zn.getFieldValue())}},Bu.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Bu.createElement(Ge.Z,{className:"mt30",align:"middle"},Bu.createElement(Be.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Bu.createElement(Be.Z,{flex:"1"},Bu.createElement(ye.default,{maxLength:60,defaultValue:qt==null?void 0:qt.name,suffix:Bu.createElement("span",null,((at=Bn==null?void 0:Bn.name)==null?void 0:at.length)||0,"/",60)}))))))))};var b0=(0,Oe.connect)(({classroomList:oe,loading:le,shixunsDetail:re})=>({classroomList:oe,loading:le.effects,shixunsDetail:re}))(C0),ps=ue(59301),D0=Object.defineProperty,A0=Object.defineProperties,B0=Object.getOwnPropertyDescriptors,wg=Object.getOwnPropertySymbols,Am=Object.prototype.hasOwnProperty,Bm=Object.prototype.propertyIsEnumerable,xm=(oe,le,re)=>le in oe?D0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,wm=(oe,le)=>{for(var re in le||(le={}))Am.call(le,re)&&xm(oe,re,le[re]);if(wg)for(var re of wg(le))Bm.call(le,re)&&xm(oe,re,le[re]);return oe},Lm=(oe,le)=>A0(oe,B0(le)),_0=(oe,le)=>{var re={};for(var pe in oe)Am.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&wg)for(var pe of wg(oe))le.indexOf(pe)<0&&Bm.call(oe,pe)&&(re[pe]=oe[pe]);return re};const x0=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ne,practiceSetting:at}=le,je=_0(le,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ye}=at,{tabsActive:Se}=Ye;let ze=(0,Oe.useParams)();return(0,x.useEffect)(()=>(Ne({type:"globalSetting/headerFooterToggle",payload:!1}),Ne({type:"shixunsDetail/getShixunsDetail",payload:Lm(wm({},ze),{shixun_managed:!0})}),()=>{Ne({type:"globalSetting/headerFooterToggle",payload:!0}),Ne({type:"practiceSetting/setParams",payload:{id:""}})}),[]),ps.createElement("div",{className:Zs.practiceSetting},ps.createElement("div",{className:Zs.wrapHeader},ps.createElement(Rg,null)),ps.createElement("div",{className:Zs.wrapLayout},ps.createElement("div",{className:Zs.wrapSidebar},ps.createElement(P0,null)),ps.createElement("div",{className:Zs.wrapContent},ps.createElement(d0,Lm(wm({},je),{tabsActive:at.sideBar.tabsActive})))),ps.createElement(b0,null))};var w0=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re})=>({globalSetting:le,loading:oe,practiceSetting:re}))(x0);const L0=({globalSetting:oe})=>{var le;switch(Number((le=oe==null?void 0:oe.setting)==null?void 0:le.theme)){case ae.Fy.THEMEONE:return x.createElement(Lg,null);case ae.Fy.DEFAULT:default:return x.createElement(w0,null)}};var O0=(0,Oe.connect)(({globalSetting:oe})=>({globalSetting:oe}))(L0)},97477:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return E}});var ae=ue(59301),x=ue(76560),Oe=ue(78241),Ze=ue(8591),ke=ue(43418),et=ue(92832),Ce={wrap:"wrap___MYP7J",content:"content___loAbf",mainPathWrap:"mainPathWrap___gBcjO",colorBlue:"colorBlue___qg6vv"},ct=Object.defineProperty,Re=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,mt=(b,y,z)=>y in b?ct(b,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[y]=z,$e=(b,y)=>{for(var z in y||(y={}))Me.call(y,z)&&mt(b,z,y[z]);if(Re)for(var z of Re(y))lt.call(y,z)&&mt(b,z,y[z]);return b},fe=(b,y,z)=>new Promise((ne,se)=>{var ce=Ae=>{try{ye(z.next(Ae))}catch(Ge){se(Ge)}},de=Ae=>{try{ye(z.throw(Ae))}catch(Ge){se(Ge)}},ye=Ae=>Ae.done?ne(Ae.value):Promise.resolve(Ae.value).then(ce,de);ye((z=z.apply(b,y)).next())});const a=({shixunsDetail:b,globalSetting:y,loading:z,dispatch:ne,title:se,pathList:ce=[],showInputPath:de=!1,isMergeSelectFile:ye=!1,onFinish:Ae=()=>{}})=>{const[Ge]=Oe.default.useForm(),Be=(0,x.useParams)(),rt=(0,x.useLocation)(),Xe=(0,ae.useRef)(),[ut,mn]=(0,ae.useState)(""),[ln,En]=(0,ae.useState)(""),[vn,Jt]=(0,ae.useState)([]),[Ea,_t]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var st,wt;Xe.current=((wt=(st=rt.pathname)==null?void 0:st.split("/"))==null?void 0:wt[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(b.actionTabs.key!=="Repository-SelectFilePath")return;const st=ce.join("/");let wt=[];ce.map((Ln,un)=>{un===0?wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ln}`,path:st}):wt.push({val:`/${Ln}`,path:st})}),Jt(wt),mn(st),En(st),an(st)},[b.actionTabs.key]);const an=st=>fe(void 0,null,function*(){const wt=yield ne({type:Xe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Be.id,path:st}});wt&&_t(wt.trees||[])}),Nn=st=>{let wt=ut;st.type==="tree"&&(vn.length?vn.push({val:`/${st.name}`,path:st.name}):vn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${st.name}`,path:st.name}),Jt(vn),wt=ut?`${ut}/${st.name}`:st.name,mn(wt)),an(wt)},jn=(st,wt)=>{const Ln=vn.filter((Un,Le)=>Le<=wt);Jt(Ln);const un=Ln.filter((Un,Le)=>Le!==0).map(Un=>Un.val).join("").substr(1);mn(un),an(un)},pn=()=>fe(void 0,null,function*(){const st=Ge==null?void 0:Ge.getFieldsValue(),wt=ut?`${ut}${st!=null&&st.name?`/${st==null?void 0:st.name}`:""}`:st==null?void 0:st.name;if(ye){Ae(wt),tt();return}if(de){yield Ge.validateFields();const Ln=yield ne({type:"shixunsDetail/uploadGitFolder",payload:$e($e({},{id:Be.id,path:wt}),Xe.current?{}:{secret_repository:!0})});Ae(ln),Ln.status===0&&Ze.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Ae(wt),Ze.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");tt()}),tt=()=>{ne({type:"shixunsDetail/setActionTabs",payload:{}}),Ge.resetFields()};return ae.createElement(ke.default,{centered:!0,title:se||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:b.actionTabs.key==="Repository-SelectFilePath",onOk:pn,onCancel:tt},ae.createElement("div",{className:Ce.wrap},ae.createElement("div",{className:Ce.content},ae.createElement("div",{className:Ce.mainPathWrap},!!(vn!=null&&vn.length)&&vn.map((st,wt)=>ae.createElement("a",{key:wt,onClick:()=>jn(st,wt)},st.val))),!!(Ea!=null&&Ea.length)&&Ea.map((st,wt)=>st.type==="tree"&&ae.createElement("a",{key:wt,onClick:()=>Nn(st)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Ce.colorBlue}`}),st.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},ut),de&&ae.createElement(Oe.default,{form:Ge,scrollToFirstError:!0,className:"mt20"},ae.createElement(Oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(et.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var E=(0,x.connect)(({shixunsDetail:b,loading:y,globalSetting:z})=>({shixunsDetail:b,globalSetting:z,loading:y.models.index}))(a)},56986:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(43418),Ze=ue(8591),ke=ue(3113),et=ue(24905),Ce=ue(5112),ct=ue(88522),Re=ue(49127),Me=ue(5083),lt=ue(5871),mt=ue(10527),$e=ue(84236),fe=ue(23869),a=ue(56656),E=ue.n(a),b={wrap:"wrap___I6aMh",labelWrap:"labelWrap___JRSQM",label:"label___nx3ue",labelContent:"labelContent___JRmit",flexRow:"flexRow___z4VUw",color999:"color999___oIiXP",radio:"radio___B7cxQ",selectSchool:"selectSchool___xyvCv",dataPicker:"dataPicker___DoaL_",modal:"modal____8ckb",colorOrange:"colorOrange___rAmyz",colorYellow:"colorYellow___PeJD9",bottomButton:"bottomButton___O3cst"},y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(Be,rt)=>{var Xe={};for(var ut in Be)z.call(Be,ut)&&rt.indexOf(ut)<0&&(Xe[ut]=Be[ut]);if(Be!=null&&y)for(var ut of y(Be))rt.indexOf(ut)<0&&ne.call(Be,ut)&&(Xe[ut]=Be[ut]);return Xe},ce=(Be,rt,Xe)=>new Promise((ut,mn)=>{var ln=Jt=>{try{vn(Xe.next(Jt))}catch(Ea){mn(Ea)}},En=Jt=>{try{vn(Xe.throw(Jt))}catch(Ea){mn(Ea)}},vn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(ln,En);vn((Xe=Xe.apply(Be,rt)).next())});const de=Be=>{if(!Be)return Be;const rt=Be.split(":");if(rt[1]=="00"||rt[1]=="30")return Be;const Xe=parseInt(rt[1]);if(Xe<30||Xe==60)return[rt[0],"30"].join(":");if(Xe<60){const ut=[rt[0],"00"].join(":"),mn="YYYY-MM-DD HH:mm",ln=E()(ut,mn);return ln.add(1,"hours"),ln.format(mn)}return Be},ye="YYYY-MM-DD HH:mm",Ae=Be=>{var rt=Be,{shixunsDetail:Xe,globalSetting:ut,loading:mn,user:ln,dispatch:En}=rt,vn=se(rt,["shixunsDetail","globalSetting","loading","user","dispatch"]),Jt,Ea,_t,an,Nn,jn,pn,tt,st;const wt=(0,ae.useRef)(),[Ln,un]=(0,ae.useState)(),[Un,Le]=(0,ae.useState)(),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(""),[en,Rn]=(0,ae.useState)(),[Rt,De]=(0,ae.useState)(),[We,dt]=(0,ae.useState)(),Ot=(Ea=(Jt=ln.userInfo)==null?void 0:Jt.shixun)==null?void 0:Ea.editable;(0,ae.useEffect)(()=>{var At,nn;wt.current=(nn=(At=location.pathname)==null?void 0:At.split("/"))==null?void 0:nn[2],$t()},[]),(0,ae.useEffect)(()=>{var At,nn,ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Ja;Xe.setting&&(un((nn=(At=Xe.setting)==null?void 0:At.shixun)==null?void 0:nn.can_copy),Le((Ft=(ht=Xe.setting)==null?void 0:ht.shixun)==null?void 0:Ft.use_scope),Rn(!!((sn=(Nt=Xe.setting)==null?void 0:Nt.shixun)!=null&&sn.opening_time)),De((Mt=(yt=Xe.setting)==null?void 0:yt.shixun)==null?void 0:Mt.opening_time),Ve((zt=(Tn=Xe.setting)==null?void 0:Tn.shixun)==null?void 0:zt.scope_partment),dt((Ja=(na=Xe.setting)==null?void 0:na.shixun)==null?void 0:Ja.git_size))},[Xe.setting]);const $t=At=>ce(void 0,null,function*(){const nn=yield En({type:"shixunsDetail/getDepartments",payload:{q:At}});nn&&Lt(nn.shools_name||[])}),Xt=()=>ce(void 0,null,function*(){var At,nn,ht,Ft,Nt,sn;const yt=(yield En({type:"shixunsDetail/getShixunQuote",payload:{id:wt.current}}))||{};Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ae.createElement("div",{className:`tc font14 ${b.modal}`},!!((At=yt.subjects)!=null&&At.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(ht=(nn=yt.subjects)==null?void 0:nn.splice(0,2))==null?void 0:ht.map(Mt=>`\u300A${Mt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},yt==null?void 0:yt.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ae.createElement("br",null)),!!((Ft=yt.courses)!=null&&Ft.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(sn=(Nt=yt.courses)==null?void 0:Nt.splice(0,2))==null?void 0:sn.map(Mt=>`\u300A${Mt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},yt==null?void 0:yt.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ae.createElement("br",null)),ae.createElement("span",{className:`${b.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>ce(void 0,null,function*(){(yield En({type:"shixunsDetail/deleteShixun",payload:{id:wt.current}})).status===1&&(Ze.ZP.success("\u64CD\u4F5C\u6210\u529F"),x.history.push("/shixuns"))})})}),Kt=()=>{(0,fe.gy)(En,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},on=At=>{if(xe.includes(At)){Ze.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Gt(null),Ve([...xe,At])},Dt=()=>ce(void 0,null,function*(){if(en&&!Rt){Ze.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Un===1&&!xe.length){Ze.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield En({type:"shixunsDetail/updatePermissionSetting",payload:{id:wt.current,scope_partment:Un===0?null:xe,shixun:{can_copy:Ln,use_scope:Un,opening_time:Rt,git_size:We}}})).status!==-1&&(Ze.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),En({type:"shixunsDetail/getSettingsData",payload:{id:wt.current}}),En({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.current}}))});return ae.createElement("div",null,ae.createElement("section",{className:b.wrap},ae.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((_t=Xe==null?void 0:Xe.detail)==null?void 0:_t.shixun_status)!==2?ae.createElement(ke.ZP,{danger:!0,onClick:Xt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ae.createElement(ke.ZP,{danger:!0,onClick:Kt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u590D\u5236\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ln,onChange:At=>un(At.target.checked),disabled:!Ot}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((an=Xe.detail)==null?void 0:an.shixun_status)>1||((Nn=Xe.detail)==null?void 0:Nn.public)===2)&&((pn=(jn=Xe.setting)==null?void 0:jn.shixun)==null?void 0:pn.use_scope)===0&&((tt=Xe.detail)==null?void 0:tt.identity)>2)&&ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement(Ce.ZP.Group,{value:Un,onChange:At=>Le(At.target.value),disabled:!Ot},ae.createElement(Ce.ZP,{className:b.radio,value:0},ae.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement(Ce.ZP,{className:b.radio,value:1},ae.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Un===1&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"mt10"},ae.createElement(ct.Z,{showSearch:!0,className:b.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Tt,onChange:At=>{Gt(At),$t(At)},disabled:!Ot,onSelect:on,options:Pt==null?void 0:Pt.map(At=>({value:At}))}),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement("div",{className:"mt10"},xe==null?void 0:xe.map(At=>Ot?ae.createElement(Re.Z,{count:"x",className:"mr20 current",onClick:()=>Ve(xe.filter(nn=>nn!==At))},ae.createElement(ke.ZP,{type:"primary",ghost:!0},At)):ae.createElement(ke.ZP,{type:"primary",ghost:!0,className:"mr20"},At)))))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:en,onChange:At=>Rn(At.target.checked),disabled:!Ot}),ae.createElement("span",{className:`${b.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),en&&ae.createElement(Me.default,{className:`${b.dataPicker} mt10`,format:ye,locale:mt.Z,disabled:!Ot,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:At=>At&&AtDe(de(nn))}))),((st=ln==null?void 0:ln.userInfo)==null?void 0:st.role)===1&&ae.createElement("div",{className:b.labelWrap,style:{alignItems:"center"}},ae.createElement("label",{className:b.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(lt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:We,onChange:At=>{dt(At)}}),ae.createElement("span",{className:"c-grey-999"}," M "))))),ae.createElement($e.t,{okText:"\u4FDD\u5B58",hasOkBtn:Ot,loading:mn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>x.history.push(`/shixuns/${wt.current}/challenges`),onOk:Dt,className:b.bottomButton}))};var Ge=(0,x.connect)(({shixunsDetail:Be,loading:rt,globalSetting:Xe,user:ut})=>({shixunsDetail:Be,globalSetting:Xe,user:ut,loading:rt}))(Ae)},79768:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76560),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(62740),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(56986),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(90524),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(23869),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(34055),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(41227),React=__webpack_require__(59301),__async=(we,St,ue)=>new Promise((ae,x)=>{var Oe=et=>{try{ke(ue.next(et))}catch(Ce){x(Ce)}},Ze=et=>{try{ke(ue.throw(et))}catch(Ce){x(Ce)}},ke=et=>et.done?ae(et.value):Promise.resolve(et.value).then(Oe,Ze);ke((ue=ue.apply(we,St)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=we=>{if(!we)return we;const St=we.split(":");if(St[1]=="00"||St[1]=="30")return we;const ue=parseInt(St[1]);if(ue<30||ue==60)return[St[0],"30"].join(":");if(ue<60){const ae=[St[0],"00"].join(":"),x="YYYY-MM-DD HH:mm",Oe=moment__WEBPACK_IMPORTED_MODULE_3___default()(ae,x);return Oe.add(1,"hours"),Oe.format(x)}return we};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=we=>__async(this,null,function*(){const St=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:we}});St&&setDepartmentList(St.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var we,St;(St=(we=shixunsDetail.setting)==null?void 0:we.shixun)!=null&&St.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=we=>{if(selectDepartmentList.includes(we)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,we])},handleInitState=()=>{var we,St,ue,ae,x,Oe,Ze,ke,et,Ce,ct,Re,Me,lt,mt,$e,fe,a,E,b,y,z,ne,se,ce,de,ye,Ae,Ge,Be,rt,Xe,ut,mn,ln,En,vn,Jt,Ea,_t,an,Nn,jn,pn,tt,st,wt;setCodeEditPermission((St=(we=shixunsDetail.setting)==null?void 0:we.shixun)==null?void 0:St.code_edit_permission),setAllowFileUpload((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.allow_file_upload),setCodeHidden((Oe=(x=shixunsDetail.setting)==null?void 0:x.shixun)==null?void 0:Oe.show_code_dir),setForbidCopy((ke=(Ze=shixunsDetail.setting)==null?void 0:Ze.shixun)==null?void 0:ke.forbid_copy),setTaskPass((Ce=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:Ce.task_pass),setTestSetPermission((Re=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Re.test_set_permission),set_display_git_address((Me=shixunsDetail.setting.shixun)==null?void 0:Me.display_git_address),setIsCopy((mt=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:mt.can_copy),setOpenValue((fe=($e=shixunsDetail.setting)==null?void 0:$e.shixun)==null?void 0:fe.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(b=shixunsDetail.setting)==null?void 0:b.shixun)!=null&&y.opening_time)),setOpenTime((ne=(z=shixunsDetail.setting)==null?void 0:z.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((ce=(se=shixunsDetail.setting)==null?void 0:se.shixun)==null?void 0:ce.scope_partment),setDisableDiscuss((ye=(de=shixunsDetail.setting)==null?void 0:de.shixun)==null?void 0:ye.is_disable_discuss),setdisableAI((Ge=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((rt=(Be=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:rt.resource_recommend),setOpenCodeDebugger((ut=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:ut.open_code_debugger),setStartPermanent((ln=(mn=shixunsDetail.setting)==null?void 0:mn.shixun)==null?void 0:ln.start_permanent),setOpenSelfRun((vn=(En=shixunsDetail.setting)==null?void 0:En.shixun)==null?void 0:vn.open_self_run),setgitSize((Ea=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:Ea.git_size),setcourse_workspace_file_time((an=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:an.course_workspace_file_time),setPodSwitch((jn=(Nn=shixunsDetail.setting)==null?void 0:Nn.shixun)==null?void 0:jn.exit_delete_pod_switch),setai_user((tt=(pn=shixunsDetail.setting)==null?void 0:pn.shixun)==null?void 0:tt.ai_user),setOpenLocalEvaluate((wt=(st=shixunsDetail.setting)==null?void 0:st.shixun)==null?void 0:wt.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((we,St)=>{var ue,ae;we!=((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.scope_partment[St])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(we=!1,St=1){return __async(this,null,function*(){var ue,ae;const x=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:we}});(x==null?void 0:x.status)===0&&((ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ae=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ae.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,St))})}const handleDeleteShixun=()=>__async(this,null,function*(){var we,St,ue,ae,x,Oe;const Ze=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((we=Ze.subjects)!=null&&we.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(ue=(St=Ze.subjects)==null?void 0:St.splice(0,2))==null?void 0:ue.map(ke=>`\u300A${ke}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Ze==null?void 0:Ze.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ae=Ze.courses)!=null&&ae.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Oe=(x=Ze.courses)==null?void 0:x.splice(0,2))==null?void 0:Oe.map(ke=>`\u300A${ke}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},Ze==null?void 0:Ze.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(we){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(we),parseInt(we)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"rgba(10, 20, 61, .85)",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"rgba(10, 20, 61, .4)",marginTop:"30px",fontSize:"14px"},onClick:we=>{var St;if((St=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&St.confirmLeave){showExitmodel(we.key);return}setMenuSelectKey(we.key),parseInt(we.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:we=>setTaskPass(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:we=>setTestSetPermission(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:we=>setIsCopy(we.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:we=>setOpenValue(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:we=>{setDepartmentValue(we),handleGetDepartments(we)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(we=>({value:we}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(we=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(St=>St!==we))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},we)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},we)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:we=>setOpenAnswer(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:we=>{setIsOpenTime(we.target.checked),we.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:we=>we&&wesetOpenTime(handleDateString(St))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:we=>set_display_git_address(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:we=>{setCodeHidden(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:we=>{setCodeEditPermission(we.target.checked),we.target.checked||setAllowFileUpload(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:we=>{setAllowFileUpload(we.target.checked),we.target.checked&&setCodeEditPermission(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:we=>setForbidCopy(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"/pdf/\u5E73\u53F0\u8C03\u8BD5\u5668\u529F\u80FD\u64CD\u4F5C\u8BF4\u660E.pdf",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:we=>setOpenCodeDebugger(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:we=>setOpenSelfRun(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:we=>setOpenLocalEvaluate(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:we=>{setgitSize(we)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:we=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:we=>{setPodSwitch(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:we=>setDisableDiscuss(!we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:we=>{setresource_recommend(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:we=>{setai_user(we.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var we,St;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(we=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&we.is_fork_from_creator&&((St=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&St.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(ue,ae)=>{handSubmeit(ue,ae)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:we,shixunsDetail:St,practiceSetting:ue})=>({user:we,shixunsDetail:St,practiceSetting:ue}))(Setting)},41227:function(we,St,ue){"use strict";ue.d(St,{m:function(){return Ce}});var ae=ue(49661),x=ue(8591),Oe=ue(43418),Ze=ue(59301),ke=(ct,Re,Me)=>new Promise((lt,mt)=>{var $e=E=>{try{a(Me.next(E))}catch(b){mt(b)}},fe=E=>{try{a(Me.throw(E))}catch(b){mt(b)}},a=E=>E.done?lt(E.value):Promise.resolve(E.value).then($e,fe);a((Me=Me.apply(ct,Re)).next())});const et=ct=>{let Re=document.createElement("textarea");return Re.value=ct,Re.value},Ce=(ct,Re,Me,lt,mt)=>ke(void 0,null,function*(){var $e,fe;const a=yield ct({type:"shixunsDetail/saveCopyForExercise",payload:{id:Me,save_type:lt}});lt===1?((a==null?void 0:a.status)==0&&x.ZP.success("\u4FDD\u5B58\u6210\u529F"),($e=a==null?void 0:a.data)!=null&&$e.exists_same_shixun_name?ct({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(fe=a==null?void 0:a.data)==null?void 0:fe.shixun_name}}):ct({type:"classroomList/setActionTabs",payload:{}})):(ct({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Oe.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Ze.createElement("div",null,Ze.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var E,b;(0,ae.xg)(`/shixuns/${(b=(E=Re==null?void 0:Re.detail)==null?void 0:E.fork_from)==null?void 0:b.fork_identifier}/challenges`)}}))})},2610:function(we,St,ue){"use strict";ue.d(St,{BU:function(){return x},Dj:function(){return ae},gH:function(){return Oe},vp:function(){return Ze}});function ae(ke){try{ke.mozRequestFullScreen?ke.mozRequestFullScreen():ke.webkitRequestFullScreen&&ke.webkitRequestFullScreen()}catch(et){console.log(et,":e")}}function x(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Oe=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ze(){var ke=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,et=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",ke),window.isFullScreen?window.isFullScreen:ke!=null}},23869:function(we,St,ue){"use strict";ue.d(St,{rX:function(){return ce},pW:function(){return de},Ku:function(){return fe},gy:function(){return ye},xY:function(){return se},O5:function(){return ne},tJ:function(){return a},o1:function(){return E},Rd:function(){return z}});var ae=ue(8591),x=ue(43418),Oe=ue(28103),Ze=ue(59301),ke=ue(76560),et=ue(34055),Ce=ue(49661),ct=ue(87169),Re=ue(25510),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYh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Ar9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",lt=ue.p+"static/newqrcode.a8740efb.png",mt=ue(32637),$e=(Ae,Ge,Be)=>new Promise((rt,Xe)=>{var ut=En=>{try{ln(Be.next(En))}catch(vn){Xe(vn)}},mn=En=>{try{ln(Be.throw(En))}catch(vn){Xe(vn)}},ln=En=>En.done?rt(En.value):Promise.resolve(En.value).then(ut,mn);ln((Be=Be.apply(Ae,Ge)).next())});const fe=Ae=>{var Ge;const{globalSetting:Be}=(0,ke.getDvaApp)()._store.getState();return(0,et.bg)()?!0:((Ge=Be==null?void 0:Be.setting)!=null&&Ge.sso_url?(ae.ZP.warning("\u7528\u6237\u8FD8\u672A\u767B\u5F55\uFF0C\u6B63\u5728\u8DF3\u8F6C\u767B\u5F55"),setTimeout(()=>{var rt;window.location.href=(rt=Be==null?void 0:Be.setting)==null?void 0:rt.sso_url},1e3)):E(Ae),!1)},a=(Ae,Ge=!1)=>!!(E(Ae)&&b(Ge)),E=Ae=>(0,et.bg)()?!0:((0,Ce.T0)(),!1),b=(Ae=!1)=>{var Ge;const{user:Be}=(0,ke.getDvaApp)()._store.getState();return(Ge=Be.userInfo)!=null&&Ge.profile_completed?!0:(x.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,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:()=>{(0,Ce.xg)("/account/profile/edit"),y()}}),!1)},y=()=>{x.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},z=()=>{x.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ze.createElement("div",{style:{textAlign:"center"}},Ze.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Ze.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:mt}),Ze.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ne=()=>{var Ae;const{user:Ge}=(0,ke.getDvaApp)()._store.getState();return(Ae=Ge.userInfo)!=null&&Ae.professional_certification?!0:(x.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ze.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ce.xg)("/account/certification")}}),!1)},se=()=>(0,et.V9)()?!0:(x.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ze.createElement("div",{className:"tc",style:{marginLeft:-38}},Ze.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ze.createElement("img",{src:lt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ce=(Ae,Ge)=>Ae?!0:(x.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ze.createElement("div",null,Ze.createElement("p",null,Ge||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Ze.createElement("div",{style:{marginLeft:"110px"}},Ze.createElement("img",{src:Me,width:200}),Ze.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ce.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),de=Ae=>{x.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ze.createElement("div",null,Ze.createElement("div",null,Ze.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Ze.createElement(Oe.Z,null),Ze.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ze.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Ze.createElement("a",null,Ae),"\u5929\u3002"),Ze.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ze.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Ze.createElement("div",{style:{textAlign:"center",marginTop:30}},Ze.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Re,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ye=(Ae,Ge="")=>{const{shixunsDetail:{detail:Be}}=(0,ke.getDvaApp)()._store.getState();if((Be==null?void 0:Be.public)===2||(Be==null?void 0:Be.public)===1||(Be==null?void 0:Be.shixun_status)===3){let rt="";return(Be==null?void 0:Be.public)===2&&(rt="\u5DF2\u516C\u5F00"),(Be==null?void 0:Be.public)===1&&(rt="\u5F85\u5BA1\u6838"),(Be==null?void 0:Be.shixun_status)===3&&(rt="\u5DF2\u5173\u95ED"),x.default.info({centered:!0,icon:Ze.createElement(ct.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ze.createElement("div",{className:"tc",style:{marginLeft:-38}},Ze.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ze.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",rt,"\uFF0C",Ge,"\u3002"),Ze.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ze.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Re,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Be==null?void 0:Be.shixun_status)===2?(x.default.confirm({centered:!0,icon:Ze.createElement(ct.Z,null),title:"\u63D0\u793A",content:Ze.createElement("div",null,Ze.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ge,"\u3002"),Ze.createElement("br",null),Ze.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{x.default.confirm({width:440,centered:!0,icon:Ze.createElement(ct.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>$e(void 0,null,function*(){(yield Ae({type:"shixunsDetail/cancelRelease",payload:{id:Be==null?void 0:Be.identifier}})).status!==401&&(ae.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ae({type:"shixunsDetail/getShixunsDetail",payload:{id:Be==null?void 0:Be.identifier}}),Ae({type:"practiceSetting/getCommonData",payload:{id:Be==null?void 0:Be.identifier}}))})})}}),!0):!1}},77578:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ae}});const ae=x=>x?typeof x=="function"?x():x:null},88522:function(we,St,ue){"use strict";var ae=ue(92310),x=ue.n(ae),Oe=ue(11592),Ze=ue(2738),ke=ue(59301),et=ue(53487),Ce=ue(92343),ct=ue(36355),Re=ue(57809);const{Option:Me}=Re.default;function lt(a){return a&&a.type&&(a.type.isSelectOption||a.type.isSelectOptGroup)}const mt=(a,E)=>{const{prefixCls:b,className:y,popupClassName:z,dropdownClassName:ne,children:se,dataSource:ce}=a,de=(0,Oe.Z)(se);let ye;de.length===1&&(0,Ce.l$)(de[0])&&!lt(de[0])&&([ye]=de);const Ae=ye?()=>ye:void 0;let Ge;de.length&<(de[0])?Ge=se:Ge=ce?ce.map(Xe=>{if((0,Ce.l$)(Xe))return Xe;switch(typeof Xe){case"string":return ke.createElement(Me,{key:Xe,value:Xe},Xe);case"object":{const{value:ut}=Xe;return ke.createElement(Me,{key:ut,value:ut},Xe.text)}default:return}}):[];const{getPrefixCls:Be}=ke.useContext(ct.E_),rt=Be("select",b);return ke.createElement(Re.default,Object.assign({ref:E,suffixIcon:null},(0,Ze.Z)(a,["dataSource","dropdownClassName"]),{prefixCls:rt,popupClassName:z||ne,className:x()(`${rt}-auto-complete`,y),mode:Re.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:Ae}),Ge)},$e=ke.forwardRef(mt),fe=(0,et.Z)($e);$e.Option=Me,$e._InternalPanelDoNotUseOrYouWillBeFired=fe,St.Z=$e},49127:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ea}});var ae=ue(92310),x=ue.n(ae),Oe=ue(77900),Ze=ue(59301),ke=ue(36785),et=ue(92343),Ce=ue(36355),ct=ue(36237),Re=ue(17313),Me=ue(45157),lt=ue(37613),mt=ue(83116);const $e=new ct.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),fe=new ct.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),a=new ct.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),E=new ct.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new ct.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new ct.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),z=_t=>{const{componentCls:an,iconCls:Nn,antCls:jn,badgeShadowSize:pn,motionDurationSlow:tt,textFontSize:st,textFontSizeSM:wt,statusSize:Ln,dotSize:un,textFontWeight:Un,indicatorHeight:Le,indicatorHeightSM:xe,marginXS:Ve}=_t,Pt=`${jn}-scroll-number`,Lt=(0,Me.Z)(_t,(Tt,Gt)=>{let{darkColor:en}=Gt;return{[`&${an} ${an}-color-${Tt}`]:{background:en,[`&:not(${an}-count)`]:{color:en}}}});return{[an]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(_t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${an}-count`]:{zIndex:_t.indicatorZIndex,minWidth:Le,height:Le,color:_t.badgeTextColor,fontWeight:Un,fontSize:st,lineHeight:`${Le}px`,whiteSpace:"nowrap",textAlign:"center",background:_t.badgeColor,borderRadius:Le/2,boxShadow:`0 0 0 ${pn}px ${_t.badgeShadowColor}`,transition:`background ${_t.motionDurationMid}`,a:{color:_t.badgeTextColor},"a:hover":{color:_t.badgeTextColor},"a:hover &":{background:_t.badgeColorHover}},[`${an}-count-sm`]:{minWidth:xe,height:xe,fontSize:wt,lineHeight:`${xe}px`,borderRadius:xe/2},[`${an}-multiple-words`]:{padding:`0 ${_t.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${an}-dot`]:{zIndex:_t.indicatorZIndex,width:un,minWidth:un,height:un,background:_t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${pn}px ${_t.badgeShadowColor}`},[`${an}-dot${Pt}`]:{transition:`background ${tt}`},[`${an}-count, ${an}-dot, ${Pt}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${Nn}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${an}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${an}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Ln,height:Ln,verticalAlign:"middle",borderRadius:"50%"},[`${an}-status-success`]:{backgroundColor:_t.colorSuccess},[`${an}-status-processing`]:{overflow:"visible",color:_t.colorPrimary,backgroundColor:_t.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:pn,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:$e,animationDuration:_t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${an}-status-default`]:{backgroundColor:_t.colorTextPlaceholder},[`${an}-status-error`]:{backgroundColor:_t.colorError},[`${an}-status-warning`]:{backgroundColor:_t.colorWarning},[`${an}-status-text`]:{marginInlineStart:Ve,color:_t.colorText,fontSize:_t.fontSize}}}),Lt),{[`${an}-zoom-appear, ${an}-zoom-enter`]:{animationName:fe,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack,animationFillMode:"both"},[`${an}-zoom-leave`]:{animationName:a,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack,animationFillMode:"both"},[`&${an}-not-a-wrapper`]:{[`${an}-zoom-appear, ${an}-zoom-enter`]:{animationName:E,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack},[`${an}-zoom-leave`]:{animationName:b,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack},[`&:not(${an}-status)`]:{verticalAlign:"middle"},[`${Pt}-custom-component, ${an}-count`]:{transform:"none"},[`${Pt}-custom-component, ${Pt}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${Pt}`]:{overflow:"hidden",[`${Pt}-only`]:{position:"relative",display:"inline-block",height:Le,transition:`all ${_t.motionDurationSlow} ${_t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${Pt}-only-unit`]:{height:Le,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${Pt}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${an}-count, ${an}-dot, ${Pt}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ne=_t=>{const{fontSize:an,lineHeight:Nn,lineWidth:jn,marginXS:pn,colorBorderBg:tt}=_t,st=Math.round(an*Nn),wt=jn,Ln=_t.colorBgContainer,un=_t.colorError,Un=_t.colorErrorHover;return(0,lt.TS)(_t,{badgeFontHeight:st,badgeShadowSize:wt,badgeTextColor:Ln,badgeColor:un,badgeColorHover:Un,badgeShadowColor:tt,badgeProcessingDuration:"1.2s",badgeRibbonOffset:pn,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},se=_t=>{const{fontSize:an,lineHeight:Nn,fontSizeSM:jn,lineWidth:pn}=_t;return{indicatorZIndex:"auto",indicatorHeight:Math.round(an*Nn)-2*pn,indicatorHeightSM:an,dotSize:jn/2,textFontSize:jn,textFontSizeSM:jn,textFontWeight:"normal",statusSize:jn/2}};var ce=(0,mt.Z)("Badge",_t=>{const an=ne(_t);return[z(an)]},se);const de=_t=>{const{antCls:an,badgeFontHeight:Nn,marginXS:jn,badgeRibbonOffset:pn}=_t,tt=`${an}-ribbon`,st=`${an}-ribbon-wrapper`,wt=(0,Me.Z)(_t,(Ln,un)=>{let{darkColor:Un}=un;return{[`&${tt}-color-${Ln}`]:{background:Un,color:Un}}});return{[`${st}`]:{position:"relative"},[`${tt}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(_t)),{position:"absolute",top:jn,padding:`0 ${_t.paddingXS}px`,color:_t.colorPrimary,lineHeight:`${Nn}px`,whiteSpace:"nowrap",backgroundColor:_t.colorPrimary,borderRadius:_t.borderRadiusSM,[`${tt}-text`]:{color:_t.colorTextLightSolid},[`${tt}-corner`]:{position:"absolute",top:"100%",width:pn,height:pn,color:"currentcolor",border:`${pn/2}px solid`,transform:_t.badgeRibbonCornerTransform,transformOrigin:"top",filter:_t.badgeRibbonCornerFilter}}),wt),{[`&${tt}-placement-end`]:{insetInlineEnd:-pn,borderEndEndRadius:0,[`${tt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${tt}-placement-start`]:{insetInlineStart:-pn,borderEndStartRadius:0,[`${tt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var ye=(0,mt.Z)(["Badge","Ribbon"],_t=>{const an=ne(_t);return[de(an)]},se),Ge=_t=>{const{className:an,prefixCls:Nn,style:jn,color:pn,children:tt,text:st,placement:wt="end",rootClassName:Ln}=_t,{getPrefixCls:un,direction:Un}=Ze.useContext(Ce.E_),Le=un("ribbon",Nn),xe=(0,ke.o2)(pn,!1),Ve=x()(Le,`${Le}-placement-${wt}`,{[`${Le}-rtl`]:Un==="rtl",[`${Le}-color-${pn}`]:xe},an),[Pt,Lt]=ye(Le),Tt={},Gt={};return pn&&!xe&&(Tt.background=pn,Gt.color=pn),Pt(Ze.createElement("div",{className:x()(`${Le}-wrapper`,Ln,Lt)},tt,Ze.createElement("div",{className:x()(Ve,Lt),style:Object.assign(Object.assign({},Tt),jn)},Ze.createElement("span",{className:`${Le}-text`},st),Ze.createElement("div",{className:`${Le}-corner`,style:Gt}))))};function Be(_t){let{prefixCls:an,value:Nn,current:jn,offset:pn=0}=_t,tt;return pn&&(tt={position:"absolute",top:`${pn}00%`,left:0}),Ze.createElement("span",{style:tt,className:x()(`${an}-only-unit`,{current:jn})},Nn)}function rt(_t,an,Nn){let jn=_t,pn=0;for(;(jn+10)%10!==an;)jn+=Nn,pn+=Nn;return pn}function Xe(_t){const{prefixCls:an,count:Nn,value:jn}=_t,pn=Number(jn),tt=Math.abs(Nn),[st,wt]=Ze.useState(pn),[Ln,un]=Ze.useState(tt),Un=()=>{wt(pn),un(tt)};Ze.useEffect(()=>{const Ve=setTimeout(()=>{Un()},1e3);return()=>{clearTimeout(Ve)}},[pn]);let Le,xe;if(st===pn||Number.isNaN(pn)||Number.isNaN(st))Le=[Ze.createElement(Be,Object.assign({},_t,{key:pn,current:!0}))],xe={transition:"none"};else{Le=[];const Ve=pn+10,Pt=[];for(let Gt=pn;Gt<=Ve;Gt+=1)Pt.push(Gt);const Lt=Pt.findIndex(Gt=>Gt%10===st);Le=Pt.map((Gt,en)=>{const Rn=Gt%10;return Ze.createElement(Be,Object.assign({},_t,{key:Gt,value:Rn,offset:en-Lt,current:en===Lt}))});const Tt=Ln{const{prefixCls:Nn,count:jn,className:pn,motionClassName:tt,style:st,title:wt,show:Ln,component:un="sup",children:Un}=_t,Le=ut(_t,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:xe}=Ze.useContext(Ce.E_),Ve=xe("scroll-number",Nn),Pt=Object.assign(Object.assign({},Le),{"data-show":Ln,style:st,className:x()(Ve,pn,tt),title:wt});let Lt=jn;if(jn&&Number(jn)%1===0){const Tt=String(jn).split("");Lt=Ze.createElement("bdi",null,Tt.map((Gt,en)=>Ze.createElement(Xe,{prefixCls:Ve,count:Number(jn),value:Gt,key:Tt.length-en})))}return st&&st.borderColor&&(Pt.style=Object.assign(Object.assign({},st),{boxShadow:`0 0 0 1px ${st.borderColor} inset`})),Un?(0,et.Tm)(Un,Tt=>({className:x()(`${Ve}-custom-component`,Tt==null?void 0:Tt.className,tt)})):Ze.createElement(un,Object.assign({},Pt,{ref:an}),Lt)}),En=function(_t,an){var Nn={};for(var jn in _t)Object.prototype.hasOwnProperty.call(_t,jn)&&an.indexOf(jn)<0&&(Nn[jn]=_t[jn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pn=0,jn=Object.getOwnPropertySymbols(_t);pn{var Nn,jn,pn,tt,st;const{prefixCls:wt,scrollNumberPrefixCls:Ln,children:un,status:Un,text:Le,color:xe,count:Ve=null,overflowCount:Pt=99,dot:Lt=!1,size:Tt="default",title:Gt,offset:en,style:Rn,className:Rt,rootClassName:De,classNames:We,styles:dt,showZero:Ot=!1}=_t,$t=En(_t,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Xt,direction:Kt,badge:on}=Ze.useContext(Ce.E_),Dt=Xt("badge",wt),[At,nn]=ce(Dt),ht=Ve>Pt?`${Pt}+`:Ve,Ft=ht==="0"||ht===0,Nt=Ve===null||Ft&&!Ot,sn=(Un!=null||xe!=null)&&Nt,yt=Lt&&!Ft,Mt=yt?"":ht,Tn=(0,Ze.useMemo)(()=>(Mt==null||Mt===""||Ft&&!Ot)&&!yt,[Mt,Ft,Ot,yt]),zt=(0,Ze.useRef)(Ve);Tn||(zt.current=Ve);const na=zt.current,Ja=(0,Ze.useRef)(Mt);Tn||(Ja.current=Mt);const gr=Ja.current,ur=(0,Ze.useRef)(yt);Tn||(ur.current=yt);const za=(0,Ze.useMemo)(()=>{if(!en)return Object.assign(Object.assign({},on==null?void 0:on.style),Rn);const Br={marginTop:en[1]};return Kt==="rtl"?Br.left=parseInt(en[0],10):Br.right=-parseInt(en[0],10),Object.assign(Object.assign(Object.assign({},Br),on==null?void 0:on.style),Rn)},[Kt,en,Rn,on==null?void 0:on.style]),Or=Gt!=null?Gt:typeof na=="string"||typeof na=="number"?na:void 0,yr=Tn||!Le?null:Ze.createElement("span",{className:`${Dt}-status-text`},Le),or=!na||typeof na!="object"?void 0:(0,et.Tm)(na,Br=>({style:Object.assign(Object.assign({},za),Br.style)})),fr=(0,ke.o2)(xe,!1),lr=x()(We==null?void 0:We.indicator,(Nn=on==null?void 0:on.classNames)===null||Nn===void 0?void 0:Nn.indicator,{[`${Dt}-status-dot`]:sn,[`${Dt}-status-${Un}`]:!!Un,[`${Dt}-color-${xe}`]:fr}),Wa={};xe&&!fr&&(Wa.color=xe,Wa.background=xe);const Gr=x()(Dt,{[`${Dt}-status`]:sn,[`${Dt}-not-a-wrapper`]:!un,[`${Dt}-rtl`]:Kt==="rtl"},Rt,De,on==null?void 0:on.className,(jn=on==null?void 0:on.classNames)===null||jn===void 0?void 0:jn.root,We==null?void 0:We.root,nn);if(!un&&sn){const Br=za.color;return At(Ze.createElement("span",Object.assign({},$t,{className:Gr,style:Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.root),(pn=on==null?void 0:on.styles)===null||pn===void 0?void 0:pn.root),za)}),Ze.createElement("span",{className:lr,style:Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.indicator),(tt=on==null?void 0:on.styles)===null||tt===void 0?void 0:tt.indicator),Wa)}),Le&&Ze.createElement("span",{style:{color:Br},className:`${Dt}-status-text`},Le)))}return At(Ze.createElement("span",Object.assign({ref:an},$t,{className:Gr,style:Object.assign(Object.assign({},(st=on==null?void 0:on.styles)===null||st===void 0?void 0:st.root),dt==null?void 0:dt.root)}),un,Ze.createElement(Oe.default,{visible:!Tn,motionName:`${Dt}-zoom`,motionAppear:!1,motionDeadline:1e3},Br=>{let{className:bt,ref:bn}=Br;var On,Ut;const fn=Xt("scroll-number",Ln),Hn=ur.current,ma=x()(We==null?void 0:We.indicator,(On=on==null?void 0:on.classNames)===null||On===void 0?void 0:On.indicator,{[`${Dt}-dot`]:Hn,[`${Dt}-count`]:!Hn,[`${Dt}-count-sm`]:Tt==="small",[`${Dt}-multiple-words`]:!Hn&&gr&&gr.toString().length>1,[`${Dt}-status-${Un}`]:!!Un,[`${Dt}-color-${xe}`]:fr});let Qe=Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.indicator),(Ut=on==null?void 0:on.styles)===null||Ut===void 0?void 0:Ut.indicator),za);return xe&&!fr&&(Qe=Qe||{},Qe.background=xe),Ze.createElement(ln,{prefixCls:fn,show:!Tn,motionClassName:bt,className:ma,count:gr,title:Or,style:Qe,key:"scrollNumber",ref:bn},or)}),yr))},Jt=Ze.forwardRef(vn);Jt.Ribbon=Ge;var Ea=Jt},19842:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Br}});var ae=ue(3300),x=ue(59301),Oe=ue(33853),Ze=ue(58617),ke=ue(38819),et=ue(92310),Ce=ue.n(et),ct=ue(32855),Re=ue(11913),Me=ue(43079),lt=ue(77861),mt=ue(17115),$e=ue(90782),fe=ue(6089),a=ue(18929),E=x.createContext(null),b=E,y=ue(34666),z=ue(74430),ne=ue(27247),se="__rc_cascader_search_mark__",ce=function(bn,On,Ut){var fn=Ut.label;return On.some(function(Hn){return String(Hn[fn]).toLowerCase().includes(bn.toLowerCase())})},de=function(bn,On,Ut,fn){return On.map(function(Hn){return Hn[fn.label]}).join(" / ")},ye=function(bt,bn,On,Ut,fn,Hn){var ma=fn.filter,Qe=ma===void 0?ce:ma,gt=fn.render,it=gt===void 0?de:gt,Vn=fn.limit,Gn=Vn===void 0?50:Vn,Jn=fn.sort;return x.useMemo(function(){var Va=[];if(!bt)return[];function Oa(va,Na){var ya=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;va.forEach(function(Sn){if(!(!Jn&&Gn!==!1&&Gn>0&&Va.length>=Gn)){var wa=[].concat((0,ae.Z)(Na),[Sn]),Dr=Sn[On.children],oo=ya||Sn.disabled;if((!Dr||Dr.length===0||Hn)&&Qe(bt,wa,{label:On.label})){var Kn;Va.push((0,ne.Z)((0,ne.Z)({},Sn),{},(Kn={disabled:oo},(0,z.Z)(Kn,On.label,it(bt,wa,Ut,On)),(0,z.Z)(Kn,se,wa),(0,z.Z)(Kn,On.children,void 0),Kn)))}Dr&&Oa(Sn[On.children],wa,oo)}})}return Oa(bn,[]),Jn&&Va.sort(function(va,Na){return Jn(va[se],Na[se],bt,On)}),Gn!==!1&&Gn>0?Va.slice(0,Gn):Va},[bt,bn,On,Ut,it,Hn,Qe,Jn,Gn])},Ae="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Be="SHOW_CHILD";function rt(bt){return bt.join(Ae)}function Xe(bt){return bt.map(rt)}function ut(bt){return bt.split(Ae)}function mn(bt){var bn=bt||{},On=bn.label,Ut=bn.value,fn=bn.children,Hn=Ut||"value";return{label:On||"label",value:Hn,key:Hn,children:fn||"children"}}function ln(bt,bn){var On,Ut;return(On=bt.isLeaf)!==null&&On!==void 0?On:!((Ut=bt[bn.children])!==null&&Ut!==void 0&&Ut.length)}function En(bt){var bn=bt.parentElement;if(bn){var On=bt.offsetTop-bn.offsetTop;On-bn.scrollTop<0?bn.scrollTo({top:On}):On+bt.offsetHeight-bn.scrollTop>bn.offsetHeight&&bn.scrollTo({top:On+bt.offsetHeight-bn.offsetHeight})}}function vn(bt,bn){return bt.map(function(On){var Ut;return(Ut=On[se])===null||Ut===void 0?void 0:Ut.map(function(fn){return fn[bn.value]})})}function Jt(bt,bn,On){var Ut=new Set(bt),fn=bn();return bt.filter(function(Hn){var ma=fn[Hn],Qe=ma?ma.parent:null,gt=ma?ma.children:null;return ma&&ma.node.disabled?!0:On===Be?!(gt&>.some(function(it){return it.key&&Ut.has(it.key)})):!(Qe&&!Qe.node.disabled&&Ut.has(Qe.key))})}function Ea(bt,bn,On){for(var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,fn=bn,Hn=[],ma=function(){var it,Vn,Gn,Jn=bt[Qe],Va=(it=fn)===null||it===void 0?void 0:it.findIndex(function(va){var Na=va[On.value];return Ut?String(Na)===String(Jn):Na===Jn}),Oa=Va!==-1?(Vn=fn)===null||Vn===void 0?void 0:Vn[Va]:null;Hn.push({value:(Gn=Oa==null?void 0:Oa[On.value])!==null&&Gn!==void 0?Gn:Jn,index:Va,option:Oa}),fn=Oa==null?void 0:Oa[On.children]},Qe=0;Qe1){var cn=Oa.slice(0,-1);Sn(cn)}else it(!1)},oo=function(){var cn,Lo=((cn=Na[va])===null||cn===void 0?void 0:cn[On.children])||[],vr=Lo.find(function(Tr){return!Tr.disabled});if(vr){var lo=[].concat((0,ae.Z)(Oa),[vr[On.value]]);Sn(lo)}};x.useImperativeHandle(bt,function(){return{onKeyDown:function(cn){var Lo=cn.which;switch(Lo){case xe.Z.UP:case xe.Z.DOWN:{var vr=0;Lo===xe.Z.UP?vr=-1:Lo===xe.Z.DOWN&&(vr=1),vr!==0&&wa(vr);break}case xe.Z.LEFT:{if(gt)break;Gn?oo():Dr();break}case xe.Z.RIGHT:{if(gt)break;Gn?Dr():oo();break}case xe.Z.BACKSPACE:{gt||Dr();break}case xe.Z.ENTER:{if(Oa.length){var lo=Na[va],Tr=(lo==null?void 0:lo[se])||[];Tr.length?Hn(Tr.map(function(Bo){return Bo[On.value]}),Tr[Tr.length-1]):Hn(Oa,Na[va])}break}case xe.Z.ESC:it(!1),Vn&&cn.stopPropagation()}},onKeyUp:function(){}}})},Pt=x.forwardRef(function(bt,bn){var On,Ut,fn,Hn,ma=(0,lt.lk)(),Qe=ma.prefixCls,gt=ma.multiple,it=ma.searchValue,Vn=ma.toggleOpen,Gn=ma.notFoundContent,Jn=ma.direction,Va=ma.open,Oa=x.useRef(),va=Jn==="rtl",Na=x.useContext(b),ya=Na.options,Sn=Na.values,wa=Na.halfValues,Dr=Na.fieldNames,oo=Na.changeOnSelect,Kn=Na.onSelect,cn=Na.searchOptions,Lo=Na.dropdownPrefixCls,vr=Na.loadData,lo=Na.expandTrigger,Tr=Lo||Qe,Bo=x.useState([]),yo=(0,Re.Z)(Bo,2),Vo=yo[0],Ur=yo[1],po=function(Za){if(!(!vr||it)){var Cr=Ea(Za,ya,Dr),Lr=Cr.map(function(Ka){var Ha=Ka.option;return Ha}),Mr=Lr[Lr.length-1];if(Mr&&!ln(Mr,Dr)){var jr=rt(Za);Ur(function(Ka){return[].concat((0,ae.Z)(Ka),[jr])}),vr(Lr)}}};x.useEffect(function(){Vo.length&&Vo.forEach(function(cr){var Za=ut(cr),Cr=Ea(Za,ya,Dr,!0).map(function(Mr){var jr=Mr.option;return jr}),Lr=Cr[Cr.length-1];(!Lr||Lr[Dr.children]||ln(Lr,Dr))&&Ur(function(Mr){return Mr.filter(function(jr){return jr!==cr})})})},[ya,Vo,Dr]);var kn=x.useMemo(function(){return new Set(Xe(Sn))},[Sn]),Nr=x.useMemo(function(){return new Set(Xe(wa))},[wa]),uo=Le(),co=(0,Re.Z)(uo,2),xt=co[0],qe=co[1],He=function(Za){qe(Za),po(Za)},Vt=function(Za){var Cr=Za.disabled,Lr=ln(Za,Dr);return!Cr&&(Lr||oo||gt)},Mn=function(Za,Cr){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Kn(Za),!gt&&(Cr||oo&&(lo==="hover"||Lr))&&Vn(!1)},pa=x.useMemo(function(){return it?cn:ya},[it,cn,ya]),xn=x.useMemo(function(){for(var cr=[{options:pa}],Za=pa,Cr=vn(Za,Dr),Lr=function(){var Ha=xt[Mr],mr=Za.find(function(Kr,pr){return(Cr[pr]?rt(Cr[pr]):Kr[Dr.value])===Ha}),_r=mr==null?void 0:mr[Dr.children];if(!(_r!=null&&_r.length))return"break";Za=_r,cr.push({options:_r})},Mr=0;Mr":Vo,po=bt.loadingIcon,kn=bt.children,Nr=bt.dropdownMatchSelectWidth,uo=Nr===void 0?!1:Nr,co=bt.showCheckedStrategy,xt=co===void 0?Ge:co,qe=(0,Me.Z)(bt,Rn),He=(0,mt.ZP)(On),Vt=!!Gn,Mn=(0,a.Z)(ma,{value:Qe,postState:De}),pa=(0,Re.Z)(Mn,2),xn=pa[0],Ca=pa[1],rn=x.useMemo(function(){return mn(Hn)},[JSON.stringify(Hn)]),da=x.useMemo(function(){return Sn||[]},[Sn]),zr=Nn(da,rn),ho=x.useCallback(function(ga){var ia=zr();return ga.map(function(Sa){var $r=ia[Sa].nodes;return $r.map(function(Co){return Co[rn.value]})})},[zr,rn]),zo=(0,a.Z)("",{value:Oa,postState:function(ia){return ia||""}}),cr=(0,Re.Z)(zo,2),Za=cr[0],Cr=cr[1],Lr=function(ia,Sa){Cr(ia),Sa.source!=="blur"&&va&&va(ia)},Mr=tt(Na),jr=(0,Re.Z)(Mr,2),Ka=jr[0],Ha=jr[1],mr=ye(Za,da,rn,wa||fn,Ha,gt),_r=jn(da,rn),Kr=x.useMemo(function(){var ga=_r(xn),ia=(0,Re.Z)(ga,2),Sa=ia[0],$r=ia[1];if(!Vt||!xn.length)return[Sa,[],$r];var Co=Xe(Sa),Ho=zr(),hr=(0,$e.S)(Co,!0,Ho),Wr=hr.checkedKeys,vo=hr.halfCheckedKeys;return[ho(Wr),ho(vo),$r]},[Vt,xn,zr,ho,_r]),pr=(0,Re.Z)(Kr,3),Pa=pr[0],ta=pr[1],Ta=pr[2],kr=x.useMemo(function(){var ga=Xe(Pa),ia=Jt(ga,zr,xt);return[].concat((0,ae.Z)(Ta),(0,ae.Z)(ho(ia)))},[Pa,zr,ho,Ta,xt]),Eo=_t(kr,da,rn,Vt,Vn),jo=(0,fe.Z)(function(ga){if(Ca(ga),it){var ia=De(ga),Sa=ia.map(function(Ho){return Ea(Ho,da,rn).map(function(hr){return hr.option})}),$r=Vt?ia:ia[0],Co=Vt?Sa:Sa[0];it($r,Co)}}),_o=(0,fe.Z)(function(ga){if((!Vt||Va)&&Cr(""),!Vt)jo(ga);else{var ia=rt(ga),Sa=Xe(Pa),$r=Xe(ta),Co=Sa.includes(ia),Ho=Ta.some(function(Pu){return rt(Pu)===ia}),hr=Pa,Wr=Ta;if(Ho&&!Co)Wr=Ta.filter(function(Pu){return rt(Pu)!==ia});else{var vo=Co?Sa.filter(function(Pu){return Pu!==ia}):[].concat((0,ae.Z)(Sa),[ia]),Jr=zr(),Io;if(Co){var il=(0,$e.S)(vo,{checked:!1,halfCheckedKeys:$r},Jr);Io=il.checkedKeys}else{var $o=(0,$e.S)(vo,!0,Jr);Io=$o.checkedKeys}var Eu=Jt(Io,zr,xt);hr=ho(Eu)}jo([].concat((0,ae.Z)(Wr),(0,ae.Z)(hr)))}}),Qo=function(ia,Sa){if(Sa.type==="clear"){jo([]);return}var $r=Sa.values[0],Co=$r.valueCells;_o(Co)},El=Kn!==void 0?Kn:oo,Aa=Lo||cn,ql=Tr||lo,ru=function(ia){Bo==null||Bo(ia),yo==null||yo(ia)},Iu=x.useMemo(function(){return{options:da,fieldNames:rn,values:Pa,halfValues:ta,changeOnSelect:gt,onSelect:_o,checkable:Gn,searchOptions:mr,dropdownPrefixCls:wa,loadData:Dr,expandTrigger:ya,expandIcon:Ur,loadingIcon:po,dropdownMenuColumnStyle:vr}},[da,rn,Pa,ta,gt,_o,Gn,mr,wa,Dr,ya,Ur,po,vr]),ou=!(Za?mr:da).length,ar=Za&&Ha.matchInputWidth||ou?{}:{minWidth:"auto"};return x.createElement(b.Provider,{value:Iu},x.createElement(lt.Ac,(0,ct.Z)({},qe,{ref:bn,id:He,prefixCls:fn,autoClearSearchValue:Va,dropdownMatchSelectWidth:uo,dropdownStyle:ar,displayValues:Eo,onDisplayValuesChange:Qo,mode:Vt?"multiple":void 0,searchValue:Za,onSearch:Lr,showSearch:Ka,OptionList:Lt,emptyOptions:ou,open:El,dropdownClassName:Aa,placement:ql,onDropdownVisibleChange:ru,getRawInputElement:function(){return kn}})))});We.SHOW_PARENT=Ge,We.SHOW_CHILD=Be;var dt=We,Ot=dt,$t=ue(2738),Xt=ue(62892),Kt=ue(53487),on=ue(19080),Dt=ue(36355),At=ue(93891),nn=ue(1684),ht=ue(19716),Ft=ue(32441),Nt=ue(14154),sn=ue(58582),yt=ue(84443),Mt=ue(66339),Tn=ue(33234),zt=ue(98447),na=ue(17313),Ja=ue(74207),gr=ue(83116);const ur=bt=>{const{prefixCls:bn,componentCls:On,antCls:Ut}=bt,fn=`${On}-menu-item`,Hn=` + &${fn}-expand ${fn}-expand-icon, + ${fn}-loading-icon + `;return[{[On]:{width:bt.controlWidth}},{[`${On}-dropdown`]:[(0,zt.C2)(`${bn}-checkbox`,bt),{[`&${Ut}-select-dropdown`]:{padding:0}},{[On]:{"&-checkbox":{top:0,marginInlineEnd:bt.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${On}-menu-empty`]:{[`${On}-menu`]:{width:"100%",height:"auto",[fn]:{color:bt.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:bt.controlItemWidth,height:bt.dropdownHeight,margin:0,padding:bt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${bt.lineWidth}px ${bt.lineType} ${bt.colorSplit}`},"&-item":Object.assign(Object.assign({},na.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:bt.optionPadding,lineHeight:bt.lineHeight,cursor:"pointer",transition:`all ${bt.motionDurationMid}`,borderRadius:bt.borderRadiusSM,"&:hover":{background:bt.controlItemBgHover},"&-disabled":{color:bt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Hn]:{color:bt.colorTextDisabled}},[`&-active:not(${fn}-disabled)`]:{"&, &:hover":{fontWeight:bt.optionSelectedFontWeight,backgroundColor:bt.optionSelectedBg}},"&-content":{flex:"auto"},[Hn]:{marginInlineStart:bt.paddingXXS,color:bt.colorTextDescription,fontSize:bt.fontSizeIcon},"&-keyword":{color:bt.colorHighlight}})}}}]},{[`${On}-dropdown-rtl`]:{direction:"rtl"}},(0,Ja.c)(bt)]};var za=(0,gr.Z)("Cascader",bt=>[ur(bt)],bt=>{const bn=Math.round((bt.controlHeight-bt.fontSize*bt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:bt.controlItemBgActive,optionSelectedFontWeight:bt.fontWeightStrong,optionPadding:`${bn}px ${bt.paddingSM}px`,menuPadding:bt.paddingXXS}}),Or=function(bt,bn){var On={};for(var Ut in bt)Object.prototype.hasOwnProperty.call(bt,Ut)&&bn.indexOf(Ut)<0&&(On[Ut]=bt[Ut]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Ut=Object.getOwnPropertySymbols(bt);fngt===0?[Qe]:[].concat((0,ae.Z)(ma),[bn,Qe]),[]),fn=[];let Hn=0;return Ut.forEach((ma,Qe)=>{const gt=Hn+ma.length;let it=bt.slice(Hn,gt);Hn=gt,Qe%2===1&&(it=x.createElement("span",{className:`${On}-menu-item-keyword`,key:`separator-${Qe}`},it)),fn.push(it)}),fn}const lr=(bt,bn,On,Ut)=>{const fn=[],Hn=bt.toLowerCase();return bn.forEach((ma,Qe)=>{Qe!==0&&fn.push(" / ");let gt=ma[Ut.label];const it=typeof gt;(it==="string"||it==="number")&&(gt=fr(String(gt),Hn,On)),fn.push(gt)}),fn},Wa=x.forwardRef((bt,bn)=>{const{prefixCls:On,size:Ut,disabled:fn,className:Hn,rootClassName:ma,multiple:Qe,bordered:gt=!0,transitionName:it,choiceTransitionName:Vn="",popupClassName:Gn,dropdownClassName:Jn,expandIcon:Va,placement:Oa,showSearch:va,allowClear:Na=!0,notFoundContent:ya,direction:Sn,getPopupContainer:wa,status:Dr,showArrow:oo,builtinPlacements:Kn,style:cn}=bt,Lo=Or(bt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),vr=(0,$t.Z)(Lo,["suffixIcon"]),{getPopupContainer:lo,getPrefixCls:Tr,renderEmpty:Bo,direction:yo,popupOverflow:Vo,cascader:Ur}=x.useContext(Dt.E_),po=Sn||yo,kn=po==="rtl",{status:Nr,hasFeedback:uo,isFormItemInput:co,feedbackIcon:xt}=x.useContext(Ft.aM),qe=(0,on.F)(Nr,Dr),He=ya||(Bo==null?void 0:Bo("Cascader"))||x.createElement(At.Z,{componentName:"Cascader"}),Vt=Tr(),Mn=Tr("select",On),pa=Tr("cascader",On),[xn,Ca]=(0,Nt.Z)(Mn),[rn]=za(pa),{compactSize:da,compactItemClassnames:zr}=(0,Tn.ri)(Mn,Sn),ho=Ce()(Gn||Jn,`${pa}-dropdown`,{[`${pa}-dropdown-rtl`]:po==="rtl"},ma,Ca),zo=x.useMemo(()=>{if(!va)return va;let Ta={render:lr};return typeof va=="object"&&(Ta=Object.assign(Object.assign({},Ta),va)),Ta},[va]),cr=(0,ht.Z)(Ta=>{var kr;return(kr=Ut!=null?Ut:da)!==null&&kr!==void 0?kr:Ta}),Za=x.useContext(nn.Z),Cr=fn!=null?fn:Za;let Lr=Va;Va||(Lr=kn?x.createElement(Oe.Z,null):x.createElement(ke.Z,null));const Mr=x.createElement("span",{className:`${Mn}-menu-item-loading-icon`},x.createElement(Ze.Z,{spin:!0})),jr=x.useMemo(()=>Qe?x.createElement("span",{className:`${pa}-checkbox-inner`}):!1,[Qe]),Ka=(0,yt.Z)(bt.suffixIcon,oo),{suffixIcon:Ha,removeIcon:mr,clearIcon:_r}=(0,Mt.Z)(Object.assign(Object.assign({},bt),{hasFeedback:uo,feedbackIcon:xt,showSuffixIcon:Ka,multiple:Qe,prefixCls:Mn,componentName:"Cascader"})),Kr=x.useMemo(()=>Oa!==void 0?Oa:kn?"bottomRight":"bottomLeft",[Oa,kn]),pr=(0,sn.Z)(Kn,Vo),Pa=Na===!0?{clearIcon:_r}:Na,ta=x.createElement(Ot,Object.assign({prefixCls:Mn,className:Ce()(!On&&pa,{[`${Mn}-lg`]:cr==="large",[`${Mn}-sm`]:cr==="small",[`${Mn}-rtl`]:kn,[`${Mn}-borderless`]:!gt,[`${Mn}-in-form-item`]:co},(0,on.Z)(Mn,qe,uo),zr,Ur==null?void 0:Ur.className,Hn,ma,Ca),disabled:Cr,style:Object.assign(Object.assign({},Ur==null?void 0:Ur.style),cn)},vr,{builtinPlacements:pr,direction:po,placement:Kr,notFoundContent:He,allowClear:Pa,showSearch:zo,expandIcon:Lr,suffixIcon:Ha,removeIcon:mr,loadingIcon:Mr,checkable:jr,dropdownClassName:ho,dropdownPrefixCls:On||pa,choiceTransitionName:(0,Xt.m)(Vt,"",Vn),transitionName:(0,Xt.m)(Vt,"slide-up",it),getPopupContainer:wa||lo,ref:bn}));return rn(xn(ta))}),Gr=(0,Kt.Z)(Wa);Wa.SHOW_PARENT=or,Wa.SHOW_CHILD=yr,Wa._InternalPanelDoNotUseOrYouWillBeFired=Gr;var Br=Wa},36381:function(we,St,ue){"use strict";ue.d(St,{default:function(){return Ve}});var ae=ue(38819),x=ue(92310),Oe=ue.n(x),Ze=ue(32855),ke=ue(3300),et=ue(11913),Ce=ue(34666),ct=ue(18929),Re=ue(48736),Me=ue(59301),lt=ue(43079),mt=ue(11592),$e=ue(74430),fe=ue(77900),a=ue(10228),E=Me.forwardRef(function(Pt,Lt){var Tt=Pt.prefixCls,Gt=Pt.forceRender,en=Pt.className,Rn=Pt.style,Rt=Pt.children,De=Pt.isActive,We=Pt.role,dt=Me.useState(De||Gt),Ot=(0,et.Z)(dt,2),$t=Ot[0],Xt=Ot[1];return Me.useEffect(function(){(Gt||De)&&Xt(!0)},[Gt,De]),$t?Me.createElement("div",{ref:Lt,className:Oe()("".concat(Tt,"-content"),(0,$e.Z)((0,$e.Z)({},"".concat(Tt,"-content-active"),De),"".concat(Tt,"-content-inactive"),!De),en),style:Rn,role:We},Me.createElement("div",{className:"".concat(Tt,"-content-box")},Rt)):null});E.displayName="PanelContent";var b=E,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Me.forwardRef(function(Pt,Lt){var Tt=Pt.showArrow,Gt=Tt===void 0?!0:Tt,en=Pt.headerClass,Rn=Pt.isActive,Rt=Pt.onItemClick,De=Pt.forceRender,We=Pt.className,dt=Pt.prefixCls,Ot=Pt.collapsible,$t=Pt.accordion,Xt=Pt.panelKey,Kt=Pt.extra,on=Pt.header,Dt=Pt.expandIcon,At=Pt.openMotion,nn=Pt.destroyInactivePanel,ht=Pt.children,Ft=(0,lt.Z)(Pt,y),Nt=Ot==="disabled",sn=Ot==="header",yt=Ot==="icon",Mt=Kt!=null&&typeof Kt!="boolean",Tn=function(){Rt==null||Rt(Xt)},zt=function(Or){(Or.key==="Enter"||Or.keyCode===a.Z.ENTER||Or.which===a.Z.ENTER)&&Tn()},na=typeof Dt=="function"?Dt(Pt):Me.createElement("i",{className:"arrow"});na&&(na=Me.createElement("div",{className:"".concat(dt,"-expand-icon"),onClick:["header","icon"].includes(Ot)?Tn:void 0},na));var Ja=Oe()((0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(dt,"-item"),!0),"".concat(dt,"-item-active"),Rn),"".concat(dt,"-item-disabled"),Nt),We),gr=Oe()(en,(0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(dt,"-header"),!0),"".concat(dt,"-header-collapsible-only"),sn),"".concat(dt,"-icon-collapsible-only"),yt)),ur={className:gr,"aria-expanded":Rn,"aria-disabled":Nt,onKeyDown:zt};return!sn&&!yt&&(ur.onClick=Tn,ur.role=$t?"tab":"button",ur.tabIndex=Nt?-1:0),Me.createElement("div",(0,Ze.Z)({},Ft,{ref:Lt,className:Ja}),Me.createElement("div",ur,Gt&&na,Me.createElement("span",{className:"".concat(dt,"-header-text"),onClick:Ot==="header"?Tn:void 0},on),Mt&&Me.createElement("div",{className:"".concat(dt,"-extra")},Kt)),Me.createElement(fe.default,(0,Ze.Z)({visible:Rn,leavedClassName:"".concat(dt,"-content-hidden")},At,{forceRender:De,removeOnLeave:nn}),function(za,Or){var yr=za.className,or=za.style;return Me.createElement(b,{ref:Or,prefixCls:dt,className:yr,style:or,isActive:Rn,forceRender:De,role:$t?"tabpanel":void 0},ht)}))}),ne=z,se=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ce=function(Lt,Tt){var Gt=Tt.prefixCls,en=Tt.accordion,Rn=Tt.collapsible,Rt=Tt.destroyInactivePanel,De=Tt.onItemClick,We=Tt.activeKey,dt=Tt.openMotion,Ot=Tt.expandIcon;return Lt.map(function($t,Xt){var Kt=$t.children,on=$t.label,Dt=$t.key,At=$t.collapsible,nn=$t.onItemClick,ht=$t.destroyInactivePanel,Ft=(0,lt.Z)($t,se),Nt=String(Dt!=null?Dt:Xt),sn=At!=null?At:Rn,yt=ht!=null?ht:Rt,Mt=function(na){sn!=="disabled"&&(De(na),nn==null||nn(na))},Tn=!1;return en?Tn=We[0]===Nt:Tn=We.indexOf(Nt)>-1,Me.createElement(ne,(0,Ze.Z)({},Ft,{prefixCls:Gt,key:Nt,panelKey:Nt,isActive:Tn,accordion:en,openMotion:dt,expandIcon:Ot,header:on,collapsible:sn,onItemClick:Mt,destroyInactivePanel:yt}),Kt)})},de=function(Lt,Tt,Gt){if(!Lt)return null;var en=Gt.prefixCls,Rn=Gt.accordion,Rt=Gt.collapsible,De=Gt.destroyInactivePanel,We=Gt.onItemClick,dt=Gt.activeKey,Ot=Gt.openMotion,$t=Gt.expandIcon,Xt=Lt.key||String(Tt),Kt=Lt.props,on=Kt.header,Dt=Kt.headerClass,At=Kt.destroyInactivePanel,nn=Kt.collapsible,ht=Kt.onItemClick,Ft=!1;Rn?Ft=dt[0]===Xt:Ft=dt.indexOf(Xt)>-1;var Nt=nn!=null?nn:Rt,sn=function(Tn){Nt!=="disabled"&&(We(Tn),ht==null||ht(Tn))},yt={key:Xt,panelKey:Xt,header:on,headerClass:Dt,isActive:Ft,prefixCls:en,destroyInactivePanel:At!=null?At:De,openMotion:Ot,accordion:Rn,children:Lt.props.children,onItemClick:sn,expandIcon:$t,collapsible:Nt};return typeof Lt.type=="string"?Lt:(Object.keys(yt).forEach(function(Mt){typeof yt[Mt]=="undefined"&&delete yt[Mt]}),Me.cloneElement(Lt,yt))};function ye(Pt,Lt,Tt){return Array.isArray(Pt)?ce(Pt,Tt):(0,mt.Z)(Lt).map(function(Gt,en){return de(Gt,en,Tt)})}var Ae=ye,Ge=ue(26112);function Be(Pt){var Lt=Pt;if(!Array.isArray(Lt)){var Tt=(0,Ce.Z)(Lt);Lt=Tt==="number"||Tt==="string"?[Lt]:[]}return Lt.map(function(Gt){return String(Gt)})}var rt=Me.forwardRef(function(Pt,Lt){var Tt=Pt.prefixCls,Gt=Tt===void 0?"rc-collapse":Tt,en=Pt.destroyInactivePanel,Rn=en===void 0?!1:en,Rt=Pt.style,De=Pt.accordion,We=Pt.className,dt=Pt.children,Ot=Pt.collapsible,$t=Pt.openMotion,Xt=Pt.expandIcon,Kt=Pt.activeKey,on=Pt.defaultActiveKey,Dt=Pt.onChange,At=Pt.items,nn=Oe()(Gt,We),ht=(0,ct.Z)([],{value:Kt,onChange:function(zt){return Dt==null?void 0:Dt(zt)},defaultValue:on,postState:Be}),Ft=(0,et.Z)(ht,2),Nt=Ft[0],sn=Ft[1],yt=function(zt){return sn(function(){if(De)return Nt[0]===zt?[]:[zt];var na=Nt.indexOf(zt),Ja=na>-1;return Ja?Nt.filter(function(gr){return gr!==zt}):[].concat((0,ke.Z)(Nt),[zt])})};(0,Re.ZP)(!dt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Mt=Ae(At,dt,{prefixCls:Gt,accordion:De,openMotion:$t,expandIcon:Xt,collapsible:Ot,destroyInactivePanel:Rn,onItemClick:yt,activeKey:Nt});return Me.createElement("div",(0,Ze.Z)({ref:Lt,className:nn,style:Rt,role:De?"tablist":void 0},(0,Ge.Z)(Pt,{aria:!0,data:!0})),Mt)}),Xe=Object.assign(rt,{Panel:ne}),ut=Xe,mn=Xe.Panel,ln=ue(2738),En=ue(62892),vn=ue(92343),Jt=ue(36355),Ea=ue(19716),an=Me.forwardRef((Pt,Lt)=>{const{getPrefixCls:Tt}=Me.useContext(Jt.E_),{prefixCls:Gt,className:en,showArrow:Rn=!0}=Pt,Rt=Tt("collapse",Gt),De=Oe()({[`${Rt}-no-arrow`]:!Rn},en);return Me.createElement(ut.Panel,Object.assign({ref:Lt},Pt,{prefixCls:Rt,className:De}))}),Nn=ue(17313),jn=ue(8378),pn=ue(83116),tt=ue(37613);const st=Pt=>{const{componentCls:Lt,contentBg:Tt,padding:Gt,headerBg:en,headerPadding:Rn,collapseHeaderPaddingSM:Rt,collapseHeaderPaddingLG:De,collapsePanelBorderRadius:We,lineWidth:dt,lineType:Ot,colorBorder:$t,colorText:Xt,colorTextHeading:Kt,colorTextDisabled:on,fontSize:Dt,fontSizeLG:At,lineHeight:nn,marginSM:ht,paddingSM:Ft,paddingLG:Nt,paddingXS:sn,motionDurationSlow:yt,fontSizeIcon:Mt,contentPadding:Tn}=Pt,zt=`${dt}px ${Ot} ${$t}`;return{[Lt]:Object.assign(Object.assign({},(0,Nn.Wf)(Pt)),{backgroundColor:en,border:zt,borderBottom:0,borderRadius:`${We}px`,"&-rtl":{direction:"rtl"},[`& > ${Lt}-item`]:{borderBottom:zt,"&:last-child":{[` + &, + & > ${Lt}-header`]:{borderRadius:`0 0 ${We}px ${We}px`}},[`> ${Lt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Rn,color:Kt,lineHeight:nn,cursor:"pointer",transition:`all ${yt}, visibility 0s`,[`> ${Lt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Lt}-expand-icon`]:{height:Dt*nn,display:"flex",alignItems:"center",paddingInlineEnd:ht},[`${Lt}-arrow`]:Object.assign(Object.assign({},(0,Nn.Ro)()),{fontSize:Mt,svg:{transition:`transform ${yt}`}}),[`${Lt}-header-text`]:{marginInlineEnd:"auto"}},[`${Lt}-header-collapsible-only`]:{cursor:"default",[`${Lt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Lt}-icon-collapsible-only`]:{cursor:"default",[`${Lt}-expand-icon`]:{cursor:"pointer"}}},[`${Lt}-content`]:{color:Xt,backgroundColor:Tt,borderTop:zt,[`& > ${Lt}-content-box`]:{padding:Tn},"&-hidden":{display:"none"}},"&-small":{[`> ${Lt}-item`]:{[`> ${Lt}-header`]:{padding:Rt,paddingInlineStart:sn,[`> ${Lt}-expand-icon`]:{marginInlineStart:Ft-sn}},[`> ${Lt}-content > ${Lt}-content-box`]:{padding:Ft}}},"&-large":{[`> ${Lt}-item`]:{fontSize:At,[`> ${Lt}-header`]:{padding:De,paddingInlineStart:Gt,[`> ${Lt}-expand-icon`]:{height:At*nn,marginInlineStart:Nt-Gt}},[`> ${Lt}-content > ${Lt}-content-box`]:{padding:Nt}}},[`${Lt}-item:last-child`]:{[`> ${Lt}-content`]:{borderRadius:`0 0 ${We}px ${We}px`}},[`& ${Lt}-item-disabled > ${Lt}-header`]:{"\n &,\n & > .arrow\n ":{color:on,cursor:"not-allowed"}},[`&${Lt}-icon-position-end`]:{[`& > ${Lt}-item`]:{[`> ${Lt}-header`]:{[`${Lt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ht}}}}})}},wt=Pt=>{const{componentCls:Lt}=Pt,Tt=`> ${Lt}-item > ${Lt}-header ${Lt}-arrow svg`;return{[`${Lt}-rtl`]:{[Tt]:{transform:"rotate(180deg)"}}}},Ln=Pt=>{const{componentCls:Lt,headerBg:Tt,paddingXXS:Gt,colorBorder:en}=Pt;return{[`${Lt}-borderless`]:{backgroundColor:Tt,border:0,[`> ${Lt}-item`]:{borderBottom:`1px solid ${en}`},[` + > ${Lt}-item:last-child, + > ${Lt}-item:last-child ${Lt}-header + `]:{borderRadius:0},[`> ${Lt}-item:last-child`]:{borderBottom:0},[`> ${Lt}-item > ${Lt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Lt}-item > ${Lt}-content > ${Lt}-content-box`]:{paddingTop:Gt}}}},un=Pt=>{const{componentCls:Lt,paddingSM:Tt}=Pt;return{[`${Lt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Lt}-item`]:{borderBottom:0,[`> ${Lt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Lt}-content-box`]:{paddingBlock:Tt}}}}}};var Un=(0,pn.Z)("Collapse",Pt=>{const Lt=(0,tt.TS)(Pt,{collapseHeaderPaddingSM:`${Pt.paddingXS}px ${Pt.paddingSM}px`,collapseHeaderPaddingLG:`${Pt.padding}px ${Pt.paddingLG}px`,collapsePanelBorderRadius:Pt.borderRadiusLG});return[st(Lt),Ln(Lt),un(Lt),wt(Lt),(0,jn.Z)(Lt)]},Pt=>({headerPadding:`${Pt.paddingSM}px ${Pt.padding}px`,headerBg:Pt.colorFillAlter,contentPadding:`${Pt.padding}px 16px`,contentBg:Pt.colorBgContainer})),xe=Object.assign(Me.forwardRef((Pt,Lt)=>{const{getPrefixCls:Tt,direction:Gt,collapse:en}=Me.useContext(Jt.E_),{prefixCls:Rn,className:Rt,rootClassName:De,style:We,bordered:dt=!0,ghost:Ot,size:$t,expandIconPosition:Xt="start",children:Kt,expandIcon:on}=Pt,Dt=(0,Ea.Z)(zt=>{var na;return(na=$t!=null?$t:zt)!==null&&na!==void 0?na:"middle"}),At=Tt("collapse",Rn),nn=Tt(),[ht,Ft]=Un(At),Nt=Me.useMemo(()=>Xt==="left"?"start":Xt==="right"?"end":Xt,[Xt]),sn=function(){let zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const na=on?on(zt):Me.createElement(ae.Z,{rotate:zt.isActive?90:void 0});return(0,vn.Tm)(na,()=>({className:Oe()(na.props.className,`${At}-arrow`)}))},yt=Oe()(`${At}-icon-position-${Nt}`,{[`${At}-borderless`]:!dt,[`${At}-rtl`]:Gt==="rtl",[`${At}-ghost`]:!!Ot,[`${At}-${Dt}`]:Dt!=="middle"},en==null?void 0:en.className,Rt,De,Ft),Mt=Object.assign(Object.assign({},(0,En.Z)(nn)),{motionAppear:!1,leavedClassName:`${At}-content-hidden`}),Tn=Me.useMemo(()=>Kt?(0,mt.Z)(Kt).map((zt,na)=>{var Ja,gr;if(!((Ja=zt.props)===null||Ja===void 0)&&Ja.disabled){const ur=(gr=zt.key)!==null&&gr!==void 0?gr:String(na),{disabled:za,collapsible:Or}=zt.props,yr=Object.assign(Object.assign({},(0,ln.Z)(zt.props,["disabled"])),{key:ur,collapsible:Or!=null?Or:za?"disabled":void 0});return(0,vn.Tm)(zt,yr)}return zt}):null,[Kt]);return ht(Me.createElement(ut,Object.assign({ref:Lt,openMotion:Mt},(0,ln.Z)(Pt,["rootClassName"]),{expandIcon:sn,prefixCls:At,className:yt,style:Object.assign(Object.assign({},en==null?void 0:en.style),We)}),Tn))}),{Panel:an}),Ve=xe},5083:function(we,St,ue){"use strict";ue.d(St,{default:function(){return ol}});var ae=ue(56656),x=ue.n(ae),Oe=ue(48736),Ze=ue(27112),ke=ue.n(Ze),et=ue(54449),Ce=ue.n(et),ct=ue(53501),Re=ue.n(ct),Me=ue(36867),lt=ue.n(Me),mt=ue(71912),$e=ue.n(mt),fe=ue(48228),a=ue.n(fe);x().extend(a()),x().extend($e()),x().extend(ke()),x().extend(Ce()),x().extend(Re()),x().extend(lt()),x().extend(function(me,ve){var he=ve.prototype,Ie=he.format;he.format=function(Bt){var ft=(Bt||"").replace("Wo","wo");return Ie.bind(this)(ft)}});var E={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(ve){var he=E[ve];return he||ve.split("_")[0]},y=function(){(0,Oe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return x()()},getFixedDate:function(ve){return x()(ve,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ve){return ve.endOf("month")},getWeekDay:function(ve){var he=ve.locale("en");return he.weekday()+he.localeData().firstDayOfWeek()},getYear:function(ve){return ve.year()},getMonth:function(ve){return ve.month()},getDate:function(ve){return ve.date()},getHour:function(ve){return ve.hour()},getMinute:function(ve){return ve.minute()},getSecond:function(ve){return ve.second()},addYear:function(ve,he){return ve.add(he,"year")},addMonth:function(ve,he){return ve.add(he,"month")},addDate:function(ve,he){return ve.add(he,"day")},setYear:function(ve,he){return ve.year(he)},setMonth:function(ve,he){return ve.month(he)},setDate:function(ve,he){return ve.date(he)},setHour:function(ve,he){return ve.hour(he)},setMinute:function(ve,he){return ve.minute(he)},setSecond:function(ve,he){return ve.second(he)},isAfter:function(ve,he){return ve.isAfter(he)},isValidate:function(ve){return ve.isValid()},locale:{getWeekFirstDay:function(ve){return x()().locale(b(ve)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ve,he){return he.locale(b(ve)).weekday(0)},getWeek:function(ve,he){return he.locale(b(ve)).week()},getShortWeekDays:function(ve){return x()().locale(b(ve)).localeData().weekdaysMin()},getShortMonths:function(ve){return x()().locale(b(ve)).localeData().monthsShort()},format:function(ve,he,Ie){return he.locale(b(ve)).format(Ie)},parse:function(ve,he,Ie){for(var Te=b(ve),Bt=0;Bt1&&(ft=ve.addDate(ft,-7)),ft}function Ft(me,ve,he){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ve){case"year":return he.addYear(me,Ie*10);case"quarter":case"month":return he.addYear(me,Ie);default:return he.addMonth(me,Ie)}}function Nt(me,ve){var he=ve.generateConfig,Ie=ve.locale,Te=ve.format;return typeof Te=="function"?Te(me):he.locale.format(Ie.locale,me,Te)}function sn(me,ve){var he=ve.generateConfig,Ie=ve.locale,Te=ve.formatList;return!me||typeof Te[0]=="function"?null:he.locale.parse(Ie.locale,me,Te)}function yt(me){var ve=me.cellDate,he=me.mode,Ie=me.disabledDate,Te=me.generateConfig;if(!Ie)return!1;var Bt=function(Xn,jt,yn){for(var $n=jt;$n<=yn;){var Ua=void 0;switch(Xn){case"date":{if(Ua=Te.setDate(ve,$n),!Ie(Ua))return!1;break}case"month":{if(Ua=Te.setMonth(ve,$n),!yt({cellDate:Ua,mode:"month",generateConfig:Te,disabledDate:Ie}))return!1;break}case"year":{if(Ua=Te.setYear(ve,$n),!yt({cellDate:Ua,mode:"year",generateConfig:Te,disabledDate:Ie}))return!1;break}}$n+=1}return!0};switch(he){case"date":case"week":return Ie(ve);case"month":{var ft=1,Ht=Te.getDate(Te.getEndDate(ve));return Bt("date",ft,Ht)}case"quarter":{var Yt=Math.floor(Te.getMonth(ve)/3)*3,hn=Yt+2;return Bt("month",Yt,hn)}case"year":return Bt("month",0,11);case"decade":{var sa=Te.getYear(ve),Cn=Math.floor(sa/en)*en,Dn=Cn+en-1;return Bt("year",Cn,Dn)}}}function Mt(me,ve){var he=ve.formatList,Ie=ve.generateConfig,Te=ve.locale;return(0,Tt.Z)(function(){if(!me)return[[""],""];for(var Bt="",ft=[],Ht=0;Ht1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(hn.current),$n){Yt(yn);return}hn.current=requestAnimationFrame(function(){Yt(yn)})}var Cn=Mt(Ht,{formatList:he,generateConfig:Ie,locale:Te}),Dn=(0,Ve.Z)(Cn,2),Yn=Dn[1];function Xn(yn){sa(yn)}function jt(){var yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;sa(null,yn)}return(0,de.useEffect)(function(){jt(!0)},[me]),(0,de.useEffect)(function(){return function(){return cancelAnimationFrame(hn.current)}},[]),[Yn,Xn,jt]}var zt=ue(10228),na=ue(16089),Ja=ue(3300),gr=ue(29194),ur=new Map;function za(me,ve){var he;function Ie(){(0,gr.Z)(me)?ve():he=(0,na.Z)(function(){Ie()})}return Ie(),function(){na.Z.cancel(he)}}function Or(me,ve,he){if(ur.get(me)&&cancelAnimationFrame(ur.get(me)),he<=0){ur.set(me,requestAnimationFrame(function(){me.scrollTop=ve}));return}var Ie=ve-me.scrollTop,Te=Ie/he*10;ur.set(me,requestAnimationFrame(function(){me.scrollTop+=Te,me.scrollTop!==ve&&Or(me,ve,he-10)}))}function yr(me,ve){var he=ve.onLeftRight,Ie=ve.onCtrlLeftRight,Te=ve.onUpDown,Bt=ve.onPageUpDown,ft=ve.onEnter,Ht=me.which,Yt=me.ctrlKey,hn=me.metaKey;switch(Ht){case zt.Z.LEFT:if(Yt||hn){if(Ie)return Ie(-1),!0}else if(he)return he(-1),!0;break;case zt.Z.RIGHT:if(Yt||hn){if(Ie)return Ie(1),!0}else if(he)return he(1),!0;break;case zt.Z.UP:if(Te)return Te(-1),!0;break;case zt.Z.DOWN:if(Te)return Te(1),!0;break;case zt.Z.PAGE_UP:if(Bt)return Bt(-1),!0;break;case zt.Z.PAGE_DOWN:if(Bt)return Bt(1),!0;break;case zt.Z.ENTER:if(ft)return ft(),!0;break}return!1}function or(me,ve,he,Ie){var Te=me;if(!Te)switch(ve){case"time":Te=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Te="gggg-wo";break;case"month":Te="YYYY-MM";break;case"quarter":Te="YYYY-[Q]Q";break;case"year":Te="YYYY";break;default:Te=he?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Te}function fr(me,ve,he){var Ie=me==="time"?8:10,Te=typeof ve=="function"?ve(he.getNow()).length:ve.length;return Math.max(Ie,Te)+2}var lr=null,Wa=new Set;function Gr(me){return!lr&&typeof window!="undefined"&&window.addEventListener&&(lr=function(he){(0,Ja.Z)(Wa).forEach(function(Ie){Ie(he)})},window.addEventListener("mousedown",lr)),Wa.add(me),function(){Wa.delete(me),Wa.size===0&&(window.removeEventListener("mousedown",lr),lr=null)}}function Br(me){var ve=me.target;if(me.composed&&ve.shadowRoot){var he;return((he=me.composedPath)===null||he===void 0?void 0:he.call(me)[0])||ve}return ve}var bt=function(ve){return ve==="month"||ve==="date"?"year":ve},bn=function(ve){return ve==="date"?"month":ve},On=function(ve){return ve==="month"||ve==="date"?"quarter":ve},Ut=function(ve){return ve==="date"?"week":ve},fn={year:bt,month:bn,quarter:On,week:Ut,time:null,date:null};function Hn(me,ve){return me.some(function(he){return he&&he.contains(ve)})}function ma(me){var ve=me.open,he=me.value,Ie=me.isClickOutside,Te=me.triggerOpen,Bt=me.forwardKeyDown,ft=me.onKeyDown,Ht=me.blurToCancel,Yt=me.onSubmit,hn=me.onCancel,sa=me.onFocus,Cn=me.onBlur,Dn=me.changeOnBlur,Yn=(0,de.useState)(!1),Xn=(0,Ve.Z)(Yn,2),jt=Xn[0],yn=Xn[1],$n=(0,de.useState)(!1),Ua=(0,Ve.Z)($n,2),Ba=Ua[0],Ya=Ua[1],Xa=(0,de.useRef)(!1),ha=(0,de.useRef)(!1),La=(0,de.useRef)(!1),ao={onMouseDown:function(){yn(!0),Te(!0)},onKeyDown:function(eo){var Fo=function(){La.current=!0};if(ft(eo,Fo),!La.current){switch(eo.which){case zt.Z.ENTER:{ve?Yt()!==!1&&yn(!0):Te(!0),eo.preventDefault();return}case zt.Z.TAB:{jt&&ve&&!eo.shiftKey?(yn(!1),eo.preventDefault()):!jt&&ve&&!Bt(eo)&&eo.shiftKey&&(yn(!0),eo.preventDefault());return}case zt.Z.ESC:{yn(!0),hn();return}}!ve&&![zt.Z.SHIFT].includes(eo.which)?Te(!0):jt||Bt(eo)}},onFocus:function(eo){yn(!0),Ya(!0),sa&&sa(eo)},onBlur:function(eo){if(Xa.current||!Ie(document.activeElement)){Xa.current=!1;return}Ht?setTimeout(function(){for(var Fo=document,bo=Fo.activeElement;bo&&bo.shadowRoot;)bo=bo.shadowRoot.activeElement;Ie(bo)&&hn()},0):ve&&(Te(!1),ha.current&&Yt()),Ya(!1),Cn==null||Cn(eo)}};return(0,de.useEffect)(function(){ha.current=!1},[ve]),(0,de.useEffect)(function(){ha.current=!0},[he]),(0,de.useEffect)(function(){return Gr(function(Ar){var eo=Br(Ar),Fo=Ie(eo);ve&&(Fo?!Dn&&(!Ba||Fo)&&Te(!1):(Xa.current=!0,(0,na.Z)(function(){Xa.current=!1})))})}),[ao,{focused:Ba,typing:jt}]}function Qe(me,ve){return de.useMemo(function(){return me||(ve?((0,Oe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ve).map(function(he){var Ie=(0,Ve.Z)(he,2),Te=Ie[0],Bt=Ie[1];return{label:Te,value:Bt}})):[])},[me,ve])}var gt=ue(34280);function it(me){var ve=me.valueTexts,he=me.onTextChange,Ie=de.useState(""),Te=(0,Ve.Z)(Ie,2),Bt=Te[0],ft=Te[1],Ht=de.useRef([]);Ht.current=ve;function Yt(sa){ft(sa),he(sa)}function hn(){ft(Ht.current[0])}return(0,gt.Z)(function(){ve.every(function(sa){return sa!==Bt})&&hn()},[ve.join("||")]),[Bt,Yt,hn]}var Vn=de.createContext({}),Gn=Vn,Jn=ue(34666);function Va(me){var ve=me.cellRender,he=me.monthCellRender,Ie=me.dateRender,Te=de.useMemo(function(){if(ve)return ve;if(!(!he&&!Ie))return function(Bt,ft){var Ht=Bt;return Ie&&ft.type==="date"?Ie(Ht,ft.today):he&&ft.type==="month"?he(Ht,ft.locale):ft.originNode}},[ve,he,Ie]);return Te}function Oa(me,ve){for(var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(me);Ie.length=1?he|0:1,ft=me;ft<=ve;ft+=Bt)Te.push({label:Oa(ft,2),value:ft,disabled:(Ie||[]).includes(ft)});return Te}function rn(me){var ve=me.generateConfig,he=me.prefixCls,Ie=me.operationRef,Te=me.activeColumnIndex,Bt=me.value,ft=me.showHour,Ht=me.showMinute,Yt=me.showSecond,hn=me.use12Hours,sa=me.hourStep,Cn=sa===void 0?1:sa,Dn=me.minuteStep,Yn=Dn===void 0?1:Dn,Xn=me.secondStep,jt=Xn===void 0?1:Xn,yn=me.disabledHours,$n=me.disabledMinutes,Ua=me.disabledSeconds,Ba=me.disabledTime,Ya=me.hideDisabledOptions,Xa=me.onSelect,ha=me.cellRender,La=me.locale,ao=[],Ar="".concat(he,"-content"),eo="".concat(he,"-time-panel"),Fo,bo=Bt?ve.getHour(Bt):-1,No=bo,dl=Bt?ve.getMinute(Bt):-1,xo=Bt?ve.getSecond(Bt):-1,Yr=ve.getNow(),mo=de.useMemo(function(){if(Ba){var So=Ba(Yr);return[So.disabledHours,So.disabledMinutes,So.disabledSeconds]}return[yn,$n,Ua]},[yn,$n,Ua,Ba,Yr]),Go=(0,Ve.Z)(mo,3),Yo=Go[0],Ro=Go[1],ll=Go[2],qo=Ca(0,23,Cn,Yo&&Yo()),Uo=(0,Tt.Z)(function(){return qo},qo,xn);hn&&(Fo=No>=12,No%=12);var Ul=de.useMemo(function(){if(!hn)return[!1,!1];var So=[!0,!0];return Uo.forEach(function(ml){var ul=ml.disabled,Ml=ml.value;ul||(Ml>=12?So[1]=!1:So[0]=!1)}),So},[hn,Uo]),pl=(0,Ve.Z)(Ul,2),io=pl[0],gl=pl[1],Cl=de.useMemo(function(){return hn?Uo.filter(Fo?function(So){return So.value>=12}:function(So){return So.value<12}).map(function(So){var ml=So.value%12,ul=ml===0?"12":Oa(ml,2);return(0,xe.Z)((0,xe.Z)({},So),{},{label:ul,value:ml})}):Uo},[hn,Fo,Uo]),Zl=Ca(0,59,Yn,Ro&&Ro(bo)),$l=Ca(0,59,jt,ll&&ll(bo,dl)),Ol=Vt({value:Bt,generateConfig:ve,disabledMinutes:Ro,disabledSeconds:ll,minutes:Zl,seconds:$l,use12Hours:hn});Ie.current={onUpDown:function(ml){var ul=ao[Te];if(ul)for(var Ml=ul.units.findIndex(function(Ru){return Ru.value===ul.value}),Jl=ul.units.length,Pl=1;Pl2&&arguments[2]!==void 0?arguments[2]:!1;(el===yn||fl)&&(nu(tr),ao&&ao(tr),Ol&&Ol(tr,so),Ar&&!At(Yt,tr,tu)&&!(Yn!=null&&Yn(tr))&&Ar(tr))},Kl=function(tr){if(Eu.includes(el)){var so,fl,Du=el==="date";switch(tr===zt.Z.PAGE_UP||tr===zt.Z.PAGE_DOWN?fl=Du?Yt.addMonth:Yt.addYear:fl=Du?Yt.addDate:Yt.addMonth,tr){case zt.Z.LEFT:case zt.Z.PAGE_UP:so=fl(jl,-1);break;case zt.Z.RIGHT:case zt.Z.PAGE_DOWN:so=fl(jl,1);break;case zt.Z.UP:case zt.Z.DOWN:so=fl(jl,Number("".concat(tr===zt.Z.UP?"-":"").concat(Du?Rt:ta)));break}if(so)return!(Yn!=null&&Yn(so))}return!0},ii=function(tr){if(Pl.current&&Pl.current.onKeyDown){var so=!0,fl=tr.which;if([zt.Z.LEFT,zt.Z.RIGHT,zt.Z.UP,zt.Z.DOWN,zt.Z.PAGE_UP,zt.Z.PAGE_DOWN,zt.Z.ENTER].includes(fl)&&(tr.preventDefault(),fl!==zt.Z.ENTER&&Ua===0&&(so=Kl(fl))),so)return Pl.current.onKeyDown(tr)}return(0,Oe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},tl=function(tr){Pl.current&&Pl.current.onBlur&&Pl.current.onBlur(tr)};$l&&ul!=="right"&&($l.current={onKeyDown:ii,onClose:function(){Pl.current&&Pl.current.onClose&&Pl.current.onClose()}}),de.useEffect(function(){hn&&!Dl.current&&Ku(hn)},[hn]),de.useEffect(function(){Dl.current=!1},[]);var uu,ku=Va({cellRender:Ul,monthCellRender:Uo,dateRender:qo}),Ko=(0,xe.Z)((0,xe.Z)({},me),{},{cellRender:ku,operationRef:Pl,prefixCls:Te,viewDate:jl,value:tu,onViewDateChange:du,sourceMode:yu,onPanelChange:Tu,disabledDate:Yn});switch(delete Ko.onChange,delete Ko.onSelect,el){case"decade":uu=de.createElement(Kr,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;case"year":uu=de.createElement(Io,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;case"month":uu=de.createElement(_o,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;case"quarter":uu=de.createElement(ar,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;case"week":uu=de.createElement(ia,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;case"time":delete Ko.showTime,uu=de.createElement(zo,(0,ce.Z)({},Ko,(0,Jn.Z)(Ya)==="object"?Ya:null,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}));break;default:Ya?uu=de.createElement(Cr,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}})):uu=de.createElement(xt,(0,ce.Z)({},Ko,{onSelect:function(tr,so){du(tr),Bl(tr,so)}}))}var Ou,Cu,bu=function(){var tr=Yt.getNow(),so=vr(Yt.getHour(tr),Yt.getMinute(tr),Yt.getSecond(tr),io?mo:1,gl?Yo:1,Cl?ll:1),fl=cn(Yt,tr,so[0],so[1],so[2]);Bl(fl,"submit")};eu||(Ou=il(Te,el,ha),Ya&&el!=="date"?Cu=null:Cu=$o({prefixCls:Te,components:dl,needConfirmButton:pl,okDisabled:!tu||Yn&&Yn(tu),locale:Ht,showNow:Ba,onNow:pl&&bu,onOk:function(){tu&&(Bl(tu,"submit",!0),No&&No(tu))}}));var Si;if(Xa&&el==="date"&&yn==="date"&&!Ya){var ti=Yt.getNow(),Ii="".concat(Te,"-today-btn"),si=Yn&&Yn(ti);Si=de.createElement("a",{className:tt()(Ii,si&&"".concat(Ii,"-disabled")),"aria-disabled":si,onClick:function(){si||Bl(ti,"mouse",!0)}},Ht.today)}return de.createElement(Gn.Provider,{value:(0,xe.Z)((0,xe.Z)({},Zl),{},{mode:el,hideHeader:"hideHeader"in me?La:Zl.hideHeader,hidePrevBtn:ml&&ul==="right",hideNextBtn:ml&&ul==="left"})},de.createElement("div",{tabIndex:Ua,className:tt()("".concat(Te,"-panel"),Bt,(ve={},(0,Le.Z)(ve,"".concat(Te,"-panel-has-range"),Ml&&Ml[0]&&Ml[1]),(0,Le.Z)(ve,"".concat(Te,"-panel-has-range-hover"),Jl&&Jl[0]&&Jl[1]),(0,Le.Z)(ve,"".concat(Te,"-panel-rtl"),xo==="rtl"),ve)),style:ft,onKeyDown:ii,onBlur:tl,onMouseDown:Fo},uu,Ou||Cu||Si?de.createElement("div",{className:"".concat(Te,"-footer")},Ou,Cu,Si):null))}var Ql=Pu,_u=ue(35593),sl={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function zu(me){var ve,he=me.prefixCls,Ie=me.popupElement,Te=me.popupStyle,Bt=me.visible,ft=me.dropdownClassName,Ht=me.dropdownAlign,Yt=me.transitionName,hn=me.getPopupContainer,sa=me.children,Cn=me.range,Dn=me.popupPlacement,Yn=me.direction,Xn="".concat(he,"-dropdown"),jt=function(){return Dn!==void 0?Dn:Yn==="rtl"?"bottomRight":"bottomLeft"};return de.createElement(_u.Z,{showAction:[],hideAction:[],popupPlacement:jt(),builtinPlacements:sl,prefixCls:Xn,popupTransitionName:Yt,popup:Ie,popupAlign:Ht,popupVisible:Bt,popupClassName:tt()(ft,(ve={},(0,Le.Z)(ve,"".concat(Xn,"-range"),Cn),(0,Le.Z)(ve,"".concat(Xn,"-rtl"),Yn==="rtl"),ve)),popupStyle:Te,getPopupContainer:hn},sa)}var Tl=zu;function lu(me){var ve=me.prefixCls,he=me.presets,Ie=me.onClick,Te=me.onHover;return he.length?de.createElement("div",{className:"".concat(ve,"-presets")},de.createElement("ul",null,he.map(function(Bt,ft){var Ht=Bt.label,Yt=Bt.value;return de.createElement("li",{key:ft,onClick:function(){return Ie==null?void 0:Ie(wa(Yt))},onMouseEnter:function(){return Te==null?void 0:Te(wa(Yt))},onMouseLeave:function(){return Te==null?void 0:Te(null)}},Ht)}))):null}function Gu(me){var ve=me.picker,he=me.disabledHours,Ie=me.disabledMinutes,Te=me.disabledSeconds;ve==="time"&&(he||Ie||Te)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Nu(me,ve,he){var Ie=(0,Jn.Z)(ve)==="object"?ve.clearIcon:he;return Ie||de.createElement("span",{className:"".concat(me,"-clear-btn")})}function kl(me){var ve,he=me,Ie=he.prefixCls,Te=Ie===void 0?"rc-picker":Ie,Bt=he.id,ft=he.name,Ht=he.tabIndex,Yt=he.style,hn=he.className,sa=he.dropdownClassName,Cn=he.dropdownAlign,Dn=he.popupStyle,Yn=he.transitionName,Xn=he.generateConfig,jt=he.locale,yn=he.inputReadOnly,$n=he.allowClear,Ua=he.autoFocus,Ba=he.showTime,Ya=he.picker,Xa=Ya===void 0?"date":Ya,ha=he.format,La=he.use12Hours,ao=he.value,Ar=he.defaultValue,eo=he.presets,Fo=he.open,bo=he.defaultOpen,No=he.defaultOpenValue,dl=he.suffixIcon,xo=he.clearIcon,Yr=he.disabled,mo=he.disabledDate,Go=he.placeholder,Yo=he.getPopupContainer,Ro=he.pickerRef,ll=he.panelRender,qo=he.onChange,Uo=he.onOpenChange,Ul=he.onFocus,pl=he.onBlur,io=he.onMouseDown,gl=he.onMouseUp,Cl=he.onMouseEnter,Zl=he.onMouseLeave,$l=he.onContextMenu,Ol=he.onClick,eu=he.onKeyDown,Su=he.onSelect,So=he.direction,ml=he.autoComplete,ul=ml===void 0?"off":ml,Ml=he.inputRender,Jl=he.changeOnBlur,Pl=de.useRef(null),Dl=Xa==="date"&&!!Ba||Xa==="time",Ru=Qe(eo),Lu=Na(or(ha,Xa,Ba,La)),tu=de.useRef(null),nu=de.useRef(null),Fu=de.useRef(null),Oi=(0,Pt.Z)(null,{value:ao,defaultValue:Ar}),jl=(0,Ve.Z)(Oi,2),Ku=jl[0],du=jl[1],Mi=de.useState(Ku),ei=(0,Ve.Z)(Mi,2),gu=ei[0],el=ei[1],mu=de.useRef(null),Hu=(0,Pt.Z)(!1,{value:Fo,defaultValue:bo,postState:function(xr){return Yr?!1:xr},onChange:function(xr){Uo&&Uo(xr),!xr&&mu.current&&mu.current.onClose&&mu.current.onClose()}}),Yu=(0,Ve.Z)(Hu,2),yu=Yu[0],fu=Yu[1],Tu=Mt(gu,{formatList:Lu,generateConfig:Xn,locale:jt}),Bl=(0,Ve.Z)(Tu,2),Kl=Bl[0],ii=Bl[1],tl=it({valueTexts:Kl,onTextChange:function(xr){var Il=sn(xr,{locale:jt,formatList:Lu,generateConfig:Xn});Il&&(!mo||!mo(Il))&&el(Il)}}),uu=(0,Ve.Z)(tl,3),ku=uu[0],Ko=uu[1],Ou=uu[2],Cu=function(xr){el(xr),du(xr),qo&&!At(Xn,Ku,xr)&&qo(xr,xr?Nt(xr,{generateConfig:Xn,locale:jt,format:Lu[0]}):"")},bu=function(xr){Yr&&xr||fu(xr)},Si=function(xr){return yu&&mu.current&&mu.current.onKeyDown?mu.current.onKeyDown(xr):((0,Oe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ti=function(){for(var xr=arguments.length,Il=new Array(xr),vl=0;vlDn(hn);case"month":return Cn(jt)>Cn(hn);case"week":return sa(jt)>sa(hn);default:return!Kt(Ht,jt,hn)&&Ht.isAfter(jt,hn)}return!1},[Bt,ft[1],hn,ve]),Xn=de.useCallback(function(jt){if(ft[1]||Bt&&Bt(jt))return!0;if(ft[0]&&Yt)return!Kt(Ht,jt,hn)&&Ht.isAfter(Yt,jt);if(!ve&&Yt)switch(he){case"quarter":return Dn(jt)0&&arguments[0]!==void 0?arguments[0]:!1,qa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zr=null;Wl&&ni&&ni[0]&&ni[1]&&jt.isAfter(ni[1],ni[0])&&(Zr=ni);var ko=La;if(La&&(0,Jn.Z)(La)==="object"&&La.defaultValue){var Fl=La.defaultValue;ko=(0,xe.Z)((0,xe.Z)({},La),{},{defaultValue:ya(Fl,to)||void 0})}return de.createElement(Kn.Provider,{value:{inRange:!0,panelPosition:To,rangedValue:ac||qr,hoverRangedValue:Zr}},de.createElement(Ql,(0,ce.Z)({},me,qa,{cellRender:Ns,showTime:ko,mode:Du[to],generateConfig:jt,style:void 0,direction:jl,disabledDate:to===0?Ni:di,disabledTime:function(Qu){return mo?mo(Qu,to===0?"start":"end"):!1},className:tt()((0,Le.Z)({},"".concat(ft,"-panel-focused"),to===0?!Tc:!wd)),value:ya(qr,to),locale:yn,tabIndex:-1,onPanelChange:function(Qu,mi){to===0&&rc(!0),to===1&&Ls(!0),ts(Sn(Du,mi,to),Sn(qr,Qu,to));var Ju=Qu;To==="right"&&Du[to]===mi&&(Ju=Ft(Ju,mi,jt,-1)),ti(Ju,to)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:to===0?ya(qr,1):ya(qr,0)})))}var ri=0,Vc=0;if(to&&Hu.current&&yu.current&&mu.current&&Bl.current){ri=Hu.current.offsetWidth+yu.current.offsetWidth;var Md=Bl.current.offsetLeft>ri?Bl.current.offsetLeft-ri:Bl.current.offsetLeft,zc=mu.current.offsetWidth,ss=Bl.current.offsetWidth;zc&&ss&&ri>zc-ss-(jl==="rtl"?0:Md)&&(Vc=ri)}var Gc=jl==="rtl"?{right:ri}:{left:ri};function Id(){var To,qa=il(ft,Du[to],Ol),Zr=$o({prefixCls:ft,components:Fu,needConfirmButton:gu,okDisabled:!ya(qr,to)||Yr&&Yr(qr[to]),locale:yn,onOk:function(){var Xu=ya(qr,to);Xu&&(vl(qr,to),tu==null||tu(qr),Mu(!1,to,"confirm"))}});if(ha!=="time"&&!La){var ko=Si(to),Fl=Ft(ko,ha,jt),gi=Du[to],Qu=gi===ha,mi=Rs(Qu?"left":!1,{pickerValue:ko,onPickerValueChange:function(Xu){ti(Xu,to)}}),Ju=Rs("right",{pickerValue:Fl,onPickerValueChange:function(Xu){ti(Ft(Xu,ha,jt,-1),to)}});jl==="rtl"?To=de.createElement(de.Fragment,null,Ju,Qu&&mi):To=de.createElement(de.Fragment,null,mi,Qu&&Ju)}else To=Rs();var Ji=de.createElement("div",{className:"".concat(ft,"-panel-layout")},de.createElement(lu,{prefixCls:ft,presets:Wc,onClick:function(Xu){vl(Xu,null),Mu(!1,to,"preset")},onHover:function(Xu){Sd(Xu)}}),de.createElement("div",null,de.createElement("div",{className:"".concat(ft,"-panels")},To),(qa||Zr)&&de.createElement("div",{className:"".concat(ft,"-footer")},qa,Zr)));return ll&&(Ji=ll(Ji)),de.createElement("div",{className:"".concat(ft,"-panel-container"),style:{marginLeft:Vc},ref:mu,onMouseDown:function(Xu){Xu.preventDefault()}},Ji)}var cc=de.createElement("div",{className:tt()("".concat(ft,"-range-wrapper"),"".concat(ft,"-").concat(ha,"-range-wrapper")),style:{minWidth:nl}},de.createElement("div",{ref:Bl,className:"".concat(ft,"-range-arrow"),style:Gc}),Id()),Hl;io&&(Hl=de.createElement("span",{className:"".concat(ft,"-suffix"),onMouseDown:function(qa){qa.preventDefault()}},io));var Nd=Nu(ft,pl,gl),Uc=de.createElement("span",{onMouseDown:function(qa){qa.preventDefault(),qa.stopPropagation()},onMouseUp:function(qa){qa.preventDefault(),qa.stopPropagation();var Zr=Ko;tl[0]||(Zr=Sn(Zr,null,0)),tl[1]||(Zr=Sn(Zr,null,1)),vl(Zr,null),Mu(!1,to,"clear")},className:"".concat(ft,"-clear"),role:"button"},Nd),Rd=pl&&(ya(Ko,0)&&!tl[0]||ya(Ko,1)&&!tl[1]),cs={size:fr(ha,Kl[0],jt)},ds=0,Ts=0;Hu.current&&Yu.current&&yu.current&&(to===0?Ts=Hu.current.offsetWidth:(ds=ri,Ts=Yu.current.offsetWidth));var ks=jl==="rtl"?{right:ds}:{left:ds},Td=function(qa,Zr){var ko=Sn(qr,qa,to);if(Zr==="submit"||Zr!=="key"&&!gu){vl(ko,to),to===0?rc():Ls();var Fl=to===0?1:0;tl[Fl]?Mu(!1,!1,"confirm"):Mu(!1,to,"confirm")}else tr(ko)};return de.createElement(Gn.Provider,{value:{operationRef:ii,hideHeader:ha==="time",onDateMouseEnter:Nc,onDateMouseLeave:is,hideRanges:!0,onSelect:Td,open:Wl}},de.createElement(Tl,{visible:Wl,popupElement:cc,popupStyle:sa,prefixCls:ft,dropdownClassName:Cn,dropdownAlign:Yn,getPopupContainer:Xn,transitionName:Dn,range:!0,direction:jl},de.createElement("div",(0,ce.Z)({ref:el,className:tt()(ft,"".concat(ft,"-range"),hn,(ve={},(0,Le.Z)(ve,"".concat(ft,"-disabled"),tl[0]&&tl[1]),(0,Le.Z)(ve,"".concat(ft,"-focused"),to===0?ai:Zc),(0,Le.Z)(ve,"".concat(ft,"-rtl"),jl==="rtl"),ve)),style:Yt,onClick:ic,onMouseEnter:Dl,onMouseLeave:Ru,onMouseDown:Sl,onMouseUp:Pl},(0,Lt.Z)(me,{aria:!0,data:!0})),de.createElement("div",{className:tt()("".concat(ft,"-input"),(he={},(0,Le.Z)(he,"".concat(ft,"-input-active"),to===0),(0,Le.Z)(he,"".concat(ft,"-input-placeholder"),!!xs),he)),ref:Hu},de.createElement("input",(0,ce.Z)({id:Ht,disabled:tl[0],readOnly:Zl||typeof Kl[0]=="function"||!Tc,value:xs||as,onChange:function(qa){yi(qa.target.value)},autoFocus:Ua,placeholder:ya($n,0)||"",ref:fu},Rc,cs,{autoComplete:Mi}))),de.createElement("div",{className:"".concat(ft,"-range-separator"),ref:yu},eo),de.createElement("div",{className:tt()("".concat(ft,"-input"),(Ie={},(0,Le.Z)(Ie,"".concat(ft,"-input-active"),to===1),(0,Le.Z)(Ie,"".concat(ft,"-input-placeholder"),!!Yi),Ie)),ref:Yu},de.createElement("input",(0,ce.Z)({disabled:tl[1],readOnly:Zl||typeof Kl[0]=="function"||!wd,value:Yi||os,onChange:function(qa){rl(qa.target.value)},placeholder:ya($n,1)||"",ref:Tu},xd,cs,{autoComplete:Mi}))),de.createElement("div",{className:"".concat(ft,"-active-bar"),style:(0,xe.Z)((0,xe.Z)({},ks),{},{width:Ts,position:"absolute"})}),Hl,Rd&&Uc)))}var cl=function(me){(0,un.Z)(he,me);var ve=(0,Un.Z)(he);function he(){var Ie;(0,st.Z)(this,he);for(var Te=arguments.length,Bt=new Array(Te),ft=0;ft{const{lineHeight:Te}=me,Bt=Math.floor(he*Te)+2,ft=Math.max((ve-Bt)/2,0),Ht=Math.max(ve-Bt-ft,0);return{padding:`${ft}px ${Ie}px ${Ht}px`}},cd=me=>{const{componentCls:ve,pickerCellCls:he,pickerCellInnerCls:Ie,cellHeight:Te,motionDurationSlow:Bt,borderRadiusSM:ft,motionDurationMid:Ht,cellHoverBg:Yt,lineWidth:hn,lineType:sa,colorPrimary:Cn,cellActiveWithRangeBg:Dn,colorTextLightSolid:Yn,controlHeightSM:Xn,cellRangeBorderColor:jt,pickerCellBorderGap:yn,cellHoverWithRangeBg:$n,cellWidth:Ua,colorTextDisabled:Ba,cellBgDisabled:Ya}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Te,transform:"translateY(-50%)",transition:`all ${Bt}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Te,height:Te,lineHeight:`${Te}px`,borderRadius:ft,transition:`background ${Ht}, border ${Ht}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${he}-in-view), + &:hover:not(${he}-selected):not(${he}-range-start):not(${he}-range-end):not(${he}-range-hover-start):not(${he}-range-hover-end)`]:{[Ie]:{background:Yt}},[`&-in-view${he}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${hn}px ${sa} ${Cn}`,borderRadius:ft,content:'""'}},[`&-in-view${he}-in-range`]:{position:"relative","&::before":{background:Dn}},[`&-in-view${he}-selected ${Ie}, + &-in-view${he}-range-start ${Ie}, + &-in-view${he}-range-end ${Ie}`]:{color:Yn,background:Cn},[`&-in-view${he}-range-start:not(${he}-range-start-single), + &-in-view${he}-range-end:not(${he}-range-end-single)`]:{"&::before":{background:Dn}},[`&-in-view${he}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${he}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${he}-range-hover-start:not(${he}-in-range):not(${he}-range-start):not(${he}-range-end), + &-in-view${he}-range-hover-end:not(${he}-in-range):not(${he}-range-start):not(${he}-range-end), + &-in-view${he}-range-hover-start${he}-range-start-single, + &-in-view${he}-range-hover-start${he}-range-start${he}-range-end${he}-range-end-near-hover, + &-in-view${he}-range-hover-end${he}-range-start${he}-range-end${he}-range-start-near-hover, + &-in-view${he}-range-hover-end${he}-range-end-single, + &-in-view${he}-range-hover:not(${he}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Xn,borderTop:`${hn}px dashed ${jt}`,borderBottom:`${hn}px dashed ${jt}`,transform:"translateY(-50%)",transition:`all ${Bt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:yn},[`&-in-view${he}-in-range${he}-range-hover::before, + &-in-view${he}-in-range${he}-range-hover-start::before, + &-in-view${he}-in-range${he}-range-hover-end::before, + &-in-view${he}-range-start${he}-range-hover::before, + &-in-view${he}-range-end${he}-range-hover::before, + &-in-view${he}-range-start:not(${he}-range-start-single)${he}-range-hover-start::before, + &-in-view${he}-range-end:not(${he}-range-end-single)${he}-range-hover-end::before, + ${ve}-panel + > :not(${ve}-date-panel) + &-in-view${he}-in-range${he}-range-hover-start::before, + ${ve}-panel + > :not(${ve}-date-panel) + &-in-view${he}-in-range${he}-range-hover-end::before`]:{background:$n},[`&-in-view${he}-range-start:not(${he}-range-start-single):not(${he}-range-end) ${Ie}`]:{borderStartStartRadius:ft,borderEndStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${he}-range-end:not(${he}-range-end-single):not(${he}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft},[`&-range-hover${he}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${he}-range-hover:first-child::after, + tr > &-in-view${he}-range-hover-end:first-child::after, + &-in-view${he}-start${he}-range-hover-edge-start${he}-range-hover-edge-start-near-range::after, + &-in-view${he}-range-hover-edge-start:not(${he}-range-hover-edge-start-near-range)::after, + &-in-view${he}-range-hover-start::after`]:{insetInlineStart:(Ua-Te)/2,borderInlineStart:`${hn}px dashed ${jt}`,borderStartStartRadius:ft,borderEndStartRadius:ft},[`tr > &-in-view${he}-range-hover:last-child::after, + tr > &-in-view${he}-range-hover-start:last-child::after, + &-in-view${he}-end${he}-range-hover-edge-end${he}-range-hover-edge-end-near-range::after, + &-in-view${he}-range-hover-edge-end:not(${he}-range-hover-edge-end-near-range)::after, + &-in-view${he}-range-hover-end::after`]:{insetInlineEnd:(Ua-Te)/2,borderInlineEnd:`${hn}px dashed ${jt}`,borderStartEndRadius:ft,borderEndEndRadius:ft},"&-disabled":{color:Ba,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Ya}},[`&-disabled${he}-today ${Ie}::before`]:{borderColor:Ba}}},Hs=me=>{const{componentCls:ve,pickerCellCls:he,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Te,pickerControlIconSize:Bt,cellWidth:ft,paddingSM:Ht,paddingXS:Yt,paddingXXS:hn,colorBgContainer:sa,lineWidth:Cn,lineType:Dn,borderRadiusLG:Yn,colorPrimary:Xn,colorTextHeading:jt,colorSplit:yn,pickerControlIconBorderWidth:$n,colorIcon:Ua,textHeight:Ba,motionDurationMid:Ya,colorIconHover:Xa,fontWeightStrong:ha,cellHeight:La,pickerCellPaddingVertical:ao,colorTextDisabled:Ar,colorText:eo,fontSize:Fo,cellHoverWithRangeBg:bo,motionDurationSlow:No,withoutTimeCellHeight:dl,pickerQuarterPanelContentHeight:xo,colorLink:Yr,colorLinkActive:mo,colorLinkHover:Go,cellRangeBorderColor:Yo,borderRadiusSM:Ro,colorTextLightSolid:ll,cellHoverBg:qo,timeColumnHeight:Uo,timeColumnWidth:Ul,timeCellHeight:pl,controlItemBgActive:io,marginXXS:gl,pickerDatePanelPaddingHorizontal:Cl}=me,Zl=ft*7+Cl*2,$l=(Zl-Yt*2)/3-Te-Ht,Ol=(Zl-Yt*2)/4-Te;return{[ve]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:sa,border:`${Cn}px ${Dn} ${yn}`,borderRadius:Yn,outline:"none","&-focused":{borderColor:Xn},"&-rtl":{direction:"rtl",[`${ve}-prev-icon, + ${ve}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ve}-next-icon, + ${ve}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Zl},"&-header":{display:"flex",padding:`0 ${Yt}px`,color:jt,borderBottom:`${Cn}px ${Dn} ${yn}`,"> *":{flex:"none"},button:{padding:0,color:Ua,lineHeight:`${Ba}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ya}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Fo,"&:hover":{color:Xa}},"&-view":{flex:"auto",fontWeight:ha,lineHeight:`${Ba}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Yt},"&:hover":{color:Xn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Bt,height:Bt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Bt,height:Bt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Bt/2),insetInlineStart:Math.ceil(Bt/2),display:"inline-block",width:Bt,height:Bt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:La,fontWeight:"normal"},th:{height:La+ao*2,color:eo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ao}px 0`,color:Ar,cursor:"pointer","&-in-view":{color:eo}},cd(me)),[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start ${Ie}, + &-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:bo,transition:`all ${No}`,content:'""'}},[`&-date-panel + ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start + ${Ie}::after`]:{insetInlineEnd:-(ft-La)/2,insetInlineStart:0},[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(ft-La)/2},[`&-range-hover${ve}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-content`]:{height:dl*4},[Ie]:{padding:`0 ${Yt}px`}},"&-quarter-panel":{[`${ve}-content`]:{height:xo},[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:Ol,borderInlineStart:`${Cn}px dashed ${Yo}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:Ol,borderInlineEnd:`${Cn}px dashed ${Yo}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:Ol,borderInlineEnd:`${Cn}px dashed ${Yo}`,[`${ve}-panel-rtl &`]:{insetInlineStart:Ol,borderInlineStart:`${Cn}px dashed ${Yo}`}}},[`&-panel ${ve}-footer`]:{borderTop:`${Cn}px ${Dn} ${yn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ba-2*Cn}px`,textAlign:"center","&-extra":{padding:`0 ${Ht}px`,lineHeight:`${Ba-2*Cn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Cn}px ${Dn} ${yn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Yr,"&:hover":{color:Go},"&:active":{color:mo},[`&${ve}-today-btn-disabled`]:{color:Ar,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${Yt/2}px`},[`${ve}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-body`]:{padding:`0 ${Yt}px`},[Ie]:{width:Te},[`${ve}-cell-range-hover-start::after`]:{borderStartStartRadius:Ro,borderEndStartRadius:Ro,borderStartEndRadius:0,borderEndEndRadius:0,[`${ve}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ro,borderEndEndRadius:Ro}},[`${ve}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ro,borderEndEndRadius:Ro,[`${ve}-panel-rtl &`]:{borderStartStartRadius:Ro,borderEndStartRadius:Ro,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:$l,borderInlineStart:`${Cn}px dashed ${Yo}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:$l,borderInlineEnd:`${Cn}px dashed ${Yo}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:$l,borderInlineEnd:`${Cn}px dashed ${Yo}`,[`${ve}-panel-rtl &`]:{insetInlineStart:$l,borderInlineStart:`${Cn}px dashed ${Yo}`}}},"&-week-panel":{[`${ve}-body`]:{padding:`${Yt}px ${Ht}px`},[`${ve}-cell`]:{[`&:hover ${Ie}, + &-selected ${Ie}, + ${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ya}`},"&:first-child:before":{borderStartStartRadius:Ro,borderEndStartRadius:Ro},"&:last-child:before":{borderStartEndRadius:Ro,borderEndEndRadius:Ro}},"&:hover td":{"&:before":{background:qo}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${he}`]:{"&:before":{background:Xn},[`&${ve}-cell-week`]:{color:new qi.C(ll).setAlpha(.5).toHexString()},[Ie]:{color:ll}}},"&-range-hover td:before":{background:io}}},"&-date-panel":{[`${ve}-body`]:{padding:`${Yt}px ${Cl}px`},[`${ve}-content`]:{width:ft*7,th:{width:ft,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ve}-time-panel`]:{borderInlineStart:`${Cn}px ${Dn} ${yn}`},[`${ve}-date-panel, + ${ve}-time-panel`]:{transition:`opacity ${No}`},"&-active":{[`${ve}-date-panel, + ${ve}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ve}-content`]:{display:"flex",flex:"auto",height:Uo},"&-column":{flex:"1 0 auto",width:Ul,margin:`${hn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ya}`,overflowX:"hidden","&::after":{display:"block",height:Uo-pl,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Cn}px ${Dn} ${yn}`},"&-active":{background:new qi.C(io).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ve}-time-panel-cell`]:{marginInline:gl,[`${ve}-time-panel-cell-inner`]:{display:"block",width:Ul-2*gl,height:pl,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ul-pl)/2,color:eo,lineHeight:`${pl}px`,borderRadius:Ro,cursor:"pointer",transition:`background ${Ya}`,"&:hover":{background:qo}},"&-selected":{[`${ve}-time-panel-cell-inner`]:{background:io}},"&-disabled":{[`${ve}-time-panel-cell-inner`]:{color:Ar,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ve}-time-panel-column:after`]:{height:Uo-pl+hn*2}}}},dd=me=>{const{componentCls:ve,colorBgContainer:he,colorError:Ie,errorActiveShadow:Te,colorWarning:Bt,warningActiveShadow:ft}=me;return{[`${ve}:not(${ve}-disabled)`]:{[`&${ve}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:he,borderColor:Ie},[`&${ve}-focused, &:focus`]:Object.assign({},(0,Gl.M1)((0,Ks.TS)(me,{activeBorderColor:Ie,activeShadow:Te}))),[`${ve}-active-bar`]:{background:Ie}},[`&${ve}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:he,borderColor:Bt},[`&${ve}-focused, &:focus`]:Object.assign({},(0,Gl.M1)((0,Ks.TS)(me,{activeBorderColor:Bt,activeShadow:ft}))),[`${ve}-active-bar`]:{background:Bt}}}}},gd=me=>{const{componentCls:ve,antCls:he,controlHeight:Ie,fontSize:Te,paddingInline:Bt,colorBgContainer:ft,lineWidth:Ht,lineType:Yt,colorBorder:hn,borderRadius:sa,motionDurationMid:Cn,colorBgContainerDisabled:Dn,colorTextDisabled:Yn,colorTextPlaceholder:Xn,controlHeightLG:jt,fontSizeLG:yn,controlHeightSM:$n,paddingInlineSM:Ua,paddingXS:Ba,marginXS:Ya,colorTextDescription:Xa,lineWidthBold:ha,lineHeight:La,colorPrimary:ao,motionDurationSlow:Ar,zIndexPopup:eo,paddingXXS:Fo,paddingSM:bo,textHeight:No,cellActiveWithRangeBg:dl,colorPrimaryBorder:xo,sizePopupArrow:Yr,borderRadiusXS:mo,borderRadiusOuter:Go,colorBgElevated:Yo,borderRadiusLG:Ro,boxShadowSecondary:ll,borderRadiusSM:qo,colorSplit:Uo,cellHoverBg:Ul,presetsWidth:pl,presetsMaxWidth:io,boxShadowPopoverArrow:gl,colorTextQuaternary:Cl}=me;return[{[ve]:Object.assign(Object.assign(Object.assign({},(0,Ei.Wf)(me)),Ss(me,Ie,Te,Bt)),{position:"relative",display:"inline-flex",alignItems:"center",background:ft,lineHeight:1,border:`${Ht}px ${Yt} ${hn}`,borderRadius:sa,transition:`border ${Cn}, box-shadow ${Cn}`,"&:hover, &-focused":Object.assign({},(0,Gl.pU)(me)),"&-focused":Object.assign({},(0,Gl.M1)(me)),[`&${ve}-disabled`]:{background:Dn,borderColor:hn,cursor:"not-allowed",[`${ve}-suffix`]:{color:Cl}},[`&${ve}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ve}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Gl.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ve}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Xn}}},"&-large":Object.assign(Object.assign({},Ss(me,jt,yn,Bt)),{[`${ve}-input > input`]:{fontSize:yn}}),"&-small":Object.assign({},Ss(me,$n,Te,Ua)),[`${ve}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ba/2,color:Yn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ya}}},[`${ve}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Yn,lineHeight:1,background:ft,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Cn}, color ${Cn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Xa}},[`${ve}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:yn,color:Yn,fontSize:yn,verticalAlign:"top",cursor:"default",[`${ve}-focused &`]:{color:Xa},[`${ve}-range-separator &`]:{[`${ve}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ve}-clear`]:{insetInlineEnd:Bt},"&:hover":{[`${ve}-clear`]:{opacity:1}},[`${ve}-active-bar`]:{bottom:-Ht,height:ha,marginInlineStart:Bt,background:ao,opacity:0,transition:`all ${Ar} ease-out`,pointerEvents:"none"},[`&${ve}-focused`]:{[`${ve}-active-bar`]:{opacity:1}},[`${ve}-range-separator`]:{alignItems:"center",padding:`0 ${Ba}px`,lineHeight:1},[`&${ve}-small`]:{[`${ve}-clear`]:{insetInlineEnd:Ua},[`${ve}-active-bar`]:{marginInlineStart:Ua}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ei.Wf)(me)),Hs(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:eo,[`&${ve}-dropdown-hidden`]:{display:"none"},[`&${ve}-dropdown-placement-bottomLeft`]:{[`${ve}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ve}-dropdown-placement-topLeft`]:{[`${ve}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-topLeft, + &${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-topRight, + &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-topLeft, + &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-topRight`]:{animationName:Li.Qt},[`&${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-bottomLeft, + &${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-bottomRight, + &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-bottomLeft, + &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-bottomRight`]:{animationName:Li.fJ},[`&${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-topLeft, + &${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-topRight`]:{animationName:Li.ly},[`&${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-bottomLeft, + &${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-bottomRight`]:{animationName:Li.Uw},[`${ve}-panel > ${ve}-time-panel`]:{paddingTop:Fo},[`${ve}-ranges`]:{marginBottom:0,padding:`${Fo}px ${bo}px`,overflow:"hidden",lineHeight:`${No-2*Ht-Ba/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ve}-preset > ${he}-tag-blue`]:{color:ao,background:dl,borderColor:xo,cursor:"pointer"},[`${ve}-ok`]:{marginInlineStart:"auto"}},[`${ve}-range-wrapper`]:{display:"flex",position:"relative"},[`${ve}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Bt*1.5,transition:`left ${Ar} ease-out`},(0,id.r)(Yr,mo,Go,Yo,gl)),[`${ve}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Yo,borderRadius:Ro,boxShadow:ll,transition:`margin ${Ar}`,[`${ve}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ve}-presets`]:{display:"flex",flexDirection:"column",minWidth:pl,maxWidth:io,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ba,borderInlineEnd:`${Ht}px ${Yt} ${Uo}`,li:Object.assign(Object.assign({},Ei.vS),{borderRadius:qo,paddingInline:Ba,paddingBlock:($n-Math.round(Te*La))/2,cursor:"pointer",transition:`all ${Ar}`,"+ li":{marginTop:Ya},"&:hover":{background:Ul}})}},[`${ve}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ve}-panel`]:{borderWidth:`0 0 ${Ht}px`},"&:last-child":{[`${ve}-panel`]:{borderWidth:0}}},[`${ve}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ve}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:hn}}}}),"&-dropdown-range":{padding:`${Yr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ve}-separator`]:{transform:"rotate(180deg)"},[`${ve}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Li.oN)(me,"slide-up"),(0,Li.oN)(me,"slide-down"),(0,Dc.Fm)(me,"move-up"),(0,Dc.Fm)(me,"move-down")]},Ac=me=>{const{componentCls:ve,controlHeightLG:he,paddingXXS:Ie,padding:Te}=me;return{pickerCellCls:`${ve}-cell`,pickerCellInnerCls:`${ve}-cell-inner`,pickerYearMonthCellWidth:he*1.5,pickerQuarterPanelContentHeight:he*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Te+Ie/2}},Vi=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new qi.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new qi.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var Fs=(0,sd.Z)("DatePicker",me=>{const ve=(0,Ks.TS)((0,Gl.e5)(me),Ac(me));return[gd(ve),dd(ve),(0,wi.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,Gl.TM)(me)),Vi(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ys(me,ve,he){return he!==void 0?he:ve==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:ve==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:ve==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:ve==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:ve==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function md(me,ve,he){return he!==void 0?he:ve==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:ve==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:ve==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:ve==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:ve==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function Ys(me,ve){const he={adjustX:1,adjustY:1};switch(ve){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:he};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:he};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:he};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:he};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:he}}}function $i(me){return me?Array.isArray(me)?me:[me]:[]}function zi(me){const{format:ve,picker:he,showHour:Ie,showMinute:Te,showSecond:Bt,use12Hours:ft}=me,Ht=$i(ve)[0],Yt=Object.assign({},me);return ve&&Array.isArray(ve)&&(Yt.format=Ht),Ht&&typeof Ht=="string"&&(!Ht.includes("s")&&Bt===void 0&&(Yt.showSecond=!1),!Ht.includes("m")&&Te===void 0&&(Yt.showMinute=!1),!Ht.includes("H")&&!Ht.includes("h")&&!Ht.includes("K")&&!Ht.includes("k")&&Ie===void 0&&(Yt.showHour=!1),(Ht.includes("a")||Ht.includes("A"))&&ft===void 0&&(Yt.use12Hours=!0)),he==="time"?Yt:(typeof Ht=="function"&&delete Yt.format,{showTime:Yt})}function ui(me,ve,he){if(me===!1)return!1;const Ie={clearIcon:ve!=null?ve:he};return typeof me=="object"?Object.assign(Object.assign({},Ie),me):Ie}var Cs=ue(3113);function Bc(me){return de.createElement(Cs.ZP,Object.assign({size:"small",type:"primary"},me))}var Qs={button:Bc},fd=function(me,ve){var he={};for(var Ie in me)Object.prototype.hasOwnProperty.call(me,Ie)&&ve.indexOf(Ie)<0&&(he[Ie]=me[Ie]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ie=Object.getOwnPropertySymbols(me);Te{const{prefixCls:Te,getPopupContainer:Bt,className:ft,placement:Ht,size:Yt,disabled:hn,bordered:sa=!0,placeholder:Cn,popupClassName:Dn,dropdownClassName:Yn,status:Xn,clearIcon:jt,allowClear:yn,rootClassName:$n}=he,Ua=fd(he,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ba=de.useRef(null),{getPrefixCls:Ya,direction:Xa,getPopupContainer:ha}=(0,de.useContext)(ju.E_),La=Ya("picker",Te),{compactSize:ao,compactItemClassnames:Ar}=(0,Cc.ri)(La,Xa),{format:eo,showTime:Fo,picker:bo}=he,No=Ya(),[dl,xo]=Fs(La),Yr=Object.assign(Object.assign({},Fo?zi(Object.assign({format:eo,picker:bo},Fo)):{}),bo==="time"?zi(Object.assign(Object.assign({format:eo},he),{picker:bo})):{}),mo=(0,wu.Z)(gl=>{var Cl;return(Cl=Yt!=null?Yt:ao)!==null&&Cl!==void 0?Cl:gl}),Go=de.useContext(Xo.Z),Yo=hn!=null?hn:Go,Ro=(0,de.useContext)(Xi.aM),{hasFeedback:ll,status:qo,feedbackIcon:Uo}=Ro,Ul=de.createElement(de.Fragment,null,bo==="time"?de.createElement(vn,null):de.createElement(Xe,null),ll&&Uo);(0,de.useImperativeHandle)(Ie,()=>({focus:()=>{var gl;return(gl=Ba.current)===null||gl===void 0?void 0:gl.focus()},blur:()=>{var gl;return(gl=Ba.current)===null||gl===void 0?void 0:gl.blur()}}));const[pl]=(0,Ps.Z)("Calendar",bc.Z),io=Object.assign(Object.assign({},pl),he.locale);return dl(de.createElement(hi,Object.assign({separator:de.createElement("span",{"aria-label":"to",className:`${La}-separator`},de.createElement(jn,null)),disabled:Yo,ref:Ba,dropdownAlign:Ys(Xa,Ht),placeholder:md(io,bo,Cn),suffixIcon:Ul,prevIcon:de.createElement("span",{className:`${La}-prev-icon`}),nextIcon:de.createElement("span",{className:`${La}-next-icon`}),superPrevIcon:de.createElement("span",{className:`${La}-super-prev-icon`}),superNextIcon:de.createElement("span",{className:`${La}-super-next-icon`}),transitionName:`${No}-slide-up`},Ua,Yr,{className:tt()({[`${La}-${mo}`]:mo,[`${La}-borderless`]:!sa},(0,Jo.Z)(La,(0,Jo.F)(qo,Xn),ll),xo,Ar,ft,$n),locale:io.lang,prefixCls:La,getPopupContainer:Bt||ha,generateConfig:me,components:Qs,direction:Xa,dropdownClassName:tt()(xo,Dn||Yn,$n),allowClear:ui(yn,jt,de.createElement(Jt.Z,null))})))})}var es=function(me,ve){var he={};for(var Ie in me)Object.prototype.hasOwnProperty.call(me,Ie)&&ve.indexOf(Ie)<0&&(he[Ie]=me[Ie]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ie=Object.getOwnPropertySymbols(me);Te{const{prefixCls:Xn,getPopupContainer:jt,style:yn,className:$n,rootClassName:Ua,size:Ba,bordered:Ya=!0,placement:Xa,placeholder:ha,popupClassName:La,dropdownClassName:ao,disabled:Ar,status:eo,clearIcon:Fo,allowClear:bo}=Dn,No=es(Dn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:dl,direction:xo,getPopupContainer:Yr,[sa]:mo}=(0,de.useContext)(ju.E_),Go=dl("picker",Xn),{compactSize:Yo,compactItemClassnames:Ro}=(0,Cc.ri)(Go,xo),ll=de.useRef(null),{format:qo,showTime:Uo}=Dn,[Ul,pl]=Fs(Go);(0,de.useImperativeHandle)(Yn,()=>({focus:()=>{var Dl;return(Dl=ll.current)===null||Dl===void 0?void 0:Dl.focus()},blur:()=>{var Dl;return(Dl=ll.current)===null||Dl===void 0?void 0:Dl.blur()}}));const io={showToday:!0};let gl={};Yt&&(gl.picker=Yt);const Cl=Yt||Dn.picker;gl=Object.assign(Object.assign(Object.assign({},gl),Uo?zi(Object.assign({format:qo,picker:Cl},Uo)):{}),Cl==="time"?zi(Object.assign(Object.assign({format:qo},Dn),{picker:Cl})):{});const Zl=dl(),$l=(0,wu.Z)(Dl=>{var Ru;return(Ru=Ba!=null?Ba:Yo)!==null&&Ru!==void 0?Ru:Dl}),Ol=de.useContext(Xo.Z),eu=Ar!=null?Ar:Ol,Su=(0,de.useContext)(Xi.aM),{hasFeedback:So,status:ml,feedbackIcon:ul}=Su,Ml=de.createElement(de.Fragment,null,Cl==="time"?de.createElement(vn,null):de.createElement(Xe,null),So&&ul),[Jl]=(0,Ps.Z)("DatePicker",bc.Z),Pl=Object.assign(Object.assign({},Jl),Dn.locale);return Ul(de.createElement(li,Object.assign({ref:ll,placeholder:ys(Pl,Cl,ha),suffixIcon:Ml,dropdownAlign:Ys(xo,Xa),prevIcon:de.createElement("span",{className:`${Go}-prev-icon`}),nextIcon:de.createElement("span",{className:`${Go}-next-icon`}),superPrevIcon:de.createElement("span",{className:`${Go}-super-prev-icon`}),superNextIcon:de.createElement("span",{className:`${Go}-super-next-icon`}),transitionName:`${Zl}-slide-up`},io,No,gl,{locale:Pl.lang,className:tt()({[`${Go}-${$l}`]:$l,[`${Go}-borderless`]:!Ya},(0,Jo.Z)(Go,(0,Jo.F)(ml,eo),So),pl,Ro,mo==null?void 0:mo.className,$n,Ua),style:Object.assign(Object.assign({},mo==null?void 0:mo.style),yn),prefixCls:Go,getPopupContainer:jt||Yr,generateConfig:me,components:Qs,direction:xo,disabled:eu,dropdownClassName:tt()(pl,Ua,La||ao),allowClear:ui(bo,Fo,de.createElement(Jt.Z,null))})))});return hn&&(Cn.displayName=hn),Cn}const he=ve(),Ie=ve("week","WeekPicker"),Te=ve("month","MonthPicker"),Bt=ve("year","YearPicker"),ft=ve("time","TimePicker"),Ht=ve("quarter","QuarterPicker");return{DatePicker:he,WeekPicker:Ie,MonthPicker:Te,YearPicker:Bt,TimePicker:ft,QuarterPicker:Ht}}const tg=null;function pd(me){const{DatePicker:ve,WeekPicker:he,MonthPicker:Ie,YearPicker:Te,TimePicker:Bt,QuarterPicker:ft}=vd(me),Ht=Gi(me),Yt=ve;return Yt.WeekPicker=he,Yt.MonthPicker=Ie,Yt.YearPicker=Te,Yt.RangePicker=Ht,Yt.TimePicker=Bt,Yt.QuarterPicker=ft,Yt}var Js=pd;const Pi=Js(ne);function bs(me){const ve=Ys(me.direction,me.placement);return ve.overflow.adjustY=!1,ve.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:ve})}const Xs=(0,se.Z)(Pi,"picker",null,bs);Pi._InternalPanelDoNotUseOrYouWillBeFired=Xs;const xc=(0,se.Z)(Pi.RangePicker,"picker",null,bs);Pi._InternalRangePanelDoNotUseOrYouWillBeFired=xc,Pi.generatePicker=Js;var ol=Pi},28103:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return mt}});var ae=ue(92310),x=ue.n(ae),Oe=ue(59301),Ze=ue(36355),ke=ue(17313),et=ue(83116),Ce=ue(37613);const ct=$e=>{const{componentCls:fe,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:b,textPaddingInline:y,orientationMargin:z,verticalMarginInline:ne}=$e;return{[fe]:Object.assign(Object.assign({},(0,ke.Wf)($e)),{borderBlockStart:`${b}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${$e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${fe}-with-text`]:{display:"flex",alignItems:"center",margin:`${$e.dividerHorizontalWithTextGutterMargin}px 0`,color:$e.colorTextHeading,fontWeight:500,fontSize:$e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${fe}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${fe}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${fe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${fe}-with-text${fe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${fe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${fe}-with-text`]:{color:$e.colorText,fontWeight:"normal",fontSize:$e.fontSize},[`&-horizontal${fe}-with-text-left${fe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${fe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${fe}-with-text-right${fe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${fe}-inner-text`]:{paddingInlineEnd:a}}})}};var Re=(0,et.Z)("Divider",$e=>{const fe=(0,Ce.TS)($e,{dividerHorizontalWithTextGutterMargin:$e.margin,dividerHorizontalGutterMargin:$e.marginLG,sizePaddingEdgeHorizontal:0});return[ct(fe)]},$e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:$e.marginXS})),Me=function($e,fe){var a={};for(var E in $e)Object.prototype.hasOwnProperty.call($e,E)&&fe.indexOf(E)<0&&(a[E]=$e[E]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols($e);b{const{getPrefixCls:fe,direction:a,divider:E}=Oe.useContext(Ze.E_),{prefixCls:b,type:y="horizontal",orientation:z="center",orientationMargin:ne,className:se,rootClassName:ce,children:de,dashed:ye,plain:Ae,style:Ge}=$e,Be=Me($e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),rt=fe("divider",b),[Xe,ut]=Re(rt),mn=z.length>0?`-${z}`:z,ln=!!de,En=z==="left"&&ne!=null,vn=z==="right"&&ne!=null,Jt=x()(rt,E==null?void 0:E.className,ut,`${rt}-${y}`,{[`${rt}-with-text`]:ln,[`${rt}-with-text${mn}`]:ln,[`${rt}-dashed`]:!!ye,[`${rt}-plain`]:!!Ae,[`${rt}-rtl`]:a==="rtl",[`${rt}-no-default-orientation-margin-left`]:En,[`${rt}-no-default-orientation-margin-right`]:vn},se,ce),Ea=Oe.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),_t=Object.assign(Object.assign({},En&&{marginLeft:Ea}),vn&&{marginRight:Ea});return Xe(Oe.createElement("div",Object.assign({className:Jt,style:Object.assign(Object.assign({},E==null?void 0:E.style),Ge)},Be,{role:"separator"}),de&&y!=="vertical"&&Oe.createElement("span",{className:`${rt}-inner-text`,style:_t},de)))}},43428:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Le}});var ae=ue(92310),x=ue.n(ae),Oe=ue(27247),Ze=ue(11913),ke=ue(43403),et=ue(34280),Ce=ue(59301),ct=Ce.createContext(null),Re=Ce.createContext({}),Me=ct,lt=ue(74430),mt=ue(32855),$e=ue(77900),fe=ue(10228),a=ue(26112),E=ue(70425),b=function(Ve){var Pt=Ve.prefixCls,Lt=Ve.className,Tt=Ve.style,Gt=Ve.children,en=Ve.containerRef,Rn=Ve.id,Rt=Ve.onMouseEnter,De=Ve.onMouseOver,We=Ve.onMouseLeave,dt=Ve.onClick,Ot=Ve.onKeyDown,$t=Ve.onKeyUp,Xt={onMouseEnter:Rt,onMouseOver:De,onMouseLeave:We,onClick:dt,onKeyDown:Ot,onKeyUp:$t},Kt=Ce.useContext(Re),on=Kt.panel,Dt=(0,E.useComposeRef)(on,en);return Ce.createElement(Ce.Fragment,null,Ce.createElement("div",(0,mt.Z)({id:Rn,className:x()("".concat(Pt,"-content"),Lt),style:(0,Oe.Z)({},Tt),"aria-modal":"true",role:"dialog",ref:Dt},Xt),Gt))},y=b,z=ue(48736);function ne(xe){return typeof xe=="string"&&String(Number(xe))===xe?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(xe)):xe}function se(xe){warning(!("wrapperClassName"in xe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!xe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ce={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function de(xe,Ve){var Pt,Lt,Tt,Gt,en=xe.prefixCls,Rn=xe.open,Rt=xe.placement,De=xe.inline,We=xe.push,dt=xe.forceRender,Ot=xe.autoFocus,$t=xe.keyboard,Xt=xe.rootClassName,Kt=xe.rootStyle,on=xe.zIndex,Dt=xe.className,At=xe.id,nn=xe.style,ht=xe.motion,Ft=xe.width,Nt=xe.height,sn=xe.children,yt=xe.contentWrapperStyle,Mt=xe.mask,Tn=xe.maskClosable,zt=xe.maskMotion,na=xe.maskClassName,Ja=xe.maskStyle,gr=xe.afterOpenChange,ur=xe.onClose,za=xe.onMouseEnter,Or=xe.onMouseOver,yr=xe.onMouseLeave,or=xe.onClick,fr=xe.onKeyDown,lr=xe.onKeyUp,Wa=Ce.useRef(),Gr=Ce.useRef(),Br=Ce.useRef();Ce.useImperativeHandle(Ve,function(){return Wa.current});var bt=function(Na){var ya=Na.keyCode,Sn=Na.shiftKey;switch(ya){case fe.Z.TAB:{if(ya===fe.Z.TAB){if(!Sn&&document.activeElement===Br.current){var wa;(wa=Gr.current)===null||wa===void 0||wa.focus({preventScroll:!0})}else if(Sn&&document.activeElement===Gr.current){var Dr;(Dr=Br.current)===null||Dr===void 0||Dr.focus({preventScroll:!0})}}break}case fe.Z.ESC:{ur&&$t&&(Na.stopPropagation(),ur(Na));break}}};Ce.useEffect(function(){if(Rn&&Ot){var va;(va=Wa.current)===null||va===void 0||va.focus({preventScroll:!0})}},[Rn]);var bn=Ce.useState(!1),On=(0,Ze.Z)(bn,2),Ut=On[0],fn=On[1],Hn=Ce.useContext(Me),ma;We===!1?ma={distance:0}:We===!0?ma={}:ma=We||{};var Qe=(Pt=(Lt=(Tt=ma)===null||Tt===void 0?void 0:Tt.distance)!==null&&Lt!==void 0?Lt:Hn==null?void 0:Hn.pushDistance)!==null&&Pt!==void 0?Pt:180,gt=Ce.useMemo(function(){return{pushDistance:Qe,push:function(){fn(!0)},pull:function(){fn(!1)}}},[Qe]);Ce.useEffect(function(){if(Rn){var va;Hn==null||(va=Hn.push)===null||va===void 0||va.call(Hn)}else{var Na;Hn==null||(Na=Hn.pull)===null||Na===void 0||Na.call(Hn)}},[Rn]),Ce.useEffect(function(){return function(){var va;Hn==null||(va=Hn.pull)===null||va===void 0||va.call(Hn)}},[]);var it=Mt&&Ce.createElement($e.default,(0,mt.Z)({key:"mask"},zt,{visible:Rn}),function(va,Na){var ya=va.className,Sn=va.style;return Ce.createElement("div",{className:x()("".concat(en,"-mask"),ya,na),style:(0,Oe.Z)((0,Oe.Z)({},Sn),Ja),onClick:Tn&&Rn?ur:void 0,ref:Na})}),Vn=typeof ht=="function"?ht(Rt):ht,Gn={};if(Ut&&Qe)switch(Rt){case"top":Gn.transform="translateY(".concat(Qe,"px)");break;case"bottom":Gn.transform="translateY(".concat(-Qe,"px)");break;case"left":Gn.transform="translateX(".concat(Qe,"px)");break;default:Gn.transform="translateX(".concat(-Qe,"px)");break}Rt==="left"||Rt==="right"?Gn.width=ne(Ft):Gn.height=ne(Nt);var Jn={onMouseEnter:za,onMouseOver:Or,onMouseLeave:yr,onClick:or,onKeyDown:fr,onKeyUp:lr},Va=Ce.createElement($e.default,(0,mt.Z)({key:"panel"},Vn,{visible:Rn,forceRender:dt,onVisibleChanged:function(Na){gr==null||gr(Na)},removeOnLeave:!1,leavedClassName:"".concat(en,"-content-wrapper-hidden")}),function(va,Na){var ya=va.className,Sn=va.style;return Ce.createElement("div",(0,mt.Z)({className:x()("".concat(en,"-content-wrapper"),ya),style:(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Gn),Sn),yt)},(0,a.Z)(xe,{data:!0})),Ce.createElement(y,(0,mt.Z)({id:At,containerRef:Na,prefixCls:en,className:Dt,style:nn},Jn),sn))}),Oa=(0,Oe.Z)({},Kt);return on&&(Oa.zIndex=on),Ce.createElement(Me.Provider,{value:gt},Ce.createElement("div",{className:x()(en,"".concat(en,"-").concat(Rt),Xt,(Gt={},(0,lt.Z)(Gt,"".concat(en,"-open"),Rn),(0,lt.Z)(Gt,"".concat(en,"-inline"),De),Gt)),style:Oa,tabIndex:-1,ref:Wa,onKeyDown:bt},it,Ce.createElement("div",{tabIndex:0,ref:Gr,style:ce,"aria-hidden":"true","data-sentinel":"start"}),Va,Ce.createElement("div",{tabIndex:0,ref:Br,style:ce,"aria-hidden":"true","data-sentinel":"end"})))}var ye=Ce.forwardRef(de),Ae=ye,Ge=function(Ve){var Pt=Ve.open,Lt=Pt===void 0?!1:Pt,Tt=Ve.prefixCls,Gt=Tt===void 0?"rc-drawer":Tt,en=Ve.placement,Rn=en===void 0?"right":en,Rt=Ve.autoFocus,De=Rt===void 0?!0:Rt,We=Ve.keyboard,dt=We===void 0?!0:We,Ot=Ve.width,$t=Ot===void 0?378:Ot,Xt=Ve.mask,Kt=Xt===void 0?!0:Xt,on=Ve.maskClosable,Dt=on===void 0?!0:on,At=Ve.getContainer,nn=Ve.forceRender,ht=Ve.afterOpenChange,Ft=Ve.destroyOnClose,Nt=Ve.onMouseEnter,sn=Ve.onMouseOver,yt=Ve.onMouseLeave,Mt=Ve.onClick,Tn=Ve.onKeyDown,zt=Ve.onKeyUp,na=Ve.panelRef,Ja=Ce.useState(!1),gr=(0,Ze.Z)(Ja,2),ur=gr[0],za=gr[1],Or=Ce.useState(!1),yr=(0,Ze.Z)(Or,2),or=yr[0],fr=yr[1];(0,et.Z)(function(){fr(!0)},[]);var lr=or?Lt:!1,Wa=Ce.useRef(),Gr=Ce.useRef();(0,et.Z)(function(){lr&&(Gr.current=document.activeElement)},[lr]);var Br=function(fn){var Hn;if(za(fn),ht==null||ht(fn),!fn&&Gr.current&&!((Hn=Wa.current)!==null&&Hn!==void 0&&Hn.contains(Gr.current))){var ma;(ma=Gr.current)===null||ma===void 0||ma.focus({preventScroll:!0})}},bt=Ce.useMemo(function(){return{panel:na}},[na]);if(!nn&&!ur&&!lr&&Ft)return null;var bn={onMouseEnter:Nt,onMouseOver:sn,onMouseLeave:yt,onClick:Mt,onKeyDown:Tn,onKeyUp:zt},On=(0,Oe.Z)((0,Oe.Z)({},Ve),{},{open:lr,prefixCls:Gt,placement:Rn,autoFocus:De,keyboard:dt,width:$t,mask:Kt,maskClosable:Dt,inline:At===!1,afterOpenChange:Br,ref:Wa},bn);return Ce.createElement(Re.Provider,{value:bt},Ce.createElement(ke.Z,{open:lr||nn||ur,autoDestroy:!1,getContainer:At,autoLock:Kt&&(lr||ur)},Ce.createElement(Ae,On)))},Be=Ge,rt=Be,Xe=ue(62892),ut=ue(36355),mn=ue(32441),ln=ue(47729),vn=xe=>{const{prefixCls:Ve,title:Pt,footer:Lt,extra:Tt,closeIcon:Gt,closable:en,onClose:Rn,headerStyle:Rt,drawerStyle:De,bodyStyle:We,footerStyle:dt,children:Ot}=xe,$t=Ce.useCallback(At=>Ce.createElement("button",{type:"button",onClick:Rn,"aria-label":"Close",className:`${Ve}-close`},At),[Rn]),[Xt,Kt]=(0,ln.Z)(en,Gt,$t,void 0,!0),on=Ce.useMemo(()=>!Pt&&!Xt?null:Ce.createElement("div",{style:Rt,className:x()(`${Ve}-header`,{[`${Ve}-header-close-only`]:Xt&&!Pt&&!Tt})},Ce.createElement("div",{className:`${Ve}-header-title`},Kt,Pt&&Ce.createElement("div",{className:`${Ve}-title`},Pt)),Tt&&Ce.createElement("div",{className:`${Ve}-extra`},Tt)),[Xt,Kt,Tt,Rt,Ve,Pt]),Dt=Ce.useMemo(()=>{if(!Lt)return null;const At=`${Ve}-footer`;return Ce.createElement("div",{className:At,style:dt},Lt)},[Lt,dt,Ve]);return Ce.createElement("div",{className:`${Ve}-wrapper-body`,style:De},on,Ce.createElement("div",{className:`${Ve}-body`,style:We},Ot),Dt)},Jt=ue(33234),Ea=ue(83116),_t=ue(37613),Nn=xe=>{const{componentCls:Ve,motionDurationSlow:Pt}=xe,Lt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Pt}`}}};return{[Ve]:{[`${Ve}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Pt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ve}-panel-motion`]:{"&-left":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const jn=xe=>{const{componentCls:Ve,zIndexPopup:Pt,colorBgMask:Lt,colorBgElevated:Tt,motionDurationSlow:Gt,motionDurationMid:en,padding:Rn,paddingLG:Rt,fontSizeLG:De,lineHeightLG:We,lineWidth:dt,lineType:Ot,colorSplit:$t,marginSM:Xt,colorIcon:Kt,colorIconHover:on,colorText:Dt,fontWeightStrong:At,footerPaddingBlock:nn,footerPaddingInline:ht}=xe,Ft=`${Ve}-content-wrapper`;return{[Ve]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none","&-pure":{position:"relative",background:Tt,[`&${Ve}-left`]:{boxShadow:xe.boxShadowDrawerLeft},[`&${Ve}-right`]:{boxShadow:xe.boxShadowDrawerRight},[`&${Ve}-top`]:{boxShadow:xe.boxShadowDrawerUp},[`&${Ve}-bottom`]:{boxShadow:xe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ve}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Lt,pointerEvents:"auto"},[Ft]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${Gt}`,"&-hidden":{display:"none"}},[`&-left > ${Ft}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:xe.boxShadowDrawerLeft},[`&-right > ${Ft}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:xe.boxShadowDrawerRight},[`&-top > ${Ft}`]:{top:0,insetInline:0,boxShadow:xe.boxShadowDrawerUp},[`&-bottom > ${Ft}`]:{bottom:0,insetInline:0,boxShadow:xe.boxShadowDrawerDown},[`${Ve}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Tt,pointerEvents:"auto"},[`${Ve}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ve}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Rn}px ${Rt}px`,fontSize:De,lineHeight:We,borderBottom:`${dt}px ${Ot} ${$t}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ve}-extra`]:{flex:"none"},[`${Ve}-close`]:{display:"inline-block",marginInlineEnd:Xt,color:Kt,fontWeight:At,fontSize:De,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${en}`,textRendering:"auto","&:focus, &:hover":{color:on,textDecoration:"none"}},[`${Ve}-title`]:{flex:1,margin:0,color:Dt,fontWeight:xe.fontWeightStrong,fontSize:De,lineHeight:We},[`${Ve}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Rt,overflow:"auto"},[`${Ve}-footer`]:{flexShrink:0,padding:`${nn}px ${ht}px`,borderTop:`${dt}px ${Ot} ${$t}`},"&-rtl":{direction:"rtl"}}}};var pn=(0,Ea.Z)("Drawer",xe=>{const Ve=(0,_t.TS)(xe,{});return[jn(Ve),Nn(Ve)]},xe=>({zIndexPopup:xe.zIndexPopupBase,footerPaddingBlock:xe.paddingXS,footerPaddingInline:xe.padding})),tt=ue(11575),st=function(xe,Ve){var Pt={};for(var Lt in xe)Object.prototype.hasOwnProperty.call(xe,Lt)&&Ve.indexOf(Lt)<0&&(Pt[Lt]=xe[Lt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Lt=Object.getOwnPropertySymbols(xe);Tt{var Ve;const{rootClassName:Pt,width:Lt,height:Tt,size:Gt="default",mask:en=!0,push:Rn=Ln,open:Rt,afterOpenChange:De,onClose:We,prefixCls:dt,getContainer:Ot,style:$t,className:Xt,visible:Kt,afterVisibleChange:on}=xe,Dt=st(xe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:At,getPrefixCls:nn,direction:ht,drawer:Ft}=Ce.useContext(ut.E_),Nt=nn("drawer",dt),[sn,yt]=pn(Nt),Mt=Ot===void 0&&At?()=>At(document.body):Ot,Tn=x()({"no-mask":!en,[`${Nt}-rtl`]:ht==="rtl"},Pt,yt),zt=Ce.useMemo(()=>Lt!=null?Lt:Gt==="large"?736:378,[Lt,Gt]),na=Ce.useMemo(()=>Tt!=null?Tt:Gt==="large"?736:378,[Tt,Gt]),Ja={motionName:(0,Xe.m)(Nt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},gr=za=>({motionName:(0,Xe.m)(Nt,`panel-motion-${za}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ur=(0,tt.H)();return sn(Ce.createElement(Jt.BR,null,Ce.createElement(mn.Ux,{status:!0,override:!0},Ce.createElement(rt,Object.assign({prefixCls:Nt,onClose:We,maskMotion:Ja,motion:gr},Dt,{open:Rt!=null?Rt:Kt,mask:en,push:Rn,width:zt,height:na,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),$t),className:x()(Ft==null?void 0:Ft.className,Xt),rootClassName:Tn,getContainer:Mt,afterOpenChange:De!=null?De:on,panelRef:ur}),Ce.createElement(vn,Object.assign({prefixCls:Nt},Dt,{onClose:We}))))))},Un=xe=>{const{prefixCls:Ve,style:Pt,className:Lt,placement:Tt="right"}=xe,Gt=st(xe,["prefixCls","style","className","placement"]),{getPrefixCls:en}=Ce.useContext(ut.E_),Rn=en("drawer",Ve),[Rt,De]=pn(Rn),We=x()(Rn,`${Rn}-pure`,`${Rn}-${Tt}`,De,Lt);return Rt(Ce.createElement("div",{className:We,style:Pt},Ce.createElement(vn,Object.assign({prefixCls:Rn},Gt))))};un._InternalPanelDoNotUseOrYouWillBeFired=Un;var Le=un},44e3:function(we,St,ue){"use strict";var ae=ue(84966),x=ue(45818);const Oe=ae.ZP;Oe.Header=ae.h4,Oe.Footer=ae.$_,Oe.Content=ae.VY,Oe.Sider=x.Z,St.default=Oe},39722:function(we,St,ue){"use strict";ue.d(St,{t5:function(){return Me}});var ae=ue(92310),x=ue.n(ae),Oe=ue(55477),Ze=ue(59301),ke=ue(36355),et=ue(77578),Ce=ue(17356),ct=function(mt,$e){var fe={};for(var a in mt)Object.prototype.hasOwnProperty.call(mt,a)&&$e.indexOf(a)<0&&(fe[a]=mt[a]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(mt);E{if(!(!$e&&!fe))return Ze.createElement(Ze.Fragment,null,$e&&Ze.createElement("div",{className:`${mt}-title`},(0,et.Z)($e)),Ze.createElement("div",{className:`${mt}-inner-content`},(0,et.Z)(fe)))},Me=mt=>{const{hashId:$e,prefixCls:fe,className:a,style:E,placement:b="top",title:y,content:z,children:ne}=mt;return Ze.createElement("div",{className:x()($e,fe,`${fe}-pure`,`${fe}-placement-${b}`,a),style:E},Ze.createElement("div",{className:`${fe}-arrow`}),Ze.createElement(Oe.G,Object.assign({},mt,{className:$e,prefixCls:fe}),ne||Re(fe,y,z)))},lt=mt=>{const{prefixCls:$e}=mt,fe=ct(mt,["prefixCls"]),{getPrefixCls:a}=Ze.useContext(ke.E_),E=a("popover",$e),[b,y]=(0,Ce.Z)(E);return b(Ze.createElement(Me,Object.assign({},fe,{prefixCls:E,hashId:y})))};St.ZP=lt},60324:function(we,St,ue){"use strict";var ae=ue(92310),x=ue.n(ae),Oe=ue(59301),Ze=ue(77578),ke=ue(62892),et=ue(36355),Ce=ue(6848),ct=ue(39722),Re=ue(17356),Me=function($e,fe){var a={};for(var E in $e)Object.prototype.hasOwnProperty.call($e,E)&&fe.indexOf(E)<0&&(a[E]=$e[E]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols($e);b{let{title:fe,content:a,prefixCls:E}=$e;return Oe.createElement(Oe.Fragment,null,fe&&Oe.createElement("div",{className:`${E}-title`},(0,Ze.Z)(fe)),Oe.createElement("div",{className:`${E}-inner-content`},(0,Ze.Z)(a)))},mt=Oe.forwardRef(($e,fe)=>{const{prefixCls:a,title:E,content:b,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:se=.1,mouseLeaveDelay:ce=.1,overlayStyle:de={}}=$e,ye=Me($e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ae}=Oe.useContext(et.E_),Ge=Ae("popover",a),[Be,rt]=(0,Re.Z)(Ge),Xe=Ae(),ut=x()(y,rt);return Be(Oe.createElement(Ce.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:se,mouseLeaveDelay:ce,overlayStyle:de},ye,{prefixCls:Ge,overlayClassName:ut,ref:fe,overlay:E||b?Oe.createElement(lt,{prefixCls:Ge,title:E,content:b}):null,transitionName:(0,ke.m)(Xe,"zoom-big",ye.transitionName),"data-popover-inject":!0})))});mt._InternalPanelDoNotUseOrYouWillBeFired=ct.ZP,St.Z=mt},17356:function(we,St,ue){"use strict";var ae=ue(17313),x=ue(29878),Oe=ue(19447),Ze=ue(33166),ke=ue(83116),et=ue(37613);const Ce=Me=>{const{componentCls:lt,popoverColor:mt,minWidth:$e,fontWeightStrong:fe,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:se,popoverBg:ce}=Me;return[{[lt]:Object.assign(Object.assign({},(0,ae.Wf)(Me)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":se,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${lt}-content`]:{position:"relative"},[`${lt}-inner`]:{backgroundColor:ce,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${lt}-title`]:{minWidth:$e,marginBottom:ne,color:b,fontWeight:fe},[`${lt}-inner-content`]:{color:mt}})},(0,Oe.ZP)(Me,{colorBg:"var(--antd-arrow-background-color)"}),{[`${lt}-pure`]:{position:"relative",maxWidth:"none",margin:Me.sizePopupArrow,display:"inline-block",[`${lt}-content`]:{display:"inline-block"}}}]},ct=Me=>{const{componentCls:lt}=Me;return{[lt]:Ze.i.map(mt=>{const $e=Me[`${mt}6`];return{[`&${lt}-${mt}`]:{"--antd-arrow-background-color":$e,[`${lt}-inner`]:{backgroundColor:$e},[`${lt}-arrow`]:{background:"transparent"}}}})}},Re=Me=>{const{componentCls:lt,lineWidth:mt,lineType:$e,colorSplit:fe,paddingSM:a,controlHeight:E,fontSize:b,lineHeight:y,padding:z}=Me,ne=E-Math.round(b*y),se=ne/2,ce=ne/2-mt,de=z;return{[lt]:{[`${lt}-inner`]:{padding:0},[`${lt}-title`]:{margin:0,padding:`${se}px ${de}px ${ce}px`,borderBottom:`${mt}px ${$e} ${fe}`},[`${lt}-inner-content`]:{padding:`${a}px ${de}px`}}}};St.Z=(0,ke.Z)("Popover",Me=>{const{colorBgElevated:lt,colorText:mt,wireframe:$e}=Me,fe=(0,et.TS)(Me,{popoverPadding:12,popoverBg:lt,popoverColor:mt});return[Ce(fe),ct(fe),$e&&Re(fe),(0,x._y)(fe,"zoom-big")]},Me=>({width:177,minWidth:177,zIndexPopup:Me.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Rt}});var ae=ue(92310),x=ue.n(ae),Oe=ue(74430),Ze=ue(3300),ke=ue(11913),et=ue(34666),Ce=ue(59301),ct=ue(13697),Re=ue(18929),Me=ue(32855),lt=ue(43079),mt=ue(27247),$e=ue(10228),fe=Ce.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),a=fe;function E(De,We,dt){return(De-We)/(dt-We)}function b(De,We,dt,Ot){var $t=E(We,dt,Ot),Xt={};switch(De){case"rtl":Xt.right="".concat($t*100,"%"),Xt.transform="translateX(50%)";break;case"btt":Xt.bottom="".concat($t*100,"%"),Xt.transform="translateY(50%)";break;case"ttb":Xt.top="".concat($t*100,"%"),Xt.transform="translateY(-50%)";break;default:Xt.left="".concat($t*100,"%"),Xt.transform="translateX(-50%)";break}return Xt}function y(De,We){return Array.isArray(De)?De[We]:De}var z=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],ne=Ce.forwardRef(function(De,We){var dt,Ot,$t=De.prefixCls,Xt=De.value,Kt=De.valueIndex,on=De.onStartMove,Dt=De.style,At=De.render,nn=De.dragging,ht=De.onOffsetChange,Ft=(0,lt.Z)(De,z),Nt=Ce.useContext(a),sn=Nt.min,yt=Nt.max,Mt=Nt.direction,Tn=Nt.disabled,zt=Nt.keyboard,na=Nt.range,Ja=Nt.tabIndex,gr=Nt.ariaLabelForHandle,ur=Nt.ariaLabelledByForHandle,za=Nt.ariaValueTextFormatterForHandle,Or="".concat($t,"-handle"),yr=function(Gr){Tn||on(Gr,Kt)},or=function(Gr){if(!Tn&&zt){var Br=null;switch(Gr.which||Gr.keyCode){case $e.Z.LEFT:Br=Mt==="ltr"||Mt==="btt"?-1:1;break;case $e.Z.RIGHT:Br=Mt==="ltr"||Mt==="btt"?1:-1;break;case $e.Z.UP:Br=Mt!=="ttb"?1:-1;break;case $e.Z.DOWN:Br=Mt!=="ttb"?-1:1;break;case $e.Z.HOME:Br="min";break;case $e.Z.END:Br="max";break;case $e.Z.PAGE_UP:Br=2;break;case $e.Z.PAGE_DOWN:Br=-2;break}Br!==null&&(Gr.preventDefault(),ht(Br,Kt))}},fr=b(Mt,Xt,sn,yt),lr=Ce.createElement("div",(0,Me.Z)({ref:We,className:x()(Or,(dt={},(0,Oe.Z)(dt,"".concat(Or,"-").concat(Kt+1),na),(0,Oe.Z)(dt,"".concat(Or,"-dragging"),nn),dt)),style:(0,mt.Z)((0,mt.Z)({},fr),Dt),onMouseDown:yr,onTouchStart:yr,onKeyDown:or,tabIndex:Tn?null:y(Ja,Kt),role:"slider","aria-valuemin":sn,"aria-valuemax":yt,"aria-valuenow":Xt,"aria-disabled":Tn,"aria-label":y(gr,Kt),"aria-labelledby":y(ur,Kt),"aria-valuetext":(Ot=y(za,Kt))===null||Ot===void 0?void 0:Ot(Xt),"aria-orientation":Mt==="ltr"||Mt==="rtl"?"horizontal":"vertical"},Ft));return At&&(lr=At(lr,{index:Kt,prefixCls:$t,value:Xt,dragging:nn})),lr}),se=ne,ce=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],de=Ce.forwardRef(function(De,We){var dt=De.prefixCls,Ot=De.style,$t=De.onStartMove,Xt=De.onOffsetChange,Kt=De.values,on=De.handleRender,Dt=De.draggingIndex,At=(0,lt.Z)(De,ce),nn=Ce.useRef({});return Ce.useImperativeHandle(We,function(){return{focus:function(Ft){var Nt;(Nt=nn.current[Ft])===null||Nt===void 0||Nt.focus()}}}),Ce.createElement(Ce.Fragment,null,Kt.map(function(ht,Ft){return Ce.createElement(se,(0,Me.Z)({ref:function(sn){sn?nn.current[Ft]=sn:delete nn.current[Ft]},dragging:Dt===Ft,prefixCls:dt,style:y(Ot,Ft),key:Ft,value:ht,valueIndex:Ft,onStartMove:$t,onOffsetChange:Xt,render:on},At))}))}),ye=de;function Ae(De){var We="touches"in De?De.touches[0]:De;return{pageX:We.pageX,pageY:We.pageY}}function Ge(De,We,dt,Ot,$t,Xt,Kt,on,Dt){var At=Ce.useState(null),nn=(0,ke.Z)(At,2),ht=nn[0],Ft=nn[1],Nt=Ce.useState(-1),sn=(0,ke.Z)(Nt,2),yt=sn[0],Mt=sn[1],Tn=Ce.useState(dt),zt=(0,ke.Z)(Tn,2),na=zt[0],Ja=zt[1],gr=Ce.useState(dt),ur=(0,ke.Z)(gr,2),za=ur[0],Or=ur[1],yr=Ce.useRef(null),or=Ce.useRef(null);Ce.useEffect(function(){yt===-1&&Ja(dt)},[dt,yt]),Ce.useEffect(function(){return function(){document.removeEventListener("mousemove",yr.current),document.removeEventListener("mouseup",or.current),document.removeEventListener("touchmove",yr.current),document.removeEventListener("touchend",or.current)}},[]);var fr=function(bn,On){na.some(function(Ut,fn){return Ut!==bn[fn]})&&(On!==void 0&&Ft(On),Ja(bn),Kt(bn))},lr=function(bn,On){if(bn===-1){var Ut=za[0],fn=za[za.length-1],Hn=Ot-Ut,ma=$t-fn,Qe=On*($t-Ot);Qe=Math.max(Qe,Hn),Qe=Math.min(Qe,ma);var gt=Xt(Ut+Qe);Qe=gt-Ut;var it=za.map(function(Va){return Va+Qe});fr(it)}else{var Vn=($t-Ot)*On,Gn=(0,Ze.Z)(na);Gn[bn]=za[bn];var Jn=Dt(Gn,Vn,bn,"dist");fr(Jn.values,Jn.value)}},Wa=Ce.useRef(lr);Wa.current=lr;var Gr=function(bn,On){bn.stopPropagation();var Ut=dt[On];Mt(On),Ft(Ut),Or(dt);var fn=Ae(bn),Hn=fn.pageX,ma=fn.pageY,Qe=function(Vn){Vn.preventDefault();var Gn=Ae(Vn),Jn=Gn.pageX,Va=Gn.pageY,Oa=Jn-Hn,va=Va-ma,Na=De.current.getBoundingClientRect(),ya=Na.width,Sn=Na.height,wa;switch(We){case"btt":wa=-va/Sn;break;case"ttb":wa=va/Sn;break;case"rtl":wa=-Oa/ya;break;default:wa=Oa/ya}Wa.current(On,wa)},gt=function it(Vn){Vn.preventDefault(),document.removeEventListener("mouseup",it),document.removeEventListener("mousemove",Qe),document.removeEventListener("touchend",it),document.removeEventListener("touchmove",Qe),yr.current=null,or.current=null,Mt(-1),on()};document.addEventListener("mouseup",gt),document.addEventListener("mousemove",Qe),document.addEventListener("touchend",gt),document.addEventListener("touchmove",Qe),yr.current=Qe,or.current=gt},Br=Ce.useMemo(function(){var bt=(0,Ze.Z)(dt).sort(function(On,Ut){return On-Ut}),bn=(0,Ze.Z)(na).sort(function(On,Ut){return On-Ut});return bt.every(function(On,Ut){return On===bn[Ut]})?na:dt},[dt,na]);return[yt,ht,Br,Gr]}function Be(De){var We,dt=De.prefixCls,Ot=De.style,$t=De.start,Xt=De.end,Kt=De.index,on=De.onStartMove,Dt=Ce.useContext(a),At=Dt.direction,nn=Dt.min,ht=Dt.max,Ft=Dt.disabled,Nt=Dt.range,sn="".concat(dt,"-track"),yt=E($t,nn,ht),Mt=E(Xt,nn,ht),Tn=function(Ja){!Ft&&on&&on(Ja,-1)},zt={};switch(At){case"rtl":zt.right="".concat(yt*100,"%"),zt.width="".concat(Mt*100-yt*100,"%");break;case"btt":zt.bottom="".concat(yt*100,"%"),zt.height="".concat(Mt*100-yt*100,"%");break;case"ttb":zt.top="".concat(yt*100,"%"),zt.height="".concat(Mt*100-yt*100,"%");break;default:zt.left="".concat(yt*100,"%"),zt.width="".concat(Mt*100-yt*100,"%")}return Ce.createElement("div",{className:x()(sn,(We={},(0,Oe.Z)(We,"".concat(sn,"-").concat(Kt+1),Nt),(0,Oe.Z)(We,"".concat(dt,"-track-draggable"),on),We)),style:(0,mt.Z)((0,mt.Z)({},zt),Ot),onMouseDown:Tn,onTouchStart:Tn})}function rt(De){var We=De.prefixCls,dt=De.style,Ot=De.values,$t=De.startPoint,Xt=De.onStartMove,Kt=Ce.useContext(a),on=Kt.included,Dt=Kt.range,At=Kt.min,nn=Ce.useMemo(function(){if(!Dt){if(Ot.length===0)return[];var ht=$t!=null?$t:At,Ft=Ot[0];return[{start:Math.min(ht,Ft),end:Math.max(ht,Ft)}]}for(var Nt=[],sn=0;sn3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof yt=="number"){var zt,na=sn[Mt],Ja=na+yt,gr=[];Ot.forEach(function(or){gr.push(or.value)}),gr.push(De,We),gr.push(on(na));var ur=yt>0?1:-1;Tn==="unit"?gr.push(on(na+ur*dt)):gr.push(on(Ja)),gr=gr.filter(function(or){return or!==null}).filter(function(or){return yt<0?or<=na:or>=na}),Tn==="unit"&&(gr=gr.filter(function(or){return or!==na}));var za=Tn==="unit"?na:Ja;zt=gr[0];var Or=Math.abs(zt-za);if(gr.forEach(function(or){var fr=Math.abs(or-za);fr1){var yr=(0,Ze.Z)(sn);return yr[Mt]=zt,Nt(yr,yt-ur,Mt,Tn)}return zt}else{if(yt==="min")return De;if(yt==="max")return We}},nn=function(sn,yt,Mt){var Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",zt=sn[Mt],na=At(sn,yt,Mt,Tn);return{value:na,changed:na!==zt}},ht=function(sn){return Xt===null&&sn===0||typeof Xt=="number"&&sn3&&arguments[3]!==void 0?arguments[3]:"unit",zt=sn.map(Dt),na=zt[Mt],Ja=At(zt,yt,Mt,Tn);if(zt[Mt]=Ja,$t===!1){var gr=Xt||0;Mt>0&&zt[Mt-1]!==na&&(zt[Mt]=Math.max(zt[Mt],zt[Mt-1]+gr)),Mt0;yr-=1)for(var or=!0;ht(zt[yr]-zt[yr-1])&∨){var fr=nn(zt,-1,yr-1);zt[yr-1]=fr.value,or=fr.changed}for(var lr=zt.length-1;lr>0;lr-=1)for(var Wa=!0;ht(zt[lr]-zt[lr-1])&&Wa;){var Gr=nn(zt,-1,lr-1);zt[lr-1]=Gr.value,Wa=Gr.changed}for(var Br=0;Br=0?Gr:!1},[Gr,cn]),vr=Ce.useMemo(function(){var pr=Object.keys(Vn||{});return pr.map(function(Pa){var ta=Vn[Pa],Ta={value:Number(Pa)};return ta&&(0,et.Z)(ta)==="object"&&!Ce.isValidElement(ta)&&("label"in ta||"style"in ta)?(Ta.style=ta.style,Ta.label=ta.label):Ta.label=ta,Ta}).filter(function(Pa){var ta=Pa.label;return ta||typeof ta=="number"}).sort(function(Pa,ta){return Pa.value-ta.value})},[Vn]),lo=En(oo,Kn,cn,vr,lr,Lo),Tr=(0,ke.Z)(lo,2),Bo=Tr[0],yo=Tr[1],Vo=(0,Re.Z)(gr,{value:Ja}),Ur=(0,ke.Z)(Vo,2),po=Ur[0],kn=Ur[1],Nr=Ce.useMemo(function(){var pr=po==null?[]:Array.isArray(po)?po:[po],Pa=(0,ke.Z)(pr,1),ta=Pa[0],Ta=ta===void 0?oo:ta,kr=po===null?[]:[Ta];if(ur){if(kr=(0,Ze.Z)(pr),za||po===void 0){var Eo=za>=0?za+1:2;for(kr=kr.slice(0,Eo);kr.length=0&&Sn.current.focus(pr)}xn(null)},[pa]);var rn=Ce.useMemo(function(){return Br&&cn===null?!1:Br},[Br,cn]),da=function(){or==null||or(co(uo.current))},zr=Ge(wa,Dr,Nr,oo,Kn,Bo,xt,da,yo),ho=(0,ke.Z)(zr,4),zo=ho[0],cr=ho[1],Za=ho[2],Cr=ho[3],Lr=function(Pa,ta){Cr(Pa,ta),yr==null||yr(co(uo.current))},Mr=zo!==-1;Ce.useEffect(function(){if(!Mr){var pr=Nr.lastIndexOf(cr);Sn.current.focus(pr)}},[Mr]);var jr=Ce.useMemo(function(){return(0,Ze.Z)(Za).sort(function(pr,Pa){return pr-Pa})},[Za]),Ka=Ce.useMemo(function(){return ur?[jr[0],jr[jr.length-1]]:[oo,jr[0]]},[jr,ur,oo]),Ha=(0,ke.Z)(Ka,2),mr=Ha[0],_r=Ha[1];Ce.useImperativeHandle(We,function(){return{focus:function(){Sn.current.focus(0)},blur:function(){var Pa=document,ta=Pa.activeElement;wa.current.contains(ta)&&(ta==null||ta.blur())}}}),Ce.useEffect(function(){ht&&Sn.current.focus(0)},[]);var Kr=Ce.useMemo(function(){return{min:oo,max:Kn,direction:Dr,disabled:Dt,keyboard:nn,step:cn,included:Ut,includedStart:mr,includedEnd:_r,range:ur,tabIndex:Oa,ariaLabelForHandle:va,ariaLabelledByForHandle:Na,ariaValueTextFormatterForHandle:ya}},[oo,Kn,Dr,Dt,nn,cn,Ut,mr,_r,ur,Oa,va,Na,ya]);return Ce.createElement(a.Provider,{value:Kr},Ce.createElement("div",{ref:wa,className:x()($t,Xt,(dt={},(0,Oe.Z)(dt,"".concat($t,"-disabled"),Dt),(0,Oe.Z)(dt,"".concat($t,"-vertical"),bn),(0,Oe.Z)(dt,"".concat($t,"-horizontal"),!bn),(0,Oe.Z)(dt,"".concat($t,"-with-marks"),vr.length),dt)),style:Kt,onMouseDown:He},Ce.createElement("div",{className:"".concat($t,"-rail"),style:Qe}),Ce.createElement(rt,{prefixCls:$t,style:Hn,values:jr,startPoint:fn,onStartMove:rn?Lr:null}),Ce.createElement(ln,{prefixCls:$t,marks:vr,dots:Gn,style:gt,activeStyle:it}),Ce.createElement(ye,{ref:Sn,prefixCls:$t,style:ma,values:Za,draggingIndex:zo,onStartMove:Lr,onOffsetChange:Ca,onFocus:Ft,onBlur:Nt,handleRender:Jn}),Ce.createElement(ut,{prefixCls:$t,marks:vr,onClick:qe})))}),Ea=Jt,_t=Ea,an=ue(36355),Nn=ue(1684),jn=ue(16089),pn=ue(8654),tt=ue(6848),wt=Ce.forwardRef((De,We)=>{const{open:dt}=De,Ot=(0,Ce.useRef)(null),$t=(0,Ce.useRef)(null);function Xt(){jn.Z.cancel($t.current),$t.current=null}function Kt(){$t.current=(0,jn.Z)(()=>{var on;(on=Ot.current)===null||on===void 0||on.forceAlign(),$t.current=null})}return Ce.useEffect(()=>(dt?Kt():Xt(),Xt),[dt,De.title]),Ce.createElement(tt.Z,Object.assign({ref:(0,pn.sQ)(Ot,We)},De))}),Ln=ue(64993),un=ue(17313),Un=ue(83116),Le=ue(37613);const xe=De=>{const{componentCls:We,antCls:dt,controlSize:Ot,dotSize:$t,marginFull:Xt,marginPart:Kt,colorFillContentHover:on}=De;return{[We]:Object.assign(Object.assign({},(0,un.Wf)(De)),{position:"relative",height:Ot,margin:`${Kt}px ${Xt}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Xt}px ${Kt}px`},[`${We}-rail`]:{position:"absolute",backgroundColor:De.railBg,borderRadius:De.borderRadiusXS,transition:`background-color ${De.motionDurationMid}`},[`${We}-track`]:{position:"absolute",backgroundColor:De.trackBg,borderRadius:De.borderRadiusXS,transition:`background-color ${De.motionDurationMid}`},[`${We}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${We}-rail`]:{backgroundColor:De.railHoverBg},[`${We}-track`]:{backgroundColor:De.trackHoverBg},[`${We}-dot`]:{borderColor:on},[`${We}-handle::after`]:{boxShadow:`0 0 0 ${De.handleLineWidth}px ${De.colorPrimaryBorderHover}`},[`${We}-dot-active`]:{borderColor:De.dotActiveBorderColor}},[`${We}-handle`]:{position:"absolute",width:De.handleSize,height:De.handleSize,outline:"none",[`${We}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-De.handleLineWidth,insetBlockStart:-De.handleLineWidth,width:De.handleSize+De.handleLineWidth*2,height:De.handleSize+De.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:De.handleSize,height:De.handleSize,backgroundColor:De.colorBgElevated,boxShadow:`0 0 0 ${De.handleLineWidth}px ${De.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${De.motionDurationMid}, + inset-block-start ${De.motionDurationMid}, + width ${De.motionDurationMid}, + height ${De.motionDurationMid}, + box-shadow ${De.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((De.handleSizeHover-De.handleSize)/2+De.handleLineWidthHover),insetBlockStart:-((De.handleSizeHover-De.handleSize)/2+De.handleLineWidthHover),width:De.handleSizeHover+De.handleLineWidthHover*2,height:De.handleSizeHover+De.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${De.handleLineWidthHover}px ${De.handleActiveColor}`,width:De.handleSizeHover,height:De.handleSizeHover,insetInlineStart:(De.handleSize-De.handleSizeHover)/2,insetBlockStart:(De.handleSize-De.handleSizeHover)/2}}},[`${We}-mark`]:{position:"absolute",fontSize:De.fontSize},[`${We}-mark-text`]:{position:"absolute",display:"inline-block",color:De.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:De.colorText}},[`${We}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${We}-dot`]:{position:"absolute",width:$t,height:$t,backgroundColor:De.colorBgElevated,border:`${De.handleLineWidth}px solid ${De.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${De.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:De.dotActiveBorderColor}},[`&${We}-disabled`]:{cursor:"not-allowed",[`${We}-rail`]:{backgroundColor:`${De.railBg} !important`},[`${We}-track`]:{backgroundColor:`${De.trackBgDisabled} !important`},[` + ${We}-dot + `]:{backgroundColor:De.colorBgElevated,borderColor:De.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${We}-handle::after`]:{backgroundColor:De.colorBgElevated,cursor:"not-allowed",width:De.handleSize,height:De.handleSize,boxShadow:`0 0 0 ${De.handleLineWidth}px ${new Ln.C(De.colorTextDisabled).onBackground(De.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` + ${We}-mark-text, + ${We}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${dt}-tooltip-inner`]:{minWidth:"unset"}})}},Ve=(De,We)=>{const{componentCls:dt,railSize:Ot,handleSize:$t,dotSize:Xt}=De,Kt=We?"paddingBlock":"paddingInline",on=We?"width":"height",Dt=We?"height":"width",At=We?"insetBlockStart":"insetInlineStart",nn=We?"top":"insetInlineStart",ht=(Ot*3-$t)/2,Ft=($t-Ot)/2,Nt=We?{borderWidth:`${Ft}px 0`,transform:`translateY(-${Ft}px)`}:{borderWidth:`0 ${Ft}px`,transform:`translateX(-${Ft}px)`};return{[Kt]:Ot,[Dt]:Ot*3,[`${dt}-rail`]:{[on]:"100%",[Dt]:Ot},[`${dt}-track`]:{[Dt]:Ot},[`${dt}-track-draggable`]:Object.assign({},Nt),[`${dt}-handle`]:{[At]:ht},[`${dt}-mark`]:{insetInlineStart:0,top:0,[nn]:Ot*3+(We?0:De.marginFull),[on]:"100%"},[`${dt}-step`]:{insetInlineStart:0,top:0,[nn]:Ot,[on]:"100%",[Dt]:Ot},[`${dt}-dot`]:{position:"absolute",[At]:(Ot-Xt)/2}}},Pt=De=>{const{componentCls:We,marginPartWithMark:dt}=De;return{[`${We}-horizontal`]:Object.assign(Object.assign({},Ve(De,!0)),{[`&${We}-with-marks`]:{marginBottom:dt}})}},Lt=De=>{const{componentCls:We}=De;return{[`${We}-vertical`]:Object.assign(Object.assign({},Ve(De,!1)),{height:"100%"})}};var Tt=(0,Un.Z)("Slider",De=>{const We=(0,Le.TS)(De,{marginPart:(De.controlHeight-De.controlSize)/2,marginFull:De.controlSize/2,marginPartWithMark:De.controlHeightLG-De.controlSize});return[xe(We),Pt(We),Lt(We)]},De=>{const dt=De.controlHeightLG/4,Ot=De.controlHeightSM/2,$t=De.lineWidth+1,Xt=De.lineWidth+1*3;return{controlSize:dt,railSize:4,handleSize:dt,handleSizeHover:Ot,dotSize:8,handleLineWidth:$t,handleLineWidthHover:Xt,railBg:De.colorFillTertiary,railHoverBg:De.colorFillSecondary,trackBg:De.colorPrimaryBorder,trackHoverBg:De.colorPrimaryBorderHover,handleColor:De.colorPrimaryBorder,handleActiveColor:De.colorPrimary,dotBorderColor:De.colorBorderSecondary,dotActiveBorderColor:De.colorPrimaryBorder,trackBgDisabled:De.colorBgContainerDisabled}}),Gt=function(De,We){var dt={};for(var Ot in De)Object.prototype.hasOwnProperty.call(De,Ot)&&We.indexOf(Ot)<0&&(dt[Ot]=De[Ot]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Ot=Object.getOwnPropertySymbols(De);$ttypeof De=="number"?De.toString():"";var Rt=Ce.forwardRef((De,We)=>{const{prefixCls:dt,range:Ot,className:$t,rootClassName:Xt,style:Kt,disabled:on,tooltipPrefixCls:Dt,tipFormatter:At,tooltipVisible:nn,getTooltipPopupContainer:ht,tooltipPlacement:Ft}=De,Nt=Gt(De,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:sn,slider:yt,getPrefixCls:Mt,getPopupContainer:Tn}=Ce.useContext(an.E_),zt=Ce.useContext(Nn.Z),na=on!=null?on:zt,[Ja,gr]=Ce.useState({}),ur=(bt,bn)=>{gr(On=>Object.assign(Object.assign({},On),{[bt]:bn}))},za=(bt,bn)=>bt||(bn?sn==="rtl"?"left":"right":"top"),Or=Mt("slider",dt),[yr,or]=Tt(Or),fr=x()($t,yt==null?void 0:yt.className,Xt,{[`${Or}-rtl`]:sn==="rtl"},or);sn==="rtl"&&!Nt.vertical&&(Nt.reverse=!Nt.reverse);const[lr,Wa]=Ce.useMemo(()=>Ot?typeof Ot=="object"?[!0,Ot.draggableTrack]:[!0,!1]:[!1],[Ot]),Gr=(bt,bn)=>{var On;const{index:Ut,dragging:fn}=bn,{tooltip:Hn={},vertical:ma}=De,Qe=Object.assign({},Hn),{open:gt,placement:it,getPopupContainer:Vn,prefixCls:Gn,formatter:Jn}=Qe;let Va;Jn||Jn===null?Va=Jn:At||At===null?Va=At:Va=en;const Oa=Va?Ja[Ut]||fn:!1,va=(On=gt!=null?gt:nn)!==null&&On!==void 0?On:gt===void 0&&Oa,Na=Object.assign(Object.assign({},bt.props),{onMouseEnter:()=>ur(Ut,!0),onMouseLeave:()=>ur(Ut,!1)}),ya=Mt("tooltip",Gn!=null?Gn:Dt);return Ce.createElement(wt,Object.assign({},Qe,{prefixCls:ya,title:Va?Va(bn.value):"",open:va,placement:za(it!=null?it:Ft,ma),key:Ut,overlayClassName:`${Or}-tooltip`,getPopupContainer:Vn||ht||Tn}),Ce.cloneElement(bt,Na))},Br=Object.assign(Object.assign({},yt==null?void 0:yt.style),Kt);return yr(Ce.createElement(_t,Object.assign({},Nt,{step:Nt.step,range:lr,draggableTrack:Wa,className:fr,style:Br,disabled:na,ref:We,prefixCls:Or,handleRender:Gr})))})},10527:function(we,St,ue){"use strict";var ae,x=ue(12659).default;ae={value:!0},St.Z=void 0;var Oe=x(ue(65835)),Ze=x(ue(6432));const ke={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},Oe.default),timePickerLocale:Object.assign({},Ze.default)};ke.lang.ok="\u786E\u5B9A";var et=ke;St.Z=et},6432:function(we,St){"use strict";Object.defineProperty(St,"__esModule",{value:!0}),St.default=void 0;var ae={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};St.default=ae},65835:function(we,St){"use strict";Object.defineProperty(St,"__esModule",{value:!0}),St.default=void 0;var ue={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},ae=ue;St.default=ae},19306:function(we,St,ue){"use strict";ue.d(St,{Z5:function(){return mi},_l:function(){return Jg},bK:function(){return Pg}});var ae=ue(59301),x=ue(67489);function Oe(ee,te){ee.prototype=Object.create(te.prototype),ee.prototype.constructor=ee,(0,x.Z)(ee,te)}var Ze=ue(32855),ke=ue(59781),et=ae.createContext(null),Ce=null;function ct(ee){ee()}var Re=ct,Me=function(te){return Re=te},lt=function(){return Re};function mt(){var ee=lt(),te=null,ie=null;return{clear:function(){te=null,ie=null},notify:function(){ee(function(){for(var Ee=te;Ee;)Ee.callback(),Ee=Ee.next})},get:function(){for(var Ee=[],Pe=te;Pe;)Ee.push(Pe),Pe=Pe.next;return Ee},subscribe:function(Ee){var Pe=!0,Fe=ie={callback:Ee,next:null,prev:ie};return Fe.prev?Fe.prev.next=Fe:te=Fe,function(){!Pe||te===null||(Pe=!1,Fe.next?Fe.next.prev=Fe.prev:ie=Fe.prev,Fe.prev?Fe.prev.next=Fe.next:te=Fe.next)}}}}var $e={notify:function(){},get:function(){return[]}};function fe(ee,te){var ie,ge=$e;function Ee(Ue){return Ke(),ge.subscribe(Ue)}function Pe(){ge.notify()}function Fe(){nt.onStateChange&&nt.onStateChange()}function be(){return!!ie}function Ke(){ie||(ie=te?te.addNestedSub(Fe):ee.subscribe(Fe),ge=mt())}function ot(){ie&&(ie(),ie=void 0,ge.clear(),ge=$e)}var nt={addNestedSub:Ee,notifyNestedSubs:Pe,handleChangeWrapper:Fe,isSubscribed:be,trySubscribe:Ke,tryUnsubscribe:ot,getListeners:function(){return ge}};return nt}var a=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ae.useLayoutEffect:ae.useEffect;function E(ee){var te=ee.store,ie=ee.context,ge=ee.children,Ee=(0,ae.useMemo)(function(){var be=fe(te);return{store:te,subscription:be}},[te]),Pe=(0,ae.useMemo)(function(){return te.getState()},[te]);a(function(){var be=Ee.subscription;return be.onStateChange=be.notifyNestedSubs,be.trySubscribe(),Pe!==te.getState()&&be.notifyNestedSubs(),function(){be.tryUnsubscribe(),be.onStateChange=null}},[Ee,Pe]);var Fe=ie||et;return ae.createElement(Fe.Provider,{value:Ee},ge)}var b=E,y=ue(12687),z=ue(94266),ne=ue.n(z),se=ue(53410),ce=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],de=["reactReduxForwardedRef"],ye=[],Ae=[null,null],Ge=function(te){try{return JSON.stringify(te)}catch(ie){return String(te)}};function Be(ee,te){var ie=ee[1];return[te.payload,ie+1]}function rt(ee,te,ie){a(function(){return ee.apply(void 0,te)},ie)}function Xe(ee,te,ie,ge,Ee,Pe,Fe){ee.current=ge,te.current=Ee,ie.current=!1,Pe.current&&(Pe.current=null,Fe())}function ut(ee,te,ie,ge,Ee,Pe,Fe,be,Ke,ot){if(ee){var nt=!1,Ue=null,Je=function(){if(!nt){var fa=te.getState(),Fa,Ra;try{Fa=ge(fa,Ee.current)}catch(er){Ra=er,Ue=er}Ra||(Ue=null),Fa===Pe.current?Fe.current||Ke():(Pe.current=Fa,be.current=Fa,Fe.current=!0,ot({type:"STORE_UPDATED",payload:{error:Ra}}))}};ie.onStateChange=Je,ie.trySubscribe(),Je();var Et=function(){if(nt=!0,ie.tryUnsubscribe(),ie.onStateChange=null,Ue)throw Ue};return Et}}var mn=function(){return[null,0]};function ln(ee,te){te===void 0&&(te={});var ie=te,ge=ie.getDisplayName,Ee=ge===void 0?function(ro){return"ConnectAdvanced("+ro+")"}:ge,Pe=ie.methodName,Fe=Pe===void 0?"connectAdvanced":Pe,be=ie.renderCountProp,Ke=be===void 0?void 0:be,ot=ie.shouldHandleStateChanges,nt=ot===void 0?!0:ot,Ue=ie.storeKey,Je=Ue===void 0?"store":Ue,Et=ie.withRef,tn=Et===void 0?!1:Et,fa=ie.forwardRef,Fa=fa===void 0?!1:fa,Ra=ie.context,er=Ra===void 0?et:Ra,dr=(0,y.Z)(ie,ce);if(0)var rr;var no=er;return function(Oo){var Vl=Oo.displayName||Oo.name||"Component",Zo=Ee(Vl),Nl=(0,Ze.Z)({},dr,{getDisplayName:Ee,methodName:Fe,renderCountProp:Ke,shouldHandleStateChanges:nt,storeKey:Je,displayName:Zo,wrappedComponentName:Vl,WrappedComponent:Oo}),iu=dr.pure;function vu(su){return ee(su.dispatch,Nl)}var Di=iu?ae.useMemo:function(su){return su()};function Zu(su){var pu=(0,ae.useMemo)(function(){var Pc=su.reactReduxForwardedRef,Hd=(0,y.Z)(su,de);return[su.context,Pc,Hd]},[su]),cu=pu[0],fc=pu[1],ki=pu[2],ms=(0,ae.useMemo)(function(){return cu&&cu.Consumer&&(0,se.isContextConsumer)(ae.createElement(cu.Consumer,null))?cu:no},[cu,no]),Zi=(0,ae.useContext)(ms),fs=!!su.store&&!!su.store.getState&&!!su.store.dispatch,qc=!!Zi&&!!Zi.store,Vu=fs?su.store:Zi.store,vc=(0,ae.useMemo)(function(){return vu(Vu)},[Vu]),pc=(0,ae.useMemo)(function(){if(!nt)return Ae;var Pc=fe(Vu,fs?null:Zi.subscription),Hd=Pc.notifyNestedSubs.bind(Pc);return[Pc,Hd]},[Vu,fs,Zi]),zs=pc[0],$c=pc[1],hc=(0,ae.useMemo)(function(){return fs?Zi:(0,Ze.Z)({},Zi,{subscription:zs})},[fs,Zi,zs]),Kd=(0,ae.useReducer)(Be,ye,mn),Sg=Kd[0],vs=Sg[0],em=Kd[1];if(vs&&vs.error)throw vs.error;var Fg=(0,ae.useRef)(),ed=(0,ae.useRef)(ki),td=(0,ae.useRef)(),Ec=(0,ae.useRef)(!1),nd=Di(function(){return td.current&&ki===ed.current?td.current:vc(Vu.getState(),ki)},[Vu,vs,ki]);rt(Xe,[ed,Fg,Ec,ki,nd,td,$c]),rt(ut,[nt,Vu,zs,vc,ed,Fg,Ec,td,$c,em],[Vu,zs,vc]);var ad=(0,ae.useMemo)(function(){return ae.createElement(Oo,(0,Ze.Z)({},nd,{ref:fc}))},[fc,Oo,nd]),yg=(0,ae.useMemo)(function(){return nt?ae.createElement(ms.Provider,{value:hc},ad):ad},[ms,ad,hc]);return yg}var Wu=iu?ae.memo(Zu):Zu;if(Wu.WrappedComponent=Oo,Wu.displayName=Zu.displayName=Zo,Fa){var fi=ae.forwardRef(function(pu,cu){return ae.createElement(Wu,(0,Ze.Z)({},pu,{reactReduxForwardedRef:cu}))});return fi.displayName=Zo,fi.WrappedComponent=Oo,ne()(fi,Oo)}return ne()(Wu,Oo)}}function En(ee,te){return ee===te?ee!==0||te!==0||1/ee===1/te:ee!==ee&&te!==te}function vn(ee,te){if(En(ee,te))return!0;if(typeof ee!="object"||ee===null||typeof te!="object"||te===null)return!1;var ie=Object.keys(ee),ge=Object.keys(te);if(ie.length!==ge.length)return!1;for(var Ee=0;Ee=0;ge--){var Ee=te[ge](ee);if(Ee)return Ee}return function(Pe,Fe){throw new Error("Invalid value of type "+typeof ee+" for "+ie+" argument when connecting component "+Fe.wrappedComponentName+".")}}function Rt(ee,te){return ee===te}function De(ee){var te=ee===void 0?{}:ee,ie=te.connectHOC,ge=ie===void 0?ln:ie,Ee=te.mapStateToPropsFactories,Pe=Ee===void 0?Ln:Ee,Fe=te.mapDispatchToPropsFactories,be=Fe===void 0?tt:Fe,Ke=te.mergePropsFactories,ot=Ke===void 0?Ve:Ke,nt=te.selectorFactory,Ue=nt===void 0?Gt:nt;return function(Et,tn,fa,Fa){Fa===void 0&&(Fa={});var Ra=Fa,er=Ra.pure,dr=er===void 0?!0:er,rr=Ra.areStatesEqual,no=rr===void 0?Rt:rr,ro=Ra.areOwnPropsEqual,Oo=ro===void 0?vn:ro,Vl=Ra.areStatePropsEqual,Zo=Vl===void 0?vn:Vl,Nl=Ra.areMergedPropsEqual,iu=Nl===void 0?vn:Nl,vu=(0,y.Z)(Ra,en),Di=Rn(Et,Pe,"mapStateToProps"),Zu=Rn(tn,be,"mapDispatchToProps"),Wu=Rn(fa,ot,"mergeProps");return ge(Ue,(0,Ze.Z)({methodName:"connect",getDisplayName:function(su){return"Connect("+su+")"},shouldHandleStateChanges:!!Et,initMapStateToProps:Di,initMapDispatchToProps:Zu,initMergeProps:Wu,pure:dr,areStatesEqual:no,areOwnPropsEqual:Oo,areStatePropsEqual:Zo,areMergedPropsEqual:iu},vu))}}var We=De();function dt(){var ee=useContext(ReactReduxContext);return ee}function Ot(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var ge=te(),Ee=ge.store;return Ee}}var $t=null;function Xt(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var ge=te();return ge.dispatch}}var Kt=null,on=function(te,ie){return te===ie};function Dt(ee,te,ie,ge){var Ee=useReducer(function(tn){return tn+1},0),Pe=Ee[1],Fe=useMemo(function(){return createSubscription(ie,ge)},[ie,ge]),be=useRef(),Ke=useRef(),ot=useRef(),nt=useRef(),Ue=ie.getState(),Je;try{if(ee!==Ke.current||Ue!==ot.current||be.current){var Et=ee(Ue);nt.current===void 0||!te(Et,nt.current)?Je=Et:Je=nt.current}else Je=nt.current}catch(tn){throw be.current&&(tn.message+=` +The error may be correlated with this previous error: +`+be.current.stack+` + +`),tn}return useIsomorphicLayoutEffect(function(){Ke.current=ee,ot.current=Ue,nt.current=Je,be.current=void 0}),useIsomorphicLayoutEffect(function(){function tn(){try{var fa=ie.getState();if(fa===ot.current)return;var Fa=Ke.current(fa);if(te(Fa,nt.current))return;nt.current=Fa,ot.current=fa}catch(Ra){be.current=Ra}Pe()}return Fe.onStateChange=tn,Fe.trySubscribe(),tn(),function(){return Fe.tryUnsubscribe()}},[ie,Fe]),Je}function At(ee){ee===void 0&&(ee=ReactReduxContext);var te=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(ge,Ee){Ee===void 0&&(Ee=on);var Pe=te(),Fe=Pe.store,be=Pe.subscription,Ke=Dt(ge,Ee,Fe,be);return useDebugValue(Ke),Ke}}var nn=null,ht=ue(4676);Me(ht.unstable_batchedUpdates);function Ft(ee,te){if(ee.length!==te.length)return!1;for(var ie=0;ie");return ge.callbacks},ge.setCallbacks=function(be){ge.callbacks=be},ge}var ie=te.prototype;return ie.componentDidMount=function(){this.unbind=wa(window,[{eventName:"error",fn:this.onWindowError}])},ie.componentWillUnmount=function(){this.unbind()},ie.componentDidCatch=function(Ee){if(Ee instanceof Kn){this.setState({});return}throw Ee},ie.render=function(){return this.props.children(this.setCallbacks)},te}(ae.Component),vr=` + Press space bar to start a drag. + When dragging you can use the arrow keys to move the item around and escape to cancel. + Some screen readers may require you to be in focus mode or to use your pass through key +`,lo=function(te){return te+1},Tr=function(te){return` + You have lifted an item in position `+lo(te.source.index)+` +`},Bo=function(te,ie){var ge=te.droppableId===ie.droppableId,Ee=lo(te.index),Pe=lo(ie.index);return ge?` + You have moved the item from position `+Ee+` + to position `+Pe+` + `:` + You have moved the item from position `+Ee+` + in list `+te.droppableId+` + to list `+ie.droppableId+` + in position `+Pe+` + `},yo=function(te,ie,ge){var Ee=ie.droppableId===ge.droppableId;return Ee?` + The item `+te+` + has been combined with `+ge.draggableId:` + The item `+te+` + in list `+ie.droppableId+` + has been combined with `+ge.draggableId+` + in list `+ge.droppableId+` + `},Vo=function(te){var ie=te.destination;if(ie)return Bo(te.source,ie);var ge=te.combine;return ge?yo(te.draggableId,te.source,ge):"You are over an area that cannot be dropped on"},Ur=function(te){return` + The item has returned to its starting position + of `+lo(te.index)+` +`},po=function(te){if(te.reason==="CANCEL")return` + Movement cancelled. + `+Ur(te.source)+` + `;var ie=te.destination,ge=te.combine;return ie?` + You have dropped the item. + `+Bo(te.source,ie)+` + `:ge?` + You have dropped the item. + `+yo(te.draggableId,te.source,ge)+` + `:` + The item has been dropped while not over a drop area. + `+Ur(te.source)+` + `},kn={dragHandleUsageInstructions:vr,onDragStart:Tr,onDragUpdate:Vo,onDragEnd:po},Nr={x:0,y:0},uo=function(te,ie){return{x:te.x+ie.x,y:te.y+ie.y}},co=function(te,ie){return{x:te.x-ie.x,y:te.y-ie.y}},xt=function(te,ie){return te.x===ie.x&&te.y===ie.y},qe=function(te){return{x:te.x!==0?-te.x:0,y:te.y!==0?-te.y:0}},He=function(te,ie,ge){var Ee;return ge===void 0&&(ge=0),Ee={},Ee[te]=ie,Ee[te==="x"?"y":"x"]=ge,Ee},Vt=function(te,ie){return Math.sqrt(Math.pow(ie.x-te.x,2)+Math.pow(ie.y-te.y,2))},Mn=function(te,ie){return Math.min.apply(Math,ie.map(function(ge){return Vt(te,ge)}))},pa=function(te){return function(ie){return{x:te(ie.x),y:te(ie.y)}}},xn=function(ee,te){var ie=Ja({top:Math.max(te.top,ee.top),right:Math.min(te.right,ee.right),bottom:Math.min(te.bottom,ee.bottom),left:Math.max(te.left,ee.left)});return ie.width<=0||ie.height<=0?null:ie},Ca=function(te,ie){return{top:te.top+ie.y,left:te.left+ie.x,bottom:te.bottom+ie.y,right:te.right+ie.x}},rn=function(te){return[{x:te.left,y:te.top},{x:te.right,y:te.top},{x:te.left,y:te.bottom},{x:te.right,y:te.bottom}]},da={top:0,right:0,bottom:0,left:0},zr=function(te,ie){return ie?Ca(te,ie.scroll.diff.displacement):te},ho=function(te,ie,ge){if(ge&&ge.increasedBy){var Ee;return(0,Ze.Z)({},te,(Ee={},Ee[ie.end]=te[ie.end]+ge.increasedBy[ie.line],Ee))}return te},zo=function(te,ie){return ie&&ie.shouldClipSubject?xn(ie.pageMarginBox,te):Ja(te)},cr=function(ee){var te=ee.page,ie=ee.withPlaceholder,ge=ee.axis,Ee=ee.frame,Pe=zr(te.marginBox,Ee),Fe=ho(Pe,ge,ie),be=zo(Fe,Ee);return{page:te,withPlaceholder:ie,active:be}},Za=function(ee,te){ee.frame||cn(!1);var ie=ee.frame,ge=co(te,ie.scroll.initial),Ee=qe(ge),Pe=(0,Ze.Z)({},ie,{scroll:{initial:ie.scroll.initial,current:te,diff:{value:ge,displacement:Ee},max:ie.scroll.max}}),Fe=cr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Pe}),be=(0,Ze.Z)({},ee,{frame:Pe,subject:Fe});return be};function Cr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function Lr(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(te){return ee[te]})}function Mr(ee,te){if(ee.findIndex)return ee.findIndex(te);for(var ie=0;ieee.bottom,ot=ge.leftee.right,nt=Ke&&ot;if(nt)return!0;var Ue=Ke&&Fe||ot&&Pe;return Ue}},ql=function(ee){var te=El(ee.top,ee.bottom),ie=El(ee.left,ee.right);return function(ge){var Ee=te(ge.top)&&te(ge.bottom)&&ie(ge.left)&&ie(ge.right);return Ee}},ru={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Iu={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ou=function(ee){return function(te){var ie=El(te.top,te.bottom),ge=El(te.left,te.right);return function(Ee){return ee===ru?ie(Ee.top)&&ie(Ee.bottom):ge(Ee.left)&&ge(Ee.right)}}},ar=function(te,ie){var ge=ie.frame?ie.frame.scroll.diff.displacement:Nr;return Ca(te,ge)},ga=function(te,ie,ge){return ie.subject.active?ge(ie.subject.active)(te):!1},ia=function(te,ie,ge){return ge(ie)(te)},Sa=function(te){var ie=te.target,ge=te.destination,Ee=te.viewport,Pe=te.withDroppableDisplacement,Fe=te.isVisibleThroughFrameFn,be=Pe?ar(ie,ge):ie;return ga(be,ge,Fe)&&ia(be,Ee,Fe)},$r=function(te){return Sa((0,Ze.Z)({},te,{isVisibleThroughFrameFn:Aa}))},Co=function(te){return Sa((0,Ze.Z)({},te,{isVisibleThroughFrameFn:ql}))},Ho=function(te){return Sa((0,Ze.Z)({},te,{isVisibleThroughFrameFn:ou(te.destination.axis)}))},hr=function(te,ie,ge){if(typeof ge=="boolean")return ge;if(!ie)return!0;var Ee=ie.invisible,Pe=ie.visible;if(Ee[te])return!1;var Fe=Pe[te];return Fe?Fe.shouldAnimate:!0};function Wr(ee,te){var ie=ee.page.marginBox,ge={top:te.point.y,right:0,bottom:0,left:te.point.x};return Ja(gr(ie,ge))}function vo(ee){var te=ee.afterDragging,ie=ee.destination,ge=ee.displacedBy,Ee=ee.viewport,Pe=ee.forceShouldAnimate,Fe=ee.last;return te.reduce(function(Ke,ot){var nt=Wr(ot,ge),Ue=ot.descriptor.id;Ke.all.push(Ue);var Je=$r({target:nt,destination:ie,viewport:Ee,withDroppableDisplacement:!0});if(!Je)return Ke.invisible[ot.descriptor.id]=!0,Ke;var Et=hr(Ue,Fe,Pe),tn={draggableId:Ue,shouldAnimate:Et};return Ke.visible[Ue]=tn,Ke},{all:[],visible:{},invisible:{}})}function Jr(ee,te){if(!ee.length)return 0;var ie=ee[ee.length-1].descriptor.index;return te.inHomeList?ie:ie+1}function Io(ee){var te=ee.insideDestination,ie=ee.inHomeList,ge=ee.displacedBy,Ee=ee.destination,Pe=Jr(te,{inHomeList:ie});return{displaced:_o,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:Ee.descriptor.id,index:Pe}}}}function il(ee){var te=ee.draggable,ie=ee.insideDestination,ge=ee.destination,Ee=ee.viewport,Pe=ee.displacedBy,Fe=ee.last,be=ee.index,Ke=ee.forceShouldAnimate,ot=Eo(te,ge);if(be==null)return Io({insideDestination:ie,inHomeList:ot,displacedBy:Pe,destination:ge});var nt=jr(ie,function(fa){return fa.descriptor.index===be});if(!nt)return Io({insideDestination:ie,inHomeList:ot,displacedBy:Pe,destination:ge});var Ue=Ta(te,ie),Je=ie.indexOf(nt),Et=Ue.slice(Je),tn=vo({afterDragging:Et,destination:ge,displacedBy:Pe,last:Fe,viewport:Ee.frame,forceShouldAnimate:Ke});return{displaced:tn,displacedBy:Pe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:be}}}}function $o(ee,te){return!!te.effected[ee]}var Eu=function(ee){var te=ee.isMovingForward,ie=ee.destination,ge=ee.draggables,Ee=ee.combine,Pe=ee.afterCritical;if(!ie.isCombineEnabled)return null;var Fe=Ee.draggableId,be=ge[Fe],Ke=be.descriptor.index,ot=$o(Fe,Pe);return ot?te?Ke:Ke-1:te?Ke+1:Ke},Pu=function(ee){var te=ee.isMovingForward,ie=ee.isInHomeList,ge=ee.insideDestination,Ee=ee.location;if(!ge.length)return null;var Pe=Ee.index,Fe=te?Pe+1:Pe-1,be=ge[0].descriptor.index,Ke=ge[ge.length-1].descriptor.index,ot=ie?Ke:Ke+1;return Feot?null:Fe},Ql=function(ee){var te=ee.isMovingForward,ie=ee.isInHomeList,ge=ee.draggable,Ee=ee.draggables,Pe=ee.destination,Fe=ee.insideDestination,be=ee.previousImpact,Ke=ee.viewport,ot=ee.afterCritical,nt=be.at;if(nt||cn(!1),nt.type==="REORDER"){var Ue=Pu({isMovingForward:te,isInHomeList:ie,location:nt.destination,insideDestination:Fe});return Ue==null?null:il({draggable:ge,insideDestination:Fe,destination:Pe,viewport:Ke,last:be.displaced,displacedBy:be.displacedBy,index:Ue})}var Je=Eu({isMovingForward:te,destination:Pe,displaced:be.displaced,draggables:Ee,combine:nt.combine,afterCritical:ot});return Je==null?null:il({draggable:ge,insideDestination:Fe,destination:Pe,viewport:Ke,last:be.displaced,displacedBy:be.displacedBy,index:Je})},_u=function(ee){var te=ee.displaced,ie=ee.afterCritical,ge=ee.combineWith,Ee=ee.displacedBy,Pe=!!(te.visible[ge]||te.invisible[ge]);return $o(ge,ie)?Pe?Nr:qe(Ee.point):Pe?Ee.point:Nr},sl=function(ee){var te=ee.afterCritical,ie=ee.impact,ge=ee.draggables,Ee=ta(ie);Ee||cn(!1);var Pe=Ee.draggableId,Fe=ge[Pe].page.borderBox.center,be=_u({displaced:ie.displaced,afterCritical:te,combineWith:Pe,displacedBy:ie.displacedBy});return uo(Fe,be)},zu=function(te,ie){return ie.margin[te.start]+ie.borderBox[te.size]/2},Tl=function(te,ie){return ie.margin[te.end]+ie.borderBox[te.size]/2},lu=function(te,ie,ge){return ie[te.crossAxisStart]+ge.margin[te.crossAxisStart]+ge.borderBox[te.crossAxisSize]/2},Gu=function(te){var ie=te.axis,ge=te.moveRelativeTo,Ee=te.isMoving;return He(ie.line,ge.marginBox[ie.end]+zu(ie,Ee),lu(ie,ge.marginBox,Ee))},Nu=function(te){var ie=te.axis,ge=te.moveRelativeTo,Ee=te.isMoving;return He(ie.line,ge.marginBox[ie.start]-Tl(ie,Ee),lu(ie,ge.marginBox,Ee))},kl=function(te){var ie=te.axis,ge=te.moveInto,Ee=te.isMoving;return He(ie.line,ge.contentBox[ie.start]+zu(ie,Ee),lu(ie,ge.contentBox,Ee))},xi=function(ee){var te=ee.impact,ie=ee.draggable,ge=ee.draggables,Ee=ee.droppable,Pe=ee.afterCritical,Fe=pr(Ee.descriptor.id,ge),be=ie.page,Ke=Ee.axis;if(!Fe.length)return kl({axis:Ke,moveInto:Ee.page,isMoving:be});var ot=te.displaced,nt=te.displacedBy,Ue=ot.all[0];if(Ue){var Je=ge[Ue];if($o(Ue,Pe))return Nu({axis:Ke,moveRelativeTo:Je.page,isMoving:be});var Et=lr(Je.page,nt.point);return Nu({axis:Ke,moveRelativeTo:Et,isMoving:be})}var tn=Fe[Fe.length-1];if(tn.descriptor.id===ie.descriptor.id)return be.borderBox.center;if($o(tn.descriptor.id,Pe)){var fa=lr(tn.page,qe(Pe.displacedBy.point));return Gu({axis:Ke,moveRelativeTo:fa,isMoving:be})}return Gu({axis:Ke,moveRelativeTo:tn.page,isMoving:be})},oi=function(ee,te){var ie=ee.frame;return ie?uo(te,ie.scroll.diff.displacement):te},xu=function(te){var ie=te.impact,ge=te.draggable,Ee=te.droppable,Pe=te.draggables,Fe=te.afterCritical,be=ge.page.borderBox.center,Ke=ie.at;return!Ee||!Ke?be:Ke.type==="REORDER"?xi({impact:ie,draggable:ge,draggables:Pe,droppable:Ee,afterCritical:Fe}):sl({impact:ie,draggables:Pe,afterCritical:Fe})},Uu=function(ee){var te=xu(ee),ie=ee.droppable,ge=ie?oi(ie,te):te;return ge},vi=function(ee,te){var ie=co(te,ee.scroll.initial),ge=qe(ie),Ee=Ja({top:te.y,bottom:te.y+ee.frame.height,left:te.x,right:te.x+ee.frame.width}),Pe={frame:Ee,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:te,diff:{value:ie,displacement:ge}}};return Pe};function pi(ee,te){return ee.map(function(ie){return te[ie]})}function ba(ee,te){for(var ie=0;ie1?nt.sort(function(Ue,Je){return cl(Ue)[be.start]-cl(Je)[be.start]})[0]:ot.sort(function(Ue,Je){var Et=Mn(ie,rn(cl(Ue))),tn=Mn(ie,rn(cl(Je)));return Et!==tn?Et-tn:cl(Ue)[be.start]-cl(Je)[be.start]})[0]},li=function(te,ie){var ge=te.page.borderBox.center;return $o(te.descriptor.id,ie)?co(ge,ie.displacedBy.point):ge},Jo=function(te,ie){var ge=te.page.borderBox;return $o(te.descriptor.id,ie)?Ca(ge,qe(ie.displacedBy.point)):ge},ju=function(ee){var te=ee.pageBorderBoxCenter,ie=ee.viewport,ge=ee.destination,Ee=ee.insideDestination,Pe=ee.afterCritical,Fe=Ee.filter(function(be){return Co({target:Jo(be,Pe),destination:ge,viewport:ie.frame,withDroppableDisplacement:!0})}).sort(function(be,Ke){var ot=Vt(te,oi(ge,li(be,Pe))),nt=Vt(te,oi(ge,li(Ke,Pe)));return otte.left&&ee.topte.top}function Ks(ee){var te=ee.pageBorderBox,ie=ee.draggable,ge=ee.candidates,Ee=ie.page.borderBox.center,Pe=ge.map(function(Fe){var be=Fe.axis,Ke=He(Fe.axis.line,te.center[be.line],Fe.page.borderBox.center[be.crossAxisLine]);return{id:Fe.descriptor.id,distance:Vt(Ee,Ke)}}).sort(function(Fe,be){return be.distance-Fe.distance});return Pe[0]?Pe[0].id:null}function sd(ee){var te=ee.pageBorderBox,ie=ee.draggable,ge=ee.droppables,Ee=_r(ge).filter(function(Pe){if(!Pe.isEnabled)return!1;var Fe=Pe.subject.active;if(!Fe||!Dc(te,Fe))return!1;if(Li(Fe)(te.center))return!0;var be=Pe.axis,Ke=Fe.center[be.crossAxisLine],ot=te[be.crossAxisStart],nt=te[be.crossAxisEnd],Ue=El(Fe[be.crossAxisStart],Fe[be.crossAxisEnd]),Je=Ue(ot),Et=Ue(nt);return!Je&&!Et?!0:Je?otKe});return Ee.length?Ee.length===1?Ee[0].descriptor.id:Ks({pageBorderBox:te,draggable:ie,candidates:Ee}):null}var Ss=function(te,ie){return Ja(Ca(te,ie))},cd=function(ee,te){var ie=ee.frame;return ie?Ss(te,ie.scroll.diff.value):te};function Hs(ee){var te=ee.displaced,ie=ee.id;return!!(te.visible[ie]||te.invisible[ie])}function dd(ee){var te=ee.draggable,ie=ee.closest,ge=ee.inHomeList;return ie?ge&&ie.descriptor.index>te.descriptor.index?ie.descriptor.index-1:ie.descriptor.index:null}var gd=function(ee){var te=ee.pageBorderBoxWithDroppableScroll,ie=ee.draggable,ge=ee.destination,Ee=ee.insideDestination,Pe=ee.last,Fe=ee.viewport,be=ee.afterCritical,Ke=ge.axis,ot=Xo(ge.axis,ie.displaceBy),nt=ot.value,Ue=te[Ke.start],Je=te[Ke.end],Et=Ta(ie,Ee),tn=jr(Et,function(Fa){var Ra=Fa.descriptor.id,er=Fa.page.borderBox.center[Ke.line],dr=$o(Ra,be),rr=Hs({displaced:Pe,id:Ra});return dr?rr?Je<=er:UeRa[be.start]+dr&&UeRa[be.start]-ot+dr&&ntRa[be.start]+ot+dr&&UeRa[be.start]+dr&&nt=Yo)return mo;var Pe=Ee/Yo,Fe=Yr+Go*Pe,be=ge==="CANCEL"?Fe*Ro:Fe;return Number(be.toFixed(2))},qo=function(ee){var te=ee.impact,ie=ee.draggable,ge=ee.dimensions,Ee=ee.viewport,Pe=ee.afterCritical,Fe=ge.draggables,be=ge.droppables,Ke=Gl(te),ot=Ke?be[Ke]:null,nt=be[ie.descriptor.droppableId],Ue=Cs({impact:te,draggable:ie,draggables:Fe,afterCritical:Pe,droppable:ot||nt,viewport:Ee}),Je=co(Ue,ie.client.borderBox.center);return Je},Uo=function(ee){var te=ee.draggables,ie=ee.reason,ge=ee.lastImpact,Ee=ee.home,Pe=ee.viewport,Fe=ee.onLiftImpact;if(!ge.at||ie!=="DROP"){var be=ui({draggables:te,impact:Fe,destination:Ee,viewport:Pe,forceShouldAnimate:!0});return{impact:be,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var Ke=(0,Ze.Z)({},ge,{displaced:_o});return{impact:Ke,didDropInsideDroppable:!0}},Ul=function(ee){var te=ee.getState,ie=ee.dispatch;return function(ge){return function(Ee){if(Ee.type!=="DROP"){ge(Ee);return}var Pe=te(),Fe=Ee.payload.reason;if(Pe.phase==="COLLECTING"){ie(Ba({reason:Fe}));return}if(Pe.phase!=="IDLE"){var be=Pe.phase==="DROP_PENDING"&&Pe.isWaiting;be&&cn(!1),Pe.phase==="DRAGGING"||Pe.phase==="DROP_PENDING"||cn(!1);var Ke=Pe.critical,ot=Pe.dimensions,nt=ot.draggables[Pe.critical.draggable.id],Ue=Uo({reason:Fe,lastImpact:Pe.impact,afterCritical:Pe.afterCritical,onLiftImpact:Pe.onLiftImpact,home:Pe.dimensions.droppables[Pe.critical.droppable.id],viewport:Pe.viewport,draggables:Pe.dimensions.draggables}),Je=Ue.impact,Et=Ue.didDropInsideDroppable,tn=Et?Pa(Je):null,fa=Et?ta(Je):null,Fa={index:Ke.draggable.index,droppableId:Ke.droppable.id},Ra={draggableId:nt.descriptor.id,type:nt.descriptor.type,source:Fa,reason:Fe,mode:Pe.movementMode,destination:tn,combine:fa},er=qo({impact:Je,draggable:nt,dimensions:ot,viewport:Pe.viewport,afterCritical:Pe.afterCritical}),dr={critical:Pe.critical,afterCritical:Pe.afterCritical,result:Ra,impact:Je},rr=!xt(Pe.current.client.offset,er)||!!Ra.combine;if(!rr){ie($n({completed:dr}));return}var no=ll({current:Pe.current.client.offset,destination:er,reason:Fe}),ro={newHomeClientOffset:er,dropDuration:no,completed:dr};ie(yn(ro))}}}},pl=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function io(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ie){ie.target!==window&&ie.target!==window.document||ee()}}}function gl(ee){var te=ee.onWindowScroll;function ie(){te(pl())}var ge=ma(ie),Ee=io(ge),Pe=ya;function Fe(){return Pe!==ya}function be(){Fe()&&cn(!1),Pe=wa(window,[Ee])}function Ke(){Fe()||cn(!1),ge.cancel(),Pe(),Pe=ya}return{start:be,stop:Ke,isActive:Fe}}var Cl=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Zl=function(ee){var te=gl({onWindowScroll:function(ge){ee.dispatch(hn({newScroll:ge}))}});return function(ie){return function(ge){!te.isActive()&&ge.type==="INITIAL_PUBLISH"&&te.start(),te.isActive()&&Cl(ge)&&te.stop(),ie(ge)}}},$l=function(ee){var te=!1,ie=!1,ge=setTimeout(function(){ie=!0}),Ee=function(Fe){te||ie||(te=!0,ee(Fe),clearTimeout(ge))};return Ee.wasCalled=function(){return te},Ee},Ol=function(){var ee=[],te=function(Pe){var Fe=Mr(ee,function(ot){return ot.timerId===Pe});Fe===-1&&cn(!1);var be=ee.splice(Fe,1),Ke=be[0];Ke.callback()},ie=function(Pe){var Fe=setTimeout(function(){return te(Fe)}),be={timerId:Fe,callback:Pe};ee.push(be)},ge=function(){if(ee.length){var Pe=[].concat(ee);ee.length=0,Pe.forEach(function(Fe){clearTimeout(Fe.timerId),Fe.callback()})}};return{add:ie,flush:ge}},eu=function(te,ie){return te==null&&ie==null?!0:te==null||ie==null?!1:te.droppableId===ie.droppableId&&te.index===ie.index},Su=function(te,ie){return te==null&&ie==null?!0:te==null||ie==null?!1:te.draggableId===ie.draggableId&&te.droppableId===ie.droppableId},So=function(te,ie){if(te===ie)return!0;var ge=te.draggable.id===ie.draggable.id&&te.draggable.droppableId===ie.draggable.droppableId&&te.draggable.type===ie.draggable.type&&te.draggable.index===ie.draggable.index,Ee=te.droppable.id===ie.droppable.id&&te.droppable.type===ie.droppable.type;return ge&&Ee},ml=function(te,ie){Gi(),ie(),es()},ul=function(te,ie){return{draggableId:te.draggable.id,type:te.droppable.type,source:{droppableId:te.droppable.id,index:te.draggable.index},mode:ie}},Ml=function(te,ie,ge,Ee){if(!te){ge(Ee(ie));return}var Pe=$l(ge),Fe={announce:Pe};te(ie,Fe),Pe.wasCalled()||ge(Ee(ie))},Jl=function(ee,te){var ie=Ol(),ge=null,Ee=function(Je,Et){ge&&cn(!1),ml("onBeforeCapture",function(){var tn=ee().onBeforeCapture;if(tn){var fa={draggableId:Je,mode:Et};tn(fa)}})},Pe=function(Je,Et){ge&&cn(!1),ml("onBeforeDragStart",function(){var tn=ee().onBeforeDragStart;tn&&tn(ul(Je,Et))})},Fe=function(Je,Et){ge&&cn(!1);var tn=ul(Je,Et);ge={mode:Et,lastCritical:Je,lastLocation:tn.source,lastCombine:null},ie.add(function(){ml("onDragStart",function(){return Ml(ee().onDragStart,tn,te,kn.onDragStart)})})},be=function(Je,Et){var tn=Pa(Et),fa=ta(Et);ge||cn(!1);var Fa=!So(Je,ge.lastCritical);Fa&&(ge.lastCritical=Je);var Ra=!eu(ge.lastLocation,tn);Ra&&(ge.lastLocation=tn);var er=!Su(ge.lastCombine,fa);if(er&&(ge.lastCombine=fa),!(!Fa&&!Ra&&!er)){var dr=(0,Ze.Z)({},ul(Je,ge.mode),{combine:fa,destination:tn});ie.add(function(){ml("onDragUpdate",function(){return Ml(ee().onDragUpdate,dr,te,kn.onDragUpdate)})})}},Ke=function(){ge||cn(!1),ie.flush()},ot=function(Je){ge||cn(!1),ge=null,ml("onDragEnd",function(){return Ml(ee().onDragEnd,Je,te,kn.onDragEnd)})},nt=function(){if(ge){var Je=(0,Ze.Z)({},ul(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});ot(Je)}};return{beforeCapture:Ee,beforeStart:Pe,start:Fe,update:be,flush:Ke,drop:ot,abort:nt}},Pl=function(ee,te){var ie=Jl(ee,te);return function(ge){return function(Ee){return function(Pe){if(Pe.type==="BEFORE_INITIAL_CAPTURE"){ie.beforeCapture(Pe.payload.draggableId,Pe.payload.movementMode);return}if(Pe.type==="INITIAL_PUBLISH"){var Fe=Pe.payload.critical;ie.beforeStart(Fe,Pe.payload.movementMode),Ee(Pe),ie.start(Fe,Pe.payload.movementMode);return}if(Pe.type==="DROP_COMPLETE"){var be=Pe.payload.completed.result;ie.flush(),Ee(Pe),ie.drop(be);return}if(Ee(Pe),Pe.type==="FLUSH"){ie.abort();return}var Ke=ge.getState();Ke.phase==="DRAGGING"&&ie.update(Ke.critical,Ke.impact)}}}},Dl=function(ee){return function(te){return function(ie){if(ie.type!=="DROP_ANIMATION_FINISHED"){te(ie);return}var ge=ee.getState();ge.phase!=="DROP_ANIMATING"&&cn(!1),ee.dispatch($n({completed:ge.completed}))}}},Ru=function(ee){var te=null,ie=null;function ge(){ie&&(cancelAnimationFrame(ie),ie=null),te&&(te(),te=null)}return function(Ee){return function(Pe){if((Pe.type==="FLUSH"||Pe.type==="DROP_COMPLETE"||Pe.type==="DROP_ANIMATION_FINISHED")&&ge(),Ee(Pe),Pe.type==="DROP_ANIMATE"){var Fe={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ke=ee.getState();Ke.phase==="DROP_ANIMATING"&&ee.dispatch(Ya())}};ie=requestAnimationFrame(function(){ie=null,te=wa(window,[Fe])})}}}},Lu=function(ee){return function(){return function(te){return function(ie){(ie.type==="DROP_COMPLETE"||ie.type==="FLUSH"||ie.type==="DROP_ANIMATE")&&ee.stopPublishing(),te(ie)}}}},tu=function(ee){var te=!1;return function(){return function(ie){return function(ge){if(ge.type==="INITIAL_PUBLISH"){te=!0,ee.tryRecordFocus(ge.payload.critical.draggable.id),ie(ge),ee.tryRestoreFocusRecorded();return}if(ie(ge),!!te){if(ge.type==="FLUSH"){te=!1,ee.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){te=!1;var Ee=ge.payload.completed.result;Ee.combine&&ee.tryShiftRecord(Ee.draggableId,Ee.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},nu=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Fu=function(ee){return function(te){return function(ie){return function(ge){if(nu(ge)){ee.stop(),ie(ge);return}if(ge.type==="INITIAL_PUBLISH"){ie(ge);var Ee=te.getState();Ee.phase!=="DRAGGING"&&cn(!1),ee.start(Ee);return}ie(ge),ee.scroll(te.getState())}}}},Oi=function(ee){return function(te){return function(ie){if(te(ie),ie.type==="PUBLISH_WHILE_DRAGGING"){var ge=ee.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||ee.dispatch(Ua({reason:ge.reason})))}}}},jl=ke.qC,Ku=function(ee){var te=ee.dimensionMarshal,ie=ee.focusMarshal,ge=ee.styleMarshal,Ee=ee.getResponders,Pe=ee.announce,Fe=ee.autoScroller;return(0,ke.MT)(ol,jl((0,ke.md)(ao(ge),Lu(te),La(te),Ul,Dl,Ru,Oi,Fu(Fe),Zl,tu(ie),Pl(Ee,Pe))))},du=function(){return{additions:{},removals:{},modified:{}}};function Mi(ee){var te=ee.registry,ie=ee.callbacks,ge=du(),Ee=null,Pe=function(){Ee||(ie.collectionStarting(),Ee=requestAnimationFrame(function(){Ee=null,Gi();var nt=ge,Ue=nt.additions,Je=nt.removals,Et=nt.modified,tn=Object.keys(Ue).map(function(Ra){return te.draggable.getById(Ra).getDimension(Nr)}).sort(function(Ra,er){return Ra.descriptor.index-er.descriptor.index}),fa=Object.keys(Et).map(function(Ra){var er=te.droppable.getById(Ra),dr=er.callbacks.getScrollWhileDragging();return{droppableId:Ra,scroll:dr}}),Fa={additions:tn,removals:Object.keys(Je),modified:fa};ge=du(),es(),ie.publish(Fa)}))},Fe=function(nt){var Ue=nt.descriptor.id;ge.additions[Ue]=nt,ge.modified[nt.descriptor.droppableId]=!0,ge.removals[Ue]&&delete ge.removals[Ue],Pe()},be=function(nt){var Ue=nt.descriptor;ge.removals[Ue.id]=!0,ge.modified[Ue.droppableId]=!0,ge.additions[Ue.id]&&delete ge.additions[Ue.id],Pe()},Ke=function(){Ee&&(cancelAnimationFrame(Ee),Ee=null,ge=du())};return{add:Fe,remove:be,stop:Ke}}var ei=function(ee){var te=ee.scrollHeight,ie=ee.scrollWidth,ge=ee.height,Ee=ee.width,Pe=co({x:ie,y:te},{x:Ee,y:ge}),Fe={x:Math.max(0,Pe.x),y:Math.max(0,Pe.y)};return Fe},gu=function(){var ee=document.documentElement;return ee||cn(!1),ee},el=function(){var ee=gu(),te=ei({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return te},mu=function(){var ee=pl(),te=el(),ie=ee.y,ge=ee.x,Ee=gu(),Pe=Ee.clientWidth,Fe=Ee.clientHeight,be=ge+Pe,Ke=ie+Fe,ot=Ja({top:ie,left:ge,right:be,bottom:Ke}),nt={frame:ot,scroll:{initial:ee,current:ee,max:te,diff:{value:Nr,displacement:Nr}}};return nt},Hu=function(ee){var te=ee.critical,ie=ee.scrollOptions,ge=ee.registry;Gi();var Ee=mu(),Pe=Ee.scroll.current,Fe=te.droppable,be=ge.droppable.getAllByType(Fe.type).map(function(Ue){return Ue.callbacks.getDimensionAndWatchScroll(Pe,ie)}),Ke=ge.draggable.getAllByType(te.draggable.type).map(function(Ue){return Ue.getDimension(Pe)}),ot={draggables:mr(Ke),droppables:Ha(be)};es();var nt={dimensions:ot,critical:te,viewport:Ee};return nt};function Yu(ee,te,ie){if(ie.descriptor.id===te.id||ie.descriptor.type!==te.type)return!1;var ge=ee.droppable.getById(ie.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var yu=function(ee,te){var ie=null,ge=Mi({callbacks:{publish:te.publishWhileDragging,collectionStarting:te.collectionStarting},registry:ee}),Ee=function(Et,tn){ee.droppable.exists(Et)||cn(!1),ie&&te.updateDroppableIsEnabled({id:Et,isEnabled:tn})},Pe=function(Et,tn){ie&&(ee.droppable.exists(Et)||cn(!1),te.updateDroppableIsCombineEnabled({id:Et,isCombineEnabled:tn}))},Fe=function(Et,tn){ie&&(ee.droppable.exists(Et)||cn(!1),te.updateDroppableScroll({id:Et,newScroll:tn}))},be=function(Et,tn){ie&&ee.droppable.getById(Et).callbacks.scroll(tn)},Ke=function(){if(ie){ge.stop();var Et=ie.critical.droppable;ee.droppable.getAllByType(Et.type).forEach(function(tn){return tn.callbacks.dragStopped()}),ie.unsubscribe(),ie=null}},ot=function(Et){ie||cn(!1);var tn=ie.critical.draggable;Et.type==="ADDITION"&&Yu(ee,tn,Et.value)&&ge.add(Et.value),Et.type==="REMOVAL"&&Yu(ee,tn,Et.value)&&ge.remove(Et.value)},nt=function(Et){ie&&cn(!1);var tn=ee.draggable.getById(Et.draggableId),fa=ee.droppable.getById(tn.descriptor.droppableId),Fa={draggable:tn.descriptor,droppable:fa.descriptor},Ra=ee.subscribe(ot);return ie={critical:Fa,unsubscribe:Ra},Hu({critical:Fa,registry:ee,scrollOptions:Et.scrollOptions})},Ue={updateDroppableIsEnabled:Ee,updateDroppableIsCombineEnabled:Pe,scrollDroppable:be,updateDroppableScroll:Fe,startPublishing:nt,stopPublishing:Ke};return Ue},fu=function(ee,te){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===te?!1:ee.completed.result.reason==="DROP"},Tu=function(ee){window.scrollBy(ee.x,ee.y)},Bl=fn(function(ee){return _r(ee).filter(function(te){return!(!te.isEnabled||!te.frame)})}),Kl=function(te,ie){var ge=jr(Bl(ie),function(Ee){return Ee.frame||cn(!1),Li(Ee.frame.pageMarginBox)(te)});return ge},ii=function(ee){var te=ee.center,ie=ee.destination,ge=ee.droppables;if(ie){var Ee=ge[ie];return Ee.frame?Ee:null}var Pe=Kl(te,ge);return Pe},tl={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(te){return Math.pow(te,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},uu=function(ee,te){var ie=ee[te.size]*tl.startFromPercentage,ge=ee[te.size]*tl.maxScrollAtPercentage,Ee={startScrollingFrom:ie,maxScrollValueAt:ge};return Ee},ku=function(ee){var te=ee.startOfRange,ie=ee.endOfRange,ge=ee.current,Ee=ie-te;if(Ee===0)return 0;var Pe=ge-te,Fe=Pe/Ee;return Fe},Ko=1,Ou=function(ee,te){if(ee>te.startScrollingFrom)return 0;if(ee<=te.maxScrollValueAt)return tl.maxPixelScroll;if(ee===te.startScrollingFrom)return Ko;var ie=ku({startOfRange:te.maxScrollValueAt,endOfRange:te.startScrollingFrom,current:ee}),ge=1-ie,Ee=tl.maxPixelScroll*tl.ease(ge);return Math.ceil(Ee)},Cu=tl.durationDampening.accelerateAt,bu=tl.durationDampening.stopDampeningAt,Si=function(ee,te){var ie=te,ge=bu,Ee=Date.now(),Pe=Ee-ie;if(Pe>=bu)return ee;if(Pete.height,Pe=ie.width>te.width;return!Pe&&!Ee?ge:Pe&&Ee?null:{x:Pe?0:ge.x,y:Ee?0:ge.y}},qr=pa(function(ee){return ee===0?0:ee}),tr=function(ee){var te=ee.dragStartTime,ie=ee.container,ge=ee.subject,Ee=ee.center,Pe=ee.shouldUseTimeDampening,Fe={top:Ee.y-ie.top,right:ie.right-Ee.x,bottom:ie.bottom-Ee.y,left:Ee.x-ie.left},be=Ii({container:ie,distanceToEdges:Fe,dragStartTime:te,axis:ru,shouldUseTimeDampening:Pe}),Ke=Ii({container:ie,distanceToEdges:Fe,dragStartTime:te,axis:Iu,shouldUseTimeDampening:Pe}),ot=qr({x:Ke,y:be});if(xt(ot,Nr))return null;var nt=si({container:ie,subject:ge,proposedScroll:ot});return nt?xt(nt,Nr)?null:nt:null},so=pa(function(ee){return ee===0?0:ee>0?1:-1}),fl=function(){var ee=function(ie,ge){return ie<0?ie:ie>ge?ie-ge:0};return function(te){var ie=te.current,ge=te.max,Ee=te.change,Pe=uo(ie,Ee),Fe={x:ee(Pe.x,ge.x),y:ee(Pe.y,ge.y)};return xt(Fe,Nr)?null:Fe}}(),Du=function(te){var ie=te.max,ge=te.current,Ee=te.change,Pe={x:Math.max(ge.x,ie.x),y:Math.max(ge.y,ie.y)},Fe=so(Ee),be=fl({max:Pe,current:ge,change:Fe});return!be||Fe.x!==0&&be.x===0||Fe.y!==0&&be.y===0},hl=function(te,ie){return Du({current:te.scroll.current,max:te.scroll.max,change:ie})},ts=function(te,ie){if(!hl(te,ie))return null;var ge=te.scroll.max,Ee=te.scroll.current;return fl({current:Ee,max:ge,change:ie})},Ui=function(te,ie){var ge=te.frame;return ge?Du({current:ge.scroll.current,max:ge.scroll.max,change:ie}):!1},ji=function(te,ie){var ge=te.frame;return!ge||!Ui(te,ie)?null:fl({current:ge.scroll.current,max:ge.scroll.max,change:ie})},Wl=function(ee){var te=ee.viewport,ie=ee.subject,ge=ee.center,Ee=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,Fe=tr({dragStartTime:Ee,container:te.frame,subject:ie,center:ge,shouldUseTimeDampening:Pe});return Fe&&hl(te,Fe)?Fe:null},to=function(ee){var te=ee.droppable,ie=ee.subject,ge=ee.center,Ee=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,Fe=te.frame;if(!Fe)return null;var be=tr({dragStartTime:Ee,container:Fe.pageMarginBox,subject:ie,center:ge,shouldUseTimeDampening:Pe});return be&&Ui(te,be)?be:null},Ki=function(ee){var te=ee.state,ie=ee.dragStartTime,ge=ee.shouldUseTimeDampening,Ee=ee.scrollWindow,Pe=ee.scrollDroppable,Fe=te.current.page.borderBoxCenter,be=te.dimensions.draggables[te.critical.draggable.id],Ke=be.page.marginBox;if(te.isWindowScrollAllowed){var ot=te.viewport,nt=Wl({dragStartTime:ie,viewport:ot,subject:Ke,center:Fe,shouldUseTimeDampening:ge});if(nt){Ee(nt);return}}var Ue=ii({center:Fe,destination:Gl(te.impact),droppables:te.dimensions.droppables});if(Ue){var Je=to({dragStartTime:ie,droppable:Ue,subject:Ke,center:Fe,shouldUseTimeDampening:ge});Je&&Pe(Ue.descriptor.id,Je)}},Mu=function(ee){var te=ee.scrollWindow,ie=ee.scrollDroppable,ge=ma(te),Ee=ma(ie),Pe=null,Fe=function(nt){Pe||cn(!1);var Ue=Pe,Je=Ue.shouldUseTimeDampening,Et=Ue.dragStartTime;Ki({state:nt,scrollWindow:ge,scrollDroppable:Ee,dragStartTime:Et,shouldUseTimeDampening:Je})},be=function(nt){Gi(),Pe&&cn(!1);var Ue=Date.now(),Je=!1,Et=function(){Je=!0};Ki({state:nt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Et,scrollDroppable:Et}),Pe={dragStartTime:Ue,shouldUseTimeDampening:Je},es(),Je&&Fe(nt)},Ke=function(){Pe&&(ge.cancel(),Ee.cancel(),Pe=null)};return{start:be,stop:Ke,scroll:Fe}},ns=function(ee){var te=ee.move,ie=ee.scrollDroppable,ge=ee.scrollWindow,Ee=function(ot,nt){var Ue=uo(ot.current.client.selection,nt);te({client:Ue})},Pe=function(ot,nt){if(!Ui(ot,nt))return nt;var Ue=ji(ot,nt);if(!Ue)return ie(ot.descriptor.id,nt),null;var Je=co(nt,Ue);ie(ot.descriptor.id,Je);var Et=co(nt,Je);return Et},Fe=function(ot,nt,Ue){if(!ot||!hl(nt,Ue))return Ue;var Je=ts(nt,Ue);if(!Je)return ge(Ue),null;var Et=co(Ue,Je);ge(Et);var tn=co(Ue,Et);return tn},be=function(ot){var nt=ot.scrollJumpRequest;if(nt){var Ue=Gl(ot.impact);Ue||cn(!1);var Je=Pe(ot.dimensions.droppables[Ue],nt);if(Je){var Et=ot.viewport,tn=Fe(ot.isWindowScrollAllowed,Et,Je);tn&&Ee(ot,tn)}}};return be},qs=function(ee){var te=ee.scrollDroppable,ie=ee.scrollWindow,ge=ee.move,Ee=Mu({scrollWindow:ie,scrollDroppable:te}),Pe=ns({move:ge,scrollWindow:ie,scrollDroppable:te}),Fe=function(ot){if(ot.phase==="DRAGGING"){if(ot.movementMode==="FLUID"){Ee.scroll(ot);return}ot.scrollJumpRequest&&Pe(ot)}},be={scroll:Fe,start:Ee.start,stop:Ee.stop};return be},Au="data-rbd",ci=function(){var ee=Au+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),Ni=function(){var ee=Au+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),di=function(){var ee=Au+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ds={contextId:Au+"-scroll-container-context-id"},As=function(te){return function(ie){return"["+ie+'="'+te+'"]'}},nl=function(te,ie){return te.map(function(ge){var Ee=ge.styles[ie];return Ee?ge.selector+" { "+Ee+" }":""}).join(" ")},xr="pointer-events: none;",Il=function(ee){var te=As(ee),ie=function(){var be=` + cursor: -webkit-grab; + cursor: grab; + `;return{selector:te(ci.contextId),styles:{always:` + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0,0,0,0); + touch-action: manipulation; + `,resting:be,dragging:xr,dropAnimating:be}}}(),ge=function(){var be=` + transition: `+No.outOfTheWay+`; + `;return{selector:te(Ni.contextId),styles:{dragging:be,dropAnimating:be,userCancel:be}}}(),Ee={selector:te(di.contextId),styles:{always:"overflow-anchor: none;"}},Pe={selector:"body",styles:{dragging:` + cursor: grabbing; + cursor: -webkit-grabbing; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + overflow-anchor: none; + `}},Fe=[ge,ie,Ee,Pe];return{always:nl(Fe,"always"),resting:nl(Fe,"resting"),dragging:nl(Fe,"dragging"),dropAnimating:nl(Fe,"dropAnimating"),userCancel:nl(Fe,"userCancel")}},vl=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ae.useLayoutEffect:ae.useEffect,Bs=function(){var te=document.querySelector("head");return te||cn(!1),te},$s=function(te){var ie=document.createElement("style");return te&&ie.setAttribute("nonce",te),ie.type="text/css",ie};function hd(ee,te){var ie=yt(function(){return Il(ee)},[ee]),ge=(0,ae.useRef)(null),Ee=(0,ae.useRef)(null),Pe=Mt(fn(function(Ue){var Je=Ee.current;Je||cn(!1),Je.textContent=Ue}),[]),Fe=Mt(function(Ue){var Je=ge.current;Je||cn(!1),Je.textContent=Ue},[]);vl(function(){!ge.current&&!Ee.current||cn(!1);var Ue=$s(te),Je=$s(te);return ge.current=Ue,Ee.current=Je,Ue.setAttribute(Au+"-always",ee),Je.setAttribute(Au+"-dynamic",ee),Bs().appendChild(Ue),Bs().appendChild(Je),Fe(ie.always),Pe(ie.resting),function(){var Et=function(fa){var Fa=fa.current;Fa||cn(!1),Bs().removeChild(Fa),fa.current=null};Et(ge),Et(Ee)}},[te,Fe,Pe,ie.always,ie.resting,ee]);var be=Mt(function(){return Pe(ie.dragging)},[Pe,ie.dragging]),Ke=Mt(function(Ue){if(Ue==="DROP"){Pe(ie.dropAnimating);return}Pe(ie.userCancel)},[Pe,ie.dropAnimating,ie.userCancel]),ot=Mt(function(){Ee.current&&Pe(ie.resting)},[Pe,ie.resting]),nt=yt(function(){return{dragging:be,dropping:Ke,resting:ot}},[be,Ke,ot]);return nt}var _s=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Fi(ee){return ee instanceof _s(ee).HTMLElement}function wc(ee,te){var ie="["+ci.contextId+'="'+ee+'"]',ge=Ka(document.querySelectorAll(ie));if(!ge.length)return null;var Ee=jr(ge,function(Pe){return Pe.getAttribute(ci.draggableId)===te});return!Ee||!Fi(Ee)?null:Ee}function ng(ee){var te=(0,ae.useRef)({}),ie=(0,ae.useRef)(null),ge=(0,ae.useRef)(null),Ee=(0,ae.useRef)(!1),Pe=Mt(function(Je,Et){var tn={id:Je,focus:Et};return te.current[Je]=tn,function(){var Fa=te.current,Ra=Fa[Je];Ra!==tn&&delete Fa[Je]}},[]),Fe=Mt(function(Je){var Et=wc(ee,Je);Et&&Et!==document.activeElement&&Et.focus()},[ee]),be=Mt(function(Je,Et){ie.current===Je&&(ie.current=Et)},[]),Ke=Mt(function(){ge.current||Ee.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var Je=ie.current;Je&&Fe(Je)}))},[Fe]),ot=Mt(function(Je){ie.current=null;var Et=document.activeElement;Et&&Et.getAttribute(ci.draggableId)===Je&&(ie.current=Je)},[]);vl(function(){return Ee.current=!0,function(){Ee.current=!1;var Je=ge.current;Je&&cancelAnimationFrame(Je)}},[]);var nt=yt(function(){return{register:Pe,tryRecordFocus:ot,tryRestoreFocusRecorded:Ke,tryShiftRecord:be}},[Pe,ot,Ke,be]);return nt}function ec(){var ee={draggables:{},droppables:{}},te=[];function ie(Ue){return te.push(Ue),function(){var Et=te.indexOf(Ue);Et!==-1&&te.splice(Et,1)}}function ge(Ue){te.length&&te.forEach(function(Je){return Je(Ue)})}function Ee(Ue){return ee.draggables[Ue]||null}function Pe(Ue){var Je=Ee(Ue);return Je||cn(!1),Je}var Fe={register:function(Je){ee.draggables[Je.descriptor.id]=Je,ge({type:"ADDITION",value:Je})},update:function(Je,Et){var tn=ee.draggables[Et.descriptor.id];tn&&tn.uniqueId===Je.uniqueId&&(delete ee.draggables[Et.descriptor.id],ee.draggables[Je.descriptor.id]=Je)},unregister:function(Je){var Et=Je.descriptor.id,tn=Ee(Et);tn&&Je.uniqueId===tn.uniqueId&&(delete ee.draggables[Et],ge({type:"REMOVAL",value:Je}))},getById:Pe,findById:Ee,exists:function(Je){return!!Ee(Je)},getAllByType:function(Je){return Lr(ee.draggables).filter(function(Et){return Et.descriptor.type===Je})}};function be(Ue){return ee.droppables[Ue]||null}function Ke(Ue){var Je=be(Ue);return Je||cn(!1),Je}var ot={register:function(Je){ee.droppables[Je.descriptor.id]=Je},unregister:function(Je){var Et=be(Je.descriptor.id);Et&&Je.uniqueId===Et.uniqueId&&delete ee.droppables[Je.descriptor.id]},getById:Ke,findById:be,exists:function(Je){return!!be(Je)},getAllByType:function(Je){return Lr(ee.droppables).filter(function(Et){return Et.descriptor.type===Je})}};function nt(){ee.draggables={},ee.droppables={},te.length=0}return{draggable:Fe,droppable:ot,subscribe:ie,clean:nt}}function al(){var ee=yt(ec,[]);return(0,ae.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var tc=ae.createContext(null),Ri=function(){var ee=document.body;return ee||cn(!1),ee},Ed={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},nc=function(te){return"rbd-announcement-"+te};function as(ee){var te=yt(function(){return nc(ee)},[ee]),ie=(0,ae.useRef)(null);(0,ae.useEffect)(function(){var Pe=document.createElement("div");return ie.current=Pe,Pe.id=te,Pe.setAttribute("aria-live","assertive"),Pe.setAttribute("aria-atomic","true"),(0,Ze.Z)(Pe.style,Ed),Ri().appendChild(Pe),function(){setTimeout(function(){var Ke=Ri();Ke.contains(Pe)&&Ke.removeChild(Pe),Pe===ie.current&&(ie.current=null)})}},[te]);var ge=Mt(function(Ee){var Pe=ie.current;if(Pe){Pe.textContent=Ee;return}},[]);return ge}var yi=0,Hi={separator:"::"};function ag(){yi=0}function rs(ee,te){return te===void 0&&(te=Hi),yt(function(){return""+ee+te.separator+yi++},[te.separator,ee])}function os(ee){var te=ee.contextId,ie=ee.uniqueId;return"rbd-hidden-text-"+te+"-"+ie}function rl(ee){var te=ee.contextId,ie=ee.text,ge=rs("hidden-text",{separator:"-"}),Ee=yt(function(){return os({contextId:te,uniqueId:ge})},[ge,te]);return(0,ae.useEffect)(function(){var Fe=document.createElement("div");return Fe.id=Ee,Fe.textContent=ie,Fe.style.display="none",Ri().appendChild(Fe),function(){var Ke=Ri();Ke.contains(Fe)&&Ke.removeChild(Fe)}},[Ee,ie]),Ee}var ls=ae.createContext(null),Pd={react:"^16.8.5","react-dom":"^16.8.5"},Lc=/(\d+)\.(\d+)\.(\d+)/,ac=function(te){var ie=Lc.exec(te);ie==null&&cn(!1);var ge=Number(ie[1]),Ee=Number(ie[2]),Pe=Number(ie[3]);return{major:ge,minor:Ee,patch:Pe,raw:te}},Sd=function(te,ie){return ie.major>te.major?!0:ie.majorte.minor?!0:ie.minor=te.patch},Fd=function(ee,te){var ie=ac(ee),ge=ac(te);Sd(ie,ge)},Oc=` + We expect a html5 doctype: + This is to ensure consistent browser layout and measurement + + More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md +`,ni=function(ee){var te=ee.doctype;te&&(te.name.toLowerCase(),te.publicId)};function yd(ee){}function Ci(ee,te){}function Mc(){Ci(function(){Fd(Pd.react,ae.version),ni(document)},[])}function xs(ee){var te=(0,ae.useRef)(ee);return(0,ae.useEffect)(function(){te.current=ee}),te}function ws(){var ee=null;function te(){return!!ee}function ie(Fe){return Fe===ee}function ge(Fe){ee&&cn(!1);var be={abandon:Fe};return ee=be,be}function Ee(){ee||cn(!1),ee=null}function Pe(){ee&&(ee.abandon(),Ee())}return{isClaimed:te,isActive:ie,claim:ge,release:Ee,tryAbandon:Pe}}var rc=9,Cd=13,us=27,Yi=32,Ic=33,Ls=34,Nc=35,is=36,bd=37,Dd=38,Ad=39,Qi=40,Os,oc=(Os={},Os[Cd]=!0,Os[rc]=!0,Os),lc=function(ee){oc[ee.keyCode]&&ee.preventDefault()},Ms=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var te=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],ie=jr(te,function(ge){return"on"+ge in document});return ie||ee}(),Is=0,Rc=5;function Bd(ee,te){return Math.abs(te.x-ee.x)>=Rc||Math.abs(te.y-ee.y)>=Rc}var ai={type:"IDLE"};function Tc(ee){var te=ee.cancel,ie=ee.completed,ge=ee.getPhase,Ee=ee.setPhase;return[{eventName:"mousemove",fn:function(Fe){var be=Fe.button,Ke=Fe.clientX,ot=Fe.clientY;if(be===Is){var nt={x:Ke,y:ot},Ue=ge();if(Ue.type==="DRAGGING"){Fe.preventDefault(),Ue.actions.move(nt);return}Ue.type!=="PENDING"&&cn(!1);var Je=Ue.point;if(Bd(Je,nt)){Fe.preventDefault();var Et=Ue.actions.fluidLift(nt);Ee({type:"DRAGGING",actions:Et})}}}},{eventName:"mouseup",fn:function(Fe){var be=ge();if(be.type!=="DRAGGING"){te();return}Fe.preventDefault(),be.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"mousedown",fn:function(Fe){ge().type==="DRAGGING"&&Fe.preventDefault(),te()}},{eventName:"keydown",fn:function(Fe){var be=ge();if(be.type==="PENDING"){te();return}if(Fe.keyCode===us){Fe.preventDefault(),te();return}lc(Fe)}},{eventName:"resize",fn:te},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&te()}},{eventName:"webkitmouseforcedown",fn:function(Fe){var be=ge();if(be.type==="IDLE"&&cn(!1),be.actions.shouldRespectForcePress()){te();return}Fe.preventDefault()}},{eventName:Ms,fn:te}]}function kc(ee){var te=(0,ae.useRef)(ai),ie=(0,ae.useRef)(ya),ge=yt(function(){return{eventName:"mousedown",fn:function(Ue){if(!Ue.defaultPrevented&&Ue.button===Is&&!(Ue.ctrlKey||Ue.metaKey||Ue.shiftKey||Ue.altKey)){var Je=ee.findClosestDraggableId(Ue);if(Je){var Et=ee.tryGetLock(Je,Fe,{sourceEvent:Ue});if(Et){Ue.preventDefault();var tn={x:Ue.clientX,y:Ue.clientY};ie.current(),ot(Et,tn)}}}}}},[ee]),Ee=yt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ue){if(!Ue.defaultPrevented){var Je=ee.findClosestDraggableId(Ue);if(Je){var Et=ee.findOptionsForDraggable(Je);Et&&(Et.shouldRespectForcePress||ee.canGetLock(Je)&&Ue.preventDefault())}}}}},[ee]),Pe=Mt(function(){var Ue={passive:!1,capture:!0};ie.current=wa(window,[Ee,ge],Ue)},[Ee,ge]),Fe=Mt(function(){var nt=te.current;nt.type!=="IDLE"&&(te.current=ai,ie.current(),Pe())},[Pe]),be=Mt(function(){var nt=te.current;Fe(),nt.type==="DRAGGING"&&nt.actions.cancel({shouldBlockNextClick:!0}),nt.type==="PENDING"&&nt.actions.abort()},[Fe]),Ke=Mt(function(){var Ue={capture:!0,passive:!1},Je=Tc({cancel:be,completed:Fe,getPhase:function(){return te.current},setPhase:function(tn){te.current=tn}});ie.current=wa(window,Je,Ue)},[be,Fe]),ot=Mt(function(Ue,Je){te.current.type!=="IDLE"&&cn(!1),te.current={type:"PENDING",point:Je,actions:Ue},Ke()},[Ke]);vl(function(){return Pe(),function(){ie.current()}},[Pe])}var Ti;function xd(){}var uc=(Ti={},Ti[Ls]=!0,Ti[Ic]=!0,Ti[is]=!0,Ti[Nc]=!0,Ti);function Zc(ee,te){function ie(){te(),ee.cancel()}function ge(){te(),ee.drop()}return[{eventName:"keydown",fn:function(Pe){if(Pe.keyCode===us){Pe.preventDefault(),ie();return}if(Pe.keyCode===Yi){Pe.preventDefault(),ge();return}if(Pe.keyCode===Qi){Pe.preventDefault(),ee.moveDown();return}if(Pe.keyCode===Dd){Pe.preventDefault(),ee.moveUp();return}if(Pe.keyCode===Ad){Pe.preventDefault(),ee.moveRight();return}if(Pe.keyCode===bd){Pe.preventDefault(),ee.moveLeft();return}if(uc[Pe.keyCode]){Pe.preventDefault();return}lc(Pe)}},{eventName:"mousedown",fn:ie},{eventName:"mouseup",fn:ie},{eventName:"click",fn:ie},{eventName:"touchstart",fn:ie},{eventName:"resize",fn:ie},{eventName:"wheel",fn:ie,options:{passive:!0}},{eventName:Ms,fn:ie}]}function wd(ee){var te=(0,ae.useRef)(xd),ie=yt(function(){return{eventName:"keydown",fn:function(Pe){if(Pe.defaultPrevented||Pe.keyCode!==Yi)return;var Fe=ee.findClosestDraggableId(Pe);if(!Fe)return;var be=ee.tryGetLock(Fe,nt,{sourceEvent:Pe});if(!be)return;Pe.preventDefault();var Ke=!0,ot=be.snapLift();te.current();function nt(){Ke||cn(!1),Ke=!1,te.current(),ge()}te.current=wa(window,Zc(ot,nt),{capture:!0,passive:!1})}}},[ee]),ge=Mt(function(){var Pe={passive:!1,capture:!0};te.current=wa(window,[ie],Pe)},[ie]);vl(function(){return ge(),function(){te.current()}},[ge])}var ic={type:"IDLE"},Sl=120,Ld=.15;function Od(ee){var te=ee.cancel,ie=ee.getPhase;return[{eventName:"orientationchange",fn:te},{eventName:"resize",fn:te},{eventName:"contextmenu",fn:function(Ee){Ee.preventDefault()}},{eventName:"keydown",fn:function(Ee){if(ie().type!=="DRAGGING"){te();return}Ee.keyCode===us&&Ee.preventDefault(),te()}},{eventName:Ms,fn:te}]}function sc(ee){var te=ee.cancel,ie=ee.completed,ge=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Pe){var Fe=ge();if(Fe.type!=="DRAGGING"){te();return}Fe.hasMoved=!0;var be=Pe.touches[0],Ke=be.clientX,ot=be.clientY,nt={x:Ke,y:ot};Pe.preventDefault(),Fe.actions.move(nt)}},{eventName:"touchend",fn:function(Pe){var Fe=ge();if(Fe.type!=="DRAGGING"){te();return}Pe.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"touchcancel",fn:function(Pe){if(ge().type!=="DRAGGING"){te();return}Pe.preventDefault(),te()}},{eventName:"touchforcechange",fn:function(Pe){var Fe=ge();Fe.type==="IDLE"&&cn(!1);var be=Pe.touches[0];if(be){var Ke=be.force>=Ld;if(Ke){var ot=Fe.actions.shouldRespectForcePress();if(Fe.type==="PENDING"){ot&&te();return}if(ot){if(Fe.hasMoved){Pe.preventDefault();return}te();return}Pe.preventDefault()}}}},{eventName:Ms,fn:te}]}function Ns(ee){var te=(0,ae.useRef)(ic),ie=(0,ae.useRef)(ya),ge=Mt(function(){return te.current},[]),Ee=Mt(function(Et){te.current=Et},[]),Pe=yt(function(){return{eventName:"touchstart",fn:function(Et){if(!Et.defaultPrevented){var tn=ee.findClosestDraggableId(Et);if(tn){var fa=ee.tryGetLock(tn,be,{sourceEvent:Et});if(fa){var Fa=Et.touches[0],Ra=Fa.clientX,er=Fa.clientY,dr={x:Ra,y:er};ie.current(),Ue(fa,dr)}}}}}},[ee]),Fe=Mt(function(){var Et={capture:!0,passive:!1};ie.current=wa(window,[Pe],Et)},[Pe]),be=Mt(function(){var Je=te.current;Je.type!=="IDLE"&&(Je.type==="PENDING"&&clearTimeout(Je.longPressTimerId),Ee(ic),ie.current(),Fe())},[Fe,Ee]),Ke=Mt(function(){var Je=te.current;be(),Je.type==="DRAGGING"&&Je.actions.cancel({shouldBlockNextClick:!0}),Je.type==="PENDING"&&Je.actions.abort()},[be]),ot=Mt(function(){var Et={capture:!0,passive:!1},tn={cancel:Ke,completed:be,getPhase:ge},fa=wa(window,sc(tn),Et),Fa=wa(window,Od(tn),Et);ie.current=function(){fa(),Fa()}},[Ke,ge,be]),nt=Mt(function(){var Et=ge();Et.type!=="PENDING"&&cn(!1);var tn=Et.actions.fluidLift(Et.point);Ee({type:"DRAGGING",actions:tn,hasMoved:!1})},[ge,Ee]),Ue=Mt(function(Et,tn){ge().type!=="IDLE"&&cn(!1);var fa=setTimeout(nt,Sl);Ee({type:"PENDING",point:tn,actions:Et,longPressTimerId:fa}),ot()},[ot,ge,Ee,nt]);vl(function(){return Fe(),function(){ie.current();var tn=ge();tn.type==="PENDING"&&(clearTimeout(tn.longPressTimerId),Ee(ic))}},[ge,Fe,Ee]),vl(function(){var Et=wa(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Et},[])}function Wc(ee){}var Rs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ri(ee,te){if(te==null)return!1;var ie=!!Rs[te.tagName.toLowerCase()];if(ie)return!0;var ge=te.getAttribute("contenteditable");return ge==="true"||ge===""?!0:te===ee?!1:ri(ee,te.parentElement)}function Vc(ee,te){var ie=te.target;return Fi(ie)?ri(ee,ie):!1}var Md=function(ee){return Ja(ee.getBoundingClientRect()).center};function zc(ee){return ee instanceof _s(ee).Element}var ss=function(){var ee="matches";if(typeof document=="undefined")return ee;var te=[ee,"msMatchesSelector","webkitMatchesSelector"],ie=jr(te,function(ge){return ge in Element.prototype});return ie||ee}();function Gc(ee,te){return ee==null?null:ee[ss](te)?ee:Gc(ee.parentElement,te)}function Id(ee,te){return ee.closest?ee.closest(te):Gc(ee,te)}function cc(ee){return"["+ci.contextId+'="'+ee+'"]'}function Hl(ee,te){var ie=te.target;if(!zc(ie))return null;var ge=cc(ee),Ee=Id(ie,ge);return!Ee||!Fi(Ee)?null:Ee}function Nd(ee,te){var ie=Hl(ee,te);return ie?ie.getAttribute(ci.draggableId):null}function Uc(ee,te){var ie="["+Ni.contextId+'="'+ee+'"]',ge=Ka(document.querySelectorAll(ie)),Ee=jr(ge,function(Pe){return Pe.getAttribute(Ni.id)===te});return!Ee||!Fi(Ee)?null:Ee}function Rd(ee){ee.preventDefault()}function cs(ee){var te=ee.expected,ie=ee.phase,ge=ee.isLockActive,Ee=ee.shouldWarn;return!(!ge()||te!==ie)}function ds(ee){var te=ee.lockAPI,ie=ee.store,ge=ee.registry,Ee=ee.draggableId;if(te.isClaimed())return!1;var Pe=ge.draggable.findById(Ee);return!(!Pe||!Pe.options.isEnabled||!fu(ie.getState(),Ee))}function Ts(ee){var te=ee.lockAPI,ie=ee.contextId,ge=ee.store,Ee=ee.registry,Pe=ee.draggableId,Fe=ee.forceSensorStop,be=ee.sourceEvent,Ke=ds({lockAPI:te,store:ge,registry:Ee,draggableId:Pe});if(!Ke)return null;var ot=Ee.draggable.getById(Pe),nt=Uc(ie,ot.descriptor.id);if(!nt||be&&!ot.options.canDragInteractiveElements&&Vc(nt,be))return null;var Ue=te.claim(Fe||ya),Je="PRE_DRAG";function Et(){return ot.options.shouldRespectForcePress}function tn(){return te.isActive(Ue)}function fa(ro,Oo){cs({expected:ro,phase:Je,isLockActive:tn,shouldWarn:!0})&&ge.dispatch(Oo())}var Fa=fa.bind(null,"DRAGGING");function Ra(ro){function Oo(){te.release(),Je="COMPLETED"}Je!=="PRE_DRAG"&&(Oo(),Je!=="PRE_DRAG"&&cn(!1)),ge.dispatch(ve(ro.liftActionArgs)),Je="DRAGGING";function Vl(Zo,Nl){if(Nl===void 0&&(Nl={shouldBlockNextClick:!1}),ro.cleanup(),Nl.shouldBlockNextClick){var iu=wa(window,[{eventName:"click",fn:Rd,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(iu)}Oo(),ge.dispatch(Ua({reason:Zo}))}return(0,Ze.Z)({isActive:function(){return cs({expected:"DRAGGING",phase:Je,isLockActive:tn,shouldWarn:!1})},shouldRespectForcePress:Et,drop:function(Nl){return Vl("DROP",Nl)},cancel:function(Nl){return Vl("CANCEL",Nl)}},ro.actions)}function er(ro){var Oo=ma(function(Zo){Fa(function(){return Yt({client:Zo})})}),Vl=Ra({liftActionArgs:{id:Pe,clientSelection:ro,movementMode:"FLUID"},cleanup:function(){return Oo.cancel()},actions:{move:Oo}});return(0,Ze.Z)({},Vl,{move:Oo})}function dr(){var ro={moveUp:function(){return Fa(Cn)},moveRight:function(){return Fa(Yn)},moveDown:function(){return Fa(Dn)},moveLeft:function(){return Fa(Xn)}};return Ra({liftActionArgs:{id:Pe,clientSelection:Md(nt),movementMode:"SNAP"},cleanup:ya,actions:ro})}function rr(){var ro=cs({expected:"PRE_DRAG",phase:Je,isLockActive:tn,shouldWarn:!0});ro&&te.release()}var no={isActive:function(){return cs({expected:"PRE_DRAG",phase:Je,isLockActive:tn,shouldWarn:!1})},shouldRespectForcePress:Et,fluidLift:er,snapLift:dr,abort:rr};return no}var ks=[kc,wd,Ns];function Td(ee){var te=ee.contextId,ie=ee.store,ge=ee.registry,Ee=ee.customSensors,Pe=ee.enableDefaultSensors,Fe=[].concat(Pe?ks:[],Ee||[]),be=(0,ae.useState)(function(){return ws()})[0],Ke=Mt(function(er,dr){er.isDragging&&!dr.isDragging&&be.tryAbandon()},[be]);vl(function(){var er=ie.getState(),dr=ie.subscribe(function(){var rr=ie.getState();Ke(er,rr),er=rr});return dr},[be,ie,Ke]),vl(function(){return be.tryAbandon},[be.tryAbandon]);var ot=Mt(function(Ra){return ds({lockAPI:be,registry:ge,store:ie,draggableId:Ra})},[be,ge,ie]),nt=Mt(function(Ra,er,dr){return Ts({lockAPI:be,registry:ge,contextId:te,store:ie,draggableId:Ra,forceSensorStop:er,sourceEvent:dr&&dr.sourceEvent?dr.sourceEvent:null})},[te,be,ge,ie]),Ue=Mt(function(Ra){return Nd(te,Ra)},[te]),Je=Mt(function(Ra){var er=ge.draggable.findById(Ra);return er?er.options:null},[ge.draggable]),Et=Mt(function(){be.isClaimed()&&(be.tryAbandon(),ie.getState().phase!=="IDLE"&&ie.dispatch(jt()))},[be,ie]),tn=Mt(be.isClaimed,[be]),fa=yt(function(){return{canGetLock:ot,tryGetLock:nt,findClosestDraggableId:Ue,findOptionsForDraggable:Je,tryReleaseLock:Et,isLockClaimed:tn}},[ot,nt,Ue,Je,Et,tn]);Wc(Fe);for(var Fa=0;Fa=0||Object.prototype.hasOwnProperty.call(mt,a)&&(fe[a]=mt[a]);return fe}function ct(mt,$e){if(!(mt instanceof $e))throw new TypeError("Cannot call a class as a function")}function Re(mt,$e){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $e&&(typeof $e=="object"||typeof $e=="function")?$e:mt}function Me(mt,$e){if(typeof $e!="function"&&$e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $e);mt.prototype=Object.create($e&&$e.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),$e&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,$e):mt.__proto__=$e)}var lt=function(mt){Me($e,mt);function $e(fe){ct(this,$e);var a=Re(this,($e.__proto__||Object.getPrototypeOf($e)).call(this,fe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return ae($e,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,E={get passive(){a=!0}};try{document.addEventListener("test",null,E),document.removeEventListener("test",null,E)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var E=this.props.getScrollParent&&this.props.getScrollParent();return E!=null?E:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var E=window;this.props.useWindow===!1&&(E=a),E.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),E.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),E.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,E=window,b=this.getParentElement(a),y=void 0;if(this.props.useWindow){var z=document.documentElement||document.body.parentNode||document.body,ne=E.pageYOffset!==void 0?E.pageYOffset:z.scrollTop;this.props.isReverse?y=ne:y=this.calculateOffset(a,ne)}else this.props.isReverse?y=b.scrollTop:y=a.scrollHeight-b.scrollTop-b.clientHeight;yE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[fe];b||(b=[],go.Shape._FigureParameters[fe]=b),b[a]=E};var St=[];function ue(fe,a){var E=St.pop();return E===void 0?new go.Point(fe,a):(E.x=fe,E.y=a,E)}function ae(){var fe=St.pop();return fe===void 0?new go.Point:fe}function x(fe){St.push(fe)}function Oe(fe,a,E,b,y,ee,ne,se,ce){ce||(ce=new go.Point);var de=fe-E,ye=y-ne,Ae=NaN,Ge=NaN;if(de===0)if(ye===0)fe===E&&(Ae=fe,Ge=a);else{var Be=(ee-se)/ye,rt=ee-Be*y;Ae=fe,Ge=Be*Ae+rt}else if(ye===0){var Xe=(a-b)/de,ut=a-Xe*fe;Ae=y,Ge=Xe*Ae+ut}else{var Xe=(a-b)/de,Be=(ee-se)/ye,ut=a-Xe*fe,rt=ee-Be*y;Ae=(rt-ut)/(Xe-Be),Ge=Xe*Ae+ut}return ce.x=Ae,ce.y=Ge,ce}function ke(fe,a,E,b,y,ee,ne,se,ce,de,ye,Ae,Ge,Be){var rt=1-ce,Xe=ce,ut=fe*rt+E*Xe,mn=a*rt+b*Xe,ln=E*rt+y*Xe,En=b*rt+ee*Xe,pn=y*rt+ne*Xe,Jt=ee*rt+se*Xe,ha=ut*rt+ln*Xe,_t=mn*rt+En*Xe,an=ln*rt+pn*Xe,Nn=En*rt+Jt*Xe,jn=ha*rt+an*Xe,hn=_t*rt+Nn*Xe;de.x=ut,de.y=mn,ye.x=ha,ye.y=_t,Ae.x=jn,Ae.y=hn,Ge.x=an,Ge.y=Nn,Be.x=pn,Be.y=Jt}var Te=new go.Spot(.156,.156),et=new go.Spot(.844,.844),Ce=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new we("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*Ce,ee=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,1,-y,-y)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(fe,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(fe,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(fe,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=Te,y.spot2=et,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(fe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,Ce*a,0,a,(1-Ce)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,Ce*E,(1-Ce)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,Ce*E,Ce*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-Ce)*a,0,0,(1-Ce)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(fe,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(fe,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new we("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return b>0?ee.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return b>0?ee.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return b>0?ee.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return b>0?ee.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=E,ee}else{var ee=new go.Geometry;return b>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):ee.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,a/2+se,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,se,se).close())),ee.spot1=Te,ee.spot2=et,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(fe,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new we("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new we("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(fe,a,E){var b=fe?fe.parameter1:NaN,y=fe?fe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var ee=b%360;ee<0&&(ee+=360);var ne=y%360,se=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(se,se).add(new go.PathSegment(go.PathSegment.Arc,ee,ne,se,se,se,se).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(fe,a,E){var b=Ce/Math.SQRT2*.5,y=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,ee*E,a,(1-b)*E,(y+b)*a,(ee+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,ee=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(ee-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+y,0)).add(new go.PathSegment(go.PathSegment.Line,ee+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,ee+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,ee+y,E)).add(new go.PathSegment(go.PathSegment.Line,ee-y,E)).add(new go.PathSegment(go.PathSegment.Line,ee-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,ee-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new we("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,ee=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(ee-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+y,0)).add(new go.PathSegment(go.PathSegment.Line,ee+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,ee+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,ee+y,E)).add(new go.PathSegment(go.PathSegment.Line,ee-y,E)).add(new go.PathSegment(go.PathSegment.Line,ee-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,ee-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(fe,a,E){var b=fe?fe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var ee=a/2,ne=E/2,se=Math.atan2(E,a),ce=b-Math.min(Math.cos(se)*b/2,ee),de=b-Math.min(Math.sin(se)*b/2,ne),y=new go.Geometry,ye=new go.PathFigure(ce,0,!0);return y.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,ee,.2*E)),ye.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,de)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,a,E-de)),ye.add(new go.PathSegment(go.PathSegment.Line,a-ce,E)),ye.add(new go.PathSegment(go.PathSegment.Line,ee,.8*E)),ye.add(new go.PathSegment(go.PathSegment.Line,ce,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,E-de)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new we("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new we("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,ee=new go.PathFigure(0,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new we("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,ee=new go.PathFigure(0,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,Ce*a,0,a,(.5-Ce/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+Ce/2)*E,Ce*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var ee=.2,ne=.3,se=0,ce=ee*Ce;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+se)*E,(.5-ee+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+ee+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+se)*E,(.5+ce+ne)*a,(.5+ee+se)*E,(.5+ee+ne)*a,(.5+ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+se)*E,(1-.5+ee+ne)*a,(.5-ce+se)*E,(.5+ce+ne)*a,(.5-ee+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ce+ne)*a,(.5-ee+se)*E,(.5-ee+ne+.05)*a,(.5-ce+se-.02)*E)),ee=.2,ne=0,se=-.3,ce=ee*Ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ne)*a,(.5+se)*E,(.5+ce+ne)*a,(.5+ee+se)*E,(.5+ee+ne)*a,(.5+ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+se)*E,(1-.5+ee+ne)*a,(.5-ce+se)*E,(.5+ce+ne)*a,(.5-ee+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+se)*E,(.5-ce+ne)*a,(.5-ee+se)*E,(.5-ee+ne)*a,(.5-ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ne)*a,(.5+ee+se)*E,(.5-ee+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+ee+se)*E)),ee=.2,ne=-.3,se=0,ce=ee*Ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-ee+se)*E,(1-.5+ee+ne-.05)*a,(.5-ce+se-.02)*E,(.5+ce+ne)*a,(.5-ee+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ne)*a,(.5+se)*E,(.5-ce+ne)*a,(.5-ee+se)*E,(.5-ee+ne)*a,(.5-ce+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+ee+se)*E,(.5-ee+ne)*a,(.5+ce+se)*E,(.5-ce+ne)*a,(.5+ee+se)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ce+ne)*a,(.5+ee+se)*E,(.5+ee+ne)*a,(.5+ce+se)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,ne=.5,se=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+ee)*a,se*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*se,ee*a,ee*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),se=.75,y=new go.PathFigure((ne+ee)*a,se*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*se,ee*a,ee*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(fe,a,E){var b=.8535533905932737,y=.5*a,ee=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,ee,y,ee)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,ee)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=.5,ne=.5,se=.5,ce=new go.PathFigure(ne*a,(se-ee)*E);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),ee=.4,y=Ce*.4;var de=ae(),ye=ae(),Ae=ae(),Ge=ae();ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.42,de,ye,Ae,Ge,Ge);var Be=ae(),rt=ae(),Xe=ae();ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.58,Ge,Ge,Xe,Be,rt);var ut=ae(),mn=ae(),ln=ae();ke(ne,se+ee,ne-y,se+ee,ne-ee,se+y,ne-ee,se,.42,ut,mn,ln,Ge,Ge);var En=ae(),pn=ae(),Jt=ae();return ke(ne,se+ee,ne-y,se+ee,ne-ee,se+y,ne-ee,se,.58,Ge,Ge,Jt,En,pn),ce.add(new go.PathSegment(go.PathSegment.Move,Jt.x*a,Jt.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,En.x*a,En.y*E,pn.x*a,pn.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne-ee)*a,(se-y)*E,(ne-y)*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae.x*a,Ae.y*E,de.x*a,de.y*E,ye.x*a,ye.y*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Jt.x*a,Jt.y*E).close()),ce.add(new go.PathSegment(go.PathSegment.Move,ln.x*a,ln.y*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Xe.x*a,Xe.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,Be.x*a,Be.y*E,rt.x*a,rt.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne+ee)*a,(se+y)*E,(ne+y)*a,(se+ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ln.x*a,ln.y*E,ut.x*a,ut.y*E,mn.x*a,mn.y*E).close()),x(de),x(ye),x(Ae),x(Ge),x(Be),x(rt),x(Xe),x(ut),x(mn),x(ln),x(En),x(pn),x(Jt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new we("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,ee=y+b;return new go.Geometry().add(new go.PathFigure(ee,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(fe,a,E){var b=new go.Geometry,y=Ce*.4,ee=.4,ne=.5,se=.5,ce=ae(),de=ae(),ye=ae(),Ae=ae(),Ge=new go.PathFigure((ne-ee)*a,se*E,!1);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne-ee)*a,(se-y)*E,(ne-y)*a,(se-ee)*E)),ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.44,ye,Ae,de,ce,ce),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E));var Be=ue(de.x,de.y);ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.56,ce,ce,de,ye,Ae);var rt=ue(de.x,de.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.95*.9)*a,Be.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,Be.y*.1*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*a,.15*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*a,(rt.y*.1+.05*.9)*E)),Ge.add(new go.PathSegment(go.PathSegment.Line,rt.x*a,rt.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne+ee)*a,(se+y)*E,(ne+y)*a,(se+ee)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se+ee)*E,(ne-ee)*a,(se+y)*E)),ee=.35,y=Ce*.35;var Xe=new go.PathFigure(ne*a,(se-ee)*E,!1);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E));var ut=new go.PathFigure((ne-ee)*a,se*E,!1);return b.add(ut),x(ce),x(de),x(ye),x(Ae),x(Be),x(rt),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(fe,a,E){var b=new go.Geometry,y=.375,ee=0,ne=-.125,se=y*Ce,ce=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+se+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-se+ne)*E,(.5+se+ee)*a,(.5-y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-se+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+se+ne)*E,(.5-se+ee)*a,(.5+y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,ee=0,ne=-.125,se=y*Ce;var ce=new go.PathFigure((1-.5+y+ee)*a,(.5+ne)*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+y+ne)*E,(.5+y+ee)*a,(.5+se+ne)*E,(.5+se+ee)*a,(.5+y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-se+ee)*a,(.5+y+ne)*E,(.5-y+ee)*a,(.5+se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-se+ne)*E,(.5-se+ee)*a,(.5-y+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+ee)*a,(.5+ne)*E,(.5+se+ee)*a,(.5-y+ne)*E,(1-.5+y+ee)*a,(.5-se+ne)*E));var ce=new go.PathFigure((.525+ee)*a,(.5+y+ne)*E,!1);return b.add(ce),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(fe,a,E){var b=fe?fe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(fe,a,E){var b=fe?fe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(fe,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(fe,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(fe,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(fe,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(fe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(fe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new we("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new we("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=.3);var ee=(1-b)*a,ne=(.5-y/2)*E,se=(.5+y/2)*E,ce=new go.Geometry,de=new go.PathFigure(0,ne,!0);ce.add(de),de.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),de.add(new go.PathSegment(go.PathSegment.Line,ee,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,ee,E)),de.add(new go.PathSegment(go.PathSegment.Line,ee,se)),de.add(new go.PathSegment(go.PathSegment.Line,0,se).close()),ce.spot1=new go.Spot(0,ne/E);var ye=Oe(0,se/E,1,se/E,ee/a,1,1,.5,ae());return ce.spot2=new go.Spot(ye.x,ye.y),x(ye),ce}),go.Shape.setFigureParameter("Arrow2",0,new we("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new we("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var ee=a-b,ne=(E-y)/2,se=ne+y,ce=new go.Geometry,de=new go.PathFigure(0,ne,!0);ce.add(de),de.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),de.add(new go.PathSegment(go.PathSegment.Line,ee,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,ee,E)),de.add(new go.PathSegment(go.PathSegment.Line,ee,se)),de.add(new go.PathSegment(go.PathSegment.Line,0,se).close()),ce.spot1=new go.Spot(0,ne/E);var ye=Oe(0,se/E,1,se/E,ee/a,1,1,.5,ae());return ce.spot2=new go.Spot(ye.x,ye.y),x(ye),ce}),go.Shape.defineFigureGenerator("Chevron",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new we("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,ee=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ce=Oe(0,.5,.3,0,0,y/E,.1,y/E,ae());return ne.spot1=new go.Spot(ce.x,ce.y),ce=Oe(.7,1,1,.5,0,ee/E,1,ee/E,ce),ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new we("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new we("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=40);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-b)/2,ne=ee+b,se=(E-y)/2,ce=se+y;(b>E||y>E)&&(y>b?(b=b*E/y,ee=(E-b)/2,ne=ee+b,se=0,ce=E):(ee=0,ne=E,se=0,ce=E));var de=new go.Geometry,ye=new go.PathFigure(a,.5*E,!0);de.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,se).close());var Ae=Oe(0,.5,.3,se/E,0,ee/E,1,ee/E,ae());return de.spot1=new go.Spot(Ae.x,Ae.y),Ae=Oe(.7,ce/E,1,.5,0,ne/E,1,ne/E,Ae),de.spot2=new go.Spot(Ae.x,Ae.y),x(Ae),de}),go.Shape.setFigureParameter("IBeamArrow",0,new we("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,ee=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var ce=Oe(.7,1,1,.5,0,ee/E,1,ee/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new we("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new we("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=40);var y=fe?fe.parameter2:NaN;isNaN(y)&&(y=100);var ee=(E-b)/2,ne=ee+b,se=(E-y)/2,ce=se+y;(b>E||y>E)&&(y>b?(b=b*E/y,ee=(E-b)/2,ne=ee+b,se=0,ce=E):(ee=0,ne=E,se=0,ce=E));var de=new go.Geometry,ye=new go.PathFigure(a,.5*E,!0);de.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,se)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*a,se).close()),de.spot1=new go.Spot(0,ee/E);var Ae=Oe(.7,ce/E,1,.5,0,ne/E,1,ne/E,ae());return de.spot2=new go.Spot(Ae.x,Ae.y),x(Ae),de}),go.Shape.setFigureParameter("Pointer",0,new we("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ne=Oe(.2,.65,1,.65,0,1,1,.5,ae());return y.spot2=new go.Spot(ne.x,ne.y),x(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new we("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var ne=Oe(0,.65,1,.65,0,1,1,.5,ae());return y.spot2=new go.Spot(ne.x,ne.y),x(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new we("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,ee=(.5+b/2)*E,ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var ce=Oe(.7,1,1,.5,0,ee/E,1,ee/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new we("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,ee=y+b;b>E&&(y=0,ee=E);var ne=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var ce=Oe(.7,1,1,.5,0,ee/E,1,ee/E,ae());return ne.spot2=new go.Spot(ce.x,ce.y),x(ce),ne}),go.Shape.setFigureParameter("SquareArrow",0,new we("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=Ce*.1,ne=new go.PathFigure(0,.9*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+ee)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+ee)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var ee=new go.PathFigure(0,.9*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var ee=new go.PathFigure(.5*a,E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,ee=Ce*.5,ne=new go.PathFigure(0,b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ce*b,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+ee)*a,0,1*a,Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-Ce*b,(.5+ee)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-ee)*a,1*E,0,E-Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var se=new go.PathFigure(a,b,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-Ce*b,(.5+ee)*a,2*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-ee)*a,2*b,0,2*b-Ce*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,ee=Ce*.5,ne=new go.PathFigure(0,E-b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ce*b,(.5-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+ee)*a,0,a,Ce*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-Ce*b,(.5+ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-ee)*a,E,0,E-Ce*b));var se=new go.PathFigure(0,E-b,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-Ce*b,(.5-ee)*a,E-2*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+ee)*a,E-2*b,a,E-b-Ce*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,ee=Ce*.5,ne=new go.PathFigure(b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ce*b,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+ee)*E,a-Ce*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ce*b,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*E,Ce*b,0));var se=new go.PathFigure(b,0,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+Ce*b,0,2*b,(.5-ee)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+ee)*E,b+Ce*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,ee=Ce*.5,ne=new go.PathFigure(a-b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-Ce*b,0,a,(.5-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+ee)*E,a-Ce*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,Ce*b,E,0,(.5+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*E,Ce*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var se=new go.PathFigure(a-b,0,!1);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-Ce*b,0,a-2*b,(.5-ee)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+ee)*E,a-b-Ce*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(.25*a,.25*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(0,E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var ee=new go.PathFigure(.5*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var ee=new go.PathFigure(.5*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(fe,a,E){var b=new go.Geometry,y=.2,ee=.1,ne=Ce*y,se=Ce*ee,ce=.5,de=.1,ye=new go.PathFigure(ce*a,(de+ee)*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-y)*a,de*E,(ce-ne)*a,(de+ee)*E,(ce-y)*a,(de+se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ee)*E,(ce-y)*a,(de-se)*E,(ce-ne)*a,(de-ee)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+y)*a,de*E,(ce+ne)*a,(de-ee)*E,(ce+y)*a,(de-se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+ee)*E,(ce+y)*a,(de+se)*E,(ce+ne)*a,(de+ee)*E));var Ae=.05,Ge=Ce*Ae;ce=.05,de=.25;var Be=new go.PathFigure(.5*a,.2*E,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ce=.95,de=.25,Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Ae)*a,de*E,(ce+Ge)*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),Ae=.025,Ge=Ce*Ae,ce=.825,de=.35,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),Ae=.05,Ge=Ce*Ae,ce=.5,de=.7,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),Ae=.025,Ge=Ce*Ae,ce=.175,de=.35,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce+Ae)*a,(de-Ge)*E,(ce+Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Ae)*a,de*E,(ce-Ge)*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Be.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),Ae=.05,Ge=Ce*Ae,ce=.05,de=.25,Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-Ae)*E,(ce-Ae)*a,(de-Ge)*E,(ce-Ge)*a,(de-Ae)*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new we("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(fe,a,E){var b=fe?fe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,ee=new go.PathFigure(a,0,!0);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var ee=new go.PathFigure(.5*a,.5*E,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=Ce*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+ee)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-ee)*E));var se=new go.PathFigure(a,.1*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+ee)*E,(.5+y)*a,.4*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+ee)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=Ce*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+ee)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-ee)*E));var se=new go.PathFigure(a,.1*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+ee)*E,(.5+y)*a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+ee)*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+ee)*E,(.5+y)*a,.3*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+ee)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var ee=Ce*.2,ne=new go.PathFigure(0,.2*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*E,(.2-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+ee)*a,0,a,(.2-ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+ee)*E,(.8+ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-ee)*a,E,0,(.8+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var se=new go.PathFigure(0,y*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var ee=new go.PathFigure(.1*a,.4*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(.75*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var ee=new go.PathFigure(a,.5*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,ee=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.1);var ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var se=new go.PathFigure(y*a,0,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),se.add(new go.PathSegment(go.PathSegment.Move,0,ee*E)),se.add(new go.PathSegment(go.PathSegment.Line,a,ee*E)),b}),go.Shape.defineFigureGenerator("Junction",function(fe,a,E){var b=new go.Geometry,y=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,ne=Ce*.5,se=.5,ce=new go.PathFigure(a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,E,a,(se+ne)*E,(se+ne)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,se*E,(se-ne)*a,E,0,(se+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,0,0,(se-ne)*E,(se-ne)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,se*E,(se+ne)*a,0,a,(se-ne)*E));var de=new go.PathFigure((ee+y)*a,(ee+y)*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*E)),de.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+y)*E)),de.add(new go.PathSegment(go.PathSegment.Line,(ee+y)*a,ee*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var ee=new go.PathFigure(.1*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=.5,ne=new go.PathFigure(.5*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*E,(ee-y)*a,E,0,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-y)*E,(ee-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*E,(ee+y)*a,0,a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*E,a,(ee+y)*E,(ee+y)*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.7);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var ee=new go.PathFigure(.2*a,.1*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var ee=1-y,ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var se=new go.PathFigure(.5*y*a,y*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,a,(ee+y)*E,(ee+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*E,(ee-y)*a,E,0,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-y)*E,(ee-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*E,(ee+y)*a,0,a,(ee-y)*E));var se=new go.PathFigure(a,.5*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(fe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,ee=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN,ee=fe?fe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(ee)&&(ee=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var ee=new go.PathFigure(0,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.25);var ee=new go.PathFigure(y*a,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(fe,a,E){var b=new go.Geometry,y=fe?fe.parameter1:NaN;isNaN(y)&&(y=.1);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,a,(ee+y)*E,(ee+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*E,(ee-y)*a,E,0,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-y)*E,(ee-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*E,(ee+y)*a,0,a,(ee-y)*E));var se=new go.PathFigure(a,ee*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,ee*E));var ce=new go.PathFigure(.8*a,.75*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(fe,a,E){var b=new go.Geometry,y=Ce*.1,ee=.1,ne=.9,se=.5,ce=new go.PathFigure(.8*a,.5*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var de=new go.PathFigure((ne+ee)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne+ee)*a,(se+y)*E,(ne+y)*a,(se+ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se+ee)*E,(ne-ee)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne-ee)*a,(se-y)*E,(ne-y)*a,(se-ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,(ne+y)*a,(se-ee)*E,(ne+ee)*a,(se-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=Ce*.4,ne=Ce*.1,se=.1,ce=.9,de=.5,ye=new go.PathFigure(.8*a,.5*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+ee)*E,(.4+y)*a,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,E)),ye.add(new go.PathSegment(go.PathSegment.Line,0,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-ee)*E));var Ae=new go.PathFigure((ce+se)*a,de*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+se)*E,(ce+se)*a,(de+ne)*E,(ce+ne)*a,(de+se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a,de*E,(ce-ne)*a,(de+se)*E,(ce-se)*a,(de+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-se)*E,(ce-se)*a,(de-ne)*E,(ce-ne)*a,(de-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a,de*E,(ce+ne)*a,(de-se)*E,(ce+se)*a,(de-ne)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*y,ne=0,se=.5,ce=new go.PathFigure(.8*a,.5*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(se-y)*E,.7*a,(se-ee)*E)),y=.1,ee=Ce*.1,ne=.9,se=.5;var de=new go.PathFigure((ne-y)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*y,ne=0,se=.5,ce=new go.PathFigure(0,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee+ee)*a,(se-y)*E,.8*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(se+ee)*E,(ne+ee+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*y,ne=.2,se=.5,ce=new go.PathFigure(.1*a,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var de=new go.PathFigure(.8*a,.5*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+ee)*a,(se-y)*E,.7*a,(se-ee)*E)),y=.1,ee=Ce*.1,ne=.9,se=.5;var ye=new go.PathFigure((ne-y)*a,se*E,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*y,ne=.2,se=.5,ce=new go.PathFigure(.1*a,0,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var de=new go.PathFigure(.2*a,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+ee)*a,(se-y)*E,.9*a,(se-ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(fe,a,E){var b=new go.Geometry,y=Ce*.1,ee=.1,ne=.1,se=.5,ce=new go.PathFigure((ne-y*.5)*a,E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+ee)*a,0,(ne+y)*a,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,0,(ne-y)*a,E,(ne-ee)*a,0)),ne=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+ee)*a,0,(ne+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(fe,a,E){var b=new go.Geometry,y=Ce*.5,ee=.5,ne=.5,se=.5,ce=new go.PathFigure((ne-ee)*a,se*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-ee)*E,(ne-ee)*a,(se-y)*E,(ne-y)*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,(ne+y)*a,(se-ee)*E,(ne+ee)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne+ee)*a,(se+y)*E,(ne+y)*a,(se+ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se+ee)*E,(ne-ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Move,(ne-ee+.1)*a,se*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-.1)*a,se*E,ne*a,(se-ee)*E,ne*a,(se+ee)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(fe,a,E){var b=new go.Geometry,y=a,ee=E;a=a*.38,E=E*.6;var ne=Ce*.8,se=.8,ce=0,de=.5,ye=(y-a)/2,Ae=(ee-E)/2,Ge=new go.PathFigure(ce*a+ye,(de+se)*E+Ae,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se+ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de-se)*E+Ae,(ce-se+ne*.5)*a+ye,(de-ne)*E+Ae)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce-se+ne*.5)*a+ye,(de+ne)*E+Ae,ce*a+ye,(de+se)*E+Ae).close()),ne=Ce*.4,se=.4,ce=.2,de=.5;var Be=new go.PathFigure(ce*a+ye,(de+se)*E+Ae,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se+ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de-se)*E+Ae,(ce-se+ne*.5)*a+ye,(de-ne)*E+Ae)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce-se+ne*.5)*a+ye,(de+ne)*E+Ae,ce*a+ye,(de+se)*E+Ae).close()),ne=Ce*.2,se=.2,ce=.5,de=.5;var rt=new go.PathFigure((ce-se)*a+ye,de*E+Ae,!0);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce-se)*a+ye,(de-ne)*E+Ae,(ce-ne)*a+ye,(de-se)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce-se)*a+ye,de*E+Ae,(ce-ne)*a+ye,(de+se)*E+Ae,(ce-se)*a+ye,(de+ne)*E+Ae)),ne=Ce*.4,se=.4,ce=.8,de=.5;var Xe=new go.PathFigure(ce*a+ye,(de-se)*E+Ae,!0);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se-ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de+se)*E+Ae,(ce+se-ne*.5)*a+ye,(de+ne)*E+Ae)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce+se-ne*.5)*a+ye,(de-ne)*E+Ae,ce*a+ye,(de-se)*E+Ae).close()),ne=Ce*.8,se=.8,ce=1,de=.5;var ut=new go.PathFigure(ce*a+ye,(de-se)*E+Ae,!0);return b.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se)*a+ye,de*E+Ae,(ce+ne)*a+ye,(de-se)*E+Ae,(ce+se)*a+ye,(de-ne)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de+se)*E+Ae,(ce+se)*a+ye,(de+ne)*E+Ae,(ce+ne)*a+ye,(de+se)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ce+se-ne*.5)*a+ye,de*E+Ae,ce*a+ye,(de+se)*E+Ae,(ce+se-ne*.5)*a+ye,(de+ne)*E+Ae)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ye,(de-se)*E+Ae,(ce+se-ne*.5)*a+ye,(de-ne)*E+Ae,ce*a+ye,(de-se)*E+Ae).close()),b}),go.Shape.defineFigureGenerator("Email",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,E,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ne=new go.PathFigure(.6*a,E,!0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var se=new go.PathFigure(0,.5*E,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),se.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(fe,a,E){var b=new go.Geometry,y=Ce*.4,ee=.4,ne=.5,se=.5,ce=ae(),de=ae(),ye=ae(),Ae=ae();ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.5,ce,ce,de,ye,Ae);var Ge=ue(de.x,de.y),Be=new go.PathFigure(de.x*a,de.y*E,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne+ee)*a,(se+y)*E,(ne+y)*a,(se+ee)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,(ne-y)*a,(se+ee)*E,(ne-ee)*a,(se+y)*E)),ke(ne-ee,se,ne-ee,se-y,ne-y,se-ee,ne,se-ee,.5,ye,Ae,de,ce,ce),Be.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ye.x*a,ye.y*E,Ae.x*a,Ae.y*E)),y=Ce*.3,ee=.3,ke(ne-ee,se,ne-ee,se-y,ne-y,se-ee,ne,se-ee,.5,ye,Ae,de,ce,ce),Be.add(new go.PathSegment(go.PathSegment.Line,de.x*a,de.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,se*E,Ae.x*a,Ae.y*E,ye.x*a,ye.y*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+ee)*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,se*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ke(ne,se-ee,ne+y,se-ee,ne+ee,se-y,ne+ee,se,.5,ce,ce,de,ye,Ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,Ae.x*a,Ae.y*E,ye.x*a,ye.y*E).close());var Be=new go.PathFigure(.45*a,0,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),x(ce),x(de),x(ye),x(Ae),x(Ge),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function ee(ne,se,ce){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+se)*a,(.8+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+se)*a,(.5+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+se)*a,(.5+ce)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+se)*a,(.8+ce)*E).close())}return ee(y,0,0),ee(y,.4,0),ee(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(fe,a,E){var b=new go.Geometry,y=.5,ee=0,ne=0,se=y*Ce,ce=.4*Math.SQRT2/2+.5,de=.5-.5*Math.SQRT2/2,ye=1,Ae=.5,Ge=.5,Be=0,rt=new go.PathFigure(ce*a,(1-de)*E,!1);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,Ae*E,ye*a,.7*E,ye*a,Ae*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ee)*a,(Be+ee)*E,(.5+y+ee)*a,(.5-se+ee)*E,(.5+se+ee)*a,(.5-y+ee)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+ee)*a,(.5+ne)*E,(.5-se+ee)*a,(.5-y+ne)*E,(.5-y+ee)*a,(.5-se+ne)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*E,(.5-y+ee)*a,(.5+se+ne)*E,(.5-se+ee)*a,.9*E)),rt.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*E)),rt.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*E)),rt.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var ee=new go.PathFigure(a,E,!1);b.add(ee);var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var ee=new go.PathFigure(.45*a,.73*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var ee=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var ne=.5-.285,se=.5,ce=ne,de=Math.PI/4,ye=4*(1-Math.cos(de))/(3*Math.sin(de)),Ae=ye*.5,Ge=ne,Be=ne,rt=ye*Ge,Xe=ye*Be;ee.add(new go.PathSegment(go.PathSegment.Bezier,(se-Ge)*a,ce*E,(se-(rt+Ge)/2)*a,(ce+(Be+Xe)/2)*E,(se-Ge)*a,(ce+Xe)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(ce-Be)*E,(se-Ge)*a,(ce-Xe)*E,(se-rt)*a,(ce-Be)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(se+Ge)*a,ce*E,(se+rt)*a,(ce-Be)*E,(se+Ge)*a,(ce-Xe)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(se+Ge)*a,(ce+Xe)*E,(se+(rt+Ge)/2)*a,(ce+(Be+Xe)/2)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var ut=new go.PathFigure(.2*a,E,!1);b.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var mn=new go.PathFigure(.8*a,E,!1);return b.add(mn),mn.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ee=new go.PathFigure(.2*a,.2*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var ee=new go.PathFigure(a,E,!1);b.add(ee);var ne=new go.PathFigure(.1*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var ee=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,ee*a,ee*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var ee=new go.PathFigure(.475*a,.2*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var ne=new go.PathFigure(.675*a,.575*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*.5,ne=new go.PathFigure(a,y*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+ee)*E,(y+ee)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-ee)*a,E,0,(y+ee)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-ee)*E,(y-ee)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+ee)*a,0,a,(y-ee)*E));var se=new go.PathFigure(y*a,0,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),se.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),se.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),se.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(0,.15*E,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var ee=new go.PathFigure(0,.2*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var ne=new go.PathFigure(0,.6*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var ee=new go.PathFigure(.15*a,.6*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var ne=.1,se=Ce*.1,ce=.2,de=.9,ye=new go.PathFigure((ce-ne)*a,de*E,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ne)*E,(ce-ne)*a,(de-se)*E,(ce-se)*a,(de-ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*a,de*E,(ce+se)*a,(de-ne)*E,(ce+ne)*a,(de-se)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+ne)*E,(ce+ne)*a,(de+se)*E,(ce+se)*a,(de+ne)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*a,de*E,(ce-se)*a,(de+ne)*E,(ce-ne)*a,(de+se)*E).close()),ne=.1,se=Ce*.1,ce=.8,de=.9;var Ae=new go.PathFigure((ce-ne)*a,de*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ne)*E,(ce-ne)*a,(de-se)*E,(ce-se)*a,(de-ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*a,de*E,(ce+se)*a,(de-ne)*E,(ce+ne)*a,(de-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de+ne)*E,(ce+ne)*a,(de+se)*E,(ce+se)*a,(de+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*a,de*E,(ce-se)*a,(de+ne)*E,(ce-ne)*a,(de+se)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ne=new go.PathFigure(.5*a,.8*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var se=new go.PathFigure(.5*a,.7*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ce=.1,de=Ce*.1,ye=.1,Ae=.9,Ge=new go.PathFigure((ye-ce)*a,Ae*E,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae-ce)*E,(ye-ce)*a,(Ae-de)*E,(ye-de)*a,(Ae-ce)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ce)*a,Ae*E,(ye+de)*a,(Ae-ce)*E,(ye+ce)*a,(Ae-de)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae+ce)*E,(ye+ce)*a,(Ae+de)*E,(ye+de)*a,(Ae+ce)*E)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ce)*a,Ae*E,(ye-de)*a,(Ae+ce)*E,(ye-ce)*a,(Ae+de)*E)),ce=.1,de=Ce*.1,ye=.4,Ae=.9;var Be=new go.PathFigure((ye-ce)*a,Ae*E,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae-ce)*E,(ye-ce)*a,(Ae-de)*E,(ye-de)*a,(Ae-ce)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ce)*a,Ae*E,(ye+de)*a,(Ae-ce)*E,(ye+ce)*a,(Ae-de)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ae+ce)*E,(ye+ce)*a,(Ae+de)*E,(ye+de)*a,(Ae+ce)*E)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ce)*a,Ae*E,(ye-de)*a,(Ae+ce)*E,(ye-ce)*a,(Ae+de)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var ee=new go.PathFigure(.45*a,.7*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ye=.05,Ae=Ce*.05,Ge=.175,Be=.95,se=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.375,Be=.95,ce=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.625,Be=.95,de=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E));var ye=.05,Ae=Ce*.05,Ge=.825,Be=.95,rt=new go.PathFigure((Ge-ye)*a,Be*E,!0);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be-ye)*E,(Ge-ye)*a,(Be-Ae)*E,(Ge-Ae)*a,(Be-ye)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ye)*a,Be*E,(Ge+Ae)*a,(Be-ye)*E,(Ge+ye)*a,(Be-Ae)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*a,(Be+ye)*E,(Ge+ye)*a,(Be+Ae)*E,(Ge+Ae)*a,(Be+ye)*E)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ye)*a,Be*E,(Ge-Ae)*a,(Be+ye)*E,(Ge-ye)*a,(Be+Ae)*E).close());var Xe=new go.PathFigure(0,E,!1);return b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var se=.05,ce=Ce*.05,de=.35,ye=.775,Ae=new go.PathFigure((de-se)*a,ye*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ye-se)*E,(de-se)*a,(ye-ce)*E,(de-ce)*a,(ye-se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+se)*a,ye*E,(de+ce)*a,(ye-se)*E,(de+se)*a,(ye-ce)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ye+se)*E,(de+se)*a,(ye+ce)*E,(de+ce)*a,(ye+se)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de-se)*a,ye*E,(de-ce)*a,(ye+se)*E,(de-se)*a,(ye+ce)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(fe,a,E){var b=new go.Geometry,y=.3,ee=Ce*.3,ne=.5,se=.7,ce=new go.PathFigure((ne-y)*a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E));var de=new go.PathFigure(0,.7*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var ee=new go.PathFigure(0,.6*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*.5,ne=.5,se=.5,ce=new go.PathFigure((ne-y)*a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E));var de=new go.PathFigure(.15*a,.5*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(fe,a,E){var b=new go.Geometry,y=.5,ee=Ce*.5,ne=.5,se=.5,ce=new go.PathFigure((ne-y)*a,se*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E).close()),y=.05,ee=Ce*.05,ne=.5,se=.8;var de=new go.PathFigure((ne-y)*a,se*E,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se-y)*E,(ne-y)*a,(se-ee)*E,(ne-ee)*a,(se-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,se*E,(ne+ee)*a,(se-y)*E,(ne+y)*a,(se-ee)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(se+y)*E,(ne+y)*a,(se+ee)*E,(ne+ee)*a,(se+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,se*E,(ne-ee)*a,(se+y)*E,(ne-y)*a,(se+ee)*E).close()),de.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),de.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ee=new go.PathFigure(.2*a,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ee=new go.PathFigure(.2*a,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var ee=new go.PathFigure(0,E*.6,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(fe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var ee=new go.PathFigure(.126*a,.85*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var ne=new go.PathFigure(.402*a,.85*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var se=new go.PathFigure(.678*a,.85*E,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),se.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),se.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ce=new go.PathFigure(.5*a,.1*E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var ee=new go.PathFigure(a*.204,E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var ne=new go.PathFigure(a*.408,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var se=new go.PathFigure(a*.612,E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),se.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ce=new go.PathFigure(a*.816,E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var ne=new go.PathFigure(a*.055,.13*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var se=new go.PathFigure(a*.055,.18*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),se.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),se.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ce=new go.PathFigure(a*1,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ee=new go.PathFigure(0,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ne=new go.PathFigure(a*.11,E*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var se=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(fe,a,E){var b=new go.Geometry,y=8,ee=y*Ce,ne=new go.PathFigure(y,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-ee,a-ee,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,ee,E,0,E-ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,ee,ee,0).close());var se=new go.PathFigure(a*.83,0,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ce=new go.PathFigure(a*.83,E*1,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var de=new go.PathFigure(a*.78,E*.05,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),de.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),de.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(fe,a,E){var b=fe?fe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*Ce,ee=E*.8,ne=new go.Geometry,se=new go.PathFigure(b,0,!0);return ne.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),se.add(new go.PathSegment(go.PathSegment.Line,a,ee-b)),se.add(new go.PathSegment(go.PathSegment.Bezier,a-b,ee,a,ee-y,a-y,ee)),se.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),se.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),se.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),se.add(new go.PathSegment(go.PathSegment.Line,b,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-b,y,ee,0,ee-y)),se.add(new go.PathSegment(go.PathSegment.Line,0,b)),se.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var ee=new go.PathFigure(a*1,E*.55,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(fe,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var ee=new go.PathFigure(a*.1,E*.2,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var ne=new go.PathFigure(a*.28,E*.37,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(fe,a,E){var b=new go.Geometry,y=15,ee=y*Ce,ne=new go.PathFigure(a*.62,E*.475,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-ee,a-ee,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,ee,E,0,E-ee)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),ee>1?(b.spot1=new go.Spot(0,0,ee,ee),b.spot2=new go.Spot(1,1,-ee,-ee)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var ee=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-ee)).close());var ne=new go.PathFigure(a*.4,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var ee=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-ee)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var ee=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-ee))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-ee)).close());var ne=new go.PathFigure(a*.5,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var ee=new go.PathFigure(a*.235,E*.28,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(fe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),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")},11081: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 we={},St="5.0",ue={},ae=null,x=!1,Oe=!1,ke=null,Te=!1,et=null,Ce=null,ct=0;ct4?parseFloat(tt):5};we.setHTML5Codebase=function(tt,st){Ce=tt,Nn(tt,st)},we.setJavaCodebase=we.setJavaCodebaseVersion=we.isCompiledInstalled=we.setPreCompiledScriptPath=we.setPreCompiledResourcePath=function(){},we.setHTML5CodebaseVersion=function(tt,st){var wt=parseFloat(tt);if(wt!==NaN&&wt<5){console.log("The GeoGebra HTML5 codebase version "+wt+" is deprecated. Using version latest instead.");return}et=tt,an(tt,st)},we.getHTML5CodebaseVersion=function(){return fe},we.getParameters=function(){return ue},we.setFontsCSSURL=function(tt){ne=tt},we.setGiacJSURL=function(tt){},we.setJNLPFile=function(tt){Me=tt},we.setJNLPBaseDir=function(tt){},we.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",wt=ue.id,Ln,un=!1,Un=0;Un=5)return!0;var tt=we.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},we.startAnimation=function(){var tt=we.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},we.stopAnimation=function(){var tt=we.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},we.getAppletObject=function(){var tt=ue.id!==void 0?ue.id:"ggbApplet";return window[tt]},we.resize=function(){};var rt=function(tt,st,wt){var Ln=document.createElement("param");Ln.setAttribute("name",st),Ln.setAttribute("value",wt),tt.appendChild(Ln)},Xe=function(tt){return tt&&tt!=="false"},ut=function(tt,st,wt){ce(fe)<=4.2&&(wt=!0);var Ln=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==fe||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Ln=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Un=st.width,Le=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(ce(fe)<=4.4)Xe(st.showToolBar)&&(st.height-=7),Xe(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Xe(st.showToolBar)&&(st.width=605,Un=605);else{var xe=100;(Xe(st.showToolBar)||Xe(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),xe=Xe(st.showMenuBar)?245:155),Un=5?(st.appletOnLoad=function(Xt){var Ht=tt.querySelector(".ggb_preview");Ht&&Ht.parentNode.removeChild(Ht),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Lt),window.GGBT_wsf_view&&$(window).trigger("resize"),Pt(Xt)},Tt||Lt.appendChild(Gt)):un.appendChild(Gt),Lt.appendChild(un),Tt||tt.appendChild(Lt),setTimeout(function(){we.resize()},1)}else{var en=document.createElement("div");en.className="applet_scaler",en.style.position="relative",en.style.display="block",en.appendChild(un),tt.appendChild(en),st.appletOnLoad=function(Xt){we.resize(),Pt(Xt)}}function Rn(Xt,Ht){Ht&&typeof Ht.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Xt,Ht.appletOnLoad):renderGGBElement(Xt),jn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ht)}function Rt(Xt,Ht){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Xt,params:Ht}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(on){Rn(on.article,on.params)}),html5AppletsToProcess=null)},ce(fe)<5&&(Xt.className+=" geogebraweb")):Rn(Xt,Ht)}if(Ln){scriptLoadStarted=!0;for(var De=0;De0?(Ve.remove(),Lt.attr("id","fullscreencontent").show(),jQuery(Pt).append(Lt),window.dispatchEvent(new Event("resize"))):ut(Ve,st,!1),window.GGBT_wsf_view.launchFullScreen(Pt)}else $e=Ln,ut(tt,st,!1);if(!window.GGBT_wsf_view)for(Le=0;Lett/4*3&&(Ve=tt/4*3),Pt=Ve/5.8,xe.setAttribute("src",y),xe.setAttribute("width",Ve),xe.setAttribute("height",Pt);var Lt=(tt-Ve)/2,Tt=(st-Pt)/2;xe.style.left=Lt+"px",xe.style.top=Tt+"px",un.appendChild(xe)}}return un.appendChild(Le),un},ha=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},_t=["web","webSimple","web3d","tablet","tablet3d","phone"],an=function(tt,st){if(fe=tt,st){Nn(fe,!0);return}var wt=!x;if(wt){var Ln=ce(fe);!isNaN(Ln)&&Ln<4.4&&(wt=!1)}var un,Un;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var Le=fe.indexOf("//");Le>0?Un=fe:Le===0?Un=un+fe:Un="https://www.geogebra.org/apps/5.2.814.0/";for(var xe in _t)if(fe.slice(_t[xe].length*-1)===_t[xe]||fe.slice((_t[xe].length+1)*-1)===_t[xe]+"/"){Nn(Un,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&wt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Xe(ue.showToolBar)&&!Xe(ue.showMenuBar)&&!Xe(ue.showAlgebraInput)&&!Xe(ue.enableRightClick)&&(!ue.appName||ue.appName=="classic")?Un+="webSimple/":Un+="web3d/",Nn(Un,!1)},Nn=function(tt,st){if(tt.requirejs){lt=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),lt=tt,st===null&&(st=tt.indexOf("http")===-1),mt=st,a="web.nocache.js",E=!1;var wt=lt.split("/");wt.length>1&&(!st&&wt[wt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):_t.indexOf(wt[wt.length-2])>=0&&(a=wt[wt.length-2]+".nocache.js")),wt=tt.split("/"),fe=wt[wt.length-3],fe.substr(0,4)==="test"?fe=fe.substr(4,1)+"."+fe.substr(5,1):(fe.substr(0,3)==="war"||fe.substr(0,4)==="beta")&&(fe="5.0");var Ln=parseFloat(fe);Ln!==NaN&&Ln<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead."),an("5.0",st))},jn=function(tt,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(tt)};ue.material_id!==void 0?Ae(hn):hn();function hn(){var tt=St;et!==null?tt=et:parseFloat(tt)<5&&(tt="5.0"),an(tt,!1),Ce!==null&&Nn(Ce,mt),Te=!0}return we},GGBAppletUtils=function(){"use strict";function we(){return window.GGBT_wsf_edit!==void 0}function St(Te,et){et!=1?(Te.style.transformOrigin="0% 0% 0px",Te.style.webkitTransformOrigin="0% 0% 0px",Te.style.transform="scale("+et+","+et+")",Te.style.webkitTransform="scale("+et+","+et+")",Te.style.maxWidth="initial",Te.querySelector(".ggb_preview")!==null&&(Te.querySelector(".ggb_preview").style.maxWidth="initial"),Te.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Te.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Te.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Te.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Te.style.transform="none",Te.style.webkitTransform="none")}function ue(Te,et,Ce,ct,Ne,Me){var lt=null;if(Me!=null&&Me!="")for(var mt=Te.parentNode;mt!=null;)if((" "+mt.className+" ").indexOf(" "+Me+" ")>-1){lt=mt;break}else mt=mt.parentNode;var $e=0,fe=0,a=0,E=0,b=0,y=0,ee=0;if(lt)$e=lt.offsetWidth,fe=Math.max(ct?lt.offsetWidth:0,lt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?($e=Math.min(window.innerWidth,document.documentElement.clientWidth),fe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=$e):($e=window.innerWidth,fe=window.innerHeight,a=window.innerWidth),Te){var ne=Te.getBoundingClientRect();ne.left>0&&ne.left<=$e&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(b=$e-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,b=a<=480?10:30),E=y+b)}if(Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=Te.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,ee=40)}}return Te&&((Ce===void 0||!Ce)&&et>0&&et+E<$e?$e=et:$e-=E,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce===void 0||!Ce)&&(fe-=ee)),{width:$e,height:fe}}function ae(Te,et,Ce,ct,Ne){if(Te.isScreenshoGenerator)return 1;var Me=ct!==void 0&&ct,lt=Te.noScaleMargin!=null&&Te.noScaleMargin,mt=function(se){return se&&se!=="false"},$e=mt(Te.autoHeight),fe=ue(et,Te.width,Ce,$e,Me&&window.GGBT_wsf_view||lt,Ne),a=parseInt(fe.width),E=Te.width,b=Te.height;if(E===void 0){var y=et.querySelector(".appletParameters");y&&(E=y.offsetWidth,b=y.offsetHeight)}var ee=a/E,ne=Me?1:fe.height/b;return Ce!==void 0&&!Ce&&(ee=Math.min(1,ee),ne=Math.min(1,ne)),Math.min(ee,ne)}function x(Te,et,Ce){var ct=1,Ne,Me=!1;if(Te.hasOwnProperty("allowUpscale")&&(Me=Te.allowUpscale),Te.hasOwnProperty("scale")&&(ct=parseFloat(Te.scale),(isNaN(ct)||ct===null||ct===0)&&(ct=1),ct>1&&(Me=!0)),et&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Me=!0),!(Te.hasOwnProperty("disableAutoScale")&&Te.disableAutoScale))Ne=ae(Te,et,Me,Ce,Te.scaleContainerClass);else return ct;return Me&&(!Te.hasOwnProperty("scale")||ct===1)?Ne:Math.min(ct,Ne)}function Oe(Te){var et=Math.min(window.innerWidth,document.documentElement.clientWidth),Ce=Math.min(window.innerHeight,document.documentElement.clientHeight),ct=Te.getBoundingClientRect(),Ne=(et-ct.width)/2,Me=(Ce-ct.height)/2;Me<0&&(Me=0),Te.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?Te.style.left="40px":Te.style.left=Ne+"px",Te.style.top=Me+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Me<40?Te.style.top="40px":Te.style.top=Me+"px",Te.style.left=Ne+"px")}function ke(Te,et){var Ce=Te.querySelector(".appletParameters");if(Ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(et.id!==Ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Te)}if(Ce.parentElement&&/fullscreen/.test(Ce.parentElement.className))return;var ct=x(et,Te);we()&&Ce.setAttribute("data-param-scale",ct);for(var Ne=null,Me=0;Me=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(we){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(we){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(we){var St=c[we];return St==null?null:St},r=d,webModule.__errFn=e}function B(){function we(Te){var et=Te.lastIndexOf(rb);et==-1&&(et=Te.length);var Ce=Te.indexOf(sb);Ce==-1&&(Ce=Te.length);var ct=Te.lastIndexOf(tb,Math.min(Ce,et));return ct>=O?Te.substring(O,ct+P):W}function St(Te){if(!Te.match(/^\w+:\/\//)){var et=o.createElement(ub);et.src=Te+vb,Te=we(et.src)}return Te}function ue(){var Te=__gwt_getMetaProperty(wb);return Te!=null?Te:W}function ae(){for(var Te=o.getElementsByTagName(_),et=O;etO?Te[Te.length-P].href:W}function Oe(){var Te=o.location;return Te.href==Te.protocol+zb+Te.host+Te.pathname+Te.search+Te.hash}var ke=ue();return ke==W&&(ke=ae()),ke==W&&(ke=x()),ke==W&&Oe()&&(ke=we(o.location.href)),ke=St(ke),ke}function C(we){return we.match(/^\//)||we.match(/^[a-zA-Z]+:\/\//)?we:webModule.__moduleBase+we}function D(){var we=[],St=O,ue=[],ae=[];function x(Te){var et=ae[Te](),Ce=ue[Te];if(et in Ce)return et;var ct=[];for(var Ne in Ce)ct[Ce[Ne]]=Ne;throw r&&r(Te,ct,et),null}if(__gwt_isKnownPropertyValue=function(Te,et){return et in ue[Te]},webModule.__getPropMap=function(){var Te={};for(var et in ue)ue.hasOwnProperty(et)&&(Te[et]=x(et));return Te},webModule.__computePropValue=x,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var ke=Oe.indexOf(Db);ke!=-1&&(St=parseInt(Oe.substring(ke+P),$),Oe=Oe.substring(O,ke))}catch(Te){}return webModule.__softPermutationId=St,C(Oe+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})()},67303:function(we,St,ue){"use strict";ue.d(St,{Ax:function(){return ke},Ds:function(){return Te},KI:function(){return Ce},SI:function(){return Oe},f1:function(){return x}});var ae=ue(90524);function x(ct){let Ne=!0;if(ct.length>0){for(let Me=0;Menew Promise((E,b)=>{var y=se=>{try{ne(a.next(se))}catch(ce){b(ce)}},ee=se=>{try{ne(a.throw(se))}catch(ce){b(ce)}},ne=se=>se.done?E(se.value):Promise.resolve(se.value).then(y,ee);ne((a=a.apply($e,fe)).next())});const Me=({dataSource:$e,value:fe,onChange:a})=>{const E=[{title:"\u540D\u79F0",dataIndex:"value",ellipsis:!0},{title:"\u7C7B\u578B",width:100,dataIndex:"computeSource",ellipsis:!0},{title:"\u63CF\u8FF0",dataIndex:"description",ellipsis:!0}],b={selectedRowKeys:fe,columnWidth:54,type:"radio",onChange:y=>a(y)};return ae.createElement(Oe.default,{rowSelection:b,rowKey:"id",columns:E,dataSource:$e,scroll:{y:240},pagination:!1})};var mt=({form:$e})=>{const fe=$e.getFieldValue("compute"),a=$e.getFieldValue("cluster_type"),E=$e.getFieldValue("place_image_id"),b=$e.getFieldValue("spec_id"),[y,ee]=(0,ae.useState)([]),[ne,se]=(0,ae.useState)([]),[ce,de]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{ye()},[fe,a]),(0,ae.useEffect)(()=>{b&&Ae({spec_id:b||$e.getFieldValue("spec_id")})},[fe,a,b]),(0,ae.useEffect)(()=>{$e.setFieldsValue({image_data:(ne==null?void 0:ne.find(Ge=>Ge.id===(E==null?void 0:E[0])))||{}})},[E]);const ye=()=>Ne(void 0,null,function*(){var Ge,Be,rt,Xe,ut,mn,ln;de(!0);const En=yield(0,ct.ZP)("/api/shixuns/openi_jupyter_lab_specs.json",{method:"get",params:{compute:fe,cluster_type:a}});En.status===0&&(ee(((Ge=En==null?void 0:En.data)==null?void 0:Ge.specs)||[]),$e.setFieldsValue({spec_id:(Xe=(rt=(Be=En==null?void 0:En.data)==null?void 0:Be.specs)==null?void 0:rt[0])==null?void 0:Xe.id}),Ae({spec_id:(ln=(mn=(ut=En==null?void 0:En.data)==null?void 0:ut.specs)==null?void 0:mn[0])==null?void 0:ln.id})),de(!1)}),Ae=Ge=>Ne(void 0,null,function*(){de(!0);const Be=yield(0,ct.ZP)("/api/shixuns/openi_jupyter_lab_images.json",{method:"get",params:{compute:fe,cluster_type:a,spec_id:Ge==null?void 0:Ge.spec_id}});Be.status===0&&se((Be==null?void 0:Be.data)||[]),de(!1)});return ae.createElement(ke.Z,{spinning:ce},ae.createElement(Te.default.Item,{hidden:!0,name:"image_data"}),ae.createElement(Te.default.Item,{label:"\u7B97\u529B\u96C6\u7FA4",name:"cluster_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B97\u529B\u96C6\u7FA4"}]},ae.createElement(et.ZP.Group,null,ae.createElement(et.ZP,{value:"OpenI"},"\u542F\u667A\u96C6\u7FA4"),ae.createElement(et.ZP,{value:"C2Net"},"\u667A\u7B97\u96C6\u7FA4"))),ae.createElement(Te.default.Item,{label:"\u8BA1\u7B97\u8D44\u6E90",name:"compute",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BA1\u7B97\u8D44\u6E90"}]},ae.createElement(et.ZP.Group,null,ae.createElement(et.ZP,{value:"GPU"},"GPU"),ae.createElement(et.ZP,{value:"NPU"},"NPU"))),ae.createElement(Te.default.Item,{className:x.FormItemStyle,name:"spec_id",label:"\u8D44\u6E90\u89C4\u683C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89C4\u683C"}]},ae.createElement(Ce.default,{className:x.select,bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u89C4\u683C"},y==null?void 0:y.map(Ge=>ae.createElement(Ce.default.Option,{value:Ge.id,key:Ge.id},`${Ge.compute_resource}\uFF1A${Ge.acc_cards_num}*${Ge==null?void 0:Ge.acc_card_type} ${Ge.cpu_cores}\u6838 ${fe==="NPU"?Ge.mem_gi_b:Ge.gpu_mem_gi_b}GB ${Ge==null?void 0:Ge.unit_price}\u79EF\u5206/\u65F6`)))),ae.createElement(Te.default.Item,{label:"\u955C\u50CF",name:"place_image_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u955C\u50CF"}]},ae.createElement(Me,{dataSource:ne})))}},84236:function(we,St,ue){"use strict";ue.d(St,{t:function(){return mt}});var ae=ue(59301),x=ue(3113),Oe={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},ke=ue(92310),Te=ue.n(ke),et=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Me=($e,fe,a)=>fe in $e?et($e,fe,{enumerable:!0,configurable:!0,writable:!0,value:a}):$e[fe]=a,lt=($e,fe)=>{for(var a in fe||(fe={}))ct.call(fe,a)&&Me($e,a,fe[a]);if(Ce)for(var a of Ce(fe))Ne.call(fe,a)&&Me($e,a,fe[a]);return $e};const mt=({cancelText:$e="\u53D6\u6D88",okText:fe="\u786E\u5B9A",loading:a=!1,hasOkBtn:E=!0,hasCancelBtn:b=!0,okButtonProps:y={},onCancel:ee=()=>{},onOk:ne=()=>{},className:se=""})=>ae.createElement("div",{className:Te()(Oe.buttonFixed,se)},ae.createElement("div",{className:Oe.buttonWrap},b&&ae.createElement(x.ZP,{size:"middle",className:`${Oe.button} mr20`,onClick:ee},$e),E&&ae.createElement(x.ZP,lt({size:"middle",type:"primary",className:`${Oe.button} mr20`,loading:a,onClick:ne},y),fe)))},18738:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ne}});var ae=ue(76560),x=ue(20834),Oe=ue(8591),ke=ue(38854),Te={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9"},et=ue(34055),Ce=ue(63423),ct=ue(90524),Ne=ue(49661),Me=ue(59301),lt=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,fe=(se,ce)=>{var de={};for(var ye in se)mt.call(se,ye)&&ce.indexOf(ye)<0&&(de[ye]=se[ye]);if(se!=null&<)for(var ye of lt(se))ce.indexOf(ye)<0&&$e.call(se,ye)&&(de[ye]=se[ye]);return de},a=(se,ce,de)=>new Promise((ye,Ae)=>{var Ge=Xe=>{try{rt(de.next(Xe))}catch(ut){Ae(ut)}},Be=Xe=>{try{rt(de.throw(Xe))}catch(ut){Ae(ut)}},rt=Xe=>Xe.done?ye(Xe.value):Promise.resolve(Xe.value).then(Ge,Be);rt((de=de.apply(se,ce)).next())});const E=se=>{var ce,de=RegExp("(^| )"+se+"=([^;]+)(;|$)");return(ce=document.cookie.match(de))?decodeURIComponent(ce[2]):null},b=se=>{var ce=new Date;ce.setTime(ce.getTime()-1);var de=E(se);de!=null&&(document.cookie=se+"="+de+";expires="+ce.toGMTString())};var y=(se=>(se.Classrooms="classrooms",se.Shixuns="shixuns",se.Paths="paths",se.Projects="projects",se.Videos="videos",se.Topics="topics",se.Competition="competitions",se.Engineering="engineering",se.Graduations="graduations",se.Paperlibrary="paperlibrary",se.Problemset="problemset",se.Dataset="dataset",se))(y||{});const ee=se=>{var ce=se,{homePage:de,user:ye,globalSetting:Ae,loading:Ge,dispatch:Be,shixunHomeworks:rt}=ce,Xe=fe(ce,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks"]),ut,mn,ln,En,pn,Jt,ha,_t,an,Nn,jn,hn,tt,st,wt;const Ln=(mn=(((ut=Ae.setting)==null?void 0:ut.navbar)||[]).find(Pt=>Pt.link==="/classrooms"))==null?void 0:mn.hidden,un=(En=(((ln=Ae.setting)==null?void 0:ln.navbar)||[]).find(Pt=>Pt.link==="/shixuns"))==null?void 0:En.hidden,Un=(Jt=(((pn=Ae.setting)==null?void 0:pn.navbar)||[]).find(Pt=>Pt.link==="/paths"))==null?void 0:Jt.hidden,Le=(ha=ye.userInfo)==null?void 0:ha.is_school_manage,xe=((_t=ye.userInfo)==null?void 0:_t.admin)||((an=ye.userInfo)==null?void 0:an.business)||((Nn=ye.userInfo)==null?void 0:Nn.is_shixun_marker)||((jn=ye.userInfo)==null?void 0:jn.is_teacher)||((hn=ye.userInfo)==null?void 0:hn.user_identity)!=="\u5B66\u751F",Ve=()=>{var Pt,Lt;return(0,Ne.Ll)()?Me.createElement(x.default,{className:`${Te.rightMenu} ${Te.menuWrap}`},Me.createElement(x.default.Item,null,Me.createElement(ae.Link,{to:(Pt=Ae==null?void 0:Ae.setting)==null?void 0:Pt.user_setting_url},"\u8D26\u53F7\u7BA1\u7406"))):Me.createElement(x.default,{className:`${Te.rightMenu} ${Te.menuWrap}`},Me.createElement(x.default.Item,null,Me.createElement("a",{href:((Lt=Ae==null?void 0:Ae.setting)==null?void 0:Lt.user_setting_url)||"/account/certification"},"\u8D26\u53F7\u7BA1\u7406")),Me.createElement(x.default.Item,{className:Te.exit},Me.createElement("a",{onClick:()=>a(void 0,null,function*(){const Tt=yield(0,Ce.vR)({});(Tt==null?void 0:Tt.status)===1&&(b("autologin_trustie"),b("_educoder_session"),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),Oe.ZP.success(Tt==null?void 0:Tt.message),ae.history.replace((0,Ne.T0)(!0)?"/competitions":"/"))})},"\u9000\u51FA")))};return(0,et.bg)()?Me.createElement(ke.Z,{overlay:Ve,placement:"bottomRight"},Me.createElement("section",null,Me.createElement("aside",null,Me.createElement("div",{className:rt.actionTabs.type===1?Te.classromediv:""},Me.createElement("img",{className:`${Te.userPic} current ml15`,src:`${(tt=ct.Z)==null?void 0:tt.IMG_SERVER}/images/${(st=ye.userInfo)==null?void 0:st.image_url}`,alt:""}),(0,Ne.Ll)()&&Me.createElement("span",{className:"ml10 font16"},(wt=ye.userInfo)==null?void 0:wt.username))))):Me.createElement("div",{className:`font15 ${Ae.isIlearning?Te.login:""} ml30`},Me.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{(0,Ne.T0)()}},"\u767B\u5F55"))};var ne=(0,ae.connect)(({homePage:se,loading:ce,user:de,globalSetting:ye,shixunHomeworks:Ae})=>({homePage:se,user:de,globalSetting:ye,shixunHomeworks:Ae,loading:ce.models.index}))(ee)},87496:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ut},g:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(44e3),ke=ue(92832),Te={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",wrap:"wrap___Yr9Co",headerFixed:"headerFixed___QLwBd"},et=ue(18738),Ce=ue(90524),ct=ue(49661),Ne=Object.defineProperty,Me=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,$e=(mn,ln,En)=>ln in mn?Ne(mn,ln,{enumerable:!0,configurable:!0,writable:!0,value:En}):mn[ln]=En,fe=(mn,ln)=>{for(var En in ln||(ln={}))lt.call(ln,En)&&$e(mn,En,ln[En]);if(Me)for(var En of Me(ln))mt.call(ln,En)&&$e(mn,En,ln[En]);return mn};const a=mn=>React.createElement("svg",fe({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},mn),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var E="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9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i0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",b=Object.defineProperty,y=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(mn,ln,En)=>ln in mn?b(mn,ln,{enumerable:!0,configurable:!0,writable:!0,value:En}):mn[ln]=En,ce=(mn,ln)=>{for(var En in ln||(ln={}))ee.call(ln,En)&&se(mn,En,ln[En]);if(y)for(var En of y(ln))ne.call(ln,En)&&se(mn,En,ln[En]);return mn},de=(mn,ln)=>{var En={};for(var pn in mn)ee.call(mn,pn)&&ln.indexOf(pn)<0&&(En[pn]=mn[pn]);if(mn!=null&&y)for(var pn of y(mn))ln.indexOf(pn)<0&&ne.call(mn,pn)&&(En[pn]=mn[pn]);return En};const{Header:ye}=Oe.default,{Search:Ae}=ke.default;function Ge(){var mn,ln;const pn=window.location.pathname.split("/"),Jt={};return pn[1]=="classrooms"&&pn.length>3&&!((mn=pn[4])!=null&&mn.includes("newgold"))&&!((ln=pn[5])!=null&&ln.includes("newgold"))&&pn[2]!=="coursesId"&&(Jt.course_id=pn[2]),pn[1]==="shixuns"&&pn.length>3&&(Jt.objective_type="shixun",Jt.objective_id=pn[2]),pn[1]==="paths"&&pn.length>3&&(Jt.objective_type="path",Jt.objective_id=pn[2]),ce(ce({},Jt),{school:1})}const Be={\u9996\u9875:"/","/paths":{link:"/paths",key:1},"/shixuns":{link:"/shixuns",key:2},"/classrooms":{link:"/classrooms",key:3},"/competitions":{link:"/competitions",key:4},"/moop_cases":{link:"/moop_cases",key:5},"/forums":{link:"/forums",key:6},"/recruitment":{link:"/competitions/index",key:7},"/three":{link:"/three",key:7}},rt=null,Xe=mn=>{var ln=mn,{homePage:En,user:pn,globalSetting:Jt,loading:ha,dispatch:_t,isLogin:an=!1,shixunHomeworks:Nn,competitions:jn}=ln,hn=de(ln,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks","competitions"]),tt,st,wt,Ln,un,Un,Le;const xe=Ge(),Ve=(0,x.useLocation)();let Pt=window.location.pathname;const Lt=Pt==null?void 0:Pt.includes("/forums"),{qs:Tt}=jn,Gt=Ve.pathname.includes("/course"),en=Ve.pathname.includes("/shixuns"),Rn=Ve.pathname.includes("/competitions"),[Rt,De]=(0,ae.useState)(-1);(0,ae.useEffect)(()=>{var dt,Ot,$t;Jt!=null&&Jt.setting&&((Ot=(dt=Jt==null?void 0:Jt.setting)==null?void 0:dt.navbar)==null||Ot.map(function(Xt,Ht){Ve.pathname.indexOf(Xt.link)>-1&&De(Ht)}),Rt===-1?(0,ct.Dk)(Jt.setting.name):(0,ct.Dk)((($t=Jt.setting.navbar[Rt])==null?void 0:$t.name)||Jt.setting.name))},[Jt==null?void 0:Jt.setting]);const We=(0,ae.useMemo)(()=>{var dt,Ot;return(dt=Jt==null?void 0:Jt.setting)!=null&&dt.nav_logo_url?`${Ce.Z.IMG_SERVER}/${(Ot=Jt==null?void 0:Jt.setting)==null?void 0:Ot.nav_logo_url}`:`${Ce.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(tt=Jt==null?void 0:Jt.setting)==null?void 0:tt.nav_logo_url]);return Jt.showHeader&&Jt.showHeaderFooter?ae.createElement("div",{className:`${Te.header} ${Jt.isCourseOpeni?Te.headerFixed:""}`},ae.createElement("div",{className:Te.wrap},ae.createElement("div",{className:"menu"},ae.createElement("a",{className:"logo",href:""},ae.createElement("img",{style:{height:Gt?48:36},title:(st=Jt.setting)==null?void 0:st.name,src:We||E})),Jt.setting&&((wt=Jt.setting.navbar)==null?void 0:wt.map((dt,Ot)=>!dt.hidden&&ae.createElement("a",{target:dt.link.indexOf("http")>-1?"_blank":"_self",href:dt.link},dt==null?void 0:dt.name))),ae.createElement("div",{className:"right"},!Jt.isCourseOpeni&&ae.createElement(ae.Fragment,null,!an&&!!((Ln=pn==null?void 0:pn.userInfo)!=null&&Ln.login)&&ae.createElement(x.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(un=pn==null?void 0:pn.userInfo)==null?void 0:un.login}/user_tidings`},((Le=(Un=pn==null?void 0:pn.navigationInfo)==null?void 0:Un.top)==null?void 0:Le.new_message)&&ae.createElement("span",{className:Te.newslight}))),ae.createElement(et.Z,{payload:xe}))))):ae.createElement(ae.Fragment,null)};var ut=(0,x.connect)(({homePage:mn,loading:ln,user:En,globalSetting:pn,shixunHomeworks:Jt,competitions:ha})=>({homePage:mn,user:En,globalSetting:pn,loading:ln.models.index,shixunHomeworks:Jt,competitions:ha}))(Xe)},6077:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return lt}});var ae=ue(59301),x={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Oe=ue(92310),ke=ue.n(Oe),Te=ue(71418),et=ue(2859),Ce=ue(82093),ct=ue(49661),Ne=(mt,$e,fe)=>new Promise((a,E)=>{var b=ne=>{try{ee(fe.next(ne))}catch(se){E(se)}},y=ne=>{try{ee(fe.throw(ne))}catch(se){E(se)}},ee=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(b,y);ee((fe=fe.apply(mt,$e)).next())}),lt=({data:mt,className:$e,fullWidth:fe,style:a={},onClose:E,onOk:b,showFullTools:y,noAssociationId:ee})=>{const ne=(0,ae.useRef)(null),se=(0,ae.useRef)(null),ce=(0,ae.useRef)(null),de=(0,ae.useRef)(null),[ye,Ae]=(0,ae.useState)(!1),[Ge,Be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),mt!=null&&mt.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",mt!=null&&mt.src&&rt()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[mt==null?void 0:mt.visible]);const rt=()=>Ne(void 0,null,function*(){Ae(!0),Be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const En=yield(0,ct.ZJ)(mt==null?void 0:mt.src);ne.current.src="",ne.current.src=En,ne.current.onload=function(){ln()},Ae(!1),Be("")}),Xe=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",E()},ut=En=>Ne(void 0,null,function*(){Ae(!0),Be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const pn=yield(0,Ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:mt.title,file:En.dataUrl}});pn!=null&&pn.id&&!ee?(yield(0,Ce.ZP)(`/api/attachments/${mt.id}/add_subitem.json`,{method:"post",body:{subitem_id:pn==null?void 0:pn.id,settings:JSON.stringify(En.state)}})).status===0&&b():pn!=null&&pn.id&&b(pn),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",Ae(!1),Be("")}),mn=()=>{const En=document.querySelector('a[href="https://markerjs.com/"]');En&&En.parentNode&&(En.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(Jt=>{const ha=document.querySelector(Jt.name);ha&&ha.setAttribute("title",Jt.title)})},ln=()=>{se.current=new et.hP(ne.current),se.current.targetRoot=de.current,se.current.addEventListener("render",ut),se.current.addEventListener("beforeclose",Xe),y&&(se.current.availableMarkerTypes=se.current.ALL_MARKER_TYPES,se.current.uiStyleSettings.redoButtonVisible=!0,se.current.uiStyleSettings.notesButtonVisible=!0,se.current.uiStyleSettings.zoomButtonVisible=!0,se.current.uiStyleSettings.zoomOutButtonVisible=!0,se.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=se.current.uiStyleSettings,se.current.show(),mt!=null&&mt.snapshotData&&se.current.restoreState(mt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),mn()},300)};return ae.createElement(ae.Fragment,null,(mt==null?void 0:mt.visible)&&ae.createElement(Te.Z,{spinning:ye,tip:Ge,style:{position:"absolute"}},ae.createElement("div",{ref:de,className:ke()(x.imageDimensions,$e,fe?x.fullWidth:""),style:a},ae.createElement("img",{className:x.img,ref:ne}))))}},88615:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(95237),Oe=ue(43604),ke=ue(99313),Te=ue(3113),et=ue(7664),Ce=ue(21697),ct=ue(48136),Ne=ue(59301);const Me=(0,ae.forwardRef)(({callback:lt,showSaveButton:mt,value:$e=""},fe)=>{const a=(0,ae.useRef)(),E=[{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 "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r - x=a + r\\text{cos}\\theta \\ \r - y=b + r\\text{sin}\\theta \r -\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r - \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r - \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\left\\{\\begin{matrix} \r - \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r -\\end{matrix}\\right. \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r - \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r -\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r - a \\perp \\alpha \\ \r - b \\perp \\alpha \r -\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r - \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r - a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r - a \\parallel \\partial ,b \\parallel \\partial \r -\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r - m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r - a \\perp m,a \\perp n \r -\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r - \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r - a^{2}+b^{2}=c^{2} \r -\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r - a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r - a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r -\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r - a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r - \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r -\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r -\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r - a,b \\in R^{+} \\ \r - \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - a,b \\in R \\ \r - \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r -\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r - \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r - \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r -\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r - P \\left( \\emptyset \\right) =0 \\\\ \r - P \\left( S \\right) =1 \r -\\end{array}`},{value:`\\begin{array}{c} \r - \\forall A \\in S \\\\ \r - P \\left( A \\right) \\ge 0 \r -\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r - S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r - P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r -\\end{array}`},{value:`\\begin{array}{c} \r - P_{n}=n! \\\\ \r - A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],y=se=>{a.current.setValue(a.current.getValue()+" "+se.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(x.Z,{className:Ce.Z.lists,gutter:[10,10]},E.map((se,ce)=>Ne.createElement(Oe.Z,{flex:"110px",className:Ce.Z.item},Ne.createElement("div",null,Ne.createElement(et.Z,{value:`$$${se.value}$$`}),se.name),Ne.createElement("div",{className:Ce.Z.children},se.children.map((de,ye)=>Ne.createElement("div",{key:ye},Ne.createElement("h1",null,de.name),Ne.createElement(x.Z,{gutter:[10,10]},de.data.map((Ae,Ge)=>Ne.createElement(Oe.Z,{key:Ge,onClick:()=>y(Ae),className:Ce.Z.diamond},Ne.createElement(et.Z,{value:"`$$"+Ae.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(x.Z,{className:Ce.Z.lists,gutter:[10,10]},b.map((se,ce)=>Ne.createElement(Oe.Z,{flex:"110px",className:Ce.Z.item},Ne.createElement("div",null,Ne.createElement(et.Z,{value:"`$$"+se.value+"$$`"}),se.name),Ne.createElement("div",{className:Ce.Z.children},se.children.map((de,ye)=>Ne.createElement("div",{key:ye},de.name&&Ne.createElement("h1",null,de.name),Ne.createElement(x.Z,{gutter:[10,10]},de.data.map((Ae,Ge)=>Ne.createElement(Oe.Z,{key:Ge,onClick:()=>y(Ae),className:Ce.Z.diamond},Ne.createElement(et.Z,{value:"`$$"+Ae.value+"$$`"}))))))))))}],ne=()=>{var se=document.createElement("div");se.innerHTML=a.current.getValue();var ce=se.innerText;return lt&<(ce),ce};return(0,ae.useImperativeHandle)(fe,()=>({getData:ne})),Ne.createElement("div",{className:Ce.Z.mathWrap},Ne.createElement(ke.default,{defaultActiveKey:"1",items:ee}),Ne.createElement("math-field",{locale:"zh_cn",className:Ce.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},$e||""),mt&&Ne.createElement("div",{className:Ce.Z.button},Ne.createElement(Te.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});St.Z=Me},95887:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ye}});var ae=ue(59301),x=ue(6848),Oe=ue(92832),ke=ue(71418),Te=ue(64165),et=ue(92310),Ce=ue.n(et),ct={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},Ne=ue(76406),Me=ue(82093),lt=ue(89392),mt=Object.defineProperty,$e=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(Ae,Ge,Be)=>Ge in Ae?mt(Ae,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ae[Ge]=Be,ee=(Ae,Ge)=>{for(var Be in Ge||(Ge={}))E.call(Ge,Be)&&y(Ae,Be,Ge[Be]);if(a)for(var Be of a(Ge))b.call(Ge,Be)&&y(Ae,Be,Ge[Be]);return Ae},ne=(Ae,Ge)=>$e(Ae,fe(Ge)),se=(Ae,Ge,Be)=>new Promise((rt,Xe)=>{var ut=En=>{try{ln(Be.next(En))}catch(pn){Xe(pn)}},mn=En=>{try{ln(Be.throw(En))}catch(pn){Xe(pn)}},ln=En=>En.done?rt(En.value):Promise.resolve(En.value).then(ut,mn);ln((Be=Be.apply(Ae,Ge)).next())});const ce=({className:Ae,dispatch:Ge,skin:Be="white",value:rt=null,loading:Xe=!1,data:ut=[],otherData:mn=[],tags:ln=[],onChange:En=()=>{},onSearchWord:pn=()=>{},shixun_type:Jt,extraContent:ha,tab_type:_t,is_create_mirror:an,hiddenCreateOnline:Nn})=>{const[jn,hn]=(0,ae.useState)(""),[tt,st]=(0,ae.useState)(!1),[wt,Ln]=(0,ae.useState)([]),[un,Un]=(0,ae.useState)(0),Le=(0,ae.useRef)(null),xe=(0,ae.useRef)(String(Math.floor(Math.random()*1e6))).current,Ve=(0,ae.useRef)(),Pt=(0,ae.useRef)(null),Lt=(0,ae.useRef)(0),Tt=(0,ae.useRef)([]);(0,ae.useEffect)(()=>(window.addEventListener("keydown",Gt),()=>{window.removeEventListener("keydown",Gt)}),[jn,tt,wt]),(0,ae.useEffect)(()=>{Ln([])},[_t]);const Gt=ht=>{if(!tt||ht.keyCode!==40&&ht.keyCode!==38)return;let Ft=0;ht.keyCode===40&&tt&&(un{const Nt=yt=>{var Mt=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Tn={};return Tn["^"]="\\^",Tn["."]="\\.",Tn["\\"]="\\\\",Tn["|"]="\\|",Tn["("]="\\(",Tn[")"]="\\)",Tn["*"]="\\*",Tn["+"]="\\+",Tn["-"]="\\-",Tn.$="$",Tn["["]="\\[",Tn["]"]="\\]",Tn["?"]="\\?",yt=yt.replace(Mt,function(zt){return Tn[zt]}),yt};var sn=new RegExp(Nt(Ft),"gi");return ht=ht.replace(sn,function(yt){return""+yt+""}),ht},Rn=(ht,Ft,Nt)=>se(void 0,null,function*(){let sn=Lt.current+1;Lt.current=sn;const yt=Mt=>Mt==null?void 0:Mt.map((zt,na)=>{const{id:Xa,name:gr}=zt,lr=ne(ee({},zt),{label:ae.createElement("ul",{id:`search-${xe}-${na}`,onClick:()=>Ot(Xa,lr),className:na===Ft?ct.searchListActive:ct.searchList},ae.createElement("li",{className:ct.name,dangerouslySetInnerHTML:{__html:en(gr,ht)}}),zt.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("li",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),zt.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("li",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return lr});if(Nt){const Mt=yt(Tt.current);Ln(Mt);return}clearTimeout(Pt.current),Pt.current=setTimeout(()=>se(void 0,null,function*(){var Mt,Tn;const zt={keywords:encodeURIComponent(ht||""),page:1,limit:1e5,tab_type:_t};Jt&&(zt.shixun_type=Jt);const na=yield(0,Me.ZP)("/api/shixuns/search_image.json",{method:"get",params:ne(ee({},zt),{is_create_mirror:an})});if((na==null?void 0:na.status)===0){const Xa=yt(((Mt=na==null?void 0:na.data)==null?void 0:Mt.mirrors)||[]);sn===Lt.current&&(Ln(Xa),Tt.current=(0,lt.cloneDeep)(((Tn=na==null?void 0:na.data)==null?void 0:Tn.mirrors)||[]))}}),300)}),Rt=ht=>{const Ft=document.getElementById(`scroll-${xe}-${ht}`);if(!Ft)return;document.getElementById(`scroll-${xe}`).scrollTo(0,Ft.offsetTop)},De=(ht,Ft)=>{const Nt=document.getElementById(`search-${xe}-${ht}`);if(!Nt)return;const sn=document.getElementById(`search-${xe}`);Nt.offsetTop-sn.scrollTop>0&&Nt.offsetTop-sn.scrollTop{Rn(ht,0)},dt=ht=>{var Ft;if(!wt.length)return;const Nt=(Ft=wt==null?void 0:wt[un])==null?void 0:Ft.id;En(Nt),Ln([]),Un(0),Rt(Nt),Ve.current.blur()},Ot=(ht,Ft)=>{En(ht),Ln([]),Un(0),Rt(ht)},$t=()=>{Ln([]),hn(""),pn("")},Xt=ht=>{En(ht),Ln([])},Ht=()=>jn===""?ae.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):ae.createElement("i",{onClick:ht=>{ht.stopPropagation(),$t()},className:"iconfont icon-shanchu4 c-grey-c"}),on=()=>{Ge({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},At=()=>{Ge({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},Bt=()=>{Le.current=setTimeout(()=>{st(!1),Un(0)},200)},nn=!(ut!=null&&ut.length)&&!(mn!=null&&mn.length);return ae.createElement("div",{className:Ce()(Be==="night"?ct.darklySelectEnvironment:ct.selectEnvironment,Ae)},ha&&ae.createElement("div",{style:{marginTop:20,marginLeft:20}},ha),ae.createElement("div",{className:ct.search},ae.createElement(Oe.default,{suffix:Ht(),bordered:!1,ref:Ve,value:jn,onKeyDown:ht=>{(ht.keyCode===40||ht.keyCode===38||ht.keyCode===13)&&ht.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(Le.current),jn&&We(jn),st(!0)},onBlur:Bt,onChange:ht=>{hn(ht.target.value),ht.target.value&&We(ht.target.value),pn(ht.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:dt}),tt&&ae.createElement("div",{id:`search-${xe}`,className:ct.searchListWrap},wt.map((ht,Ft)=>ae.createElement(ae.Fragment,{key:Ft}," ",ht.label)))),Xe?ae.createElement(ke.Z,{className:ct.spin}):ae.createElement(ae.Fragment,null,!!ln.length&&ae.createElement("aside",{className:ct.common},ae.createElement("div",{className:ct.title},"\u63A8\u8350\u73AF\u5883:"),ae.createElement("ul",{className:ct.tags},ln.map((ht,Ft)=>ae.createElement("li",{key:Ft,onClick:()=>Xt(ht.id),className:rt===ht.id?`${ct.tag} ${ct.tagActive}`:ct.tag},ht.name)))),nn&&ae.createElement(Te.Z,{style:{margin:"60px 0"},image:Ne,description:ae.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),ae.createElement("aside",{className:ct.wrap,id:`scroll-${xe}`},ut.map((ht,Ft)=>{var Nt;return(Nt=ht==null?void 0:ht.image)!=null&&Nt.length?ae.createElement(de,{key:Ft,data:ht,id:rt,handleClick:sn=>Xt(sn)}):null}),ae.createElement("ul",{className:ct.allList},mn.map(ht=>ae.createElement("li",{key:`key-${ht.id}`,id:`scroll-${xe}-${ht.id}`,className:ht.id===rt?`${ct.item} ${ct.itemActive}`:ct.item,onClick:()=>En(ht.id)},ae.createElement("div",{className:ct.name},ht.name),ht.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("div",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ht.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("div",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),ae.createElement("div",{className:ct.apply},ae.createElement("span",{className:ct.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ae.createElement("span",{className:ct.p2,onClick:on}," \u7533\u8BF7\u65B0\u5EFA"),!Nn&&ae.createElement("span",{className:ct.p2,onClick:At}," \u5728\u7EBF\u521B\u5EFA")))},de=({data:Ae,id:Ge,handleClick:Be})=>{const[rt,Xe]=(0,ae.useState)(!0),{name:ut,image:mn}=Ae;return ae.createElement("div",{className:ct.list},ae.createElement("header",{onClick:()=>Xe(!rt)},ae.createElement("div",{className:ct.title},ut),ae.createElement("i",{style:{transition:"0.5s",transform:rt?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),ae.createElement("ul",{className:ct.items,style:{height:rt?"auto":0}},mn.map(ln=>ae.createElement("li",{key:ln.id,className:ln.id===Ge?`${ct.item} ${ct.itemActive}`:ct.item,onClick:()=>Be(ln.id)},ae.createElement("div",{className:ct.name},ln.name),ln.private&&ae.createElement(x.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ae.createElement("div",{className:ct.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ln.is_base&&ae.createElement(x.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ae.createElement("div",{className:ct.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),ae.createElement("li",{className:ct.line})))};var ye=ce},44405:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Le}});var ae=ue(59301),x=ue(5112),Oe=ue(78241),ke=ue(61621),Te=ue(3113),et=ue(82093),Ce=ue(43418),ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13TmXOm8/vkXb7vhz7EYrFYrLjl2SqOmVMefCivXLlm7nviFL4iLBaLxWKxWEkqryz8k7nekAeRV6HewVeExWKxWCwWKymJw+aWB/8uAWtehTibrwmLxWKxWCxWEprlFScNZa82h/IAXHxVWCwWi8VisZLQnPLA1RKwKJM1la8Ii8VisVgsVhKaXiKOnbs59CcDsJ7Orwh+na8Ki8VisVgsVhKaV+7/0tzycL5WHvQGH35is/g0XxUWi8VisVisJJRXHrjGXB68cbE4nK8Ki8VisVgsVoL6w0pxVL43PFMCVn6F4PIgi8VisVgsVjKaVx6+eCh7VRacydODLBaLxWKxWEkIze1zNgdnaHC1OfTs7PLQd/iqsFgsFovFYiWhOaWD55HnVYFsbufeKxaLxWKxWKwk9FS9OIrA6r/yvKEiZK+wJoevCovFYrFYLFYSgtcVPK/0/qvwo7MrxOf5qrBYLBaLxWIlKEwOku/V/8jm9jllweuE4OZ2FovFYrFYrIQ1t1y5XCsNAq68oXn5ZeJoviosFovFYrFYCWreVnEC7Bi0xvbyUOHsMv9FfFVYLBaLxWKxEtT06eLDc73KDTQ5WKhnsMJ/9mwVx/CVYbFYLBaLxUpQeRWDX8yvCM83slcFc8pD5/JVYbFYLBa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Z/K5+glskcRk3oIBAKBSEj5OkaumOByysnEt2WPCl8u+z15N9o9shTJKyfGy3vTIAwg0J16b8vnCpfu7iVukTvj+Dl1hnyO8XPtRPncQz8UAoFAIBC6rBhPXl0p10/8QmbEHpXNxa/Iex3flqWeSbJBP1Nesj1DTnblIlsW86xSrvxazJBfm0z5tZosp+7elqU67nf6g5TtwfJr/iP5HMBeKAQCgUAgoiRhx8pmYy5PXkxcITMZ18tS0ADZnMxZjgdkqegxWbJ8VpYtX5Fj9e9IScuQEjAbYnaEKM3WCdIk+ZiNk4/hGPmYPiUf4+HyMb9XTqoOkF+T6+XX6Er5NTtbfg1xGTECgUAgEAkoY0dLITtelo64hHSqnAg7U0raOXJKjC/LvUius+gne3Zu8JG2/5VZlofk/ZHcJP20zK6NlsLxqhznHy95VzZXT5EZnGxZ8tKTZ1B2pvthqu7vf1f3cV+Xn8sYWVobJT/X38mM4FB5WfA98t82QK4d4H/z/8jH4DvyMblAPkbn/P9Bw0wIGoa8aNNyoLBmGk15o2AUjCwAAJpj3XJMmgW8AAAAAElFTkSuQmCC";function Ne(){return(0,et.U2)("teach_groups.json")}function Me(xe){return(0,et.v_)("teach_groups.json",xe)}function lt(xe,Ve){return(0,et.gz)(`teach_groups/${xe}.json`,Ve)}function mt(xe){return(0,et.v_)("teach_group_members.json",xe)}function $e(xe){return(0,et.IV)(`teach_group_members/${xe}.json`)}function fe(xe,Ve){return(0,et.IV)(`teach_groups/${xe}/del_member.json`,{member_id:Ve})}function a(xe){return(0,et.IV)(`teach_groups/${xe}.json`)}var E=ue(92832),b=({callback:xe,visible:Ve,onCancel:Pt,id:Lt,name:Tt})=>{function Gt(Rn){xe(Rn)}const[en]=Oe.default.useForm();return(0,ae.useEffect)(()=>{en.setFieldsValue({name:Tt})},[Tt]),ae.createElement(Ce.default,{centered:!0,title:Lt?"\u6539\u540D":"\u65B0\u5EFA",open:Ve,onCancel:Pt,footer:null},ae.createElement(Oe.default,{layout:"vertical",form:en,initialValues:{name:Tt},onFinish:Gt},ae.createElement(Oe.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},ae.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20})),ae.createElement(Oe.default.Item,null,ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Te.ZP,{type:"ghost",onClick:Pt,style:{marginRight:20}}," \u53D6\u6D88 ")," ",ae.createElement(Te.ZP,{type:"primary",htmlType:"submit"}," \u786E\u5B9A ")))))},y=ue(32855),ee={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},ne=ee,se=ue(7657),ce=function(Ve,Pt){return ae.createElement(se.Z,(0,y.Z)({},Ve,{ref:Pt,icon:ne}))},de=ae.forwardRef(ce),ye=de,Ae=ue(43531);const Ge=50;var Be=({data:xe,isAdminOrTeacher:Ve,onDelGroup:Pt,onChangeGroupName:Lt,onPlusMember:Tt,onDelMember:Gt,onExitGroup:en})=>{const[Rn,Rt]=(0,ae.useState)(0),[De,We]=(0,ae.useState)(0);function dt(Xt){let Ht=parseInt(Xt.target.id,10);Ce.default.confirm({title:"\u89E3\u6563\u63D0\u793A",content:"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F",onOk:()=>{Pt(Ht)}})}function Ot(Xt){let Ht=parseInt(Xt.target.id,10);Ce.default.confirm({title:"\u9000\u51FA\u63D0\u793A",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{en(Ht)}})}function $t(Xt,Ht){Ce.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",icon:null,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",onOk:()=>{Gt(Xt,Ht)}})}return ae.createElement("ul",{className:"teaching-list"},xe.map((Xt,Ht)=>ae.createElement("li",{key:Xt.id,onClick:()=>Rt(Ht)},ae.createElement("div",{className:"item-group"},ae.createElement("span",null,Xt.name," \xA0 ",Ht!==Rn&&ae.createElement("i",{className:"iconfont icon-jiantou9"})," "),ae.createElement("div",{className:"action-group"},Ve?ae.createElement("a",{onClick:()=>{Lt(Xt)},style:{marginRight:40}},"\u4FEE\u6539\u540D2222\u79F0"):null,Xt.is_creat?ae.createElement("a",{id:Xt.id+"",className:"c-grey-c",onClick:dt},"\u89E3\u6563"):ae.createElement("a",{id:Xt.id+"",className:"c-grey-c",onClick:Ot},"\u9000\u51FA"))),Ht===Rn?ae.createElement("ul",{className:"info"},Xt.memers.map(on=>ae.createElement("li",{key:on.id||on.name,onClick:()=>{We(on.id)},className:De===on.id?"active":""},ae.createElement("div",null,on.name),Xt.is_creat&&on.id&&De===on.id?ae.createElement("a",{className:"btn-del",onClick:At=>{At.preventDefault(),At.stopPropagation(),$t(Xt.id,De)}},ae.createElement(ye,null)):null)),Ve?ae.createElement("li",null,ae.createElement(Te.ZP,{type:"link",disabled:Xt.memers.length>=50,title:Xt.memers.length>=50?"\u672C\u7EC4\u6210\u5458\u5DF2\u6EE1":"\u6DFB12312\u52A0\u6210\u5458",onClick:()=>{Tt(Xt)}}," ",ae.createElement(Ae.Z,null)," \u6DFB\u52A0\u7EC4\u5458 ")):null):null)))},rt=ue(76560),Xe=ue(68226),ut=Object.defineProperty,mn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,ha=(xe,Ve,Pt)=>Ve in xe?ut(xe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):xe[Ve]=Pt,_t=(xe,Ve)=>{for(var Pt in Ve||(Ve={}))pn.call(Ve,Pt)&&ha(xe,Pt,Ve[Pt]);if(En)for(var Pt of En(Ve))Jt.call(Ve,Pt)&&ha(xe,Pt,Ve[Pt]);return xe},an=(xe,Ve)=>mn(xe,ln(Ve)),Nn=(xe,Ve,Pt)=>new Promise((Lt,Tt)=>{var Gt=Rt=>{try{Rn(Pt.next(Rt))}catch(De){Tt(De)}},en=Rt=>{try{Rn(Pt.throw(Rt))}catch(De){Tt(De)}},Rn=Rt=>Rt.done?Lt(Rt.value):Promise.resolve(Rt.value).then(Gt,en);Rn((Pt=Pt.apply(xe,Ve)).next())});function jn({children:xe}){return ae.createElement("div",{className:"no-data"},ae.createElement("img",{src:ct,alt:"no-data",width:300}),xe)}const hn={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var tt=(xe=>(xe[xe.INITDATA=0]="INITDATA",xe[xe.SHOWLOADING=1]="SHOWLOADING",xe[xe.SHOWFORMPANEL=2]="SHOWFORMPANEL",xe[xe.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",xe[xe.SELECTGROUP=4]="SELECTGROUP",xe[xe.SETINDEX=5]="SETINDEX",xe))(tt||{});function st(xe,Ve){switch(Ve.type){case 0:return _t(_t({},xe),Ve.payload);case 1:return an(_t({},xe),{loading:Ve.payload});case 5:return an(_t({},xe),{index:Ve.payload});case 2:return _t(_t({},xe),Ve.payload);case 3:return _t(_t({},xe),Ve.payload);case 4:return an(_t({},xe),{selectedGroup:Ve.payload,showFormPanel:!0});default:throw new Error}}function wt({user:xe}){var Ve;const[Pt,Lt]=(0,ae.useReducer)(st,hn),{data:Tt,index:Gt,loading:en,showFormPanel:Rn,selectedGroup:Rt,showMemberPanel:De}=Pt,We=(Ve=xe.userInfo)==null?void 0:Ve.role,dt=(0,ae.useMemo)(()=>{let yt=[],Mt=[];for(let Tn of Tt)Tn.is_creat?yt.push(Tn):Mt.push(Tn);return[yt,Mt]},[Tt]);(0,ae.useEffect)(()=>{We===15&&Lt({type:5,payload:1})},[We]);function Ot(){return Nn(this,null,function*(){const yt=yield Ne();Lt({type:0,payload:{loading:!1,showFormPanel:!1,data:yt.groups}})})}(0,ae.useEffect)(()=>{Ot()},[]);function $t(yt){return Nn(this,null,function*(){Rt.id?yield lt(Rt.id,yt):yield Me(yt),Ot()})}function Xt(){Lt({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function Ht(yt){Lt({type:4,payload:yt})}function on(){Lt({type:2,payload:{showFormPanel:!1}})}function At(){Lt({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function Bt(yt){Lt({type:3,payload:{showMemberPanel:!0,selectedGroup:yt}})}function nn(yt,Mt){return Nn(this,null,function*(){yield fe(yt,Mt),Ot()})}function ht(yt){return Nn(this,null,function*(){yield a(yt),Ot()})}function Ft(yt){return Nn(this,null,function*(){yield $e(yt),Ot()})}function Nt(yt){Lt({type:5,payload:parseInt(yt.target.id,10)})}function sn(yt,Mt){return Nn(this,null,function*(){At(),yield mt({user_ids:yt,group_id:Mt}),Ot()})}return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"teaching-circling-container"},ae.createElement("h3",null," \u6559\u7814\u56E2\u961F ",We<=12&&ae.createElement(Te.ZP,{type:"primary",disabled:Tt.length>=50,title:Tt.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Xt},"\u65B0\u5EFA")," "),ae.createElement("div",{className:"teaching-circling-body"},We===15?null:ae.createElement("ul",{className:"navs"},ae.createElement("li",{className:Gt===0?"active":""},ae.createElement("a",{id:"0",onClick:Nt},"\u6211\u521B\u5EFA\u7684")),ae.createElement("li",{className:Gt===1?"active":""},ae.createElement("a",{id:"1",onClick:Nt},"\u6211\u52A0\u5165\u7684"))),ae.createElement("div",{className:dt[Gt].length===0?"nodata-content":"main-content"},dt[Gt].length===0?ae.createElement(jn,null,We<=12?ae.createElement(ae.Fragment,null," ",ae.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",ae.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):ae.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):ae.createElement(Be,{onExitGroup:Ft,onPlusMember:Bt,onDelMember:nn,onDelGroup:ht,isAdminOrTeacher:We<=12,onChangeGroupName:Ht,data:dt[Gt]}))),ae.createElement("p",{style:{width:1200,margin:"0 auto 40px auto"},className:"desc"}," * \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732 ")),ae.createElement(b,{callback:$t,visible:Rn,onCancel:on,id:Rt.id,name:Rt.name}),ae.createElement(Ce.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:De,onCancel:At,footer:null,width:1100,bodyStyle:{minHeight:200}},ae.createElement(Xe.Z,{container_id:Rt.id,container_type:4,onSelect:sn,onCancel:At})))}var Ln=(0,rt.connect)(({user:xe})=>({user:xe}))(wt),un=(xe,Ve,Pt)=>new Promise((Lt,Tt)=>{var Gt=Rt=>{try{Rn(Pt.next(Rt))}catch(De){Tt(De)}},en=Rt=>{try{Rn(Pt.throw(Rt))}catch(De){Tt(De)}},Rn=Rt=>Rt.done?Lt(Rt.value):Promise.resolve(Rt.value).then(Gt,en);Rn((Pt=Pt.apply(xe,Ve)).next())});const Un=x.ZP.Group;var Le=({onSelect:xe,onCancel:Ve})=>{const[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(!0);(0,ae.useEffect)(()=>{function Rt(){return un(this,null,function*(){const{groups:De}=yield(0,et.U2)("teach_groups/my.json");Lt(De),Gt(!1)})}Rt()},[]);const en=(0,ae.useMemo)(()=>{let Rt=[],De=[];for(let We of Pt)We.is_creat?Rt.push(We):De.push(We);return[Rt,De]},[Pt]);function Rn(Rt){xe(Rt)}return ae.createElement(Oe.default,{className:"select-teach-group",onFinish:Rn},Tt?ae.createElement(ke.Z,{paragraph:!0}):Pt.length===0?ae.createElement(jn,null,"\u60A8\u5C1A\u672A\u521B\u5EFA\u60A8\u7684\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB",ae.createElement(rt.Link,{to:"/account/teach-group"},"\u521B\u5EFA"),"\u5427"):ae.createElement(ae.Fragment,null,ae.createElement(Oe.default.Item,{name:"group_id",style:{width:"100%"}},ae.createElement(Un,{style:{width:"100%"}},ae.createElement("p",{style:{fontSize:"12px"}},"\u6211\u521B\u5EFA\u7684\uFF1A"),ae.createElement("ul",{className:"groups"},en[0].map(Rt=>ae.createElement("li",{key:Rt.id},ae.createElement(x.ZP,{value:Rt.id},Rt.name)))),ae.createElement("p",{style:{fontSize:"12px"}},"\u6211\u52A0\u5165\u7684\uFF1A"),ae.createElement("ul",{className:"groups"},en[1].map(Rt=>ae.createElement("li",{key:Rt.id},ae.createElement(x.ZP,{value:Rt.id},Rt.name)))))),ae.createElement("div",{className:"btn-actions"},ae.createElement(Te.ZP,{type:"default",onClick:Ve,style:{marginRight:10}},"\u53D6\u6D88"),ae.createElement(Te.ZP,{type:"primary",htmlType:"submit"},"\u786E\u5B9A"))))}},68226:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(78241),Oe=ue(95237),ke=ue(57809),Te=ue(92832),et=ue(88522),Ce=ue(3113),ct=ue(24905),Ne=ue(6848),Me=ue(8591),lt=ue(1710),mt=ue(76560),$e=ue(56656),fe=ue.n($e),a=ue(26724),E=ue.n(a),b=ue(58143),y=ue(64948),ee=ue(47949),ne=ue(77277),se=ue(59301),ce=Object.defineProperty,de=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,rt=(_t,an,Nn)=>an in _t?ce(_t,an,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):_t[an]=Nn,Xe=(_t,an)=>{for(var Nn in an||(an={}))Ge.call(an,Nn)&&rt(_t,Nn,an[Nn]);if(Ae)for(var Nn of Ae(an))Be.call(an,Nn)&&rt(_t,Nn,an[Nn]);return _t},ut=(_t,an)=>de(_t,ye(an)),mn=(_t,an,Nn)=>new Promise((jn,hn)=>{var tt=Ln=>{try{wt(Nn.next(Ln))}catch(un){hn(un)}},st=Ln=>{try{wt(Nn.throw(Ln))}catch(un){hn(un)}},wt=Ln=>Ln.done?jn(Ln.value):Promise.resolve(Ln.value).then(tt,st);wt((Nn=Nn.apply(_t,an)).next())});const ln=[];function En({onSearch:_t,schools:an}){return se.createElement(x.default,{colon:!1,layout:"horizontal",onFinish:_t,initialValues:{keyword:"",school_name:"",search_type:"1"}},se.createElement(Oe.Z,{style:{flexWrap:"nowrap"}},se.createElement(x.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},se.createElement(ke.default,{popupClassName:ne.Z.selectdown,style:{width:106}},se.createElement(ke.default.Option,{value:"1"},"\u59D3\u540D"),se.createElement(ke.default.Option,{value:"2"},"\u624B\u673A\u53F7"),se.createElement(ke.default.Option,{value:"3"},"\u90AE\u7BB1"))),se.createElement(x.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},se.createElement(Te.default,{allowClear:!0,style:{width:300},size:"middle"})),se.createElement(x.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},se.createElement(et.Z,{options:an,style:{width:300},size:"middle",showSearch:!0,filterOption:(Nn,jn)=>jn.value.toUpperCase().indexOf(Nn.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),se.createElement(Ce.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var pn=(_t=>(_t[_t.INITDATA=0]="INITDATA",_t[_t.INITSCHOOLS=1]="INITSCHOOLS",_t[_t.SHOWLOADING=2]="SHOWLOADING",_t[_t.SELECTEDIDS=3]="SELECTEDIDS",_t[_t.SETQUERY=4]="SETQUERY",_t[_t.SETPAGE=5]="SETPAGE",_t))(pn||{});function Jt(_t,an){switch(an.type){case 0:return Xe(Xe({},_t),an.payload);case 4:return Xe(Xe({},_t),an.payload);case 5:return ut(Xe({},_t),{page:an.payload,reload:!1});case 2:return ut(Xe({},_t),{loading:an.payload});case 1:return ut(Xe({},_t),{schools:an.payload});case 3:return ut(Xe({},_t),{selectedIds:an.payload});default:throw new Error}}const ha={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};St.Z=({onSelect:_t,onCancel:an,container_id:Nn,container_type:jn})=>{const[hn,tt]=(0,ae.useReducer)(Jt,ha),{data:st,schools:wt,loading:Ln,selectedIds:un,page:Un,count:Le,query:xe,reload:Ve}=hn;(0,ae.useEffect)(()=>{function Rt(){return mn(this,null,function*(){const{users:De,user_count:We}=yield(0,y.nQ)(ut(Xe({},xe),{page:Un,container_type:jn,container_id:Nn,display_aliases:!0}));tt({type:0,payload:{data:Ve?De:[...st,...De],count:We}})})}xe&&Rt()},[Un,xe,Ve,Nn,jn]),(0,ae.useEffect)(()=>{function Rt(){return mn(this,null,function*(){const{school_names:De}=yield(0,y.K$)({display_aliases:!0});tt({type:1,payload:De.map(We=>({value:We}))})})}Rt()},[]);const Pt=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(Rt,De)=>se.createElement(ct.default,{value:De.numid,checked:un.includes(De.numid),disabled:!!Rt})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(Rt,De)=>se.createElement("div",null,se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement(mt.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${De.login}`,target:"_blank"},Rt||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},Rt||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:Rt=>se.createElement("span",{style:{color:"#000000"}},Rt?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:Rt=>se.createElement(Ne.Z,{placement:"bottom",title:Rt},se.createElement("span",{style:{color:"#000000"}},fe()(Rt).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:Rt=>{if(Rt===1)return se.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function Lt(Rt){tt({type:4,payload:{page:1,reload:!0,query:Rt}})}function Tt(Rt){tt({type:5,payload:Rt})}function Gt(Rt){let De=un.indexOf(Rt);De>=0?un.splice(De,1):un.push(Rt),tt({type:3,payload:[...un]})}function en(){un.length===0?Me.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(_t(un,Nn),tt({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Rn=Le>Un*10;return se.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},se.createElement(En,{onSearch:Lt,schools:wt}),xe?se.createElement(se.Fragment,null,se.createElement("div",{className:"flexd-table-header mt20"},se.createElement(ee.Gi,null,se.createElement(lt.default,{pagination:!1,dataSource:ln,columns:Pt}))),se.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},se.createElement(E(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Tt,hasMore:Rn,useWindow:!1},se.createElement(ee.Gi,null,se.createElement(lt.default,{loading:Ln,showHeader:!1,pagination:!1,dataSource:st,columns:Pt,onRow:Rt=>({onClick:De=>{Rt.added!==1&&Gt(Rt.numid)}})})))),se.createElement("div",{className:"flex-container flex-end"},se.createElement(Ce.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:an},"\u53D6\u6D88"),se.createElement(Ce.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:en},"\u786E\u5B9A"))):se.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},se.createElement("img",{src:b,width:"100",alt:""}),se.createElement("br",null),se.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},44905:function(we,St,ue){"use strict";ue.d(St,{h:function(){return se}});var ae=ue(59301),x=ue(57809),Oe=ue(78241),ke=ue(3113),Te=ue(89780),et=ue.n(Te),Ce=ue(66543),ct=ue(59598),Ne=Object.defineProperty,Me=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,a=(ce,de,ye)=>de in ce?Ne(ce,de,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[de]=ye,E=(ce,de)=>{for(var ye in de||(de={}))$e.call(de,ye)&&a(ce,ye,de[ye]);if(mt)for(var ye of mt(de))fe.call(de,ye)&&a(ce,ye,de[ye]);return ce},b=(ce,de)=>Me(ce,lt(de));const y=x.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};St.Z=({callback:ce,onCancel:de})=>{const[ye,Ae]=(0,ae.useState)("python");function Ge(rt){Ae(ne[rt][1])}function Be(rt){ce(rt)}return ae.createElement(Oe.default,b(E({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Be,style:{width:500}}),ae.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(x.default,{getPopupContainer:rt=>rt.parentNode,onChange:Ge},Object.keys(ne).map(rt=>ae.createElement(y,{key:rt,value:rt},ne[rt][0])))),ae.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(se,{mode:ye})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ke.ZP,{type:"ghost",onClick:de},"\u53D6\u6D88")))};function se({value:ce,onChange:de,mode:ye,options:Ae={}}){const Ge=(0,ae.useRef)(),[Be,rt]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(Be){let Xe=function(ut){const mn=ut.getValue();de&&de(mn)};return Be.on("change",Xe),()=>{Be.off("change",Xe)}}},[Be,de]),(0,ae.useEffect)(()=>{Be&&Be.setOption("mode",ye)},[Be,ye]),(0,ae.useEffect)(()=>{Be&&(ce!==Be.getValue()||ce==="")&&setTimeout(()=>{Be.setValue(ce||"")},300)},[Be,ce]),(0,ae.useEffect)(()=>{if(Ge.current&&!Be){const Xe=et().fromTextArea(Ge.current,E({mode:ye,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ae));rt(Xe)}},[Ge.current,Be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Ge}))}},89389:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ma}});var ae=ue(59301),x=ue(89780),Oe=ue.n(x),ke=ue(76374),Te=ue(66543),et=ue(6313),Ce=ue(25717),ct=ue(99498),Ne=ue(25419),Me=ue(67549),lt=ue(7664),mt=({value:Qe="",className:gt,showTextOnly:it,showLines:Vn,style:Gn={}})=>{const Qn=(0,ae.useMemo)(()=>"",[Qe]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Qn}}))},$e=ue(59301),fe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(Qe,gt,it)=>gt in Qe?fe(Qe,gt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[gt]=it,se=(Qe,gt)=>{for(var it in gt||(gt={}))y.call(gt,it)&&ne(Qe,it,gt[it]);if(b)for(var it of b(gt))ee.call(gt,it)&&ne(Qe,it,gt[it]);return Qe},ce=(Qe,gt)=>a(Qe,E(gt));let de=[{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 ye({onActionCallback:Qe,title:gt,icon:it,actionName:Vn,className:Gn="",children:Qn}){function Wa(){Qe(Vn)}return $e.createElement("a",{title:gt,className:Gn,onClick:Wa},$e.createElement("i",{className:`${it}`}),Qn)}var Ae=({watch:Qe,showNullButton:gt,showNullProgramButton:it,onActionCallback:Vn,fullScreen:Gn,insertTemp:Qn,hidetoolBar:Wa,extraUse:wa})=>{const va=[...de,{title:`${Qe?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Qe?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return $e.createElement("ul",{className:"markdown-toolbar-container"},!Wa&&va.map((Ma,Fa)=>$e.createElement("li",{key:Fa},Ma.actionName?$e.createElement(ye,ce(se({},Ma),{onActionCallback:Vn})):$e.createElement("span",{className:"v-line"}))),gt?$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,it?$e.createElement($e.Fragment,null,$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qn&&$e.createElement("li",null,$e.createElement(ye,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qn}`,onActionCallback:Vn},$e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),wa&&$e.createElement("li",null,wa),$e.createElement("li",{className:"btn-full-screen"},$e.createElement(ye,{icon:`${Gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Vn})))},Ge=ue(75790),Be=ue(78241),rt=ue(92832),Xe=ue(3113),ut=Object.defineProperty,mn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,ha=(Qe,gt,it)=>gt in Qe?ut(Qe,gt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[gt]=it,_t=(Qe,gt)=>{for(var it in gt||(gt={}))pn.call(gt,it)&&ha(Qe,it,gt[it]);if(En)for(var it of En(gt))Jt.call(gt,it)&&ha(Qe,it,gt[it]);return Qe},an=(Qe,gt)=>mn(Qe,ln(gt));const Nn={labelCol:{span:4},wrapperCol:{span:20}};var jn=({callback:Qe,onCancel:gt})=>{function it(Vn){Qe(Vn)}return ae.createElement(Be.default,an(_t({},Nn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:it,style:{width:500}}),ae.createElement(Be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(rt.default,null)),ae.createElement(Be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(rt.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Xe.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},hn=ue(44905),tt=ue(45596),st=ue(43418),wt=ue(95237),Ln=ue(6077),un=ue(59301),Un=({callback:Qe,onCancel:gt})=>{const it=document.createElement("canvas"),Vn=it.getContext("2d");it.width=1e3,it.height=800,Vn.fillStyle="#ffffff",Vn.fillRect(0,0,it.width,it.height);const Gn=it.toDataURL("image/png");return un.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(wt.Z,{style:{height:"100vh"}},un.createElement(Ln.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gn,visible:!0,title:String(Date.now())},onOk:Qn=>{Qe({src:Qn.url})},onClose:gt})))},Le=ue(12378);function xe(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(xe,go.CommandHandler),xe.prototype.canAlignSelection=function(){var Qe=this.diagram;return!(Qe===null||Qe.isReadOnly||Qe.isModelReadOnly||Qe.selection.count<2)},xe.prototype.alignLeft=function(){var Qe=this.diagram;Qe.startTransaction("aligning left");var gt=1/0;Qe.selection.each(function(it){it instanceof go.Link||(gt=Math.min(it.position.x,gt))}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(gt,it.position.y))}),Qe.commitTransaction("aligning left")},xe.prototype.alignRight=function(){var Qe=this.diagram;Qe.startTransaction("aligning right");var gt=-1/0;Qe.selection.each(function(it){if(!(it instanceof go.Link)){var Vn=it.actualBounds.x+it.actualBounds.width;gt=Math.max(Vn,gt)}}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(gt-it.actualBounds.width,it.position.y))}),Qe.commitTransaction("aligning right")},xe.prototype.alignTop=function(){var Qe=this.diagram;Qe.startTransaction("alignTop");var gt=1/0;Qe.selection.each(function(it){it instanceof go.Link||(gt=Math.min(it.position.y,gt))}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(it.position.x,gt))}),Qe.commitTransaction("alignTop")},xe.prototype.alignBottom=function(){var Qe=this.diagram;Qe.startTransaction("aligning bottom");var gt=-1/0;Qe.selection.each(function(it){if(!(it instanceof go.Link)){var Vn=it.actualBounds.y+it.actualBounds.height;gt=Math.max(Vn,gt)}}),Qe.selection.each(function(it){it instanceof go.Link||it.move(new go.Point(it.actualBounds.x,gt-it.actualBounds.height))}),Qe.commitTransaction("aligning bottom")},xe.prototype.alignCenterX=function(){var Qe=this.diagram,gt=Qe.selection.first();if(gt){Qe.startTransaction("aligning Center X");var it=gt.actualBounds.x+gt.actualBounds.width/2;Qe.selection.each(function(Vn){Vn instanceof go.Link||Vn.move(new go.Point(it-Vn.actualBounds.width/2,Vn.actualBounds.y))}),Qe.commitTransaction("aligning Center X")}},xe.prototype.alignCenterY=function(){var Qe=this.diagram,gt=Qe.selection.first();if(gt){Qe.startTransaction("aligning Center Y");var it=gt.actualBounds.y+gt.actualBounds.height/2;Qe.selection.each(function(Vn){Vn instanceof go.Link||Vn.move(new go.Point(Vn.actualBounds.x,it-Vn.actualBounds.height/2))}),Qe.commitTransaction("aligning Center Y")}},xe.prototype.alignColumn=function(Qe){var gt=this.diagram;gt.startTransaction("align Column"),Qe===void 0&&(Qe=0),Qe=parseFloat(Qe);var it=new Array;gt.selection.each(function(wa){wa instanceof go.Link||it.push(wa)});for(var Vn=0;Vn0){for(var wa=Qn.elt(Wa-1);wa!==null&&wa.isTreeExpanded&&!wa.isTreeLeaf;){var va=this._sortTreeChildrenByY(wa);wa=va.last()}wa!==null&&Qe.select(wa)}else Qe.select(Gn)}}else if(it.key==="Down")if(gt.isTreeExpanded&&!gt.isTreeLeaf){var Vn=this._sortTreeChildrenByY(gt).first();Vn!==null&&Qe.select(Vn)}else for(;gt!==null;){var Gn=gt.findTreeParentNode();if(Gn===null)break;var Qn=this._sortTreeChildrenByY(Gn),Wa=Qn.indexOf(gt);if(WaQn.y?1:Gn.xQn.x?1:0}),gt},xe.prototype.copyToClipboard=function(Qe){go.CommandHandler.prototype.copyToClipboard.call(this,Qe),this._lastPasteOffset.set(this.pasteOffset)},xe.prototype.pasteFromClipboard=function(){var Qe=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Qe,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Qe},Object.defineProperty(xe.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Qe){if(Qe!=="move"&&Qe!=="select"&&Qe!=="scroll"&&Qe!=="tree"&&Qe!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Qe);this._arrowKeyBehavior=Qe}}),Object.defineProperty(xe.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Qe){if(!(Qe instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Qe);this._pasteOffset.set(Qe)}});var Ve=xe,Pt=ue(20397),Lt=ue(43604),Tt=ue(82093),Gt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},en=ue(59301),Rn=(Qe,gt,it)=>new Promise((Vn,Gn)=>{var Qn=va=>{try{wa(it.next(va))}catch(Ma){Gn(Ma)}},Wa=va=>{try{wa(it.throw(va))}catch(Ma){Gn(Ma)}},wa=va=>va.done?Vn(va.value):Promise.resolve(va.value).then(Qn,Wa);wa((it=it.apply(Qe,gt)).next())});function Rt({onCancel:Qe,callback:gt}){let it=(0,ae.useRef)(),Vn=(0,ae.useRef)(),Gn=(0,ae.useRef)(),Qn=(0,ae.useRef)(!1);const Wa=(0,ae.useRef)(!1),[wa,va]=(0,ae.useState)(0);function Ma(){const Sn=Le.bx.make,Ba={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"};it.current=new Le.S0(Vn.current,{padding:20,grid:Sn(Le.s_,"Grid",Sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:qe=>{var He=qe.diagram.commandHandler.addTopLevelParts(qe.diagram.selection,!0);He||qe.diagram.currentTool.doCancel()},commandHandler:Sn(Ve),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:qe=>{var He=qe.subject;He.location=He.location.copy().snapToGridPoint(qe.diagram.grid.gridOrigin,qe.diagram.grid.gridCellSize),setTimeout(()=>{qe.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:qe=>{var He=qe.subject;setTimeout(()=>{qe.diagram.commandHandler.editTextBlock()})},LinkRelinked:qe=>{var He=qe.parameter.part;He.invalidateConnectedLinks();var Vt=qe.subject;qe.diagram.toolManager.linkingTool.isForwards?Vt.toNode.invalidateConnectedLinks():Vt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),it.current.nodeTemplate=Sn(Le.NB,"Auto",{locationSpot:Le.z6.Center,locationObjectName:"SHAPE",desiredSize:new Le.$u(120,60),minSize:new Le.$u(40,40),resizable:!0,resizeCellSize:new Le.$u(10,10),rotatable:!0},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),new Le.KX("desiredSize","size",Le.$u.parse).makeTwoWay(Le.$u.stringify),Sn(Le.bn,{name:"SHAPE",fill:Ba.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("figure"),new Le.KX("fill"),new Le.KX("stroke","borderColor"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Sn(Le.al,{margin:1,textAlign:"center",overflow:Le.al.OverflowEllipsis,editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),it.current.nodeTemplate.toolTip=Sn("ToolTip",Sn(Le.s_,"Vertical",{maxSize:new Le.$u(200,NaN)},Sn(Le.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Le.KX("text")),Sn(Le.al,{font:"10pt sans-serif",textAlign:"center"},new Le.KX("text","details"))));function Br(qe,He){var Vt=(Mn,pa)=>{Mn.handled=!0,Mn.diagram.model.commit(xn=>{var ya=pa.part.adornedPart,rn=new Le.E9().setRectSpot(ya.actualBounds,qe);rn.subtract(ya.location),rn.scale(2,2),rn.x+=Math.sign(rn.x)*130,rn.y+=Math.sign(rn.y)*130,rn.add(ya.location),rn.snapToGridPoint(Mn.diagram.grid.gridOrigin,Mn.diagram.grid.gridCellSize);var da=xn.copyNodeData(ya.data);xn.setGroupKeyForNodeData(da,xn.getGroupKeyForNodeData(ya.data)),xn.addNodeData(da);var Gr={from:ya.key,to:xn.getKeyForNodeData(da)};xn.addLinkData(Gr);var po=Mn.diagram.findNodeForData(da);po.location=rn,Mn.diagram.select(po),setTimeout(()=>{Mn.diagram.commandHandler.editTextBlock()},20)})};return Sn(Le.bn,{figure:He,alignment:qe,alignmentFocus:qe.opposite(),width:qe.equals(Le.z6.Top)||qe.equals(Le.z6.Bottom)?25:18,height:qe.equals(Le.z6.Top)||qe.equals(Le.z6.Bottom)?18:25,fill:"orange",stroke:Ba.white,strokeWidth:4,mouseEnter:(Mn,pa)=>pa.fill="dodgerblue",mouseLeave:(Mn,pa)=>pa.fill="orange",isActionable:!0,click:Vt,contextClick:Vt})}function oo(qe){return Sn(Le.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:(He,Vt)=>Vt.fill="dodgerblue",mouseLeave:(He,Vt)=>Vt.fill="orange",click:(He,Vt)=>{He.diagram.commandHandler.showContextMenu(Vt.part.adornedPart)}},qe||{})}it.current.nodeTemplate.selectionAdornmentTemplate=Sn(Le.uz,"Spot",Sn(Le.Vm,{padding:10}),Br(Le.z6.Top,"TriangleUp"),Br(Le.z6.Left,"TriangleLeft"),Br(Le.z6.Right,"TriangleRight"),Br(Le.z6.Bottom,"TriangleDown"),oo({alignment:new Le.z6(.75,0)}));function Kn(qe,He){return(Vt,Mn)=>{Vt.handled=!0,Vt.diagram.model.commit(pa=>{pa.set(Mn.part.adornedPart.data,qe,He)})}}function cn(qe,He){return He||(He="color"),Sn(Le.bn,{width:16,height:16,stroke:"lightgray",fill:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.stroke="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.stroke="lightgray",click:Kn(He,qe),contextClick:Kn(He,qe)})}function Io(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(Ba.white,"fill"),cn(Ba.beige,"fill"),cn(Ba.extralightblue,"fill"),cn(Ba.extralightred,"fill"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(Ba.lightgray,"fill"),cn(Ba.lightgreen,"fill"),cn(Ba.lightblue,"fill"),cn(Ba.lightred,"fill")))]}function vr(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(Ba.black),cn(Ba.green),cn(Ba.blue),cn(Ba.red))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",cn(Ba.white),cn(Ba.magenta),cn(Ba.purple),cn(Ba.orange)))]}function lo(qe,He){return He||(He="thickness"),Sn(Le.bn,"LineH",{width:16,height:16,strokeWidth:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn(He,qe),contextClick:Kn(He,qe)})}function Tr(qe,He){return He||(He="dash"),Sn(Le.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn(He,qe),contextClick:Kn(He,qe)})}function _o(){return[Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",lo(1),lo(2),lo(3),lo(4))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Tr(null),Tr([2,4]),Tr([4,4])))]}function Co(qe,He){return He||(He="figure"),Sn(Le.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:qe,margin:1,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.fill="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.fill="lightgray",click:Kn(He,qe),contextClick:Kn(He,qe)})}it.current.nodeTemplate.contextMenu=Sn("ContextMenu",Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Co("Rectangle"),Co("RoundedRectangle"),Co("Ellipse"),Co("Diamond"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Co("Parallelogram2"),Co("ManualOperation"),Co("Procedure"),Co("Cylinder1"))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Co("Terminator"),Co("CreateRequest"),Co("Document"),Co("TriangleDown"))),Io(),vr(),_o()),it.current.groupTemplate=Sn(Le.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Le.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(qe,He)=>{var Vt=He.addMembers(He.diagram.selection,!0);Vt||He.diagram.currentTool.doCancel()},avoidable:!1},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),Sn(Le.s_,"Auto",{name:"BODY"},Sn(Le.bn,{parameter1:10,fill:Ba.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("fill"),new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.Vm,{background:"transparent",margin:20})),Sn(Le.al,{alignment:Le.z6.Top,alignmentFocus:Le.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Le.KX("text"),new Le.KX("stroke","color"))),it.current.groupTemplate.selectionAdornmentTemplate=Sn(Le.uz,"Spot",Sn(Le.s_,"Auto",Sn(Le.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Sn(Le.Vm,{margin:1.5})),oo({alignment:Le.z6.TopRight,alignmentFocus:Le.z6.BottomRight})),it.current.groupTemplate.contextMenu=Sn("ContextMenu",Io(),vr(),_o()),it.current.linkTemplate=Sn(Le.rU,{layerName:"Foreground",routing:Le.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Le.KX("fromSpot","fromSpot",Le.z6.parse),new Le.KX("toSpot","toSpot",Le.z6.parse),new Le.KX("fromShortLength","dir",qe=>qe>=1?10:0),new Le.KX("toShortLength","dir",qe=>qe>=1?10:0),new Le.KX("points").makeTwoWay(),Sn(Le.bn,{strokeWidth:2},new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),Sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,0),segmentOrientation:Le.rU.OrientAlong,alignmentFocus:Le.z6.Right,figure:"circle",width:10,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe===1)),Sn(Le.bn,{segmentIndex:-1,segmentOffset:new Le.E9(-10,6),segmentOrientation:Le.rU.OrientPlus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe>=1),new Le.KX("width","thickness",qe=>7+3*qe),new Le.KX("height","thickness",qe=>7+3*qe),new Le.KX("segmentOffset","thickness",qe=>new Le.E9(-15,4+1.5*qe))),Sn(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,-6),segmentOrientation:Le.rU.OrientMinus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",qe=>qe===2),new Le.KX("width","thickness",qe=>7+3*qe),new Le.KX("height","thickness",qe=>7+3*qe),new Le.KX("segmentOffset","thickness",qe=>new Le.E9(-15,4+1.5*qe))),Sn(Le.al,{alignmentFocus:new Le.z6(0,1,-4,0),editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),it.current.linkTemplate.selectionAdornmentTemplate=Sn(Le.uz,Sn(Le.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Uo(2)},new Le.KX("pathPattern","thickness",Uo)),oo({alignmentFocus:new Le.z6(0,0,-6,-4)}));function Uo(qe){return Sn(Le.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(qe+4).toString()+" H3"})}function jr(qe){var He="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return qe===0?He="M0 0 M16 16 M0 8 L16 8":qe===2&&(He="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Sn(Le.bn,{geometryString:He,margin:2,background:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:Kn("dir",qe),contextClick:Kn("dir",qe)})}function vo(qe){var He=(Vt,Mn)=>{Vt.handled=!0,Vt.diagram.model.commit(pa=>{var xn=Mn.part.adornedPart;pa.set(xn.data,qe?"toSpot":"fromSpot",Le.z6.stringify(Le.z6.AllSides)),(qe?xn.toNode:xn.fromNode).invalidateConnectedLinks()})};return Sn(Le.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Vt,Mn)=>Mn.background="dodgerblue",mouseLeave:(Vt,Mn)=>Mn.background="transparent",click:He,contextClick:He})}function kn(qe,He){var Vt=0,Mn=Le.z6.RightSide;qe.equals(Le.z6.Top)?(Vt=270,Mn=Le.z6.TopSide):qe.equals(Le.z6.Left)?(Vt=180,Mn=Le.z6.LeftSide):qe.equals(Le.z6.Bottom)&&(Vt=90,Mn=Le.z6.BottomSide),He||(Vt-=180);var pa=(xn,ya)=>{xn.handled=!0,xn.diagram.model.commit(rn=>{var da=ya.part.adornedPart;rn.set(da.data,He?"toSpot":"fromSpot",Le.z6.stringify(Mn)),(He?da.toNode:da.fromNode).invalidateConnectedLinks()})};return Sn(Le.bn,{alignment:qe,alignmentFocus:qe.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Vt,background:"transparent",mouseEnter:(xn,ya)=>ya.background="dodgerblue",mouseLeave:(xn,ya)=>ya.background="transparent",click:pa,contextClick:pa})}it.current.linkTemplate.contextMenu=Sn("ContextMenu",vr(),_o(),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",jr(0),jr(1),jr(2))),Sn("ContextMenuButton",Sn(Le.s_,"Horizontal",Sn(Le.s_,"Spot",vo(!1),kn(Le.z6.Top,!1),kn(Le.z6.Left,!1),kn(Le.z6.Right,!1),kn(Le.z6.Bottom,!1)),Sn(Le.s_,"Spot",{margin:new Le.Zt(0,0,0,2)},vo(!0),kn(Le.z6.Top,!0),kn(Le.z6.Left,!0),kn(Le.z6.Right,!0),kn(Le.z6.Bottom,!0)))));const Rr=`{ "class": "GraphLinksModel", - "nodeDataArray": [ -{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, -{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, -{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, -{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, -{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, -{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, -{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} -], - "linkDataArray": [ -{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, -{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, -{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, -{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, -{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, -{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, -{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} -]}`;var uo=["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 io(qe){return console.log("shapeName:",qe),uo.indexOf(qe)>=0}var xt=new Le.YI(Gn.current,{maxSelectionCount:1,linkTemplate:Sn(Le.rU,{locationSpot:Le.z6.Center,selectionAdornmentTemplate:Sn(Le.uz,"Link",{locationSpot:Le.z6.Center},Sn(Le.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Sn(Le.bn,{toArrow:"Standard",stroke:null}))},{routing:Le.rU.AvoidsNodes,curve:Le.rU.JumpOver,corner:5,toShortLength:4},new Le.KX("points"),Sn(Le.bn,{isPanelMain:!0,strokeWidth:2}),Sn(Le.bn,{toArrow:"Standard",stroke:null})),model:new Le.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Le.bn.getFigureGenerators().toArray().map(qe=>({text:"\u672A\u547D\u540D",size:"100 100",figure:qe.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return it.current.addDiagramListener("TextEdited",function(qe){var He;const Vt=qe.subject.part;var Mn=(He=document.activeElement)==null?void 0:He.value;typeof Mn=="string"&&Mn.trim()===""&&it.current.model.commit(function(pa){pa.set(Vt.data,"text","\u672A\u547D\u540D"),it.current.commandHandler.stopCommand()},"increment")}),xt.nodeTemplate=Sn(Le.NB,"Auto",{locationSpot:Le.z6.Center},new Le.KX("location","location",Le.E9.parse).makeTwoWay(Le.E9.stringify),Sn(Le.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 Le.KX("stroke").makeTwoWay(),new Le.KX("fill").makeTwoWay(),new Le.KX("figure")),Sn(Le.al,{margin:new Le.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Le.$u(16,16),maxSize:new Le.$u(10,NaN),textAlign:"center",editable:!0},new Le.KX("key").makeTwoWay())),setTimeout(()=>{it.current.grid=Sn(Le.s_,"Grid",Sn(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),it.current.grid.visible=!0,it.current.grid.gridCellStroke="darkgray",it.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=it.current,it.current}const Fa=()=>Rn(this,null,function*(){var Sn=it.current.makeImage();const Ba=yield(0,Tt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Sn.src}});gt({src:Ba.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Ma()},500),va(wa+1),()=>{it.current=null}),[]),en.createElement("div",{ref:Wa,className:Qn.current?`${Gt.maxH60} body-overflow-initial`:"body-overflow-initial"},en.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!wa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:en.createElement(wt.Z,null,en.createElement(Lt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),en.createElement(Lt.Z,{onClick:()=>{var Sn,Ba,Br=it.current.selection.first();if(Qn.current=!Qn.current,document.activeElement&&Br){let oo=(Ba=(Sn=document.activeElement)==null?void 0:Sn.value)==null?void 0:Ba.trim();typeof oo=="string"&&it.current.model.commit(function(Kn){Kn.set(Br.data,"text",oo||"\u672A\u547D\u540D"),it.current.commandHandler.stopCommand()},"increment")}va(wa+1)}},en.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Qe},en.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Gt.flowChartWrp},en.createElement("div",{style:{display:"flex",height:"100%"}},en.createElement("div",{style:{width:"300px",height:"100%"}},en.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),en.createElement("div",{style:{height:"calc(100% - 50px)"},className:Gt.myPaletteDiv,ref:Gn})),en.createElement("div",{style:{flex:1,position:"relative"}},en.createElement("div",{ref:Vn,style:{height:"80vh"}}))),en.createElement("div",{className:"tr"},en.createElement(Xe.ZP,{size:"large",onClick:Fa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var De=Rt,We=ue(5112),dt=ue(5871);const Ot=We.ZP.Group,$t={margin:"0 8px"};var Xt=({callback:Qe,onCancel:gt})=>{function it(Vn){Qe(Vn)}return ae.createElement(Be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:it},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:$t},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:$t},"\u884C\u6570"),ae.createElement(Be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(dt.Z,null)),ae.createElement("span",{style:$t},"\u5217\u6570"),ae.createElement(Be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(dt.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:$t},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(Be.default.Item,{name:"align"},ae.createElement(Ot,null,ae.createElement(We.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(We.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(We.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(We.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Xe.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},Ht=ue(78673),on=ue(11081),At=ue.n(on),nn=(0,ae.forwardRef)(({use3d:Qe,width:gt,height:it,callback:Vn,showSaveButton:Gn},Qn)=>{const Wa=(0,ae.useRef)(),wa=(0,ae.useRef)(),[va,Ma]=(0,ae.useState)(!1),Fa=(0,ae.useRef)({id:Wa,appName:"graphing",width:gt||1e3,height:it||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)(()=>{wa.current=new(At())(Fa.current,!0),window.onload=function(){wa.current.inject("applet_container")}},[]);const Sn=()=>{var Ba=window.ggbApplet.getPNGBase64(1,!0,72);return Vn&&Vn(Ba),Ba};return(0,ae.useEffect)(()=>{Fa.current.appName=va?"3D":"graphing",wa.current.inject("applet_container")},[va]),(0,ae.useEffect)(()=>{Ma(Qe)},[Qe]),(0,ae.useImperativeHandle)(Qn,()=>({getImgData:Sn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Wa}),ae.createElement(wt.Z,{align:"middle"},ae.createElement(Lt.Z,{flex:1},ae.createElement(Ht.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:va,onChange:Ba=>Ma(Ba)})),ae.createElement(Lt.Z,null,ae.createElement(Xe.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ht=ue(88615),Ft=ue(1012),Nt=ue(8591);const sn="link",yt="upload-image",Mt="add-flowchart",Tn="draw-image",zt="add-flowchart",na="code-block",Xa="add-table",gr="------------",lr={default:gr,left:`:${gr}`,center:`:${gr}:`,right:`${gr}:`};var za=ue(17904),Mr=(Qe,gt,it)=>new Promise((Vn,Gn)=>{var Qn=va=>{try{wa(it.next(va))}catch(Ma){Gn(Ma)}},Wa=va=>{try{wa(it.throw(va))}catch(Ma){Gn(Ma)}},wa=va=>va.done?Vn(va.value):Promise.resolve(va.value).then(Qn,Wa);wa((it=it.apply(Qe,gt)).next())});function br(){}let rr=0;const fr=1e4,or="\u2581",Za="@\u2581\u2581@",Ur="@\u2581@",_r=` -**\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`,bt=["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 bn(Qe){return/^\d+$/.test(Qe)?`${Qe}px`:Qe}const Ut=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",fn={[Ut+"-B"]:"bold",[Ut+"-I"]:"italic"},Hn={[sn]:"\u6DFB\u52A0\u94FE\u63A5",[na]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[Tn]:"\u6DFB\u52A0\u753B\u56FE",[Mt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Xa]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ma=({defaultValue:Qe="",onChange:gt,width:it="100%",height:Vn=400,miniToolbar:Gn=!1,isFocus:Qn=!1,watch:Wa,insertTemp:wa,mode:va="markdown",id:Ma="markdown-editor-id",showResizeBar:Fa=!1,noStorage:Sn=!1,showNullButton:Ba=!1,showNullProgramButton:Br=!1,hidetoolBar:oo=!1,fullScreen:Kn=!1,onBlur:cn,onCMBeforeChange:Io,onFullScreen:vr,className:lo="",disablePaste:Tr=!1,disabled:_o=!1,disabledFill:Co=!1,placeholder:Uo="",values:jr="",extraUse:vo})=>{const[kn,Rr]=(0,ae.useState)(null),[uo,io]=(0,ae.useState)(Qe),[xt,qe]=(0,ae.useState)(Wa),[He,Vt]=(0,ae.useState)(Kn),[Mn,pa]=(0,ae.useState)(""),[xn,ya]=(0,ae.useState)(0),[rn,da]=(0,ae.useState)(Vn),[Gr,po]=(0,ae.useState)(!1),jo=(0,ae.useRef)((0,Ft.Z)()),cr=(0,ae.useRef)(!1),ka=(0,ae.useRef)(),[Dr,Lr]=(0,ae.useState)(0),[Ir,Kr]=(0,ae.useState)(0),ja=(0,ae.useRef)(),Ka=(0,ae.useRef)(),mr=(0,ae.useRef)(),xr=(0,ae.useRef)(),Hr=()=>Mr(void 0,null,function*(){var nr;const ga=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:jo.current}});(nr=ga==null?void 0:ga.attachments)!=null&&nr.length&&(console.log("cm:",kn,ja),ga.attachments.map(ia=>{ia.content_type.indexOf("image")>-1?kn.replaceSelection(`![,](/api/attachments/${ia.id}?type=${ia.content_type})`):ia.content_type.indexOf("video")>-1?kn.replaceSelection(``):ia.content_type.indexOf("pdf")>-1?kn.replaceSelection(`${ia.name}`):kn.replaceSelection(`[${ia.name}](${ENV.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type})`)}))});(0,ae.useEffect)(()=>{const nr=window.scrollY||window.pageYOffset;io(jr),kn==null||kn.setValue(jr),window.scrollTo(0,nr)},[jr]),(0,ae.useEffect)(()=>{vr==null||vr(He)},[He]),(0,ae.useEffect)(()=>{if(ja.current){let nr=function(ia,Pa){var to;if(Tr){Pa.preventDefault();return}const Do=Pa.clipboardData;if(Do){const Yo=Do.types.toString(),Er=Do.items;if(Yo==="Files"||Do.types.indexOf("Files")>-1){if(Pa.preventDefault(),va=="stex")return;try{let Vr=Er[1];((to=Er[0])==null?void 0:to.kind)==="file"&&(Vr=Er[0]);const mo=Vr.getAsFile(),Jr=mo.name.split(".").pop();(0,tt.I)(mo,Zo=>{var sl,tl,Pu;Zo.id?((sl=mo==null?void 0:mo.type)==null?void 0:sl.indexOf("image"))>-1?ga.replaceSelection(``):((tl=mo==null?void 0:mo.type)==null?void 0:tl.indexOf("video"))>-1?ga.replaceSelection(``):((Pu=mo==null?void 0:mo.type)==null?void 0:Pu.indexOf("pdf"))>-1?ga.replaceSelection(`${mo.name}`):bt.includes(Jr)?ga.replaceSelection(`${mo.name}`):ga.replaceSelection(`[${mo.name}](/api/attachments/${Zo.id}?type=${Zo.content_type})`):(Zo==null?void 0:Zo.status)===401&&(Nt.ZP.warning((Zo==null?void 0:Zo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Vr){Nt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ga=Oe().fromTextArea(ja.current,{mode:va,lineNumbers:!Gn,lineWrapping:!0,value:Qe,autoCloseTags:!Br,autoCloseBrackets:!0});return ga.on("keyup",function(ia,Pa){Pa.keyCode===8&&(ia.getValue()==""?ga.setOption("placeholder",Uo):ga.setOption("placeholder",null))}),ga.on("keydown",function(ia,Pa){if(Pa.keyCode===8){var to=Ea(ia);to&&Pa.preventDefault()}}),Qn&&ga.focus(),ga.on("paste",nr),ga.on("dragleave",function(ia,Pa){Ka.current.classList.remove("mouse-hover-md")}),_o&&ga.on("beforeChange",function(ia,Pa){(Pa.origin==="paste"||Pa.origin==="+input")&&Pa.cancel()}),Rr(ga),()=>{ga.off("paste",nr)}}},[]);const hr=(0,ae.useCallback)(()=>{if(Ka.current)try{}catch(nr){console.log(nr,"---- to set md editor body height")}},[rn,Ka,He]);(0,ae.useEffect)(()=>{function nr(){let ga=new ke.Z(ia=>{for(let Pa of ia)(Pa.target.offsetHeight>0||Pa.target.offsetWidth>0)&&(hr(),kn.setSize("100%","100%"),kn.refresh())});return ga.observe(ja.current.parentElement),ga}if(kn){const ga=nr();return()=>{var ia,Pa;(ia=ja.current)!=null&&ia.parentElement&&ga.unobserve((Pa=ja.current)==null?void 0:Pa.parentElement)}}},[kn,hr]),(0,ae.useEffect)(()=>{if(kn){let nr=[];for(const[ga,ia]of Object.entries(fn)){let Pa={[ga]:()=>{ta(ia)}};nr.push(Pa),kn.addKeyMap(Pa)}return ka.current=setInterval(()=>{cr.current&&Hr()},4e3),()=>{clearInterval(ka.current);for(let ga of nr)kn.removeKeyMap(ga)}}},[kn]),(0,ae.useEffect)(()=>{Kn!==He&&Vt(Kn)},[Kn]),(0,za.Z)(()=>{if(!Sn&&xn>0){let nr=new Date().getTime(),ga=window.sessionStorage.getItem(Ma);nr>=xn+fr&&(!ga||ga!==uo)&&(window.sessionStorage.setItem(Ma,uo),po(!0))}},fr),(0,ae.useEffect)(()=>{qe(Wa)},[kn,Wa]),(0,ae.useEffect)(()=>{kn&&Qn&&kn.focus()},[kn,Qn]),(0,ae.useEffect)(()=>{if(xt&&kn){let nr=function(ia){let Pa=ia.target;if(xr.current){let to=Pa.scrollTop/Pa.scrollHeight;xr.current.scrollTop=xr.current.scrollHeight*to}};const ga=kn.getScrollerElement();return ga.addEventListener("scroll",nr),()=>{ga.removeEventListener("scroll",nr)}}},[kn,xt]),(0,ae.useEffect)(()=>{if(kn&&Io){let nr=function(ga,ia){Io(ga,ia)};return kn.on("beforeChange",nr),()=>{kn.off("beforeChange",nr)}}},[kn,Io]),(0,ae.useEffect)(()=>{if(kn&&cn){let nr=function(){cn(kn.getValue())};return kn.on("blur",nr),()=>{kn.off("blur",nr)}}},[kn,cn]);function Ea(nr,ga){var ia=nr.getDoc(),Pa=ia.getCursor(),to=ia.getLine(Pa.line),Do=to.charAt(Pa.ch-1),Yo=to.lastIndexOf("@\u2581@",Pa.ch),Er=to.lastIndexOf("@\u2581\u2581@",Pa.ch),Vr=Yo>Er?Yo:Er,mo=Yo>Er?3:4;if(Za.indexOf(Do)===-1)return null;if(console.log("change1:",ga,nr,to,Pa,Vr,Yo,Er,Do),Vr>=0&&Pa.ch-Vr<5){var Jr=Vr+mo;return ia.replaceRange("",{line:Pa.line,ch:Vr},{line:Pa.line,ch:Jr}),{line:Pa.line,ch:Jr}}return null}(0,ae.useEffect)(()=>{if(kn){let nr=function(ga,ia){const Pa=ga.getValue();io(Pa),ya(new Date().getTime()),ga.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),gt&&(Br?gt(Pa,Da(Pa)):gt(Pa))};return kn.on("change",nr),()=>{kn.off("change",nr)}}},[kn,gt]),(0,ae.useEffect)(()=>{if(kn)if(Qe==null)kn.setValue(""),io("");else{const nr=window.scrollY||window.pageYOffset;Qe!==kn.getValue()&&(kn.setValue(Qe),io(Qe),kn.setCursor(_o?1:kn.lineCount(),0),window.scrollTo(0,nr))}},[kn,Qe]);const ta=(0,ae.useCallback)(nr=>{const ga=kn.getCursor(),ia=kn.getSelection();let Pa=ia.split(` -`);switch(nr){case"bold":return kn.replaceSelection("**"+ia+"**"),ia===""&&kn.setCursor(ga.line,ga.ch+2),kn.focus();case"italic":return kn.replaceSelection("*"+ia+"*"),ia===""&&kn.setCursor(ga.line,ga.ch+1),kn.focus();case"code":return kn.replaceSelection("`"+ia+"`"),ia===""&&kn.setCursor(ga.line,ga.ch+1),kn.focus();case"inline-latex":return pa("inline-latex"),kn.focus();case"latex":return kn.replaceSelection("```latex\n"+ia+"\n```"),kn.setCursor(ga.line+1,ia.length+1),kn.focus();case"line-break":return kn.replaceSelection(`
-`),kn.focus();case"list-ul":return ia===""?kn.replaceSelection("- "+ia):kn.replaceSelection(Pa.map(to=>to===""?"":`- ${to}`).join(` -`)),kn.focus();case"list-ol":return ia===""?kn.replaceSelection("1. "+ia):kn.replaceSelection(Pa.map((to,Do)=>to===""?"":`${Do+1}. ${to}`).join(` -`)),kn.focus();case"add-null-ch":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(or),kn.focus();case"add-signal":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(Ur),kn.focus();case"add-multiple":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(Za),kn.focus();case"inster-template-1":return ia===""&&kn.setCursor(ga.line,ga.ch),kn.replaceSelection(_r),kn.focus();case"eraser":return kn.setValue(""),kn.focus();case"trigger-watch":return qe(!xt),kn.focus();case"trigger-full-screen":return Vt(!He),kn.focus();case sn:pa(sn);return;case na:pa(na);return;case yt:pa(yt);return;case Tn:pa(Tn);return;case"maths-latex":pa("maths-latex");return;case Mt:pa(Mt);return;case Xa:pa(Xa);return;default:throw new Error}},[kn,xt,He]),Ra=(0,ae.useCallback)((nr,ga)=>{var ia,Pa,to,Do,Yo,Er;switch(pa(""),Mn){case sn:const{title:sl,link:tl}=nr;return kn.replaceSelection(`[${sl}](${tl})`),kn.focus();case na:const{language:Pu,content:Su}=nr;return kn.replaceSelection(["```"+Pu,Su,"```"].join(` -`)),kn.focus();case"maths-latex":for(var Vr=atob(nr),mo=new Uint8Array(Vr.length),Jr=0;Jr{Nl.id?kn.replaceSelection(`![,](/api/attachments/${Nl.id}?type=${Nl.content_type})`):(Nl==null?void 0:Nl.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kn.replaceSelection("`$$"+nr+"$$`");break;case yt:case Tn:case zt:const{src:Kl,alt:Au}=nr,cl=ga,Zu=(to=(Pa=(ia=cl==null?void 0:cl.name)==null?void 0:ia.split("."))==null?void 0:Pa.pop)==null?void 0:to.call(Pa);return((Do=cl==null?void 0:cl.type)==null?void 0:Do.indexOf("image"))>-1||!(cl!=null&&cl.type)?cl.align||cl.width?kn.replaceSelection(`

${Au||

`):kn.replaceSelection(`${Au||`):((Yo=cl==null?void 0:cl.type)==null?void 0:Yo.indexOf("video"))>-1?kn.replaceSelection(``):((Er=cl==null?void 0:cl.type)==null?void 0:Er.indexOf("pdf"))>-1?kn.replaceSelection(`${cl.name}`):bt.includes(Zu)?kn.replaceSelection(`${cl.name}`):kn.replaceSelection(`[${cl.name}](${Kl})`),kn.focus();case Xa:const{row:Il,col:ru,align:Wu}=nr;let Ou=` -`;for(let Nl=0;Nl{switch(Mn){case sn:return ae.createElement(jn,{callback:Ra,onCancel:ho});case na:return ae.createElement(hn.Z,{callback:Ra,onCancel:ho});case yt:return ae.createElement(tt.Z,{callback:Ra,onCancel:ho});case Mt:return ae.createElement(De,{callback:Ra,onCancel:ho});case Xa:return ae.createElement(Xt,{callback:Ra,onCancel:ho});case"maths-latex":return ae.createElement(nn,{showSaveButton:!0,callback:Ra});case"inline-latex":return ae.createElement(ht.Z,{showSaveButton:!0,callback:Ra});default:return null}},[Mn]);function ho(){pa("")}(0,ae.useEffect)(()=>{if(mr.current){let nr=function(Yo){to=!0,Do=Yo.pageY},ga=function(){to=!1},ia=function(Yo){if(to){let Er=Yo.pageY-Do;Er<0&&(Er=0),Er>300&&(Er=300);let Vr=Vn+Er+"px";da(Vr)}},Pa=mr.current,to=!1,Do=0;return Pa.addEventListener("mousedown",nr),document.addEventListener("mousemove",ia),document.addEventListener("mouseup",ga),()=>{Pa.removeEventListener("mousedown",nr),document.removeEventListener("mousemove",ia),document.removeEventListener("mouseup",ga)}}},[kn,mr]),(0,ae.useEffect)(()=>{da(Vn)},[Vn]);const Ho=bn(it),Oo=bn(rn),Jo={width:Ho,height:Oo},pl=(0,ae.useMemo)(()=>{if(xn){let nr=new Date(xn),ga=nr.getHours(),ia=nr.getMinutes(),Pa=nr.getSeconds();return ga=ga<10?"0"+ga:ga,ia=ia<10?"0"+ia:ia,Pa=Pa<10?"0"+Pa:Pa,`${ga}:${ia}:${Pa}`}return 0},[xn]),Da=nr=>{const ga=[];if(Br){let ia=-1;nr=nr.replace(/(@▁▁@|@▁@)/g,function(Pa,to,Do){ga.push({multiLine:Pa!==Ur})})}return ga};function Xl(){window.sessionStorage.removeItem(Ma),po(!1),ya(0)}function nu(){po(!1),ya(0),kn.setValue(window.sessionStorage.getItem(Ma))}(0,ae.useEffect)(()=>{Hn[Mn]&&Mn!==Tn&&Mn!==Mt&&setTimeout(()=>{const nr=document.getElementsByClassName("markdown-popup-form")[0],ga=window.innerWidth/2-nr.offsetWidth/2,ia=window.innerHeight/2-nr.offsetHeight/2;Lr(ga),Kr(ia)},0)},[Mn]);const Lu=nr=>{nr.preventDefault();const ga=nr.clientX-Dr,ia=nr.clientY-Ir;document.body.onmousemove=Pa=>{let to=Pa.clientX-ga,Do=Pa.clientY-ia;const Yo=document.getElementsByClassName("markdown-popup-form")[0],Er=window.innerWidth-Yo.offsetWidth,Vr=window.innerHeight-Yo.offsetHeight;to=Math.max(0,Math.min(to,Er)),Do=Math.max(0,Math.min(Do,Vr)),au(Pa.clientX,Pa.clientY,ga,ia)&&(Lr(to),Kr(Do))},document.body.onmouseup=function(){document.body.onmousemove=null}},au=(nr,ga,ia,Pa)=>{const to=document.body.clientHeight,Do=document.body.clientWidth;return nr<20&&ia>nr||nr>Do-20&&iaga||ga>to-20&&Part in Be?mt(Be,rt,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Be[rt]=Xe,ee=(Be,rt)=>{for(var Xe in rt||(rt={}))E.call(rt,Xe)&&y(Be,Xe,rt[Xe]);if(a)for(var Xe of a(rt))b.call(rt,Xe)&&y(Be,Xe,rt[Xe]);return Be},ne=(Be,rt)=>$e(Be,fe(rt));const{useForm:se}=ae.default,ce={width:280,marginRight:10},de={labelCol:{span:5},wrapperCol:{span:19}};var ye=({callback:Be,onCancel:rt})=>{const[Xe]=se();let ut=(0,Ne.useRef)();function mn(pn){ut.current.width=Xe.getFieldValue("width"),ut.current.align=Xe.getFieldValue("align"),Be(pn,ut.current)}function ln(pn,Jt){if(pn.status===-1){x.ZP.error(pn.message);return}Xe.setFieldsValue({src:`/api/attachments/${pn.id}`,type:Jt.type})}function En(pn){let Jt=pn.target.files[0];ut.current=Jt,Ge(Jt,ln)}return lt.createElement(ae.default,ne(ee({form:Xe},de),{className:"upload-image-panel",onFinish:mn,style:{width:470,overflow:"hidden"}}),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},lt.createElement("div",{className:"flex-container"},lt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},lt.createElement(Oe.default,{style:ce})),lt.createElement(Ae,{onFileChange:En}))),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},lt.createElement(Oe.default,{style:{width:264}})),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},lt.createElement(ke.Z,null,lt.createElement(ae.default.Item,{name:"width",style:{margin:0}},lt.createElement(Te.Z,{style:{width:264}})),lt.createElement("span",{className:"ml8"},"%"))),lt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},lt.createElement(et.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"}]})),lt.createElement("aside",null,lt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},lt.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),lt.createElement(Ce.ZP,{type:"default",onClick:rt},"\u53D6\u6D88"))))};function Ae({onFileChange:Be}){return lt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",lt.createElement("input",{type:"file",onChange:Be}))}function Ge(Be,rt){if(!Be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Me.bg)())throw x.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Xe=new FormData;Xe.append("editormd-image-file",Be),Xe.append("file_param_name","editormd-image-file"),Xe.append("byxhr","true");var ut=new window.XMLHttpRequest;ut.withCredentials=!0,ut.addEventListener("load",function(mn){rt(JSON.parse(mn.target.responseText),Be)},!1),ut.addEventListener("error",function(mn){console.error(mn)},!1),ut.open("POST",`${ct.KI}/api/attachments.json`),ut.send(Xe)}},75790:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Oe}});var ae=ue(59301),x=ue(4676);class Oe extends ae.Component{constructor(Te){super(Te);const et=window.document;this.node=et.createElement("div"),et.body.appendChild(this.node)}render(){const{children:Te}=this.props;return(0,x.createPortal)(Te,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},17904:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return x}});var ae=ue(59301);function x(Oe,ke){const Te=(0,ae.useRef)();(0,ae.useEffect)(()=>{Te.current=Oe}),(0,ae.useEffect)(()=>{function et(){Te.current()}if(ke!==null){let Ce=setInterval(et,ke);return()=>clearInterval(Ce)}},[ke])}},17826:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return E}});var ae=ue(59301),x=ue(76560),Oe=ue(78241),ke=ue(8591),Te=ue(43418),et=ue(92832),Ce={wrap:"wrap___TwY3U",content:"content___Ks95W",mainPathWrap:"mainPathWrap___CrMaa",colorBlue:"colorBlue___dvWbP"},ct=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,mt=(b,y,ee)=>y in b?ct(b,y,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[y]=ee,$e=(b,y)=>{for(var ee in y||(y={}))Me.call(y,ee)&&mt(b,ee,y[ee]);if(Ne)for(var ee of Ne(y))lt.call(y,ee)&&mt(b,ee,y[ee]);return b},fe=(b,y,ee)=>new Promise((ne,se)=>{var ce=Ae=>{try{ye(ee.next(Ae))}catch(Ge){se(Ge)}},de=Ae=>{try{ye(ee.throw(Ae))}catch(Ge){se(Ge)}},ye=Ae=>Ae.done?ne(Ae.value):Promise.resolve(Ae.value).then(ce,de);ye((ee=ee.apply(b,y)).next())});const a=({shixunsDetail:b,globalSetting:y,loading:ee,dispatch:ne,title:se,pathList:ce=[],showInputPath:de=!1,isMergeSelectFile:ye=!1,onFinish:Ae=()=>{}})=>{const[Ge]=Oe.default.useForm(),Be=(0,x.useParams)(),rt=(0,x.useLocation)(),Xe=(0,ae.useRef)(),[ut,mn]=(0,ae.useState)(""),[ln,En]=(0,ae.useState)(""),[pn,Jt]=(0,ae.useState)([]),[ha,_t]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var st,wt;Xe.current=((wt=(st=rt.pathname)==null?void 0:st.split("/"))==null?void 0:wt[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(b.actionTabs.key!=="Repository-SelectFilePath")return;const st=ce.join("/");let wt=[];ce.map((Ln,un)=>{un===0?wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ln}`,path:st}):wt.push({val:`/${Ln}`,path:st})}),Jt(wt),mn(st),En(st),an(st)},[b.actionTabs.key]);const an=st=>fe(void 0,null,function*(){const wt=yield ne({type:Xe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Be.id,path:st}});wt&&_t(wt.trees||[])}),Nn=st=>{let wt=ut;st.type==="tree"&&(pn.length?pn.push({val:`/${st.name}`,path:st.name}):pn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${st.name}`,path:st.name}),Jt(pn),wt=ut?`${ut}/${st.name}`:st.name,mn(wt)),an(wt)},jn=(st,wt)=>{const Ln=pn.filter((Un,Le)=>Le<=wt);Jt(Ln);const un=Ln.filter((Un,Le)=>Le!==0).map(Un=>Un.val).join("").substr(1);mn(un),an(un)},hn=()=>fe(void 0,null,function*(){const st=Ge==null?void 0:Ge.getFieldsValue(),wt=ut?`${ut}${st!=null&&st.name?`/${st==null?void 0:st.name}`:""}`:st==null?void 0:st.name;if(ye){Ae(wt),tt();return}if(de){yield Ge.validateFields();const Ln=yield ne({type:"shixunsDetail/uploadGitFolder",payload:$e($e({},{id:Be.id,path:wt}),Xe.current?{}:{secret_repository:!0})});Ae(ln),Ln.status===0&&ke.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Ae(wt),ke.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");tt()}),tt=()=>{ne({type:"shixunsDetail/setActionTabs",payload:{}}),Ge.resetFields()};return ae.createElement(Te.default,{centered:!0,title:se||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:b.actionTabs.key==="Repository-SelectFilePath",onOk:hn,onCancel:tt},ae.createElement("div",{className:Ce.wrap},ae.createElement("div",{className:Ce.content},ae.createElement("div",{className:Ce.mainPathWrap},!!(pn!=null&&pn.length)&&pn.map((st,wt)=>ae.createElement("a",{key:wt,onClick:()=>jn(st,wt)},st.val))),!!(ha!=null&&ha.length)&&ha.map((st,wt)=>st.type==="tree"&&ae.createElement("a",{key:wt,onClick:()=>Nn(st)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Ce.colorBlue}`}),st.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},ut),de&&ae.createElement(Oe.default,{form:Ge,scrollToFirstError:!0,className:"mt20"},ae.createElement(Oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(et.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var E=(0,x.connect)(({shixunsDetail:b,loading:y,globalSetting:ee})=>({shixunsDetail:b,globalSetting:ee,loading:y.models.index}))(a)},45079:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ha}});var ae=ue(59301),x=ue(76560),Oe=ue(36381),ke=ue(92832),Te=ue(78241),et=ue(8591),Ce=ue(43418),ct=ue(24905),Ne=ue(6848),Me=ue(5871),lt=ue(5112),mt=ue(81327),$e=ue(95237),fe=ue(57809),a=ue(78673),E=ue(84236),b=ue(47949),y={wrap:"wrap___BgpUe",row:"row___UWxAG",textarea:"textarea___gaLin",btn:"btn___ZpuhS",sub:"sub___Jd_ZS"},ee=ue(51124),ne=ue(82093),se=ue(34055),ce=ue(59301),de=Object.defineProperty,ye=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Xe=(_t,an,Nn)=>an in _t?de(_t,an,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):_t[an]=Nn,ut=(_t,an)=>{for(var Nn in an||(an={}))Be.call(an,Nn)&&Xe(_t,Nn,an[Nn]);if(Ge)for(var Nn of Ge(an))rt.call(an,Nn)&&Xe(_t,Nn,an[Nn]);return _t},mn=(_t,an)=>ye(_t,Ae(an)),ln=(_t,an,Nn)=>new Promise((jn,hn)=>{var tt=Ln=>{try{wt(Nn.next(Ln))}catch(un){hn(un)}},st=Ln=>{try{wt(Nn.throw(Ln))}catch(un){hn(un)}},wt=Ln=>Ln.done?jn(Ln.value):Promise.resolve(Ln.value).then(tt,st);wt((Nn=Nn.apply(_t,an)).next())});const{Panel:En}=Oe.default,{TextArea:pn}=ke.default;var ha=({active:_t,type:an="jupyter"})=>{var Nn,jn;const hn=(0,x.useParams)(),[tt]=Te.default.useForm(),[st,wt]=(0,ae.useState)({}),[Ln,un]=(0,ae.useState)(!1),[Un,Le]=(0,ae.useState)(0),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)([]),en=(jn=(Nn=(0,se.eY)())==null?void 0:Nn.shixun)==null?void 0:jn.editable;(0,ae.useEffect)(()=>{_t==="testCase"&&Rn()},[_t]),(0,ae.useEffect)(()=>{Rt()},[]);const Rn=()=>ln(void 0,null,function*(){var At,Bt,nn,ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Xa,gr;const lr=[{hidden:0,input:"",output:"",score:100}],za=yield(0,ne.ZP)(`/api/shixuns/${hn==null?void 0:hn.id}/jupyter_evalute_setting.json`,{method:"get"});if((za==null?void 0:za.status)===0){Gt((At=za==null?void 0:za.data)==null?void 0:At.standard_scripts);const Mr={open_evaluate:(Bt=za==null?void 0:za.data)==null?void 0:Bt.open_evaluate,exec_time:((nn=za==null?void 0:za.data)==null?void 0:nn.exec_time)||3,test_set_score:((ht=za==null?void 0:za.data)==null?void 0:ht.test_set_score)===null?!1:(Ft=za==null?void 0:za.data)==null?void 0:Ft.test_set_score,test_set_average:((Nt=za==null?void 0:za.data)==null?void 0:Nt.test_set_average)===null?!0:(sn=za==null?void 0:za.data)==null?void 0:sn.test_set_average,choice_standard_scripts:((yt=za==null?void 0:za.data)==null?void 0:yt.choice_standard_scripts)||null,evaluate_script:((Mt=za==null?void 0:za.data)==null?void 0:Mt.evaluate_script)||"",evaluate_method:(Tn=za==null?void 0:za.data)==null?void 0:Tn.evaluate_method,use_jupyter_result:(zt=za==null?void 0:za.data)==null?void 0:zt.use_jupyter_result};tt.setFieldsValue(Mr),wt(Mr),Ve((Xa=(na=za==null?void 0:za.data)==null?void 0:na.test_sets)!=null&&Xa.length?(gr=za==null?void 0:za.data)==null?void 0:gr.test_sets:lr)}}),Rt=()=>ln(void 0,null,function*(){var At;const Bt=yield(0,ne.ZP)(`/api/shixuns/${hn==null?void 0:hn.id}/get_jupyter_tags.json`,{method:"get"});(Bt==null?void 0:Bt.status)===0&&Lt(((At=Bt==null?void 0:Bt.data)==null?void 0:At.list)||[])}),De=At=>ln(void 0,null,function*(){const nn=xe.map(Ft=>Ft.score).reduce((Ft,Nt)=>Ft+Nt,0);if(At.test_set_score&&nn!==100){et.ZP.warning("\u6D4B\u8BD5\u7528\u4F8B\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(At.evaluate_method===3&&(xe!=null&&xe.some(Ft=>!Ft.tags))){et.ZP.warning("\u8BF7\u9009\u62E9\u6307\u5B9A\u4EE3\u7801\u5757");return}un(!0),(yield(0,ne.ZP)(`/api/shixuns/${hn==null?void 0:hn.id}/update_jupyter_evaluate_setting.json`,{method:"post",body:mn(ut({},At),{mirror_script_id:At==null?void 0:At.choice_standard_scripts,open_evaluate:At!=null&&At.open_evaluate?1:0,test_set:xe.map(Ft=>mn(ut({},Ft),{is_file:!1}))})})).status===0&&et.ZP.success("\u4FDD\u5B58\u6210\u529F"),un(!1)}),We=At=>{wt(ut({},tt.getFieldsValue())),"test_set_average"in At&&(At!=null&&At.test_set_average)&&dt(xe),"test_set_score"in At&&(At!=null&&At.test_set_score)&&(tt.setFieldsValue({test_set_average:!0}),wt(mn(ut({},tt.getFieldsValue()),{test_set_average:!0})),dt(xe)),"choice_standard_scripts"in At&&Ce.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ce.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",ce.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ln(void 0,null,function*(){const Bt=yield(0,ne.ZP)(`/api/shixuns/${hn==null?void 0:hn.id}/get_script_contents.json`,{method:"get",params:{id:hn==null?void 0:hn.id,script_id:At==null?void 0:At.choice_standard_scripts}});Bt!=null&&Bt.content&&(Ce.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:ce.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")}),tt.setFieldsValue({evaluate_script:Bt==null?void 0:Bt.content}),wt(mn(ut({},tt.getFieldsValue()),{evaluate_script:Bt==null?void 0:Bt.content})))})})},dt=At=>{let Bt=0;const nn=Math.floor((100-Bt)/At.length),ht=nn+(100-Bt)%At.length;At=At.map((Ft,Nt)=>Nt===At.length-1?mn(ut({},Ft),{score:ht}):mn(ut({},Ft),{score:nn})),Ve(At)},Ot=()=>{const At=[...xe,{hidden:0,input:"",output:"",score:0}];tt.getFieldValue("test_set_average")?dt(At):Ve(At)},{test_set_score:$t,test_set_average:Xt,choice_standard_scripts:Ht,open_evaluate:on}=st;return ce.createElement("section",{className:y.wrap},ce.createElement(Te.default,{form:tt,disabled:!on,layout:"vertical",onValuesChange:We,onFinish:De},ce.createElement(Te.default.Item,{name:"open_evaluate",style:{marginTop:10},valuePropName:"checked"},ce.createElement(ct.default,{disabled:!1},"\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD")),ce.createElement("h4",{className:"font14"},"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(Te.default.Item,{label:"\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09\uFF1A",name:"exec_time",className:y.row,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}]},ce.createElement(Me.Z,{size:"large",style:{width:400},min:3}))),ce.createElement("h4",{className:"font14 mb10"},"\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219"),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(Te.default.Item,{name:"test_set_score"},ce.createElement(lt.ZP.Group,null,ce.createElement(mt.Z,{direction:"vertical"},ce.createElement(lt.ZP,{value:!1},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),ce.createElement(lt.ZP,{value:!0},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))))),ce.createElement(Te.default.Item,{label:ce.createElement("span",{style:{fontWeight:500},className:"c-black"},"\u8BC4\u6D4B\u8BBE\u7F6E"),name:"evaluate_method",style:{flexDirection:"row",marginTop:15},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u8BBE\u7F6E"}]},ce.createElement(lt.ZP.Group,null,ce.createElement(mt.Z,{direction:"vertical"},ce.createElement(lt.ZP,{value:1},"\u901A\u8FC7\u6240\u6709\u4EE3\u7801\u5757\u8BC4\u6D4B",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6240\u6709\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09")),ce.createElement(lt.ZP,{value:3},"\u901A\u8FC7\u6307\u5B9A\u4EE3\u7801\u5757\u8BC4\u6D4B",ce.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6307\u5B9A\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09"))))),ce.createElement($e.Z,{align:"middle",justify:"space-between",className:"font14"},ce.createElement("div",{style:{fontWeight:500}},ce.createElement("span",{className:y.sub},"*"),"\u6D4B\u8BD5\u7528\u4F8B"),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(b.op,{style:{borderRadius:2},onClick:Ot},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B"))),$t&&ce.createElement(Te.default.Item,{name:"test_set_average"},ce.createElement(lt.ZP.Group,null,ce.createElement(lt.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),ce.createElement(lt.ZP,{value:!1,style:{marginLeft:50}},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement("div",null,xe.map((At,Bt)=>ce.createElement(Oe.default,{activeKey:Un,key:Bt,onChange:()=>{Le(nn=>nn===Bt?null:Bt)}},ce.createElement(En,{header:ce.createElement("div",{className:"font16"},ce.createElement("span",{className:"mr10"},"\u6D4B\u8BD5\u7528\u4F8B",Bt+1),st.test_set_score&&ce.createElement("span",{style:{marginLeft:40}},ce.createElement(Me.Z,{style:{width:120},value:At.score,onClick:nn=>nn.stopPropagation(),min:0,max:100,precision:0,onBlur:nn=>{if(Number(nn)<0||Number(nn)>100){et.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const ht=xe.map((Nt,sn)=>sn===Bt?mn(ut({},Nt),{score:100}):Nt),Ft={test_set_average:!1};wt(ut(ut({},st),Ft)),tt.setFieldsValue(Ft),Ve(ht)}},disabled:Xt,onChange:nn=>{const ht=xe.map((Nt,sn)=>sn===Bt?mn(ut({},Nt),{score:nn?Number(nn):0}):Nt),Ft={test_set_average:!1};wt(ut(ut({},st),Ft)),tt.setFieldsValue(Ft),Ve(ht)}}),ce.createElement("span",{className:"ml10 mr10"},"%")),ce.createElement("span",{className:"tr flex1",style:{float:"right"}},Bt!==0&&ce.createElement(Ne.Z,{placement:"bottom",title:"\u5220\u9664"},ce.createElement("span",{style:{color:"#c5c5c5"},className:"current iconfont icon-shanchu4",onClick:nn=>{nn.stopPropagation(),Ce.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u6D4B\u8BD5\u7528\u4F8B\u5417\uFF1F",onOk:()=>{const ht=xe.filter((Ft,Nt)=>Nt!==Bt);dt(ht)}})}})))),key:Bt},ce.createElement("div",null,st.evaluate_method===3&&ce.createElement($e.Z,{align:"middle",className:"mb20"},ce.createElement("div",null,ce.createElement("span",{className:y.sub},"*"),ce.createElement("span",null,"\u6307\u5B9A\u4EE3\u7801\u5757"),ce.createElement(Ne.Z,{title:"\u8BF7\u5148\u5728Jupyter\u4E2D\u5BF9\u60A8\u9700\u8981\u8BC4\u6D4B\u7684\u6307\u5B9A\u4EE3\u7801\u5757\u5B8C\u6210\u6807\u7B7E\u8BBE\u7F6E\u3002"},ce.createElement("i",{style:{marginLeft:6,marginRight:20,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),ce.createElement(fe.default,{value:At.tags,size:"large",style:{width:450},onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===Bt?mn(ut({},Ft),{tags:nn}):Ft);Ve(ht)}},Pt==null?void 0:Pt.map(nn=>ce.createElement(fe.default.Option,{value:nn==null?void 0:nn.tags,key:nn==null?void 0:nn.tags},nn==null?void 0:nn.tags)))),ce.createElement($e.Z,{align:"middle"},ce.createElement("div",null," ",ce.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ce.createElement(pn,{bordered:!1,className:y.textarea,rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:At.output,onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===Bt?mn(ut({},Ft),{output:nn.target.value}):Ft);Ve(ht)}})),ce.createElement($e.Z,{className:"mt20",align:"middle"},ce.createElement("div",null,ce.createElement("span",null,"\u53EF\u89C1\u6027"),ce.createElement(Ne.Z,{title:ce.createElement("div",null,ce.createElement("div",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),ce.createElement("div",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),ce.createElement("div",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"))},ce.createElement("i",{style:{marginLeft:6,marginRight:13,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),ce.createElement("div",null,ce.createElement(ct.default,{className:"font14 ml5",checked:At.hidden===1,onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===Bt){let sn={is_invisible:!1,actual_output_visible:!1};return nn.target.checked&&(sn={is_invisible:!0,actual_output_visible:!0}),mn(ut(ut({},Ft),sn),{hidden:nn.target.checked?1:0})}return Ft});Ve(ht)}},"\u5168\u90E8\u9690\u85CF")),ce.createElement(ct.default,{checked:At.is_invisible,style:{margin:"0 60px"},onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===Bt){let sn=0;return nn.target.checked&&Ft.actual_output_visible&&(sn=1),mn(ut({},Ft),{hidden:sn,is_invisible:nn.target.checked})}return Ft});Ve(ht)}},"\u9690\u85CF\u9884\u671F\u8F93\u51FA"),ce.createElement(ct.default,{checked:At.actual_output_visible,onChange:nn=>{const ht=xe.map((Ft,Nt)=>{if(Nt===Bt){let sn=0;return nn.target.checked&&Ft.is_invisible&&(sn=1),mn(ut({},Ft),{hidden:sn,actual_output_visible:nn.target.checked})}return Ft});Ve(ht)}},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),ce.createElement("div",{className:"mt20"},ce.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),ce.createElement(ct.default,{checked:At.last_match_rule,onChange:nn=>{const ht=xe.map((Ft,Nt)=>Nt===Bt?mn(ut({},Ft),{last_match_rule:nn.target.checked}):Ft);Ve(ht)}},ce.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",ce.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))))))),ce.createElement("h4",{className:"font14 mt20 mb10"},ce.createElement("span",{className:y.sub},"*"),"\u8BC4\u6D4B\u811A\u672C"),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(Te.default.Item,{name:"choice_standard_scripts",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"}]},ce.createElement(fe.default,{getPopupContainer:At=>At.parentNode,size:"large",style:{width:400},placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"},Tt.map((At,Bt)=>ce.createElement(fe.default.Option,{value:At.id,key:Bt},At.scptname))))),ce.createElement(Ne.Z,{title:!on&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},ce.createElement(Te.default.Item,{name:"evaluate_script"},ce.createElement(ee.ZP,{height:450,style:{border:"1px solid #ccc"},language:"shell",theme:"vs-light",options:{readOnly:!on}}))),(0,se.Ny)()&&ce.createElement($e.Z,{className:"mb20",align:"middle"},ce.createElement(Te.default.Item,{name:"use_jupyter_result",className:"mt10",valuePropName:"checked",noStyle:!0},ce.createElement(a.Z,null)),ce.createElement("div",{className:"ml10"},"\u662F\u5426\u6CBF\u7528Jupyter\u8FD0\u884C\u7ED3\u679C"))),ce.createElement(E.t,{okText:"\u4FDD\u5B58",hasOkBtn:en,loading:Ln,onCancel:()=>x.history.push(`/shixuns/${hn==null?void 0:hn.id}/challenges`),onOk:()=>tt.submit(),className:an==="jupyterLab"?y.btn:""}))}},18309:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Lt}});var ae=ue(59301),x=ue(43418),Oe=ue(8591),ke=ue(43428),Te=ue(99313),et=ue(71418),Ce=ue(6848),ct=ue(3113),Ne={header_body:"header_body___lAlEX",close:"close___OXweN",no_data:"no_data___h77J2",recommend_config_introduce:"recommend_config_introduce___ifFGY",recommend_config:"recommend_config___UXyKS",recommend_config_item:"recommend_config_item___zONum",item_title:"item_title___w5vXw",recommend_text:"recommend_text___f68Eu",item_content:"item_content___j_zbN",recommend_config_active_item:"recommend_config_active_item___SrTkJ",recommend_config_footer:"recommend_config_footer___PHnlA",application:"application___uh4gI",tooltip:"tooltip___f0uXh",disabled:"disabled___Ha9Ba"},Me=ue(99267),lt=ue(61485),mt=ue(13014),$e=ue(4977),fe=ue(82093),a=ue(76411),E={lineChart:"lineChart___dCEZW"},b=ue(56656),y=ue.n(b),ee=ue(59301),se=({dataInfo:Tt,indexKey:Gt,valueName:en,startAndEndTime:Rn,colors:Rt=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"],imageTypeName:De})=>{let We=null;(0,ae.useEffect)(()=>{At()},[Tt]),(0,ae.useEffect)(()=>{window.addEventListener("resize",dt(()=>{We&&We.resize()},200))},[window.onresize]);const dt=(Bt,nn,ht=!1)=>{let Ft,Nt;return(...sn)=>{if(ht){Bt.apply(Nt,sn),ht=!1;return}clearTimeout(Ft),Ft=setTimeout(()=>{Bt.apply(Nt,sn)},nn)}},Ot=Bt=>Bt?Bt.map(nn=>{const ht=new Date(nn),Ft=String(ht.getMonth()+1).padStart(2,"0"),Nt=String(ht.getDate()).padStart(2,"0"),sn=String(ht.getHours()).padStart(2,"0"),yt=String(ht.getMinutes()).padStart(2,"0");return`${Ft}/${Nt} ${sn}:${yt}`}):[],$t=(Bt,nn)=>Bt.map(ht=>{const Ft=nn.timestamps.indexOf(ht);return Ft!==-1?nn.values[Ft]:null});function Xt(Bt){let nn=1/0;for(let Ft=0;Ft{let Ft=[];for(let Nt=Bt;Nt<=nn;Nt+=ht)Ft.push(Nt);return Ft},on=()=>{var Bt;const nn=((Bt=Tt==null?void 0:Tt.x)==null?void 0:Bt.flat())||[];let ht=[...new Set(nn)].sort((na,Xa)=>na-Xa),Ft=Xt(ht),Nt=Ft==null?void 0:Ft.newArray,sn=Ft==null?void 0:Ft.minInterval;ht=[...new Set([...ht,...Nt])].sort((na,Xa)=>na-Xa);let yt=y()(Rn[0],"YYYY-MM-DD HH:mm").valueOf(),Mt=Ht(yt,ht[0]-sn,sn),Tn=y()(Rn[1],"YYYY-MM-DD HH:mm").valueOf(),zt=Ht(ht[ht.length-1]+sn,Tn,sn);return ht=[...Mt,...ht,...zt],[...new Set(ht)].sort((na,Xa)=>na-Xa)},At=()=>{var Bt;We=a.init(document.getElementById(`lineChart${Gt}`));let nn=on(),ht=(Bt=Tt==null?void 0:Tt.y)==null?void 0:Bt.map((Nt,sn)=>{var yt;let Mt={timestamps:(yt=Tt==null?void 0:Tt.x)==null?void 0:yt[sn],values:Nt};return Nt=$t(nn,Mt),{name:en[sn],type:"line",itemStyle:{show:!1},lineStyle:{color:Rt[sn]},data:Nt}}),Ft={tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(212, 217, 227, 1)",type:"dashed"}},backgroundColor:"#fff",textStyle:{color:"#333333"},padding:10,extraCssText:"box-shadow: 0px 4px 8px 0px rgba(184,194,202,0.5)",formatter:function(Nt){var sn;let yt="";return Nt.forEach((Mt,Tn)=>{console.log("item",Mt),yt+=`
-
-
- ${De[Mt==null?void 0:Mt.componentIndex]} -
-
${Mt.value>0?Mt.value.toFixed(5):Mt.value==0?0:"--"} ${Gt==0?"Cores":"MiB"}
-
`}),`
-
${(sn=Nt[0])==null?void 0:sn.name}
- ${yt} -
`}},grid:{right:"5%",bottom:"20%",top:"10%"},dataZoom:[{show:!0,start:0,end:100},{type:"inside",start:20,end:100}],xAxis:[{type:"category",gridIndex:0,boundaryGap:!0,axisTick:{show:!1,alignWithLabel:!1},axisLine:{show:!0,lineStyle:{color:"#F0F0F0",type:"solid"}},axisLabel:{show:!0,color:"#9096A3"},splitLine:{show:!1},data:Ot(nn)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:Gt==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:ht};We.setOption(Ft)};return ee.createElement("div",{id:`lineChart${Gt}`,className:E.lineChart})},ce=ue(47949),de={flex_warp:"flex_warp___Rtigf",chart_content:"chart_content___tVmUj",chart_title:"chart_title___AOPx7",listdata:"listdata___mi4KG",block:"block___prArl",typename:"typename___j4diD",val:"val___MeuWc",info_con:"info_con___eIdJL",info_top:"info_top___UKMbT",fullscreen:"fullscreen___PICBn",chart_content_qp:"chart_content_qp___ae1n1",spin_dom:"spin_dom___T7PCy"},ye=ue(57809),Ae=ue(5083),Ge=ue(88522);const Be=Tt=>{const Gt=new Date,Rn=(Rt=>{const De=new Date(Gt);switch(Rt){case"\u6700\u8FD130\u5206\u949F":De.setMinutes(Gt.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":De.setHours(Gt.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":De.setDate(Gt.getDate()-1);break;case"\u6700\u8FD17\u5929":De.setDate(Gt.getDate()-7);break;case"\u6700\u8FD115\u5929":De.setDate(Gt.getDate()-15);break;default:return null}return De})(Tt);return Rn?{startTime:Rn,endTime:Gt}:null},rt=(Tt,Gt,en)=>{if(!Tt)return!1;const Rn=y()(),[Rt,De]=Gt;if(Tt.isAfter(Rn))return!0;if(Rt){const We=Rt.clone().add(en,"days");if(De&&Tt.isAfter(We))return!0}if(De){const We=De.clone().subtract(en,"days");return Tt.isBefore(We)||Tt.isAfter(Rn)}return!1},Xe=Tt=>Tt<=5?"30s":Tt<=15?"1m":Tt<=30?"2m":Tt<=60?"5m":Tt<=180?"10m":Tt<=360?"30m":Tt<=720?"1h":Tt<=1440?"2h":Tt<=2880?"4h":Tt<=4320?"8h":Tt<=10080||Tt<=14400?"12h":Tt<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",ut=Tt=>{const[Gt,en]=Tt,Rn=moment.isMoment(Gt)?Gt:moment(Gt),Rt=moment.isMoment(en)?en:moment(en);if(!Rn.isValid()||!Rt.isValid())throw new Error("Invalid date provided");const We=moment.duration(Rt.diff(Rn)).asMinutes();return Xe(We)},mn=(Tt,Gt,en=20)=>{const Rn=new Date(Tt).getTime(),Rt=new Date(Gt).getTime(),De=en*1e3,We=[];let dt=Rn;for(;dt<=Rt;)We.push(dt),dt+=De;return We};var ln=ue(89392),En=ue(57884),pn=ue(2610),Jt=ue(59301),ha=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())});const _t=ye.default.Option,{RangePicker:an}=Ae.default;var jn=({identifier:Tt,data:Gt,isFirst:en,setIsFirst:Rn,info:Rt})=>{var De;const[We,dt]=(0,ae.useState)([]),[Ot,$t]=(0,ae.useState)([]),[Xt,Ht]=(0,ae.useState)(null),[on,At]=(0,ae.useState)(""),[Bt,nn]=(0,ae.useState)([null,null]),[ht,Ft]=(0,ae.useState)([]),[Nt,sn]=(0,ae.useState)(!1),[yt,Mt]=(0,ae.useState)([]),[Tn,zt]=(0,ae.useState)(!1),[na,Xa]=(0,ae.useState)(!1),[gr,lr]=(0,ae.useState)(""),[za,Mr]=(0,ae.useState)(1),br=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],rr=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,ae.useEffect)(()=>{var Ut,fn,Hn,ma;if(Gt&&en){bn(),dt(Gt==null?void 0:Gt.recent_users),$t(Gt==null?void 0:Gt.managers);const Qe=(Rt==null?void 0:Rt.type)==="\u6311\u6218\u9875\u9762";((Ut=Gt==null?void 0:Gt.managers)==null?void 0:Ut.length)>0?Ht(Qe?Rt==null?void 0:Rt.myshixun_id:(fn=Gt==null?void 0:Gt.managers[0])==null?void 0:fn.id):((Hn=Gt==null?void 0:Gt.recent_users)==null?void 0:Hn.length)>0&&Ht(Qe?Rt==null?void 0:Rt.myshixun_id:(ma=Gt==null?void 0:Gt.recent_users[0])==null?void 0:ma.id),At("\u6700\u8FD130\u5206\u949F"),Rn(!1)}},[Gt]),(0,ae.useEffect)(()=>{if(on){let Ut=Be(on);nn([y()(Ut==null?void 0:Ut.startTime),y()(Ut==null?void 0:Ut.endTime)])}},[on]),(0,ae.useEffect)(()=>{Xt&&(Bt!=null&&Bt[0])&&(Bt!=null&&Bt[1])&&fr()},[Xt,Bt]);const fr=()=>ha(void 0,null,function*(){var Ut;sn(!0);let fn={startTimeString:Bt[0]?Bt[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:Bt[1]?Bt[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:Xt};const Hn=yield(0,fe.ZP)(`/api/shixuns/${Tt}/cpu_rank_data.json`,{method:"get",params:fn});(Hn==null?void 0:Hn.status)==0&&(Mt((Ut=Hn==null?void 0:Hn.data)==null?void 0:Ut.statisticsList),Mr(za+1)),sn(!1)}),or=(0,ae.useRef)((0,ln.throttle)(Ut=>Za(Ut),1200,{leading:!0,trailing:!0})).current,Za=Ut=>ha(void 0,null,function*(){if(Ut=="")return;const fn=yield(0,fe.ZP)(`/api/shixuns/${Tt}/cpu_search_data`,{method:"get",params:{search:Ut}});(fn==null?void 0:fn.status)==0&&Ft(fn==null?void 0:fn.data)}),Ur=(Ut,fn)=>{Ut==="CPU"?(Tn?(0,pn.BU)():(0,pn.Dj)(document.getElementById(`tj${fn}`)),zt(!Tn)):(na?(0,pn.BU)():(0,pn.Dj)(document.getElementById(`tj${fn}`)),Xa(!na))},_r=(Ut,fn,Hn)=>{const ma=fn==="CPU"?"cpuUsageChart":"memoryUsageChart";let Qe=Ut.map(it=>{var Vn,Gn,Qn,Wa;const wa=(Vn=it.promQueryResult)==null?void 0:Vn[ma],va=`${it.envId}-${it.myPracticalTrainingId}_${fn}`,Ma=((Wa=(Qn=(Gn=wa==null?void 0:wa.results[va])==null?void 0:Gn.frames[0])==null?void 0:Qn.data)==null?void 0:Wa.values)||[];return Ma.length>0?Ma[Hn]:[]});return Qe.some(it=>Array.isArray(it)&&it.length>0)?Qe:[]},bt=Ut=>{Ht(Ut),bn()},bn=()=>{Ft([]),lr("")},On=Ut=>{let fn=!1;for(let Hn=0;Hn<(yt==null?void 0:yt.length);Hn++){let ma=_r(yt,Ut,1)[Hn];if(ma&&(ma==null?void 0:ma.length)>0){fn=!0;break}}return(yt==null?void 0:yt.length)>0&&fn};return Jt.createElement(Jt.Fragment,null,Jt.createElement("div",{className:`${de.flex_warp}`},Jt.createElement(Ge.Z,{allowClear:!0,showSearch:!0,value:gr,style:{width:280},onSearch:or,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(Ut,fn)=>{lr(Ut),fn!=null&&fn.key&&Ht(Number(fn==null?void 0:fn.key))},onClear:bn,size:"large"},ht==null?void 0:ht.map((Ut,fn)=>Jt.createElement(_t,{key:Ut.id,value:Ut.name},Ut.name.length>4?`${Ut.name.slice(0,4)}...`:Ut.name,`( ${Ut.phone?Ut.phone:""} ${Ut.mail?` - ${Ut.mail}`:""})`))),Jt.createElement("div",null,Jt.createElement(ye.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:on,onChange:Ut=>{At(Ut)}},br.map((Ut,fn)=>Jt.createElement(ye.default.Option,{key:fn,value:Ut},Ut))),Jt.createElement(an,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:Bt,disabledDate:Ut=>rt(Ut,Bt,15),format:"YYYY-MM-DD HH:mm",onChange:Ut=>{nn(Ut),At(void 0)}}))),Jt.createElement(ce.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:Xt,onChange:Ut=>bt(Ut),dataSource:Ot,titleWidth:60,key:1}),Jt.createElement(ce.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(We==null?void 0:We.length)==0?"mt0":"",style:{marginBottom:(We==null?void 0:We.length)>0?"0px":"17px"},value:Xt,onChange:Ut=>bt(Ut),dataSource:We,titleWidth:60,key:2}),(De=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:De.map((Ut,fn)=>Jt.createElement("div",{className:`${de.chart_content}`,key:fn,id:`tj${fn}`},Jt.createElement("div",{className:de.chart_title},Jt.createElement("span",null,Ut==null?void 0:Ut.name,"\u4F7F\u7528\u91CF"),Jt.createElement("i",{className:`${de.fullscreen} - iconfont - ${(Ut==null?void 0:Ut.type)=="CPU"?Tn?"icon-tuichuquanping2":"icon-quanping2":na?"icon-tuichuquanping2":"icon-quanping2"} - `,onClick:()=>Ur(Ut.type,fn)})),Jt.createElement(et.Z,{spinning:Nt},On(Ut.type)?Jt.createElement("div",{style:{marginTop:(Ut==null?void 0:Ut.type)=="CPU"?Tn?"7%":"":na?"7%":""}},Jt.createElement(se,{dataInfo:{y:_r(yt,Ut==null?void 0:Ut.type,1)||[],x:_r(yt,Ut==null?void 0:Ut.type,0)||[]},startAndEndTime:Bt,colors:rr,indexKey:fn,valueName:yt.map(Hn=>Hn.name),imageTypeName:yt.map(Hn=>{var ma;return(ma=Hn==null?void 0:Hn.promQueryResult)==null?void 0:ma.imageTypeName}),key:`${fn}-${za}`}),Jt.createElement("div",{className:de.info_con},Jt.createElement("div",{className:de.info_top},Jt.createElement("div",null,"\u6700\u5927\u503C"),Jt.createElement("div",null,"\u6700\u5C0F\u503C"),Jt.createElement("div",null,"\u5E73\u5747\u503C")),yt.map((Hn,ma)=>{var Qe;let gt=Hn==null?void 0:Hn.promQueryResult;return Jt.createElement("div",{className:de.listdata,key:ma},Jt.createElement("div",{className:de.block,style:{backgroundColor:rr[ma],marginRight:10}}),Jt.createElement("div",{className:de.typename},(Qe=Hn==null?void 0:Hn.promQueryResult)==null?void 0:Qe.imageTypeName),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuMaxDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleMaxValue}MiB`),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuMinDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleMinValue}MiB`),Jt.createElement("div",{className:de.val},(Ut==null?void 0:Ut.type)=="CPU"?`${gt==null?void 0:gt.cpuAvgDoubleValue}Cores`:`${gt==null?void 0:gt.memoryDoubleAvgValue}MiB`))}))):Jt.createElement(En.Z,null)))))},hn=ue(59301),tt=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())}),wt=({getApi:Tt,identifier:Gt,visible:en,info:Rn})=>{const[Rt,De]=(0,ae.useState)({}),[We,dt]=(0,ae.useState)(!0);(0,ae.useEffect)(()=>{dt(!0)},[en]),(0,ae.useEffect)(()=>{Tt&&We&&Ot()},[Tt]);const Ot=()=>tt(void 0,null,function*(){const $t=yield(0,fe.ZP)(`/api/shixuns/${Gt}/cpu_basic_data.json`,{method:"get"});($t==null?void 0:$t.status)==0&&De($t)});return hn.createElement("div",null,hn.createElement(jn,{isFirst:We,setIsFirst:$t=>dt($t),identifier:Gt,data:Rt,info:Rn}))},Ln=ue(49661),un=ue(76560),Un=ue(67135),Le=ue(23869),xe=ue(59301),Ve=(Tt,Gt,en)=>new Promise((Rn,Rt)=>{var De=Ot=>{try{dt(en.next(Ot))}catch($t){Rt($t)}},We=Ot=>{try{dt(en.throw(Ot))}catch($t){Rt($t)}},dt=Ot=>Ot.done?Rn(Ot.value):Promise.resolve(Ot.value).then(De,We);dt((en=en.apply(Tt,Gt)).next())});const Pt=({globalSetting:Tt,dispatch:Gt,practiceSetting:en,shixunsDetail:Rn,visible:Rt,onCancel:De,info:We,identifier:dt,isJupyter:Ot,onOk:$t})=>{const[Xt,Ht]=(0,ae.useState)("1"),[on,At]=(0,ae.useState)("\u63A8\u8350\u914D\u7F6E"),[Bt,nn]=(0,ae.useState)([]),[ht,Ft]=(0,ae.useState)(!1),[Nt,sn]=(0,ae.useState)(!1),[yt,Mt]=(0,ae.useState)({}),[Tn,zt]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{Rt&&(sn(!1),Ht("1"),At("\u63A8\u8350\u914D\u7F6E"),(We==null?void 0:We.type)=="\u6311\u6218\u9875\u9762"?nn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):nn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),Mt({}),na(),(We==null?void 0:We.type)=="\u6311\u6218\u9875\u9762"&&Gt({type:"shixunsDetail/getShixunsDetail",payload:{id:dt}}))},[Rt]);const na=()=>Ve(void 0,null,function*(){zt(!0);const fr=yield(0,Un.HS)(dt);[0,-10].includes(fr.status)&&(Mt(fr),zt(!1))}),Xa=fr=>{fr=="2"?sn(!0):sn(!1),Ht(fr)},gr=()=>{x.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:xe.createElement("div",{className:"tc"},xe.createElement("img",{src:mt,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},lr=()=>Ve(void 0,null,function*(){if((0,Le.gy)(Gt,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||on=="\u5F53\u524D\u914D\u7F6E")return;Ft(!0),(yield(0,fe.ZP)(`/api/shixuns/${dt}/apply_recommend_config.json`,{method:"put",body:{data:on=="\u63A8\u8350\u914D\u7F6E"?yt==null?void 0:yt.recommend:yt==null?void 0:yt.high}})).status==0&&(Oe.ZP.success("\u5E94\u7528\u6210\u529F"),Ft(!1),De(),$t())}),za=()=>Ve(void 0,null,function*(){var fr,or;if(yield Mr(),(0,Ln.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(fr=Rn.detail)!=null&&fr.is_jupyter||(or=Rn.detail)!=null&&or.is_jupyter_lab){Gt({type:"shixunsDetail/execJupyter",payload:{id:dt}}).then(Ur=>{var _r;Ur!=null&&Ur.identifier&&((_r=un.history)==null||_r.push(`/tasks/${Ur.identifier}/jupyter`))});return}Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Za=Ot?yield(0,Un.BK)({id:dt}):yield(0,Un.Ir)({id:dt});if(Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Za!=null&&Za.game_identifier||Za!=null&&Za.identifier){(0,Ln.xg)(Ot?`/tasks/${Za==null?void 0:Za.identifier}/jupyter`:`/tasks/${Za.game_identifier}`);return}(Za==null?void 0:Za.status)===-3?(0,Ln.eF)():(Za==null?void 0:Za.status)===2?br(Za==null?void 0:Za.message):(Za==null?void 0:Za.status)===3&&rr(Za==null?void 0:Za.message)}),Mr=()=>new Promise((fr,or)=>{var Za;(Za=en==null?void 0:en.sideBar)!=null&&Za.confirmLeave?x.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Gt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),fr()},onCancel:()=>{or()}}):fr()}),br=fr=>{fr=fr!=null&&fr.includes(".json")?fr:`${fr}.json`,x.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:xe.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ve(void 0,null,function*(){const or=yield(0,fe.ZP)("/api"+fr,{method:"get"});if(!or)return;Oe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Za=yield(0,Un.Ir)({id:or.shixun_identifier});if(Za!=null&&Za.game_identifier){(0,Ln.xg)(`/tasks/${Za.game_identifier}`);return}(Za==null?void 0:Za.status)===2?br(Za==null?void 0:Za.message):(Za==null?void 0:Za.status)===3&&rr(Za==null?void 0:Za.message)})})},rr=fr=>{x.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:xe.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",fr,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return xe.createElement(xe.Fragment,null,xe.createElement(ke.Z,{title:null,placement:"right",open:Rt,width:1e3,onClose:De,closeIcon:null,footer:null},xe.createElement("div",{className:Ne.header_body},xe.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),xe.createElement(Me.Z,{className:Ne.close,onClick:De})),xe.createElement(Te.default,{activeKey:Xt,onChange:Xa},xe.createElement(Te.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},xe.createElement(et.Z,{spinning:Tn,size:"large",tip:xe.createElement("div",{style:{color:"#666",fontSize:"14px"}},xe.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),xe.createElement("div",{style:{lineHeight:"26px"}},"\u7CFB\u7EDF\u6B63\u5728\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\u8BA1\u7B97\u63A8\u8350\u914D\u7F6E",xe.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(yt==null?void 0:yt.status)==0?xe.createElement(xe.Fragment,null,xe.createElement("div",{className:Ne.recommend_config_introduce},xe.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),xe.createElement("div",null,"\u63A8\u8350\u914D\u7F6E\uFF1A\u7CFB\u7EDF\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\uFF0C\u8BA1\u7B97\u51FA\u63A8\u8350\u914D\u7F6E\u3002\u4F7F\u7528\u7684\u4EBA\u8D8A\u591A\uFF0C\u63A8\u8350\u8D8A\u51C6\u786E\u3002"),xe.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),xe.createElement("div",{className:Ne.recommend_config},Bt.map((fr,or)=>xe.createElement("div",{className:`${Ne.recommend_config_item} ${fr==on?Ne.recommend_config_active_item:""}`,key:fr,onClick:()=>At(fr)},xe.createElement("div",{className:Ne.item_title},xe.createElement("div",null,fr),or==1?xe.createElement("div",{className:Ne.recommend_text},"\u63A8\u8350"):xe.createElement(xe.Fragment,null)),(fr=="\u5F53\u524D\u914D\u7F6E"&&(yt==null?void 0:yt.current)||fr=="\u63A8\u8350\u914D\u7F6E"&&(yt==null?void 0:yt.recommend)||fr=="\u589E\u5F3A\u914D\u7F6E"&&(yt==null?void 0:yt.high)||[]).map((Za,Ur)=>xe.createElement("div",{className:Ne.item_content,key:Ur},xe.createElement("span",null,Za==null?void 0:Za.image_name),Za!=null&&Za.cpu_limit?xe.createElement("span",null,Za==null?void 0:Za.cpu_limit,"\u6838",Za==null?void 0:Za.memory_limit,"G"):xe.createElement("div",null,xe.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),xe.createElement(Ce.Z,{title:xe.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",xe.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",xe.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},xe.createElement(lt.Z,{className:Ne.tooltip})))))))),xe.createElement("div",{className:Ne.recommend_config_footer},xe.createElement("div",null,xe.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),xe.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>gr()},"\u8054\u7CFB\u7BA1\u7406\u5458")),xe.createElement(ct.ZP,{type:"primary",shape:"round",disabled:on=="\u5F53\u524D\u914D\u7F6E",onClick:lr,loading:ht},"\u4E00\u952E\u5E94\u7528"))):Tn?xe.createElement("div",{style:{height:400}}):xe.createElement("div",{className:Ne.no_data},xe.createElement("img",{src:$e,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),xe.createElement("p",{className:"mt20 mb20 font14",style:{color:"#7B8394",width:"100%",lineHeight:"26px"}},"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6CA1\u6709\u4EFB\u4F55\u4EBA\u4F7F\u7528\u8FC7\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u6839\u636E\u5B9E\u9645\u4F7F\u7528\u60C5\u51B5\u7ED9\u51FA\u63A8\u8350\u914D\u7F6E\u3002",xe.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(We==null?void 0:We.type)!="\u6311\u6218\u9875\u9762"&&xe.createElement("div",{className:Ne.application,onClick:()=>{za(),De()}},"\u6A21\u62DF\u5B9E\u6218")))),xe.createElement(Te.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},xe.createElement(wt,{getApi:Nt,identifier:dt,visible:Rt,info:We})))))};var Lt=(0,un.connect)(({globalSetting:Tt,practiceSetting:Gt,shixunsDetail:en})=>({globalSetting:Tt,practiceSetting:Gt,shixunsDetail:en}))(Pt)},40151:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Be}});var ae=ue(59301),x=ue(43418),Oe=ue(3113),ke=ue(8591),Te=ue(99313),et=ue(71418),Ce=ue(10311),ct=ue(5871),Ne=ue(1710),Me={modal:"modal___aF6vS",con_warp:"con_warp___W1gHS",flex:"flex___Cbe__",config_Warp:"config_Warp___lXnUZ",config_btn:"config_btn___OAH7T",sceneList:"sceneList___N5Y3k",sceneItem:"sceneItem____bE1H",sceneItemActive:"sceneItemActive___e82B8"},lt=ue(11724),mt=ue(62772),$e=ue(82093),fe=ue(57884),a=ue(59301),E=Object.defineProperty,b=Object.defineProperties,y=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(rt,Xe,ut)=>Xe in rt?E(rt,Xe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):rt[Xe]=ut,de=(rt,Xe)=>{for(var ut in Xe||(Xe={}))ne.call(Xe,ut)&&ce(rt,ut,Xe[ut]);if(ee)for(var ut of ee(Xe))se.call(Xe,ut)&&ce(rt,ut,Xe[ut]);return rt},ye=(rt,Xe)=>b(rt,y(Xe)),Ae=(rt,Xe,ut)=>new Promise((mn,ln)=>{var En=ha=>{try{Jt(ut.next(ha))}catch(_t){ln(_t)}},pn=ha=>{try{Jt(ut.throw(ha))}catch(_t){ln(_t)}},Jt=ha=>ha.done?mn(ha.value):Promise.resolve(ha.value).then(En,pn);Jt((ut=ut.apply(rt,Xe)).next())}),Be=({visible:rt,onOk:Xe,onCancel:ut,info:mn})=>{var ln,En,pn,Jt,ha;const[_t,an]=(0,ae.useState)("1"),[Nn,jn]=(0,ae.useState)([]),[hn,tt]=(0,ae.useState)([]),[st,wt]=(0,ae.useState)(0),[Ln,un]=(0,ae.useState)(null),[Un,Le]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{rt&&(xe(),Ve(),Pt())},[rt]);const xe=()=>{an("1"),jn([]),un(null),wt(0)};(0,ae.useEffect)(()=>{var We,dt;((dt=(We=hn==null?void 0:hn[st])==null?void 0:We.content)==null?void 0:dt.length)>0&&un(ye(de({},hn[st].content[0]),{index:0}))},[_t,st,hn]);const Ve=()=>Ae(void 0,null,function*(){Le(!0),yield(0,$e.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(We=>{let{max_cpu:dt,max_memory:Ot,min_cpu:$t,min_memory:Xt}=We,{cpu:Ht,memory:on}=mn;jn([{name:"CPU",value:Ht,min:$t,max:dt,typeName:"\u6838"},{name:"\u5185\u5B58",value:on,min:Xt,max:Ot,typeName:"GB"}])}),Le(!1)}),Pt=()=>Ae(void 0,null,function*(){yield(0,$e.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(We=>{var dt;if(tt(We),(We==null?void 0:We.length)>0){let Ot=ye(de({},(dt=We==null?void 0:We[0])==null?void 0:dt.content[0]),{index:0});un(Ot)}})}),Lt=We=>{an(We),We==="2"&&wt(0)},Tt=(We,dt)=>{jn(Nn.map(Ot=>Ot.name===We?dt(Ot):Ot))},Gt=(We,dt)=>{isNaN(We)||Tt(dt,Ot=>ye(de({},Ot),{value:We}))},en=We=>{var dt;if(console.log("decline",We.value),We.value=Number(We.value),We.value<=((dt=We.min)!=null?dt:-1/0))return;let Ot=We.value-.5ye(de({},$t),{value:Ot}))},Rn=We=>{var dt;if(We.value=Number(We.value),We.value>=((dt=We.max)!=null?dt:1/0))return;let Ot=We.value+.5>We.max?We.max:We.value+.5;Tt(We.name,$t=>ye(de({},$t),{value:Ot}))},Rt=(We,dt)=>{isNaN(We)||Tt(dt,Ot=>ye(de({},Ot),{value:We}))},De=We=>{if(We==null||Number.isInteger(We))return We;const dt=We%1;return dt===.5?We:Math.floor(We)+(dt<.5?.5:1)};return a.createElement(a.Fragment,null,a.createElement(x.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:rt,width:752,destroyOnClose:!0,centered:!0,onCancel:ut,className:Me.modal,footer:[a.createElement("div",{className:Me.btn_warp,key:"1"},a.createElement(Oe.ZP,{onClick:ut},"\u53D6\u6D88"),a.createElement(Oe.ZP,{type:"primary",onClick:()=>{let We=de({},mn);if(_t=="1")We.cpu=Nn[0].value,We.memory=Nn[1].value;else if(_t=="2"){if(!Ln){ke.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}We=ye(de({},We),{cpu:Ln.cpu,memory:Ln.memory})}Xe(We)}},"\u4FDD\u5B58"))]},a.createElement(Te.default,{activeKey:_t,onChange:Lt},a.createElement(Te.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},a.createElement(et.Z,{spinning:Un},Nn==null?void 0:Nn.map(We=>a.createElement("div",{className:Me.con_warp,key:We==null?void 0:We.name},a.createElement("div",null,We==null?void 0:We.name),a.createElement("div",null,a.createElement(Ce.Z,{min:We==null?void 0:We.min,max:We==null?void 0:We.max,onChange:dt=>Gt(dt,We==null?void 0:We.name),value:We==null?void 0:We.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),a.createElement("div",{className:`${Me.config_Warp} ${Me.flex}`},a.createElement("div",{className:`${Me.config_btn} ${Me.flex}`,onClick:()=>en(We)},a.createElement(lt.Z,null)),a.createElement(ct.Z,{min:We==null?void 0:We.min,max:We==null?void 0:We.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:We==null?void 0:We.value,onChange:dt=>{const Ot=De(dt);Rt(Ot,We==null?void 0:We.name)}}),a.createElement("div",{className:`${Me.config_btn} ${Me.flex}`,onClick:()=>Rn(We)},a.createElement(mt.Z,null))),a.createElement("div",null,We==null?void 0:We.typeName))))),(hn==null?void 0:hn.length)>0&&a.createElement(Te.default.TabPane,{tab:"\u6309\u504F\u597D\u914D\u7F6E",key:2},a.createElement("div",{className:Me.sceneList},hn==null?void 0:hn.map((We,dt)=>a.createElement("div",{className:`${Me.sceneItem} ${st==dt&&Me.sceneItemActive}`,key:We==null?void 0:We.id,onClick:()=>{wt(dt)}},We==null?void 0:We.name))),((En=(ln=hn==null?void 0:hn[st])==null?void 0:ln.content)==null?void 0:En.length)>0?a.createElement(Ne.default,{rowSelection:{type:"radio",selectedRowKeys:[Ln==null?void 0:Ln.index],onChange:(We,dt)=>{un(dt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(We,dt)=>a.createElement("div",null,We,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(We,dt)=>a.createElement("div",null,We,"GB")}],dataSource:(pn=hn==null?void 0:hn[st])==null?void 0:pn.content.map((We,dt)=>ye(de({},We),{index:dt})),rowKey:"index",pagination:!1,scroll:((ha=(Jt=hn==null?void 0:hn[st])==null?void 0:Jt.content)==null?void 0:ha.length)>3?{y:148}:{}}):a.createElement(fe.Z,null)))))}},22734:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(43418),ke=ue(8591),Te=ue(3113),et=ue(24905),Ce=ue(5112),ct=ue(88522),Ne=ue(49127),Me=ue(5083),lt=ue(5871),mt=ue(10527),$e=ue(84236),fe=ue(23869),a=ue(56656),E=ue.n(a),b={wrap:"wrap___LhoYE",labelWrap:"labelWrap___kKVu_",label:"label___we33R",labelContent:"labelContent___RWgKj",flexRow:"flexRow___WhVXT",color999:"color999___R1ot6",radio:"radio___S0Uhc",selectSchool:"selectSchool___egsX3",dataPicker:"dataPicker___zNtLB",modal:"modal___J1s9f",colorOrange:"colorOrange___NDyE2",colorYellow:"colorYellow___Ijswi",bottomButton:"bottomButton___sODGQ"},y=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(Be,rt)=>{var Xe={};for(var ut in Be)ee.call(Be,ut)&&rt.indexOf(ut)<0&&(Xe[ut]=Be[ut]);if(Be!=null&&y)for(var ut of y(Be))rt.indexOf(ut)<0&&ne.call(Be,ut)&&(Xe[ut]=Be[ut]);return Xe},ce=(Be,rt,Xe)=>new Promise((ut,mn)=>{var ln=Jt=>{try{pn(Xe.next(Jt))}catch(ha){mn(ha)}},En=Jt=>{try{pn(Xe.throw(Jt))}catch(ha){mn(ha)}},pn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(ln,En);pn((Xe=Xe.apply(Be,rt)).next())});const de=Be=>{if(!Be)return Be;const rt=Be.split(":");if(rt[1]=="00"||rt[1]=="30")return Be;const Xe=parseInt(rt[1]);if(Xe<30||Xe==60)return[rt[0],"30"].join(":");if(Xe<60){const ut=[rt[0],"00"].join(":"),mn="YYYY-MM-DD HH:mm",ln=E()(ut,mn);return ln.add(1,"hours"),ln.format(mn)}return Be},ye="YYYY-MM-DD HH:mm",Ae=Be=>{var rt=Be,{shixunsDetail:Xe,globalSetting:ut,loading:mn,user:ln,dispatch:En}=rt,pn=se(rt,["shixunsDetail","globalSetting","loading","user","dispatch"]),Jt,ha,_t,an,Nn,jn,hn,tt,st;const wt=(0,ae.useRef)(),[Ln,un]=(0,ae.useState)(),[Un,Le]=(0,ae.useState)(),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(""),[en,Rn]=(0,ae.useState)(),[Rt,De]=(0,ae.useState)(),[We,dt]=(0,ae.useState)(),[Ot,$t]=(0,ae.useState)(!1),Xt=(ha=(Jt=ln.userInfo)==null?void 0:Jt.shixun)==null?void 0:ha.editable;(0,ae.useEffect)(()=>{var ht,Ft;wt.current=(Ft=(ht=location.pathname)==null?void 0:ht.split("/"))==null?void 0:Ft[2],Ht()},[]),(0,ae.useEffect)(()=>{var ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Xa,gr,lr,za,Mr;Xe.setting&&(un((Ft=(ht=Xe.setting)==null?void 0:ht.shixun)==null?void 0:Ft.can_copy),Le((sn=(Nt=Xe.setting)==null?void 0:Nt.shixun)==null?void 0:sn.use_scope),Rn(!!((Mt=(yt=Xe.setting)==null?void 0:yt.shixun)!=null&&Mt.opening_time)),De((zt=(Tn=Xe.setting)==null?void 0:Tn.shixun)==null?void 0:zt.opening_time),Ve((Xa=(na=Xe.setting)==null?void 0:na.shixun)==null?void 0:Xa.scope_partment),$t((lr=(gr=Xe.setting)==null?void 0:gr.shixun)==null?void 0:lr.use_ai),dt((Mr=(za=Xe.setting)==null?void 0:za.shixun)==null?void 0:Mr.git_size))},[Xe.setting]);const Ht=ht=>ce(void 0,null,function*(){const Ft=yield En({type:"shixunsDetail/getDepartments",payload:{q:ht}});Ft&&Lt(Ft.shools_name||[])}),on=()=>ce(void 0,null,function*(){var ht,Ft,Nt,sn,yt,Mt;const Tn=(yield En({type:"shixunsDetail/getShixunQuote",payload:{id:wt.current}}))||{};Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ae.createElement("div",{className:`tc font14 ${b.modal}`},!!((ht=Tn.subjects)!=null&&ht.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(Nt=(Ft=Tn.subjects)==null?void 0:Ft.splice(0,2))==null?void 0:Nt.map(zt=>`\u300A${zt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},Tn==null?void 0:Tn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ae.createElement("br",null)),!!((sn=Tn.courses)!=null&&sn.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Mt=(yt=Tn.courses)==null?void 0:yt.splice(0,2))==null?void 0:Mt.map(zt=>`\u300A${zt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},Tn==null?void 0:Tn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ae.createElement("br",null)),ae.createElement("span",{className:`${b.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>ce(void 0,null,function*(){(yield En({type:"shixunsDetail/deleteShixun",payload:{id:wt.current}})).status===1&&(ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),x.history.push("/shixuns"))})})}),At=()=>{(0,fe.gy)(En,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},Bt=ht=>{if(xe.includes(ht)){ke.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Gt(null),Ve([...xe,ht])},nn=()=>ce(void 0,null,function*(){if(en&&!Rt){ke.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Un===1&&!xe.length){ke.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield En({type:"shixunsDetail/updatePermissionSetting",payload:{id:wt.current,scope_partment:Un===0?null:xe,shixun:{can_copy:Ln,use_scope:Un,opening_time:Rt,use_ai:Ot,git_size:We}}})).status!==-1&&(ke.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),En({type:"shixunsDetail/getSettingsData",payload:{id:wt.current}}),En({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.current}}))});return ae.createElement("div",null,ae.createElement("section",{className:b.wrap},ae.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((_t=Xe==null?void 0:Xe.detail)==null?void 0:_t.shixun_status)!==2?ae.createElement(Te.ZP,{danger:!0,onClick:on},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ae.createElement(Te.ZP,{danger:!0,onClick:At},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u590D\u5236\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ln,onChange:ht=>un(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((an=Xe.detail)==null?void 0:an.shixun_status)>1||((Nn=Xe.detail)==null?void 0:Nn.public)===2)&&((hn=(jn=Xe.setting)==null?void 0:jn.shixun)==null?void 0:hn.use_scope)===0&&((tt=Xe.detail)==null?void 0:tt.identity)>2)&&ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement(Ce.ZP.Group,{value:Un,onChange:ht=>Le(ht.target.value),disabled:!Xt},ae.createElement(Ce.ZP,{className:b.radio,value:0},ae.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement(Ce.ZP,{className:b.radio,value:1},ae.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Un===1&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"mt10"},ae.createElement(ct.Z,{showSearch:!0,className:b.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Tt,onChange:ht=>{Gt(ht),Ht(ht)},disabled:!Xt,onSelect:Bt,options:Pt==null?void 0:Pt.map(ht=>({value:ht}))}),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement("div",{className:"mt10"},xe==null?void 0:xe.map(ht=>Xt?ae.createElement(Ne.Z,{count:"x",className:"mr20 current",onClick:()=>Ve(xe.filter(Ft=>Ft!==ht))},ae.createElement(Te.ZP,{type:"primary",ghost:!0},ht)):ae.createElement(Te.ZP,{type:"primary",ghost:!0,className:"mr20"},ht)))))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:en,onChange:ht=>Rn(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),en&&ae.createElement(Me.default,{className:`${b.dataPicker} mt10`,format:ye,locale:mt.Z,disabled:!Xt,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:ht=>ht&&htDe(de(Ft))}))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"AI\u52A9\u6559:"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ot,onChange:ht=>$t(ht.target.checked),disabled:!Xt}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u9664\u4E86\u9879\u76EE\u5408\u4F5C\u8005\u4E4B\u5916\u7684\u5176\u4ED6\u7528\u6237\u4F7F\u7528AI\u52A9\u6559\u667A\u80FD\u95EE\u7B54\u529F\u80FD\uFF09")))),((st=ln==null?void 0:ln.userInfo)==null?void 0:st.role)===1&&ae.createElement("div",{className:b.labelWrap,style:{alignItems:"center"}},ae.createElement("label",{className:b.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(lt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:We,onChange:ht=>{dt(ht)}}),ae.createElement("span",{className:"c-grey-999"}," M "))))),ae.createElement($e.t,{okText:"\u4FDD\u5B58",hasOkBtn:Xt,loading:mn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>x.history.push(`/shixuns/${wt.current}/challenges`),onOk:nn,className:b.bottomButton}))};var Ge=(0,x.connect)(({shixunsDetail:Be,loading:rt,globalSetting:Xe,user:ut})=>({shixunsDetail:Be,globalSetting:Xe,user:ut,loading:rt}))(Ae)},4737:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76560),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5966),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(22734),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(90524),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(23869),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(34055),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(21693),React=__webpack_require__(59301),__async=(we,St,ue)=>new Promise((ae,x)=>{var Oe=et=>{try{Te(ue.next(et))}catch(Ce){x(Ce)}},ke=et=>{try{Te(ue.throw(et))}catch(Ce){x(Ce)}},Te=et=>et.done?ae(et.value):Promise.resolve(et.value).then(Oe,ke);Te((ue=ue.apply(we,St)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=we=>{if(!we)return we;const St=we.split(":");if(St[1]=="00"||St[1]=="30")return we;const ue=parseInt(St[1]);if(ue<30||ue==60)return[St[0],"30"].join(":");if(ue<60){const ae=[St[0],"00"].join(":"),x="YYYY-MM-DD HH:mm",Oe=moment__WEBPACK_IMPORTED_MODULE_3___default()(ae,x);return Oe.add(1,"hours"),Oe.format(x)}return we};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=we=>__async(this,null,function*(){const St=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:we}});St&&setDepartmentList(St.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var we,St;(St=(we=shixunsDetail.setting)==null?void 0:we.shixun)!=null&&St.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=we=>{if(selectDepartmentList.includes(we)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,we])},handleInitState=()=>{var we,St,ue,ae,x,Oe,ke,Te,et,Ce,ct,Ne,Me,lt,mt,$e,fe,a,E,b,y,ee,ne,se,ce,de,ye,Ae,Ge,Be,rt,Xe,ut,mn,ln,En,pn,Jt,ha,_t,an,Nn,jn,hn,tt,st,wt;setCodeEditPermission((St=(we=shixunsDetail.setting)==null?void 0:we.shixun)==null?void 0:St.code_edit_permission),setAllowFileUpload((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.allow_file_upload),setCodeHidden((Oe=(x=shixunsDetail.setting)==null?void 0:x.shixun)==null?void 0:Oe.show_code_dir),setForbidCopy((Te=(ke=shixunsDetail.setting)==null?void 0:ke.shixun)==null?void 0:Te.forbid_copy),setTaskPass((Ce=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:Ce.task_pass),setTestSetPermission((Ne=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Ne.test_set_permission),set_display_git_address((Me=shixunsDetail.setting.shixun)==null?void 0:Me.display_git_address),setIsCopy((mt=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:mt.can_copy),setOpenValue((fe=($e=shixunsDetail.setting)==null?void 0:$e.shixun)==null?void 0:fe.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(b=shixunsDetail.setting)==null?void 0:b.shixun)!=null&&y.opening_time)),setOpenTime((ne=(ee=shixunsDetail.setting)==null?void 0:ee.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((ce=(se=shixunsDetail.setting)==null?void 0:se.shixun)==null?void 0:ce.scope_partment),setDisableDiscuss((ye=(de=shixunsDetail.setting)==null?void 0:de.shixun)==null?void 0:ye.is_disable_discuss),setdisableAI((Ge=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((rt=(Be=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:rt.resource_recommend),setOpenCodeDebugger((ut=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:ut.open_code_debugger),setStartPermanent((ln=(mn=shixunsDetail.setting)==null?void 0:mn.shixun)==null?void 0:ln.start_permanent),setOpenSelfRun((pn=(En=shixunsDetail.setting)==null?void 0:En.shixun)==null?void 0:pn.open_self_run),setgitSize((ha=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:ha.git_size),setcourse_workspace_file_time((an=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:an.course_workspace_file_time),setPodSwitch((jn=(Nn=shixunsDetail.setting)==null?void 0:Nn.shixun)==null?void 0:jn.exit_delete_pod_switch),setai_user((tt=(hn=shixunsDetail.setting)==null?void 0:hn.shixun)==null?void 0:tt.ai_user),setOpenLocalEvaluate((wt=(st=shixunsDetail.setting)==null?void 0:st.shixun)==null?void 0:wt.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((we,St)=>{var ue,ae;we!=((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.scope_partment[St])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(we=!1,St=1){return __async(this,null,function*(){var ue,ae;const x=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:we}});(x==null?void 0:x.status)===0&&((ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ae=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ae.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,St))})}const handleDeleteShixun=()=>__async(this,null,function*(){var we,St,ue,ae,x,Oe;const ke=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((we=ke.subjects)!=null&&we.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(ue=(St=ke.subjects)==null?void 0:St.splice(0,2))==null?void 0:ue.map(Te=>`\u300A${Te}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},ke==null?void 0:ke.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ae=ke.courses)!=null&&ae.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Oe=(x=ke.courses)==null?void 0:x.splice(0,2))==null?void 0:Oe.map(Te=>`\u300A${Te}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},ke==null?void 0:ke.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(we){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(we),parseInt(we)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"#0A143D",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"#0A143D",marginTop:"30px",fontSize:"14px"},onClick:we=>{var St;if((St=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&St.confirmLeave){showExitmodel(we.key);return}setMenuSelectKey(we.key),parseInt(we.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:we=>setTaskPass(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:we=>setTestSetPermission(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:we=>setIsCopy(we.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:we=>setOpenValue(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:we=>{setDepartmentValue(we),handleGetDepartments(we)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(we=>({value:we}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(we=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(St=>St!==we))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},we)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},we)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:we=>setOpenAnswer(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:we=>{setIsOpenTime(we.target.checked),we.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:we=>we&&wesetOpenTime(handleDateString(St))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:we=>set_display_git_address(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:we=>{setCodeHidden(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:we=>{setCodeEditPermission(we.target.checked),we.target.checked||setAllowFileUpload(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:we=>{setAllowFileUpload(we.target.checked),we.target.checked&&setCodeEditPermission(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:we=>setForbidCopy(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"/pdf/\u5E73\u53F0\u8C03\u8BD5\u5668\u529F\u80FD\u64CD\u4F5C\u8BF4\u660E.pdf",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:we=>setOpenCodeDebugger(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:we=>setOpenSelfRun(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:we=>setOpenLocalEvaluate(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:we=>{setgitSize(we)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:we=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:we=>{setPodSwitch(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:we=>setDisableDiscuss(!we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:we=>{setresource_recommend(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:we=>{setai_user(we.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var we,St;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(we=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&we.is_fork_from_creator&&((St=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&St.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(ue,ae)=>{handSubmeit(ue,ae)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:we,shixunsDetail:St,practiceSetting:ue})=>({user:we,shixunsDetail:St,practiceSetting:ue}))(Setting)},26595:function(we,St,ue){"use strict";ue.r(St),ue.d(St,{default:function(){return io}});var ae=ue(59301),x={flex_box_center:"flex_box_center___bPWMH",flex_space_between:"flex_space_between___fjQJK",flex_box_vertical_center:"flex_box_vertical_center___WWAEa",flex_box_center_end:"flex_box_center_end___mQNLW",flex_box_column:"flex_box_column___lOsG0",menu:"menu___szqfh",warehouse:"warehouse___SVzfZ",header:"header___DfoMH",title:"title___y2IOb",content:"content___pGWUf",left:"left___eYHD7",right:"right___RbSHM",loading:"loading___g8ST2",empty:"empty___JqJWS",tabs:"tabs___fuMob",line:"line___Wav7D",footer:"footer___xymfv",commit:"commit___ZwkDv",blueLight:"blueLight___f52KB",filePathWrp:"filePathWrp____p6mm",filePath:"filePath___qkzoJ",bottom0:"bottom0___MrVME"},Oe=ue(76560),ke=ue(99313),Te=ue(6848),et=ue(8591),Ce=ue(20834),ct=ue(95237),Ne=ue(43604),Me=ue(38854),lt=ue(43418),mt=ue(71418),$e=ue(3113),fe=ue(17574),a=ue(78673),E=ue(56102),b=ue(78241),y=ue(92832),ee={wrap:"wrap___yTLAj",modal:"modal___B3dwx",title:"title___FHscn",path:"path___o7aJh",colorBlue:"colorBlue___p4I9Y",width240:"width240___UNGpD",filePath:"filePath___uTJLX"},ne=Object.defineProperty,se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ye=(xt,qe,He)=>qe in xt?ne(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Ae=(xt,qe)=>{for(var He in qe||(qe={}))ce.call(qe,He)&&ye(xt,He,qe[He]);if(se)for(var He of se(qe))de.call(qe,He)&&ye(xt,He,qe[He]);return xt},Ge=(xt,qe)=>{var He={};for(var Vt in xt)ce.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&se)for(var Vt of se(xt))qe.indexOf(Vt)<0&&de.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Be=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const rt=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:ya}=qe,rn=Ge(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),Gr=(0,Oe.useParams)(),[po,jo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[ka]=b.default.useForm(),[Dr,Lr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&ka.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const ja=sessionStorage.getItem("pathArray");if(ja){const Ka=ja.split(",").join("/"),mr=Ka.indexOf("/")===0?Ka.substr(1):Ka;Lr(mr)}},[]),(0,ae.useEffect)(()=>{var ja,Ka;cr.current=(Ka=(ja=da.pathname)==null?void 0:ja.split("/"))==null?void 0:Ka[2]},[]);const Ir=(...ja)=>Be(void 0,[...ja],function*(Ka={}){const mr=yield xn({type:"shixunsDetail/addRepositoryFile",payload:{id:Gr.id,message:Ka.commitMessage,content:"",path:(rn.defaultPath?rn.defaultPath+"/":"")+Ka.path+"/"+(Ka.file||".gitkeep"),secret_repository:ya?void 0:!0}});mr!=null&&mr.url&&(et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:(rn.defaultPath?rn.defaultPath+"/":"")+Ka.path+"/"+(Ka.file||".gitkeep"),name:Ka.path.split("/")[Ka.path.split("/").length-1]}),rn.onClose())}),Kr=()=>{var ja,Ka;Oe.history.push(`/shixuns/${cr.current}/${(Ka=(ja=da.pathname)==null?void 0:ja.split("/"))==null?void 0:Ka[3]}${Dr?`/master/shixun_show/${Dr}`:""}`)};return ae.createElement(lt.default,{width:"60%",centered:!0,open:rn.visible,wrapClassName:ee.modal,onOk:()=>{ka.submit()},onCancel:rn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},ae.createElement("section",{className:ee.bg},ae.createElement("div",{className:ee.wrap},ae.createElement(b.default,{className:"mt10",form:ka,scrollToFirstError:!0,layout:"vertical",onFinish:Ir,onChange:()=>{var ja,Ka,mr,xr;const Hr=Ae({},ka.getFieldsValue()),hr=(ja=Hr==null?void 0:Hr.path)==null?void 0:ja.split(""),Ea=(Ka=Hr==null?void 0:Hr.file)==null?void 0:Ka.split("");(mr=hr==null?void 0:hr.filter(ta=>ta=="/"))!=null&&mr.length&&(Hr.path=Hr.path.substring(0,Hr.path.length-1)),(xr=Ea==null?void 0:Ea.filter(ta=>ta=="/"))!=null&&xr.length&&(Hr.file=Hr.file.substring(0,Hr.path.length-1)),ka.setFieldsValue(Ae({},Hr)),jo(Hr)}},ae.createElement(b.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},ae.createElement(ct.Z,null,ae.createElement(Ne.Z,null,ae.createElement("span",{className:ee.filePath},rn.defaultPath+"/")),ae.createElement(Ne.Z,{flex:"1"},ae.createElement(b.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),ae.createElement(b.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),ae.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var Xe=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(rt),ut=ue(44905),mn=ue(21693),ln=ue(59301),En=Object.defineProperty,pn=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,_t=(xt,qe,He)=>qe in xt?En(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,an=(xt,qe)=>{for(var He in qe||(qe={}))Jt.call(qe,He)&&_t(xt,He,qe[He]);if(pn)for(var He of pn(qe))ha.call(qe,He)&&_t(xt,He,qe[He]);return xt},Nn=(xt,qe)=>{var He={};for(var Vt in xt)Jt.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&pn)for(var Vt of pn(xt))qe.indexOf(Vt)<0&&ha.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},jn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const hn=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:ya}=qe,rn=Nn(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),Gr=(0,Oe.useParams)(),[po,jo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[ka]=b.default.useForm(),[Dr,Lr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&ka.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const ja=sessionStorage.getItem("pathArray");if(ja){const Ka=ja.split(",").join("/"),mr=Ka.indexOf("/")===0?Ka.substr(1):Ka;Lr(mr)}},[]),(0,ae.useEffect)(()=>{var ja,Ka;cr.current=(Ka=(ja=da.pathname)==null?void 0:ja.split("/"))==null?void 0:Ka[2]},[]);const Ir=(...ja)=>jn(void 0,[...ja],function*(Ka={},mr=!1,xr=1){var Hr,hr;const Ea=yield xn({type:"shixunsDetail/addRepositoryFile",payload:{id:Gr.id,message:Ka.commitMessage,content:Ka.codeMirror,path:(rn.defaultPath?rn.defaultPath+"/":"")+Ka.path,secret_repository:ya?void 0:!0,sync_origin_shixun:mr}});Ea!=null&&Ea.url&&((Hr=He==null?void 0:He.detail)!=null&&Hr.copy_for_exercise||et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:(rn.defaultPath?rn.defaultPath+"/":"")+Ka.path,name:Ka.path.split("/")[Ka.path.split("/").length-1]}),rn.onClose()),(hr=He==null?void 0:He.detail)!=null&&hr.copy_for_exercise&&(0,mn.m)(xn,He,Gr.id,xr)}),Kr=()=>{var ja,Ka;Oe.history.push(`/shixuns/${cr.current}/${(Ka=(ja=da.pathname)==null?void 0:ja.split("/"))==null?void 0:Ka[3]}${Dr?`/master/shixun_show/${Dr}`:""}`)};return ln.createElement(lt.default,{width:"60%",open:rn.visible,wrapClassName:ee.modal,destroyOnClose:!0,centered:!0,onOk:()=>{ka.submit()},onCancel:rn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},ln.createElement("section",{className:ee.bg},ln.createElement("div",{className:ee.wrap},ln.createElement(b.default,{className:"mt10",form:ka,scrollToFirstError:!0,layout:"vertical",onFinish:ja=>{var Ka,mr;(Ka=He==null?void 0:He.detail)!=null&&Ka.is_fork_from_creator&&((mr=He==null?void 0:He.detail)!=null&&mr.copy_for_exercise)?(rn.onClose(),xn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:ja,type:"wareHouse",fn:(xr,Hr,hr)=>{Ir(xr,Hr,hr)}}})):Ir(ja)},onChange:()=>{var ja,Ka;const mr=an({},ka.getFieldsValue()),xr=(ja=mr==null?void 0:mr.path)==null?void 0:ja.split("");((Ka=xr==null?void 0:xr.filter(Hr=>Hr=="/"))==null?void 0:Ka.length)>1&&(mr.path=mr.path.substring(0,mr.path.length-1)),ka.setFieldsValue(an({},mr)),jo(mr)}},ln.createElement(b.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},ln.createElement(ct.Z,null,ln.createElement(Ne.Z,null,ln.createElement("span",{className:ee.filePath},rn.defaultPath+"/")),ln.createElement(Ne.Z,{flex:"1"},ln.createElement(b.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ln.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),ln.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ln.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),ln.createElement("div",{className:"mt10 mb20"},ln.createElement(b.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},ln.createElement(ut.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var tt=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(hn),st=Object.defineProperty,wt=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Un=(xt,qe,He)=>qe in xt?st(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Le=(xt,qe)=>{for(var He in qe||(qe={}))Ln.call(qe,He)&&Un(xt,He,qe[He]);if(wt)for(var He of wt(qe))un.call(qe,He)&&Un(xt,He,qe[He]);return xt},xe=(xt,qe)=>{var He={};for(var Vt in xt)Ln.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&wt)for(var Vt of wt(xt))qe.indexOf(Vt)<0&&un.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Ve=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const Pt=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:ya}=qe,rn=xe(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),Gr=(0,Oe.useParams)(),[po,jo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[ka]=b.default.useForm(),[Dr,Lr]=(0,ae.useState)(""),[Ir,Kr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{rn.visible&&ka.resetFields()},[rn.visible]),(0,ae.useEffect)(()=>{const mr=rn.defaultPath.split("/");mr.length===1?(Lr(""),Kr(rn.defaultPath)):(Kr(mr.pop()),Lr(mr.join("/")+"/"))},[rn.defaultPath]),(0,ae.useEffect)(()=>{var mr,xr;cr.current=(xr=(mr=da.pathname)==null?void 0:mr.split("/"))==null?void 0:xr[2]},[]);const ja=(...mr)=>Ve(void 0,[...mr],function*(xr={}){const Hr=yield xn({type:"shixunsDetail/moveGitFile",payload:{id:Gr.id,from:rn.defaultPath,to:Dr+xr.path,message:xr.commitMessage||`${rn.defaultPath} rename to ${Dr}${xr.path} `,secret_repository:ya}});(Hr==null?void 0:Hr.status)===0&&(et.ZP.success("\u6DFB\u52A0\u6210\u529F"),rn.onOK({path:xr.path,name:xr.path}),rn.onClose())}),Ka=()=>{var mr,xr;Oe.history.push(`/shixuns/${cr.current}/${(xr=(mr=da.pathname)==null?void 0:mr.split("/"))==null?void 0:xr[3]}${Dr?`/master/shixun_show/${Dr}`:""}`)};return ae.createElement(lt.default,{width:"40%",open:rn.visible,wrapClassName:ee.modal,centered:!0,onOk:()=>{ka.submit()},onCancel:rn.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},ae.createElement("section",{className:ee.bg},ae.createElement("div",{className:ee.wrap},ae.createElement(b.default,{className:"mt10",form:ka,scrollToFirstError:!0,layout:"vertical",onFinish:ja,onChange:()=>{var mr,xr;const Hr=Le({},ka.getFieldsValue()),hr=(mr=Hr==null?void 0:Hr.path)==null?void 0:mr.split("");((xr=hr==null?void 0:hr.filter(Ea=>Ea=="/"))==null?void 0:xr.length)>1&&(Hr.path=Hr.path.substring(0,Hr.path.length-1)),ka.setFieldsValue(Le({},Hr)),jo(Hr)}},ae.createElement(b.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},ae.createElement(ct.Z,null,ae.createElement(Ne.Z,{flex:"1"},ae.createElement(b.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:Ir}))))),ae.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},ae.createElement(y.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${rn.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var Lt=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(Pt),Tt=ue(90524),Gt=ue(82093),en=ue(54580),Rn=ue(17826),Rt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},De=ue(59301),We=Object.defineProperty,dt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Xt=(xt,qe,He)=>qe in xt?We(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Ht=(xt,qe)=>{for(var He in qe||(qe={}))Ot.call(qe,He)&&Xt(xt,He,qe[He]);if(dt)for(var He of dt(qe))$t.call(qe,He)&&Xt(xt,He,qe[He]);return xt},on=(xt,qe)=>{var He={};for(var Vt in xt)Ot.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&dt)for(var Vt of dt(xt))qe.indexOf(Vt)<0&&$t.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},At=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const{Dragger:Bt}=en.default,nn=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:ya}=qe,rn=on(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useLocation)(),Gr=(0,Oe.useParams)(),[po,jo]=(0,ae.useState)({}),cr=(0,ae.useRef)(),[ka]=b.default.useForm(),[Dr,Lr]=(0,ae.useState)([]),[Ir,Kr]=(0,ae.useState)();let ja;(0,ae.useEffect)(()=>{rn.visible&&(ka.resetFields(),Lr([]))},[rn.visible]),(0,ae.useEffect)(()=>{cr.current=Gr.id},[]),(0,ae.useEffect)(()=>{const Ea=sessionStorage.getItem("pathArray");if(Ea){const ta=Ea.split(",").join("/"),Ra=ta.indexOf("/")===0?ta.substr(1):ta;Kr(Ra)}},[]);const Ka=Ea=>{var ta,Ra,kr,ho;if(ja=Ea.file.name,Ea.file.status==="done"||Ea.file.status==="uploading"){if(Lr(Ea.fileList),!Ea.file.response)return;if(((ta=Ea.file.response)==null?void 0:ta.status)===0){(Ra=He==null?void 0:He.detail)!=null&&Ra.copy_for_exercise||(et.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),ka.validateFields());return}Lr(Dr.filter(Ho=>Ho.uid!==Ea.file.uid)),(kr=Ea.file.response)!=null&&kr.message&&et.ZP.info((ho=Ea.file.response)==null?void 0:ho.message)}},mr=Ea=>At(void 0,null,function*(){if(!Ea.response){et.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield xn({type:"shixunsDetail/deleteGitFile",payload:{id:Gr.id,path:Ir?`${Ir}/${Ea.name}`:Ea.name,message:ka.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${Ir?`${Ir}/${Ea.name}`:Ea.name}`,secret_repository:ya?null:!0}})).status===0&&(Lr(Dr.filter(Ra=>Ra.uid!==Ea.uid)),et.ZP.info("\u5220\u9664\u6210\u529F"))}),xr={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!ka.getFieldValue("commitMessage"),data:()=>At(void 0,null,function*(){return new Promise((Ea,ta)=>At(void 0,null,function*(){setTimeout(()=>At(void 0,null,function*(){const Ra=yield ka.getFieldsValue(),kr=Ht(Ht({},{path:rn.defaultPath?rn.defaultPath:"",message:po.commitMessage||`\u4E0A\u4F20\u4E86${ja}`}),ya?{}:{secret_repository:!0});Ea(kr)}),200)}))}),fileList:Dr,method:"post",action:`${Tt.Z.API_SERVER}/api/shixuns/${cr.current}/upload_git_file.json`,onChange:Ka,onRemove:mr,beforeUpload:Ea=>(ja=Ea.name,Ea.size/1024/1024>50?(et.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Hr=(Ea=!1,ta=1)=>At(void 0,null,function*(){var Ra;const kr=Ht(Ht({},{path:rn.defaultPath?rn.defaultPath:"",message:po.commitMessage||`\u4E0A\u4F20\u4E86${ja}`}),ya?{}:{secret_repository:!0});for(let ho=0;ho{Ho.append(Jo,kr[Jo].toString())});const Oo=yield(0,Gt.ZP)(`/api/shixuns/${cr.current}/upload_git_file.json`,{method:"post",body:Ho},!0)}rn.onClose(),rn.onOK({path:rn.defaultPath}),hr(),(Ra=He==null?void 0:He.detail)!=null&&Ra.copy_for_exercise&&(0,mn.m)(xn,He,Gr.id,ta)}),hr=()=>{var Ea,ta;Oe.history.push(`/shixuns/${cr.current}/${(ta=(Ea=da.pathname)==null?void 0:Ea.split("/"))==null?void 0:ta[3]}${Ir?`/master/shixun_show/${Ir}`:""}`)};return De.createElement(lt.default,{open:rn.visible,onOk:Ea=>{ka.submit()},centered:!0,onCancel:rn.onClose,width:"70%"},De.createElement("section",{className:Rt.bg},De.createElement("div",{className:Rt.wrap},De.createElement("div",{className:Rt.title},"\u4E0A\u4F20\u6587\u4EF6"),De.createElement(b.default,{className:"mt10",form:ka,scrollToFirstError:!0,layout:"vertical",onFinish:()=>At(void 0,null,function*(){var Ea,ta;yield ka.validateFields(),(Ea=He==null?void 0:He.detail)!=null&&Ea.is_fork_from_creator&&((ta=He==null?void 0:He.detail)!=null&&ta.copy_for_exercise)?(rn.onClose(),xn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Ra,kr)=>{Hr(Ra,kr)}}})):Hr()}),onValuesChange:()=>jo(Ht({},ka.getFieldsValue()))},De.createElement(b.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},De.createElement(y.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),De.createElement(b.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(Ea,ta){return(Dr==null?void 0:Dr.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},De.createElement("div",{onClick:()=>{if(!ka.getFieldValue("commitMessage")){et.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},De.createElement(Bt,Ht({},xr),De.createElement("div",null,De.createElement("i",{className:`iconfont icon-shangchuan font50 ${Rt.colorBlue}`})),De.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",De.createElement("span",{className:`${Rt.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),De.createElement(Rn.Z,{onFinish:Ea=>Kr(Ea)})))};var ht=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(nn),Ft={flex_box_center:"flex_box_center___UqJuy",flex_space_between:"flex_space_between___kWKf7",flex_box_vertical_center:"flex_box_vertical_center___nu70j",flex_box_center_end:"flex_box_center_end___NpRXJ",flex_box_column:"flex_box_column___mXaJ7",headLeft:"headLeft___CFA1O",colorBlue:"colorBlue___tdx2e",wrap:"wrap___Q6mHI",nodata:"nodata___f2U7q",nodataText:"nodataText___UUFGT",content:"content___nlH4h",gitCode:"gitCode___jaHbo",ellipsis:"ellipsis___wqs5z",menu:"menu___E01hA",overlayClass:"overlayClass___LrvQr",tips:"tips___XoHVF",gitTree:"gitTree___VsBuj"},Nt={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},sn=Object.defineProperty,yt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,zt=(xt,qe,He)=>qe in xt?sn(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,na=(xt,qe)=>{for(var He in qe||(qe={}))Mt.call(qe,He)&&zt(xt,He,qe[He]);if(yt)for(var He of yt(qe))Tn.call(qe,He)&&zt(xt,He,qe[He]);return xt},Xa=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const gr=({shixunsDetail:xt,globalSetting:qe,loading:He,dispatch:Vt,title:Mn,pathList:pa=[],showInputPath:xn=!1,isMergeSelectFile:ya=!1,onFinish:rn=()=>{}})=>{const[da]=b.default.useForm(),Gr=(0,Oe.useParams)(),po=(0,Oe.useLocation)(),jo=(0,ae.useRef)(),[cr,ka]=(0,ae.useState)(""),[Dr,Lr]=(0,ae.useState)(""),[Ir,Kr]=(0,ae.useState)([]),[ja,Ka]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var ta,Ra;jo.current=((Ra=(ta=po.pathname)==null?void 0:ta.split("/"))==null?void 0:Ra[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(xt.actionTabs.key!=="Repository-SelectFilePath")return;const ta=pa.join("/");let Ra=[];pa.map((kr,ho)=>{ho===0?Ra.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${kr}`,path:ta}):Ra.push({val:`/${kr}`,path:ta})}),Kr(Ra),ka(ta),Lr(ta),mr(ta)},[xt.actionTabs.key]);const mr=ta=>Xa(void 0,null,function*(){const Ra=yield Vt({type:jo.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Gr.id,path:ta}});Ra&&Ka(Ra.trees||[])}),xr=ta=>{let Ra=cr;ta.type==="tree"&&(Ir.length?Ir.push({val:`/${ta.name}`,path:ta.name}):Ir.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${ta.name}`,path:ta.name}),Kr(Ir),Ra=cr?`${cr}/${ta.name}`:ta.name,ka(Ra)),mr(Ra)},Hr=(ta,Ra)=>{const kr=Ir.filter((Ho,Oo)=>Oo<=Ra);Kr(kr);const ho=kr.filter((Ho,Oo)=>Oo!==0).map(Ho=>Ho.val).join("").substr(1);ka(ho),mr(ho)},hr=()=>Xa(void 0,null,function*(){const ta=da==null?void 0:da.getFieldsValue(),Ra=cr?`${cr}${ta!=null&&ta.name?`/${ta==null?void 0:ta.name}`:""}`:ta==null?void 0:ta.name;if(ya){rn(Ra),Ea();return}if(xn){yield da.validateFields();const kr=yield Vt({type:"shixunsDetail/uploadGitFolder",payload:na(na({},{id:Gr.id,path:Ra}),jo.current?{}:{secret_repository:!0})});rn(Dr),kr.status===0&&et.ZP.info("\u65B0\u5EFA\u6210\u529F")}else rn(Ra),et.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");Ea()}),Ea=()=>{Vt({type:"shixunsDetail/setActionTabs",payload:{}}),da.resetFields()};return ae.createElement(lt.default,{centered:!0,title:Mn||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:xt.actionTabs.key==="Repository-SelectFilePath",onOk:hr,onCancel:Ea},ae.createElement("div",{className:Nt.wrap},ae.createElement("div",{className:Nt.content},ae.createElement("div",{className:Nt.mainPathWrap},!!(Ir!=null&&Ir.length)&&Ir.map((ta,Ra)=>ae.createElement("a",{key:Ra,onClick:()=>Hr(ta,Ra)},ta.val))),!!(ja!=null&&ja.length)&&ja.map((ta,Ra)=>ta.type==="tree"&&ae.createElement("a",{key:Ra,onClick:()=>xr(ta)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Nt.colorBlue}`}),ta.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},cr),xn&&ae.createElement(b.default,{form:da,scrollToFirstError:!0,className:"mt20"},ae.createElement(b.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(y.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var lr=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He})=>({shixunsDetail:xt,globalSetting:He,loading:qe.models.index}))(gr),za=ue(18785),Mr=ue(84105),br=ue(67135),rr=ue(49661),fr=ue(23869),or=ue(854),Za=Object.defineProperty,Ur=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Ut=(xt,qe,He)=>qe in xt?Za(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,fn=(xt,qe)=>{for(var He in qe||(qe={}))bn.call(qe,He)&&Ut(xt,He,qe[He]);if(bt)for(var He of bt(qe))On.call(qe,He)&&Ut(xt,He,qe[He]);return xt},Hn=(xt,qe)=>Ur(xt,_r(qe)),ma=(xt,qe)=>{var He={};for(var Vt in xt)bn.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&bt)for(var Vt of bt(xt))qe.indexOf(Vt)<0&&On.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Qe=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const{DirectoryTree:gt}=fe.default,it=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,activeKey:xn,dispatch:ya,practiceSetting:rn,isRepository:da,treeData:Gr,setTreeData:po}=qe,jo=ma(qe,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),cr,ka,Dr,Lr,Ir,Kr,ja;const Ka=(0,Oe.useParams)(),mr=(0,Oe.useLocation)(),[xr,Hr]=(0,ae.useState)(),[hr,Ea]=(0,ae.useState)(!1),[ta,Ra]=(0,ae.useState)(!1),[kr,ho]=(0,ae.useState)(!1),[Ho,Oo]=(0,ae.useState)(!1),[Jo,pl]=(0,ae.useState)("");let[Da,Xl]=(0,ae.useState)([]),[nu,Lu]=(0,ae.useState)([]);const[au,nr]=(0,ae.useState)([]),[ga,ia]=(0,ae.useState)(!1),[Pa,to]=(0,ae.useState)(),[Do,Yo]=(0,ae.useState)(),[Er,Vr]=(0,ae.useState)(""),[mo,Jr]=(0,ae.useState)(),[Zo,sl]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{po([]),Il(""),localStorage.warehouseHideTip||ia(!0)},[mr.pathname,da]);const tl=(Ca="")=>Qe(void 0,null,function*(){(yield(0,br.Zt)({id:Ka.id,secret_dir_path:Ca}))&&Jr(Ca)}),Pu=Ca=>{var zr;return ae.createElement(Ce.default,{className:Ft.menu,onClick:Yr=>{switch(pl(Ca.path||""),Yr.key){case"1":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),Ea(!0);break;case"2":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),ho(!0);break;case"3":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),Oo(!0);break;case"4":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Ra(!0);break;case"5":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),Ou(Ca.path,Ca.name,Ca);break;case"6":(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),Nl(Ca);break}}},(Ca.type==="topTree"||Ca.type==="tree")&&ae.createElement(Ce.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(Ca.type==="topTree"||Ca.type==="tree")&&ae.createElement(Ce.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(Ca.type==="topTree"||Ca.type==="tree")&&ae.createElement(Ce.default.Item,{key:"3"},"\u4E0A\u4F20"),Ca.type!=="topTree"&&Ca.type!=="tree"&&((zr=He==null?void 0:He.detail)==null?void 0:zr.public)<2&&ae.createElement(Ce.default.Item,{key:"4"},"\u91CD\u547D\u540D"),Ca.type!=="topTree"&&ae.createElement(E.CopyToClipboard,{text:`/data/workspace/myshixun/${da?"":"secret/"}${Ca==null?void 0:Ca.path}`,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement(Ce.default.Item,{key:"6"},ae.createElement(ae.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),Ca.type!=="topTree"&&ae.createElement(Ce.default.Item,{key:"5"},"\u5220\u9664"))},Su=(Ca,zr)=>Ca.map(Yr=>(zr==""?Yr.path=zr+Yr.name:Yr.path=zr+"/"+Yr.name,Yr.title=ae.createElement(ct.Z,{className:"font14"},ae.createElement(Ne.Z,{flex:"1"},ae.createElement(ct.Z,null,Yr.type==="blob"&&ae.createElement(Ne.Z,{flex:"20px",style:{marginLeft:-20}},ae.createElement("span",{className:"iconfont icon-wenjian11 font12"})),ae.createElement(Ne.Z,{flex:"1"},ae.createElement("span",{className:" multi_ellipsis1"},Yr.name)))),ae.createElement(Ne.Z,null,(Yr.type==="blob"||Yr.type==="tree")&&ae.createElement(Me.Z,{dropdownRender:()=>Pu(Yr),className:Ft.ellipsis},ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Yr.disableCheckbox=xr&&xr!==Yr.name,Yr.className=Yr.type==="tree"?Ft.pl23:"",Yr.checkable=Yr.type!=="tree",Yr.isLeaf=Yr.type!=="tree",Yr.children=Yr.type==="tree"&&[],Yr.key=Yr.path,Yr)),Kl=Ca=>{ya({type:"practiceSetting/setSideBarTabs",payload:{selectPath:Ca}})},Au=(Ca,zr)=>Qe(void 0,null,function*(){const Yr=Ca.split("/");yield Il(Jo),setTimeout(()=>{Kl(Ca),Da=[Yr[0]||""],nu=[Ca],Lu([...nu]),Xl([...Da])},150)}),cl=(Ca,zr)=>{if(zr=="")Gr=[...Ca],po([...Ca]);else{let Yr=Zu(Gr,zr,Ca);Gr=Yr,po([...Yr])}};function Zu(Ca,zr,Yr){return Ca.map(Eo=>Eo.key===zr?(Eo.children=[...Yr],fn({},Eo)):Eo.children?Hn(fn({},Eo),{children:Zu(Eo.children,zr,Yr)}):Eo)}const Il=(Ca="")=>Qe(void 0,null,function*(){var zr,Yr;const Eo=yield ya({type:da?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Ka.id,path:Ca}});if(Eo){if((zr=Eo.trees)!=null&&zr.length){let yl=Su([...Eo.trees],Ca);cl(yl,Ca),nr(Eo.trees||[]),Yo(Ca||""),console.log("handleGetRepository:",yl,Ca),setTimeout(()=>console.log(Gr,Eo.trees,Ca,999999),2e3)}else Ca==""&&po([]);to(((Yr=Eo.commits)==null?void 0:Yr[0])||{})}return Eo}),ru=Ca=>Qe(void 0,null,function*(){return new Promise((zr,Yr)=>Qe(void 0,null,function*(){Ca.children.length&&zr(),Vr(Ca.path),yield Il(Ca.path),zr()}))}),Wu=(Ca,zr)=>Qe(void 0,null,function*(){var Yr;console.log("handleSelectTree",Ca,zr.nativeEvent.target.nodeName,zr);const Eo=()=>{Kl(zr.node.path),Ca=[zr.node.path],Lu([...Ca])};zr.nativeEvent.target.nodeName==="svg"||zr.nativeEvent.target.nodeName==="LI"||zr.nativeEvent.target.nodeName==="I"||zr.node.type==="blob"&&((Yr=rn==null?void 0:rn.sideBar)!=null&&Yr.confirmLeave?lt.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Eo(),ya({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Eo())}),Ou=(Ca,zr,Yr)=>{lt.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Yr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Qe(void 0,null,function*(){const Eo=yield ya({type:"shixunsDetail/deleteGitFile",payload:{id:Ka.id,path:Ca,message:`\u5220\u9664${Ca}`,secret_repository:da?null:!0}});let yl=Ca.split("/");if((Eo==null?void 0:Eo.status)===0){et.ZP.info("\u5220\u9664\u6210\u529F"),yl.splice(yl.length-1,1);const $u=yield Il(yl.length>1?yl.join("/"):"");return $u!=null&&$u.trees||(yl.splice(yl.length-1,1),yield Il(yl.length>1?yl.join("/"):"")),Kl(""),!0}else(Eo==null?void 0:Eo.status)===-3?lt.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ae.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",Ca,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Ka.id}/edit/${Eo==null?void 0:Eo.message}/tab=2`}}):(Eo==null?void 0:Eo.status)===-4&<.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ae.createElement("div",null,Eo==null?void 0:Eo.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Ka.id}/edit?tabId=service`}})})})},Nl=Ca=>{console.log(Ca,"item")},xi=(Ca,zr)=>Qe(void 0,null,function*(){if(console.log("handleExpand",zr),zr.nativeEvent.target.nodeName==="svg"||zr.nativeEvent.target.nodeName==="path"||zr.nativeEvent.target.nodeName==="LI")return!0;yield ru(zr.node),Da.includes(zr.node.path)?Da.splice(Da.indexOf(zr.node.path),1):Da.push(zr.node.path),Xl([...Da])}),ai=()=>{ia(!1),localStorage.warehouseHideTip=!0},Bu=Ca=>Qe(void 0,null,function*(){var zr;let Yr,Eo="",yl,$u;switch(da){case!0:Eo="\u5F00\u542F\u7248\u672C\u5E93",yl="\u5F00\u542F",$u="\u4E0D\u5F00\u542F",Yr=ae.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(zr=He==null?void 0:He.detail)!=null&&zr.secret_repository?(Eo="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",yl="\u786E\u5B9A",$u="\u53D6\u6D88",Yr=ae.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Eo="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",yl="\u4E0D\u4F7F\u7528",$u="\u4F7F\u7528",Yr=ae.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!da&&(0,fr.gy)(ya,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||lt.default.confirm({title:Eo,okText:yl,cancelText:$u,content:Yr,onOk:()=>{var dl;(0,rr.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Eo]),!da&&!((dl=He==null?void 0:He.detail)!=null&&dl.secret_repository)||Vu(Ca)},onCancel:()=>{var dl;!da&&!((dl=He==null?void 0:He.detail)!=null&&dl.secret_repository)&&Vu(Ca)}})}),Vu=Ca=>Qe(void 0,null,function*(){da?(yield(0,br.h4)(fn({},Ka)),ya({type:"practiceSetting/getCommonData",payload:fn({},Ka)})):yield(0,br.K0)(Hn(fn({},Ka),{is_secret_repository:Ca})),Il(),ya({type:"shixunsDetail/getShixunsDetail",payload:{id:Ka.id}})}),mi=Ca=>{console.log(Ca)},fi=Ca=>Qe(void 0,null,function*(){console.log(Ca);const zr=Ca.node.key,Yr=Ca.dragNode.key,Eo=Ca.node.pos.split("-"),yl=Ca.dropPosition-Number(Eo[Eo.length-1]);if(Ca.dragNode.type==="tree"){et.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(Ca.node.type!=="tree"){et.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield ya({type:"shixunsDetail/moveGitFile",payload:fn({id:Ka.id,from:Ca.dragNode.path,to:Ca.node.path+"/"+Ca.dragNode.name,message:`${Ca.dragNode.path} move to ${Ca.node.path+"/"+Ca.dragNode.name} `},da?{}:{secret_repository:!0})})).status===0){Kl(""),yield Il("");for(let Xo=0;XoPu({type:"topTree"}),className:"current"},ae.createElement(Te.Z,{open:ga,title:ae.createElement("div",{className:"font16"},ae.createElement(za.Z,{style:{position:"relative",left:-35},onClick:()=>ai()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",ae.createElement("span",{onClick:()=>ai(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:Ft.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},da&&((Lr=He==null?void 0:He.detail)==null?void 0:Lr.init_repository)&&ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!da&&((Ir=He==null?void 0:He.detail)==null?void 0:Ir.secret_repository)&&ae.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!Gr.length&&!da&&ae.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},ae.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),Gr.length?ae.createElement(ae.Fragment,null,ae.createElement("div",{className:Ft.content},xn==="1"&&ae.createElement("div",{className:Ft.tips},"\u63D0\u793A\uFF1A",ae.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),ae.createElement(gt,{disabled:!!Mn.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:Gr,switcherIcon:ae.createElement(Mr.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:xi,expandedKeys:Da,selectedKeys:nu,onSelect:Wu,draggable:!0,onDragEnter:mi,onDrop:fi,className:Ft.gitTree}))):"",!Gr.length&&da&&((Kr=He==null?void 0:He.detail)==null?void 0:Kr.init_repository)&&ae.createElement(Vn,null),!Gr.length&&!da&&((ja=He==null?void 0:He.detail)==null?void 0:ja.secret_repository)&&ae.createElement(Vn,null))),ae.createElement(Lt,{visible:ta,defaultPath:Jo,onClose:()=>Ra(!1),isRepository:!da,onOK:Ca=>Qe(void 0,null,function*(){const zr=Jo.split("/");zr.pop(),yield Il(zr.join("/")),Kl("")})}),ae.createElement(tt,{visible:hr,defaultPath:Jo,onClose:()=>Ea(!1),isRepository:da,onOK:Ca=>{Au(Ca.path,Ca.name)}}),ae.createElement(Xe,{visible:kr,defaultPath:Jo,onClose:()=>ho(!1),isRepository:da,onOK:Ca=>{Au(Ca.path,Ca.name)}}),ae.createElement(ht,{defaultPath:Jo,visible:Ho,isRepository:da,onClose:()=>Oo(!1),onOK:Ca=>Qe(void 0,null,function*(){const zr=Jo.split("/");yield Il(Jo),Da=[zr[0]||""],nu=[Jo],Lu([...nu]),Xl([...Da])})}),ae.createElement(lr,{pathList:Jo==null?void 0:Jo.split("/"),showInputPath:!0,isMergeSelectFile:Zo,onFinish:Ca=>{Zo?tl(Ca):Il(Ca),sl(!1)}}))},Vn=()=>ae.createElement("div",{className:`mt20 pb50 ${Ft.nodata}`},ae.createElement("div",{className:Ft.headLeft},"\u63D0\u793A\uFF1A",ae.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",ae.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",ae.createElement("br",null),"1\u3001",ae.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",ae.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",ae.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),ae.createElement("img",{width:"100%",src:or.Oe}));var Gn=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,practiceSetting:Vt,user:Mn})=>({shixunsDetail:xt,globalSetting:He,user:Mn,practiceSetting:Vt,loading:qe}))(it),Qn={flex_box_center:"flex_box_center___JYIA5",flex_space_between:"flex_space_between___OOSa6",flex_box_vertical_center:"flex_box_vertical_center___s1AAj",flex_box_center_end:"flex_box_center_end___Ou9x8",flex_box_column:"flex_box_column___fXhOh",commitWrap:"commitWrap___xJGHF",wrap:"wrap___OEGuw",colorGray:"colorGray___nocDG",content:"content___Cvvjf",itemTime:"itemTime___wIggD",imageUrl:"imageUrl___C3Dsm",blueLight:"blueLight___qEiQB",divider:"divider___G5Y2d",empty:"empty___L1pRU"},Wa=ue(28103),wa=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,Fa=(xt,qe)=>{var He={};for(var Vt in xt)va.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&wa)for(var Vt of wa(xt))qe.indexOf(Vt)<0&&Ma.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},Sn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const Ba=xt=>{var qe=xt,{shixunsDetail:He,globalSetting:Vt,loading:Mn,user:pa,dispatch:xn,isRepository:ya}=qe,rn=Fa(qe,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const da=(0,Oe.useParams)(),[Gr,po]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{jo()},[ya]);const jo=()=>Sn(void 0,null,function*(){const cr=yield xn({type:"shixunsDetail/getRepositoryCommit",payload:{id:da.id,secret_repository:ya?void 0:!0}});cr&&po(cr.commits||[])});return ae.createElement(ae.Fragment,null,Gr==""&&ae.createElement("div",{className:Qn.empty},ae.createElement("img",{src:or.em,width:"258"}),ae.createElement("br",null),ae.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),Gr!=""&&ae.createElement("section",{className:Qn.bg},ae.createElement("div",{className:Qn.wrap},ae.createElement("div",{className:Qn.content},Gr==null?void 0:Gr.map(cr=>{var ka,Dr;return ae.createElement("div",null,ae.createElement(ct.Z,{align:"middle",className:"c-white font16"},ae.createElement(Ne.Z,null,cr.title)),ae.createElement(ct.Z,{align:"middle",className:"mt20 "},ae.createElement(Ne.Z,null,ae.createElement("img",{className:Qn.imageUrl,src:Tt.Z.IMG_SERVER+"/"+((ka=cr.author)==null?void 0:ka.image_url)})),ae.createElement(Ne.Z,{className:Qn.blueLight},ae.createElement("span",{className:"ml20"},(Dr=cr.author)==null?void 0:Dr.username)),ae.createElement(Ne.Z,null,ae.createElement("span",{className:`ml20 ${Qn.blueLight}`},"\u63D0\u4EA4\u4E8E"),ae.createElement("span",{className:`ml20 ${Qn.blueLight}`},cr.time))),ae.createElement(Wa.Z,{className:Qn.divider}))})))))};var Br=(0,Oe.connect)(({shixunsDetail:xt,loading:qe,globalSetting:He,user:Vt})=>({shixunsDetail:xt,globalSetting:He,user:Vt,loading:qe.models.index}))(Ba),oo=ue(10825),Kn=ue(59301),cn=Object.defineProperty,Io=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,lo=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable,Co=(xt,qe,He)=>qe in xt?cn(xt,qe,{enumerable:!0,configurable:!0,writable:!0,value:He}):xt[qe]=He,Uo=(xt,qe)=>{for(var He in qe||(qe={}))Tr.call(qe,He)&&Co(xt,He,qe[He]);if(lo)for(var He of lo(qe))_o.call(qe,He)&&Co(xt,He,qe[He]);return xt},jr=(xt,qe)=>Io(xt,vr(qe)),vo=(xt,qe)=>{var He={};for(var Vt in xt)Tr.call(xt,Vt)&&qe.indexOf(Vt)<0&&(He[Vt]=xt[Vt]);if(xt!=null&&lo)for(var Vt of lo(xt))qe.indexOf(Vt)<0&&_o.call(xt,Vt)&&(He[Vt]=xt[Vt]);return He},kn=(xt,qe,He)=>new Promise((Vt,Mn)=>{var pa=rn=>{try{ya(He.next(rn))}catch(da){Mn(da)}},xn=rn=>{try{ya(He.throw(rn))}catch(da){Mn(da)}},ya=rn=>rn.done?Vt(rn.value):Promise.resolve(rn.value).then(pa,xn);ya((He=He.apply(xt,qe)).next())});const{TabPane:Rr}=ke.default,uo=xt=>{var qe=xt,{globalSetting:He,loading:Vt,dispatch:Mn,practiceSetting:pa,shixunsDetail:xn}=qe,ya=vo(qe,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),rn,da,Gr,po,jo,cr,ka,Dr,Lr,Ir,Kr,ja,Ka,mr,xr,Hr,hr,Ea,ta;const[Ra,kr]=(0,ae.useState)("1"),[ho,Ho]=(0,ae.useState)("1");let[Oo,Jo]=(0,ae.useState)();const pl=(0,ae.useRef)(),[Da,Xl]=(0,ae.useState)(!0),[nu,Lu]=(0,ae.useState)(["2","1"]),[au,nr]=(0,ae.useState)([]),ga=(0,ae.useRef)(),ia=(0,Oe.useParams)(),Pa=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Kn.createElement("span",null,Kn.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Kn.createElement(Te.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Kn.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,ae.useEffect)(()=>{var Er,Vr,mo,Jr,Zo,sl,tl,Pu,Su,Kl,Au,cl,Zu,Il,ru,Wu,Ou,Nl;try{((mo=(Vr=(Er=xn==null?void 0:xn.fileContent)==null?void 0:Er.content)==null?void 0:Vr.content)!=null&&mo.length||((Zo=(Jr=xn==null?void 0:xn.fileContent)==null?void 0:Jr.content)==null?void 0:Zo.content)=="")&&(((sl=xn==null?void 0:xn.fileContent)==null?void 0:sl.file_type)==="txt"?(pl.current=window.decodeURIComponent(escape(window.atob((Pu=(tl=xn==null?void 0:xn.fileContent)==null?void 0:tl.content)==null?void 0:Pu.content))),Oo=window.decodeURIComponent(escape(window.atob((Kl=(Su=xn==null?void 0:xn.fileContent)==null?void 0:Su.content)==null?void 0:Kl.content))),Jo(Oo)):(pl.current=(cl=(Au=xn==null?void 0:xn.fileContent)==null?void 0:Au.content)==null?void 0:cl.content,Oo=(Il=(Zu=xn==null?void 0:xn.fileContent)==null?void 0:Zu.content)==null?void 0:Il.content,Jo(Oo)))}catch(xi){pl.current=window.atob((Wu=(ru=xn==null?void 0:xn.fileContent)==null?void 0:ru.content)==null?void 0:Wu.content),Oo=window.atob((Nl=(Ou=xn==null?void 0:xn.fileContent)==null?void 0:Ou.content)==null?void 0:Nl.content),Jo(Oo),et.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",xn.fileContent.content)},[(rn=xn==null?void 0:xn.fileContent)==null?void 0:rn.content]),(0,ae.useEffect)(()=>{var Er;const Vr=(Er=pa==null?void 0:pa.sideBar)==null?void 0:Er.selectPath.split("/");Lu(Vr)},[(da=pa==null?void 0:pa.sideBar)==null?void 0:da.selectPath]);const to=Er=>{Jo(Er);let Vr=-1;Er===pl.current?Vr=0:Vr=1,Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!Vr}})};(0,ae.useEffect)(()=>{new Promise((Er,Vr)=>kn(void 0,null,function*(){var mo,Jr,Zo;if(((mo=pa==null?void 0:pa.sideBar)==null?void 0:mo.selectPath)!==""&&((Jr=pa==null?void 0:pa.sideBar)!=null&&Jr.selectPath)){const sl=yield Mn({type:"shixunsDetail/getFileContent",payload:{id:ia.id,path:(Zo=pa==null?void 0:pa.sideBar)==null?void 0:Zo.selectPath,secret_repository:Da?null:!0}});sl!=null&&sl.content||(sl==null?void 0:sl.content)==""||Mn({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(Gr=pa==null?void 0:pa.sideBar)==null?void 0:Gr.selectPath]);const Do=Kn.createElement(Ce.default,{className:x.menu,style:{background:"#24294b"},onClick:Er=>{var Vr;!((Vr=xn==null?void 0:xn.detail)!=null&&Vr.secret_repository)&&Er.key==="2"&&Ho("1"),kr(Er.key),Er.key==="1"?Xl(!0):Xl(!1)}},Kn.createElement(Ce.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Pa.filter(Er=>{var Vr,mo;return!((Vr=xn==null?void 0:xn.detail)!=null&&Vr.init_repository)||(mo=xn==null?void 0:xn.detail)!=null&&mo.is_jupyter_lab?Er.id!=="2":Er}).map((Er,Vr)=>Kn.createElement(Ce.default.Item,{className:"leaveClick",key:Er.id},Er.name))),Yo=(Er=!1,Vr=1)=>kn(void 0,null,function*(){var mo,Jr,Zo,sl;const tl=yield Mn({type:"shixunsDetail/updateRepositoryFile",payload:{id:ia.id,path:(Jr=(mo=xn==null?void 0:xn.fileContent)==null?void 0:mo.params)==null?void 0:Jr.path,content:Oo,secret_repository:Da?null:!0,sync_origin_shixun:Er}});tl!=null&&tl.content&&((Zo=xn==null?void 0:xn.detail)!=null&&Zo.copy_for_exercise||et.ZP.success("\u4FDD\u5B58\u6210\u529F"),Mn({type:"practiceSetting/setSideBarTabs",payload:jr(Uo({},pa.sideBar),{confirmLeave:!1})})),(sl=xn==null?void 0:xn.detail)!=null&&sl.copy_for_exercise&&(0,mn.m)(Mn,xn,ia.id,Vr)});return Kn.createElement("div",{className:x.warehouse},Kn.createElement("div",{className:x.header},Kn.createElement(ct.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Kn.createElement(Ne.Z,{flex:"1"},Kn.createElement(ct.Z,{align:"middle"},Kn.createElement(Ne.Z,null,Kn.createElement(Me.Z,{dropdownRender:()=>Do,className:x.menu},Kn.createElement("span",{className:"font16 c-white current ml20"},Pa.find(Er=>Er.id===Ra).name," ",Kn.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Kn.createElement(Ne.Z,{flex:"81px"},Kn.createElement("div",{className:x.line})),Kn.createElement(Ne.Z,null,Kn.createElement(ke.default,{className:x.tabs,activeKey:ho,onChange:Er=>{var Vr;(Vr=pa==null?void 0:pa.sideBar)!=null&&Vr.confirmLeave?lt.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ho(Er),Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(Ho(Er),Mn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Kn.createElement(Rr,{tab:Kn.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),Da&&((po=xn==null?void 0:xn.detail)==null?void 0:po.init_repository)&&Kn.createElement(Rr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!Da&&((jo=xn==null?void 0:xn.detail)==null?void 0:jo.secret_repository)&&Kn.createElement(Rr,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(Da&&((cr=xn==null?void 0:xn.repository)==null?void 0:cr.git_url)||!Da&&((ka=xn==null?void 0:xn.secretRepository)==null?void 0:ka.git_url))&&Kn.createElement(Kn.Fragment,null,Kn.createElement(Ne.Z,null,Kn.createElement("span",{className:x.title},"\u4ED3\u5E93\u5730\u5740:"),Kn.createElement("input",{value:Da?(Dr=xn==null?void 0:xn.repository)==null?void 0:Dr.git_url:(Lr=xn==null?void 0:xn.secretRepository)==null?void 0:Lr.git_url}),Kn.createElement(E.CopyToClipboard,{text:Da?(Ir=xn==null?void 0:xn.repository)==null?void 0:Ir.git_url:(Kr=xn==null?void 0:xn.secretRepository)==null?void 0:Kr.git_url,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},Kn.createElement(Te.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Kn.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Kn.createElement("div",{className:x.content,style:{overflow:"auto"}},ho==="1"&&Kn.createElement(Kn.Fragment,null,Kn.createElement("aside",{className:x.left},Kn.createElement(mt.Z,{spinning:!!Vt.effects["shixunsDetail/getRepository"],wrapperClassName:`${x.loading} ${x.bottom0}`},Kn.createElement(Gn,{setTreeData:nr,treeData:au,activeKey:Ra,isRepository:Da}))),Kn.createElement("aside",{className:x.right,ref:ga},((ja=pa==null?void 0:pa.sideBar)==null?void 0:ja.selectPath)!==""&&Kn.createElement(Kn.Fragment,null,Kn.createElement(mt.Z,{spinning:!!Vt.effects["shixunsDetail/getFileContent"],wrapperClassName:x.loading},Kn.createElement("div",{className:x.filePathWrp},Kn.createElement(ct.Z,{align:"middle",className:"w100"},Kn.createElement(Ne.Z,null,Kn.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Kn.createElement(Ne.Z,{flex:"40px"},Kn.createElement("div",{className:x.line,style:{marginLeft:20}})),Kn.createElement(Ne.Z,{className:x.filePath},nu.map((Er,Vr)=>Kn.createElement("span",{className:"c-blue"},Er))))),Kn.createElement("div",{className:Vt.effects["shixunsDetail/getFileContent"]?"hide":"show"},Kn.createElement(oo.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Ka=xn==null?void 0:xn.fileContent)==null?void 0:Ka.filename,type:((mr=xn==null?void 0:xn.fileContent)==null?void 0:mr.file_type)==="office"?"download":(xr=xn==null?void 0:xn.fileContent)==null?void 0:xr.file_type,data:Oo,monacoEditor:{value:Oo,language:(Hr=xn==null?void 0:xn.fileContent)==null?void 0:Hr.language,onChange:Er=>to(Er),options:{fontSize:14}}}))),((hr=xn==null?void 0:xn.fileContent)==null?void 0:hr.file_type)==="txt"&&Kn.createElement(ct.Z,{align:"middle",justify:"center",className:x.footer},Kn.createElement(Ne.Z,null,Kn.createElement($e.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Oe.history.push(`/shixuns/${ia.id}/challenges`)}},"\u53D6\u6D88"),Kn.createElement($e.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Er=>{var Vr,mo;(Vr=xn==null?void 0:xn.detail)!=null&&Vr.is_fork_from_creator&&((mo=xn==null?void 0:xn.detail)!=null&&mo.copy_for_exercise)?Mn({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Jr,Zo)=>{Yo(Jr,Zo)}}}):Yo()}},"\u63D0\u4EA4")))),((Ea=pa==null?void 0:pa.sideBar)==null?void 0:Ea.selectPath)==""&&((ta=xn==null?void 0:xn.detail)==null?void 0:ta.init_repository)&&Kn.createElement("div",{className:x.empty},Kn.createElement("img",{src:or.x7,width:"258"}),Kn.createElement("br",null),Kn.createElement("span",{className:"c-grey-c"},!!(au!=null&&au.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(au!=null&&au.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),ho==="2"&&Kn.createElement("div",{className:x.commit},Kn.createElement(Br,{isRepository:Da}))))};var io=(0,Oe.connect)(({loading:xt,globalSetting:qe,practiceSetting:He,shixunsDetail:Vt})=>({globalSetting:qe,loading:xt,practiceSetting:He,shixunsDetail:Vt}))(uo)},21693:function(we,St,ue){"use strict";ue.d(St,{S:function(){return et},m:function(){return Ce}});var ae=ue(49661),x=ue(8591),Oe=ue(43418),ke=ue(59301),Te=(ct,Ne,Me)=>new Promise((lt,mt)=>{var $e=E=>{try{a(Me.next(E))}catch(b){mt(b)}},fe=E=>{try{a(Me.throw(E))}catch(b){mt(b)}},a=E=>E.done?lt(E.value):Promise.resolve(E.value).then($e,fe);a((Me=Me.apply(ct,Ne)).next())});const et=ct=>{let Ne=document.createElement("textarea");return Ne.value=ct,Ne.value},Ce=(ct,Ne,Me,lt,mt)=>Te(void 0,null,function*(){var $e,fe;const a=yield ct({type:"shixunsDetail/saveCopyForExercise",payload:{id:Me,save_type:lt}});lt===1?((a==null?void 0:a.status)==0&&x.ZP.success("\u4FDD\u5B58\u6210\u529F"),($e=a==null?void 0:a.data)!=null&&$e.exists_same_shixun_name?ct({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(fe=a==null?void 0:a.data)==null?void 0:fe.shixun_name}}):ct({type:"classroomList/setActionTabs",payload:{}})):(ct({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Oe.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:ke.createElement("div",null,ke.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var E,b;(0,ae.xg)(`/shixuns/${(b=(E=Ne==null?void 0:Ne.detail)==null?void 0:E.fork_from)==null?void 0:b.fork_identifier}/challenges`)}}))})},88195:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ee}});var ae=ue(59301),x=ue(76560),Oe=ue(92832),ke=ue(78241),Te=ue(43418),et=ue(8591),Ce=ue(54580),ct=ue(3113),Ne=ue(90524),Me=ue(55351),lt={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},mt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,a=(ne,se)=>{var ce={};for(var de in ne)$e.call(ne,de)&&se.indexOf(de)<0&&(ce[de]=ne[de]);if(ne!=null&&mt)for(var de of mt(ne))se.indexOf(de)<0&&fe.call(ne,de)&&(ce[de]=ne[de]);return ce},E=(ne,se,ce)=>new Promise((de,ye)=>{var Ae=rt=>{try{Be(ce.next(rt))}catch(Xe){ye(Xe)}},Ge=rt=>{try{Be(ce.throw(rt))}catch(Xe){ye(Xe)}},Be=rt=>rt.done?de(rt.value):Promise.resolve(rt.value).then(Ae,Ge);Be((ce=ce.apply(ne,se)).next())});const b=Oe.default.TextArea,y=ne=>{var se=ne,{newShixuns:ce,globalSetting:de,loading:ye,dispatch:Ae}=se,Ge=a(se,["newShixuns","globalSetting","loading","dispatch"]);const[Be]=ke.default.useForm(),[rt,Xe]=(0,ae.useState)([]),ut=Jt=>{["uploading","done","removed"].includes(Jt.file.status)&&Xe(Jt.fileList)},mn=Jt=>{var ha;if(!Jt.percent||Jt.percent==100){const _t=(ha=Jt.response)==null?void 0:ha.id;return Te.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>E(void 0,null,function*(){(yield Ae({type:"newShixuns/deleteAttachment",payload:{id:_t}}))&&Xe(rt.filter(Nn=>{var jn;return((jn=Nn.response)==null?void 0:jn.id)!==_t}))})}),!1}},ln=Jt=>rt.length?!1:Jt.size/1024/1024>50?(et.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,En=Jt=>E(void 0,null,function*(){var ha,_t;const{language:an,env:Nn,mode:jn,code:hn}=Jt||{},tt=yield Ae({type:"newShixuns/applyShixunMirror",payload:{language:an,runtime:Nn,run_method:jn,attachment_id:(_t=(ha=rt==null?void 0:rt[0])==null?void 0:ha.response)==null?void 0:_t.id}});Ae({type:"newShixuns/setActionTabs",payload:{}}),tt&&et.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),pn=()=>{Be.resetFields(),Xe([])};return ae.createElement(Te.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:pn},ae.createElement("section",{className:lt.qrCode},ae.createElement("aside",{className:lt.a1},ae.createElement("div",{className:lt.code},ae.createElement("img",{width:120,height:120,src:Me,alt:"\u4E8C\u7EF4\u7801"})),ae.createElement("div",{className:lt.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ae.createElement("div",{className:lt.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ae.createElement("aside",{className:lt.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ae.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ae.createElement(ke.default,{className:lt.formWrap,form:Be,labelCol:{span:4},wrapperCol:{span:20},onFinish:En},ae.createElement(ke.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ae.createElement(ke.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ae.createElement(ke.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ae.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ae.createElement(ke.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ae.createElement("div",{className:lt.upload},ae.createElement(Ce.default,{fileList:rt,action:`${Ne.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:ut,onRemove:mn,beforeUpload:ln,withCredentials:!0},ae.createElement("span",{className:`${lt.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ae.createElement("span",{className:`${lt.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ae.createElement("div",{className:lt.footerWrap},ae.createElement(ke.default.Item,null,ae.createElement(ct.ZP,{className:"mr5",size:"middle",onClick:()=>{Ae({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ae.createElement(ct.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:ye["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var ee=(0,x.connect)(({newShixuns:ne,loading:se,globalSetting:ce})=>({newShixuns:ne,globalSetting:ce,loading:se.effects}))(y)},84722:function(we,St,ue){"use strict";var ae=ue(59301),x=ue(76560),Oe=ue(43418),ke=ue(55351);const Te=({newShixuns:et,dispatch:Ce,user:ct})=>{var Ne;const[Me,lt]=(0,ae.useState)(!1);(0,ae.useEffect)(()=>{et.actionTabs.key==="Create-Environment"&&$e()},[(Ne=et==null?void 0:et.actionTabs)==null?void 0:Ne.key]);const mt=()=>{Ce({type:"newShixuns/setActionTabs",payload:{}})},$e=()=>{var fe,a,E,b;mt(),((fe=ct.userInfo)==null?void 0:fe.mirror_marker_status)===0?lt(!0):((a=ct.userInfo)==null?void 0:a.mirror_marker_status)===1?x.history.push(`/users/${(E=ct.userInfo)==null?void 0:E.login}/experiment-img/add`):((b=ct.userInfo)==null?void 0:b.mirror_marker_status)===2&&Oe.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var y;x.history.push(`/users/${(y=ct.userInfo)==null?void 0:y.login}/experiment-img`)}})};return ae.createElement(Oe.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:Me,footer:null,onCancel:()=>{lt(!1)}},ae.createElement("div",{style:{textAlign:"center"}},ae.createElement("br",null),ae.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:ke,alt:"\u4E8C\u7EF4\u7801"})),ae.createElement("img",null))};St.Z=(0,x.connect)(({newShixuns:et,user:Ce,globalSetting:ct})=>({newShixuns:et,globalSetting:ct,user:Ce}))(Te)},77165:function(we,St,ue){"use strict";ue.r(St),ue.d(St,{default:function(){return L0}});var ae=ue(22688),x=ue(59301),Oe=ue(76560),ke={practiceSetting:"practiceSetting____JzSr",wrapHeader:"wrapHeader___UtEic",wrapLayout:"wrapLayout___LbxWe",wrapSidebar:"wrapSidebar____WwWi",wrapContent:"wrapContent___vQy6F"},Te={flex_box_center:"flex_box_center___ZbKWZ",flex_space_between:"flex_space_between___l3I6A",flex_box_vertical_center:"flex_box_vertical_center___Lq7k2",flex_box_center_end:"flex_box_center_end___fcllt",flex_box_column:"flex_box_column___X1bbd",header:"header___e8JpO","flex-center":"flex-center___bEydb",title:"title___uCK1_",schedule:"schedule___WsVbu",clickWarp:"clickWarp___HusBA",num:"num___Zrt0Q",subject:"subject___H4tj9",btns:"btns___e2enD",btn:"btn___T6H51",simulate:"simulate___Ori5S",exit:"exit___0V4Zt"},et=ue(49661),Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",ct=ue(67135),Ne=ue(43418),Me=ue(8591),lt=ue(82093),mt=ue(59301),$e=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,E=(oe,le)=>{var re={};for(var pe in oe)fe.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&$e)for(var pe of $e(oe))le.indexOf(pe)<0&&a.call(oe,pe)&&(re[pe]=oe[pe]);return re},b=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const y=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at,shixunsDetail:je}=le,Ye=E(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze;const gn=(0,Oe.useLocation)(),zn=(0,x.useRef)(""),qt=(0,Oe.useParams)(),{title:Zn,base_info_warning:Bn,challenges_warning:Yn,service_warning:Fn,repository_warning:vt,mirror_warning:ca}=at;(0,x.useEffect)(()=>{var Wt;zn.current=(Wt=gn.pathname.split("/"))==null?void 0:Wt[2],Ze({type:"practiceSetting/setParams",payload:{id:zn.current}}),Ze({type:"practiceSetting/getCommonData",payload:{id:zn.current}})},[gn.pathname]),(0,x.useEffect)(()=>((0,et.Dk)(Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,et.Dk)()}));const An=()=>b(void 0,null,function*(){yield Zt(),Oe.history.push(`/shixuns/${zn.current}/challenges`)}),Zt=()=>new Promise((Wt,aa)=>{var Ua;(Ua=at==null?void 0:at.sideBar)!=null&&Ua.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Wt()},onCancel:()=>{aa()}}):Wt()}),Qt=Wt=>{var aa;if(Wt===(at==null?void 0:at.sideBar.tabsActive))return;const Ua=()=>{Oe.history.push(`/shixuns/${zn.current}/edit?tabId=${Wt}`),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Wt,selectPath:"",confirmLeave:!1}})};(aa=at==null?void 0:at.sideBar)!=null&&aa.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ua()}}):Ua()},It=(Wt,aa=!1)=>{Wt=Wt!=null&&Wt.includes(".json")?Wt:`${Wt}.json`,Ne.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:mt.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>b(void 0,null,function*(){const Ua=yield(0,lt.ZP)("/api"+Wt,{method:"get"});if(!Ua)return;Me.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Pn=yield(0,ct.Ir)({id:Ua.shixun_identifier,jump_challenge_setting:aa});if(Pn!=null&&Pn.game_identifier){(0,et.xg)(`/tasks/${Pn.game_identifier}`);return}(Pn==null?void 0:Pn.status)===2?It(Pn==null?void 0:Pn.message):(Pn==null?void 0:Pn.status)===3&&pt(Pn==null?void 0:Pn.message)})})},pt=Wt=>{Ne.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:mt.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Wt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=(Wt,aa)=>b(void 0,null,function*(){var Ua,Pn,Ja,ba;if(yield Zt(),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(Ua=je.detail)!=null&&Ua.is_jupyter||(Pn=je.detail)!=null&&Pn.is_jupyter_lab){Ze({type:"shixunsDetail/execJupyter",payload:{id:zn.current}}).then(In=>{var Cr;In!=null&&In.identifier&&((Cr=Oe.history)==null||Cr.push(`/tasks/${In.identifier}/jupyter`))});return}Ze({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const qn=aa?yield(0,ct.BK)({id:Wt}):yield(0,ct.Ir)({id:Wt});if(Ze({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(qn==null?void 0:qn.status)==5&&!aa){Ne.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u8BC4\u6D4B\u8BBE\u7F6E",cancelText:"\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218",title:"\u63D0\u793A",content:mt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(ba=(Ja=qn==null?void 0:qn.data)==null?void 0:Ja.challenge_errors)==null?void 0:ba.map((In,Cr)=>{var ra;return mt.createElement("span",{key:Cr,style:{color:"#3061D0"}},"\u7B2C",In==null?void 0:In.challenge_position,"\u5173",Cr!=((ra=qn==null?void 0:qn.data)==null?void 0:ra.challenge_errors)-1&&"\u3001")}),"\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u672A\u5B8C\u6210\uFF0C\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218\u65E0\u6CD5\u68C0\u6D4B\u6574\u4E2A\u5B9E\u9A8C\u6D41\u7A0B\uFF0C\u5EFA\u8BAE\u5148\u5B8C\u5584\u5173\u5361\u8BC4\u6D4B\u8BBE\u7F6E\u540E\u518D\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218"),onOk:()=>{var In,Cr,ra;window.location.href=`/shixuns/${zn.current}/edit/${(ra=(Cr=(In=qn==null?void 0:qn.data)==null?void 0:In.challenge_errors)==null?void 0:Cr[0])==null?void 0:ra.challenge_id}/tab=2`},onCancel:()=>{(0,ct.Ir)({id:zn.current,jump_challenge_setting:!0}).then(In=>{if(In!=null&&In.game_identifier||In!=null&&In.identifier){(0,et.xg)(`/tasks/${In.game_identifier}`);return}(In==null?void 0:In.status)===-3?(0,et.eF)():(In==null?void 0:In.status)===2?It(In==null?void 0:In.message,!0):(In==null?void 0:In.status)===3&&pt(In==null?void 0:In.message)})}});return}if((qn==null?void 0:qn.status)==6&&!aa){Ne.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:mt.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E\u4E0D\u5B8C\u5584\uFF0C\u65E0\u6CD5\u5F00\u542F\u5B9E\u9A8C\u73AF\u5883\u8FDB\u884C\u6A21\u62DF\u5B9E\u6218\u8BF7\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"),cancelButtonProps:{style:{display:"none"}},onOk:()=>{window.location.href=`/shixuns/${zn.current}/edit?tabId=environment`}});return}if(qn!=null&&qn.game_identifier||qn!=null&&qn.identifier){(0,et.xg)(aa?`/tasks/${qn==null?void 0:qn.identifier}/jupyter`:`/tasks/${qn.game_identifier}`);return}(qn==null?void 0:qn.status)===-3?(0,et.eF)():(qn==null?void 0:qn.status)===2?It(qn==null?void 0:qn.message):(qn==null?void 0:qn.status)===3&&pt(qn==null?void 0:qn.message)}),kt=()=>b(void 0,null,function*(){yield Zt(),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Ct=Wt=>({borderBottomColor:(at==null?void 0:at.sideBar.tabsActive)===Wt?"#0152d9":"transparent"});return mt.createElement("div",{className:Te.header},mt.createElement("aside",{className:Te.title},mt.createElement("i",{onClick:An,style:{color:"#333",marginRight:20},className:"icon iconfont icon-fanhui1"}),mt.createElement("span",{className:Te.edit},Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),mt.createElement("i",{onClick:kt,style:{color:"#165DFF"},className:"icon iconfont icon-xiugai1"})),mt.createElement("aside",{className:Te.schedule},mt.createElement("div",null,mt.createElement("span",{style:Ct("information"),className:Te.clickWarp,onClick:()=>Qt("information")},Bn?mt.createElement("span",{className:Te.num},"1"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:Te.subject},"\u57FA\u672C\u4FE1\u606F")),mt.createElement("i",{className:"iconfont icon-lujing"})),mt.createElement("div",null,mt.createElement("span",{style:Ct("warehouse"),className:Te.clickWarp,onClick:()=>Qt("warehouse")},vt?mt.createElement("span",{className:Te.num},"2"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:Te.subject},"\u4EE3\u7801\u4ED3\u5E93")),mt.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&!((Se=je==null?void 0:je.detail)!=null&&Se.is_jupyter_lab)&&mt.createElement("div",null,mt.createElement("span",{style:Ct("level"),className:Te.clickWarp,onClick:()=>Qt("level")},Yn?mt.createElement("span",{className:Te.num},"3"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:Te.subject},"\u4EFB\u52A1\u5173\u5361")),mt.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&((ze=je==null?void 0:je.detail)==null?void 0:ze.is_jupyter_lab)&&mt.createElement("div",null,mt.createElement("span",{style:Ct("service"),className:Te.clickWarp,onClick:()=>Qt("service")},Fn?mt.createElement("span",{className:Te.num},"3"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:Te.subject},"\u670D\u52A1")),mt.createElement("i",{className:"iconfont icon-lujing"})),mt.createElement("div",null,mt.createElement("span",{style:Ct("environment"),className:Te.clickWarp,onClick:()=>Qt("environment")},ca?mt.createElement("span",{className:Te.num},"4"):mt.createElement("img",{src:Ce}),mt.createElement("span",{className:Te.subject},"\u5B9E\u9A8C\u73AF\u5883")))),mt.createElement("aside",{className:Te.btns},mt.createElement("div",{className:Te.simulate,onClick:()=>wn(zn.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var ee=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(y),ne={information:"information___LkgI6",scroll:"scroll___JnYs4",formWrap:"formWrap___qq0ju",img:"img___z2Jy6"},se=ue(89389),ce=ue(78241),de=ue(3113),ye=ue(92832),Ae=ue(19842),Ge=ue(95237),Be=ue(43604),rt=ue(54580),Xe=ue(24905),ut={btn:"btn___LFkWh",s1:"s1___kiYKO",s2:"s2___omvJi"},mn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",ln=Object.defineProperty,En=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,ha=(oe,le,re)=>le in oe?ln(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,_t=(oe,le)=>{for(var re in le||(le={}))pn.call(le,re)&&ha(oe,re,le[re]);if(En)for(var re of En(le))Jt.call(le,re)&&ha(oe,re,le[re]);return oe},an=(oe,le)=>{var re={};for(var pe in oe)pn.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&En)for(var pe of En(oe))le.indexOf(pe)<0&&Jt.call(oe,pe)&&(re[pe]=oe[pe]);return re},jn=oe=>{var le=oe,{InputRight:re,value:pe=[],onChange:Ze}=le,at=an(le,["InputRight","value","onChange"]);const[je,Ye]=(0,x.useState)(),Se=gn=>{const zn=pe.filter((qt,Zn)=>Zn!==gn);Ze(zn)},ze=gn=>{if(gn.preventDefault(),!!je){if(pe.findIndex(zn=>zn.name===je)>-1){Me.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Ze([...pe,{id:null,name:je}]),Ye(null)}};return x.createElement("div",null,x.createElement(ye.default,_t({bordered:!1,style:{width:600},value:je,onChange:gn=>Ye(gn.target.value),onPressEnter:ze,onBlur:ze},at)),re||x.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),x.createElement("div",{className:"mt20"},pe==null?void 0:pe.map((gn,zn)=>x.createElement("div",{key:zn,className:ut.btn},x.createElement("span",{className:ut.s1},gn.name),x.createElement("img",{src:mn,className:ut.s2,onClick:()=>Se(zn)})))))},hn=ue(89392),tt=ue(90524),st={flex_box_center:"flex_box_center___ZDst5",flex_space_between:"flex_space_between___KjWS3",flex_box_vertical_center:"flex_box_vertical_center___JmkIN",flex_box_center_end:"flex_box_center_end___xd4AX",flex_box_column:"flex_box_column___zLQXm",complete:"complete___d4XS6",cancel:"cancel___awB16",save:"save___CMuaC"};const wt=({dispatch:oe,onCancel:le,onSave:re,loading:pe=!1})=>x.createElement("div",{className:st.complete},x.createElement("div",{onClick:le,className:st.cancel},"\u53D6\u6D88"),x.createElement(de.ZP,{type:"primary",loading:pe,onClick:re,className:st.save},"\u4FDD\u5B58"));var Ln=(0,Oe.connect)()(wt),un=ue(21693),Un=ue(32050),Le=ue(19248),xe=ue(7664),Ve=ue(59301),Pt=Object.defineProperty,Lt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Rt=(oe,le,re)=>le in oe?Pt(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,De=(oe,le)=>{for(var re in le||(le={}))en.call(le,re)&&Rt(oe,re,le[re]);if(Gt)for(var re of Gt(le))Rn.call(le,re)&&Rt(oe,re,le[re]);return oe},We=(oe,le)=>Lt(oe,Tt(le)),dt=(oe,le)=>{var re={};for(var pe in oe)en.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Gt)for(var pe of Gt(oe))le.indexOf(pe)<0&&Rn.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ot=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const $t=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at,problemset:je,shixunsDetail:Ye}=le,Se=dt(le,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),ze,gn;const[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)({}),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(""),[It,pt]=(0,x.useState)(""),[wn,kt]=(0,x.useState)(""),[Ct,Wt]=(0,x.useState)(),aa=(0,x.useRef)({}),Ua=(0,x.useRef)(""),Pn=(0,x.useRef)(""),Ja=(0,x.useRef)(""),ba=(0,x.useRef)(null),qn=(0,x.useRef)((0,hn.throttle)(()=>sr(),2e3,{leading:!0,trailing:!1})).current,{id:In}=at,[Cr,ra]=(0,x.useState)(!1);(0,x.useEffect)(()=>{In&&ir()},[In]),(0,x.useEffect)(()=>(JSON.stringify(qt)!=="{}"&&ea(),()=>{clearTimeout(ba.current)}),[qt,Zt,wn,It]);const ea=()=>{clearTimeout(ba.current),ba.current=setTimeout(()=>{!(0,hn.isEqual)(qt,aa.current)||Zt!==Ua.current||wn!==Pn.current||It!==Ja.current?Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},ir=()=>Ot(void 0,null,function*(){var qa,yr,qr,Oa,wr,ko,Wn;Ze({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_base_info.json`,{method:"get"});if(oa.status===0){const ua=We(De({},oa.data),{description:(0,un.S)(oa.data.description)}),co={description:ua.description,shixun_tags:ua.shixun_tags,name:ua.name,course:((qa=ua==null?void 0:ua.disciplines)==null?void 0:qa.length)>0?[(qr=(yr=ua==null?void 0:ua.disciplines)==null?void 0:yr[0])==null?void 0:qr.id,(ko=(wr=(Oa=ua==null?void 0:ua.disciplines)==null?void 0:Oa[0])==null?void 0:wr.sub_discipline)==null?void 0:ko.id]:[]};(Wn=Ye.detail)!=null&&Wn.is_jupyter_lab&&(co.jupyter_show_description=oa.data.jupyter_show_description),zn.setFieldsValue(co),aa.current=De({},co),Ua.current=ua.attachment_id||"",Pn.current=ua.cover_image_id||"",Ja.current=ua.attachment_id_b||"",Zn(De({},co)),Qt(ua.attachment_id||""),pt(ua.attachment_id_b||""),kt(ua.cover_image_id||""),Wt(ua.cover_image||"")}}),Fr=(qa,yr)=>{Zn(De({},yr))},Pr=()=>{La()},sr=()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),zn.submit()},dn=(qa,yr=!1,qr=1)=>{var Oa;const{name:wr,description:ko,shixun_tags:Wn,course:oa,jupyter_show_description:ua=!1}=qa;let co={name:wr,description:ko,shixun_tags:Wn,attachment_id:Zt,cover_image_id:wn,attachment_id_b:It,sub_discipline_ids:oa[1]};(Oa=Ye.detail)!=null&&Oa.is_jupyter_lab&&(co=We(De({},co),{jupyter_show_description:ua})),(0,lt.ZP)(`/api/shixuns/${In}/base_info_save.json`,{method:"post",body:{shixun:De({},co),sync_origin_shixun:yr}}).then(gs=>Ot(void 0,null,function*(){var Ts,Ec,Pc,Aa;if(gs.status===0&&((Ts=Ye==null?void 0:Ye.detail)!=null&&Ts.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ze({type:"practiceSetting/getCommonData",payload:{id:In}}),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),aa.current={description:qt.description,shixun_tags:qt.shixun_tags,name:qt.name},Ua.current=Zt,Pn.current=wn,Ja.current=It,(Ec=Ye==null?void 0:Ye.detail)!=null&&Ec.copy_for_exercise)){const Ar=yield Ze({type:"shixunsDetail/saveCopyForExercise",payload:{id:In,save_type:qr}});qr===1?(Pc=Ar==null?void 0:Ar.data)!=null&&Pc.exists_same_shixun_name?Ze({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(Aa=Ar==null?void 0:Ar.data)==null?void 0:Aa.shixun_name,getBaseInfo:()=>{ir()}}}):(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),Ze({type:"classroomList/setActionTabs",payload:{}})):(Ze({type:"classroomList/setActionTabs",payload:{}}),(Ar==null?void 0:Ar.status)===0&&Ne.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Ve.createElement("div",null,Ve.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var Qr,Bo;(0,et.xg)(`/shixuns/${(Bo=(Qr=Ye==null?void 0:Ye.detail)==null?void 0:Qr.fork_from)==null?void 0:Bo.fork_identifier}/challenges`)}}))}}))},La=()=>{var qa;const yr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(qa=at==null?void 0:at.sideBar)!=null&&qa.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{yr()}}):yr()};function tr(qa){const yr=qa.type==="image/jpeg"||qa.type==="image/png";return yr||Me.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),yr}const la=Ve.createElement(de.ZP,{loading:Bn,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ga=Ve.createElement(de.ZP,{loading:ca,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ta=Ve.createElement(de.ZP,{loading:Fn,icon:Ve.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function Nr(qa,yr){const qr=new FileReader;qr.addEventListener("load",()=>yr(qr.result)),qr.readAsDataURL(qa)}const Ao=qa=>{var yr,qr;if(qa.file.status==="uploading"){Yn(!0);return}qa.file.status==="done"&&(Yn(!1),Qt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id))},Go=qa=>{var yr,qr;if(qa.file.status==="uploading"){vt(!0);return}qa.file.status==="done"&&(vt(!1),pt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id))},wl=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)("/api/attachments/"+Zt,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>Qt(""),style:{fontSize:"16px",color:"red"}}))),Dl=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)("/api/attachments/"+It,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>pt(""),style:{fontSize:"16px",color:"red"}}))),qu=qa=>{var yr,qr;if(qa.file.status==="uploading"){An(!0);return}qa.file.status==="done"&&(An(!1),kt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id),ra(!0))},Ai=()=>Ve.createElement("div",{className:ne.img},Ve.createElement("img",{src:(0,xe.z)(Cr?"/api/attachments/"+wn:Ct,!0),alt:"avatar",style:{width:"100%"}}),Ve.createElement("div",null,Ve.createElement(Le.Z,{onClick:()=>{kt(""),Wt("")},style:{fontSize:"16px",color:"red"}})));return Ve.createElement("div",{className:ne.information},Ve.createElement("section",{className:ne.scroll},Ve.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Ve.createElement("div",{className:ne.formWrap}," ",Ve.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onValuesChange:Fr,onFinish:qa=>{var yr,qr;(yr=Ye==null?void 0:Ye.detail)!=null&&yr.is_fork_from_creator&&((qr=Ye==null?void 0:Ye.detail)!=null&&qr.copy_for_exercise)?Ze({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:qa,type:"information",fn:(Oa,wr,ko)=>{dn(Oa,wr,ko)}}}):dn(qa)}},Ve.createElement(ce.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},Ve.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((ze=qt.name)==null?void 0:ze.length)||0}/60`})),Ve.createElement(ce.default.Item,{className:"customAddTags",name:"shixun_tags",label:Ve.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",Ve.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},Ve.createElement(jn,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Ve.createElement(ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Ve.createElement(Ae.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:je.courseOptions,getPopupContainer:qa=>qa.parentNode})),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Zt?wl():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:Ao},la))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},It?Dl():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:Go},Ta))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(Ge.Z,null,Ve.createElement(Be.Z,null,Ve.createElement(ce.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},wn||Ct?Ai():Ve.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:qu},Ga))),Ve.createElement(Be.Z,{className:"c-grey-999"},Ve.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Ve.createElement(ce.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Ve.createElement(se.Z,{defaultValue:qt.description||"",watch:!0})),((gn=Ye.detail)==null?void 0:gn.is_jupyter_lab)&&Ve.createElement(ce.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Ve.createElement(Xe.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),Ve.createElement(Ln,{onSave:qn,onCancel:Pr,loading:Bn||ca||Fn}))};var Xt=(0,Oe.connect)(({problemset:oe,loading:le,globalSetting:re,practiceSetting:pe,shixunsDetail:Ze})=>({globalSetting:re,loading:le,practiceSetting:pe,problemset:oe,shixunsDetail:Ze}))($t),Ht={flex_box_center:"flex_box_center___LiAPc",flex_space_between:"flex_space_between___zOrvl",flex_box_vertical_center:"flex_box_vertical_center___pWI0p",flex_box_center_end:"flex_box_center_end___R1B7f",flex_box_column:"flex_box_column___BUSOq",menu:"menu___MLa2L",warehouse:"warehouse___NZ6o9",header:"header___DQSpw",title:"title___Q6voz",content:"content___v9Jfn",left:"left___MiFbg",right:"right___UOxcP",loading:"loading___r25tt",empty:"empty___J3rPx",tabs:"tabs___BsV1l",line:"line___tmfZh",footer:"footer___E442y",commit:"commit___vMKYK",blueLight:"blueLight___n7jAx",filePathWrp:"filePathWrp___ueAb3",filePath:"filePath___V7EhW",bottom0:"bottom0___WUqx8"},on=ue(99313),At=ue(6848),Bt=ue(20834),nn=ue(38854),ht=ue(71418),Ft=ue(17574),Nt=ue(78673),sn=ue(56102),yt={wrap:"wrap___IzxNT",modal:"modal___jcKd0",title:"title___DeCGl",path:"path___IiSd5",colorBlue:"colorBlue___P7hk_",width240:"width240___HRevG",filePath:"filePath___l5wGn"},Mt=Object.defineProperty,Tn=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,Xa=(oe,le,re)=>le in oe?Mt(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,gr=(oe,le)=>{for(var re in le||(le={}))zt.call(le,re)&&Xa(oe,re,le[re]);if(Tn)for(var re of Tn(le))na.call(le,re)&&Xa(oe,re,le[re]);return oe},lr=(oe,le)=>{var re={};for(var pe in oe)zt.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Tn)for(var pe of Tn(oe))le.indexOf(pe)<0&&na.call(oe,pe)&&(re[pe]=oe[pe]);return re},za=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Mr=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,dispatch:je,isRepository:Ye}=le,Se=lr(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Yn,Fn]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const An=sessionStorage.getItem("pathArray");if(An){const Zt=An.split(",").join("/"),Qt=Zt.indexOf("/")===0?Zt.substr(1):Zt;Fn(Qt)}},[]),(0,x.useEffect)(()=>{var An,Zt;Zn.current=(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[2]},[]);const vt=(...An)=>za(void 0,[...An],function*(Zt={}){const Qt=yield je({type:"shixunsDetail/addRepositoryFile",payload:{id:gn.id,message:Zt.commitMessage,content:"",path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path+"/"+(Zt.file||".gitkeep"),secret_repository:Ye?void 0:!0}});Qt!=null&&Qt.url&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path+"/"+(Zt.file||".gitkeep"),name:Zt.path.split("/")[Zt.path.split("/").length-1]}),Se.onClose())}),ca=()=>{var An,Zt;Oe.history.push(`/shixuns/${Zn.current}/${(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[3]}${Yn?`/master/shixun_show/${Yn}`:""}`)};return x.createElement(Ne.default,{width:"60%",centered:!0,open:Se.visible,wrapClassName:yt.modal,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},x.createElement("section",{className:yt.bg},x.createElement("div",{className:yt.wrap},x.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:vt,onChange:()=>{var An,Zt,Qt,It;const pt=gr({},Bn.getFieldsValue()),wn=(An=pt==null?void 0:pt.path)==null?void 0:An.split(""),kt=(Zt=pt==null?void 0:pt.file)==null?void 0:Zt.split("");(Qt=wn==null?void 0:wn.filter(Ct=>Ct=="/"))!=null&&Qt.length&&(pt.path=pt.path.substring(0,pt.path.length-1)),(It=kt==null?void 0:kt.filter(Ct=>Ct=="/"))!=null&&It.length&&(pt.file=pt.file.substring(0,pt.path.length-1)),Bn.setFieldsValue(gr({},pt)),qt(pt)}},x.createElement(ce.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},x.createElement(Ge.Z,null,x.createElement(Be.Z,null,x.createElement("span",{className:yt.filePath},Se.defaultPath+"/")),x.createElement(Be.Z,{flex:"1"},x.createElement(ce.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),x.createElement(ce.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),x.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var br=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Mr),rr=ue(44905),fr=ue(41227),or=ue(59301),Za=Object.defineProperty,Ur=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,bn=(oe,le,re)=>le in oe?Za(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,On=(oe,le)=>{for(var re in le||(le={}))_r.call(le,re)&&bn(oe,re,le[re]);if(Ur)for(var re of Ur(le))bt.call(le,re)&&bn(oe,re,le[re]);return oe},Ut=(oe,le)=>{var re={};for(var pe in oe)_r.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ur)for(var pe of Ur(oe))le.indexOf(pe)<0&&bt.call(oe,pe)&&(re[pe]=oe[pe]);return re},fn=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Hn=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,dispatch:je,isRepository:Ye}=le,Se=Ut(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Yn,Fn]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const An=sessionStorage.getItem("pathArray");if(An){const Zt=An.split(",").join("/"),Qt=Zt.indexOf("/")===0?Zt.substr(1):Zt;Fn(Qt)}},[]),(0,x.useEffect)(()=>{var An,Zt;Zn.current=(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[2]},[]);const vt=(...An)=>fn(void 0,[...An],function*(Zt={},Qt=!1,It=1){var pt,wn;const kt=yield je({type:"shixunsDetail/addRepositoryFile",payload:{id:gn.id,message:Zt.commitMessage,content:Zt.codeMirror,path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path,secret_repository:Ye?void 0:!0,sync_origin_shixun:Qt}});kt!=null&&kt.url&&((pt=re==null?void 0:re.detail)!=null&&pt.copy_for_exercise||Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:(Se.defaultPath?Se.defaultPath+"/":"")+Zt.path,name:Zt.path.split("/")[Zt.path.split("/").length-1]}),Se.onClose()),(wn=re==null?void 0:re.detail)!=null&&wn.copy_for_exercise&&(0,fr.m)(je,re,gn.id,It)}),ca=()=>{var An,Zt;Oe.history.push(`/shixuns/${Zn.current}/${(Zt=(An=ze.pathname)==null?void 0:An.split("/"))==null?void 0:Zt[3]}${Yn?`/master/shixun_show/${Yn}`:""}`)};return or.createElement(Ne.default,{width:"60%",open:Se.visible,wrapClassName:yt.modal,destroyOnClose:!0,centered:!0,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},or.createElement("section",{className:yt.bg},or.createElement("div",{className:yt.wrap},or.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:An=>{var Zt,Qt;(Zt=re==null?void 0:re.detail)!=null&&Zt.is_fork_from_creator&&((Qt=re==null?void 0:re.detail)!=null&&Qt.copy_for_exercise)?(Se.onClose(),je({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:An,type:"wareHouse",fn:(It,pt,wn)=>{vt(It,pt,wn)}}})):vt(An)},onChange:()=>{var An,Zt;const Qt=On({},Bn.getFieldsValue()),It=(An=Qt==null?void 0:Qt.path)==null?void 0:An.split("");((Zt=It==null?void 0:It.filter(pt=>pt=="/"))==null?void 0:Zt.length)>1&&(Qt.path=Qt.path.substring(0,Qt.path.length-1)),Bn.setFieldsValue(On({},Qt)),qt(Qt)}},or.createElement(ce.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},or.createElement(Ge.Z,null,or.createElement(Be.Z,null,or.createElement("span",{className:yt.filePath},Se.defaultPath+"/")),or.createElement(Be.Z,{flex:"1"},or.createElement(ce.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},or.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),or.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},or.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),or.createElement("div",{className:"mt10 mb20"},or.createElement(ce.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},or.createElement(rr.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var ma=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Hn),Qe=Object.defineProperty,gt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,Gn=(oe,le,re)=>le in oe?Qe(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Qn=(oe,le)=>{for(var re in le||(le={}))it.call(le,re)&&Gn(oe,re,le[re]);if(gt)for(var re of gt(le))Vn.call(le,re)&&Gn(oe,re,le[re]);return oe},Wa=(oe,le)=>{var re={};for(var pe in oe)it.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&>)for(var pe of gt(oe))le.indexOf(pe)<0&&Vn.call(oe,pe)&&(re[pe]=oe[pe]);return re},wa=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const va=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,dispatch:je,isRepository:Ye}=le,Se=Wa(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Yn,Fn]=(0,x.useState)(""),[vt,ca]=(0,x.useState)("");(0,x.useEffect)(()=>{Se.visible&&Bn.resetFields()},[Se.visible]),(0,x.useEffect)(()=>{const Qt=Se.defaultPath.split("/");Qt.length===1?(Fn(""),ca(Se.defaultPath)):(ca(Qt.pop()),Fn(Qt.join("/")+"/"))},[Se.defaultPath]),(0,x.useEffect)(()=>{var Qt,It;Zn.current=(It=(Qt=ze.pathname)==null?void 0:Qt.split("/"))==null?void 0:It[2]},[]);const An=(...Qt)=>wa(void 0,[...Qt],function*(It={}){const pt=yield je({type:"shixunsDetail/moveGitFile",payload:{id:gn.id,from:Se.defaultPath,to:Yn+It.path,message:It.commitMessage||`${Se.defaultPath} rename to ${Yn}${It.path} `,secret_repository:Ye}});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Se.onOK({path:It.path,name:It.path}),Se.onClose())}),Zt=()=>{var Qt,It;Oe.history.push(`/shixuns/${Zn.current}/${(It=(Qt=ze.pathname)==null?void 0:Qt.split("/"))==null?void 0:It[3]}${Yn?`/master/shixun_show/${Yn}`:""}`)};return x.createElement(Ne.default,{width:"40%",open:Se.visible,wrapClassName:yt.modal,centered:!0,onOk:()=>{Bn.submit()},onCancel:Se.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},x.createElement("section",{className:yt.bg},x.createElement("div",{className:yt.wrap},x.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:An,onChange:()=>{var Qt,It;const pt=Qn({},Bn.getFieldsValue()),wn=(Qt=pt==null?void 0:pt.path)==null?void 0:Qt.split("");((It=wn==null?void 0:wn.filter(kt=>kt=="/"))==null?void 0:It.length)>1&&(pt.path=pt.path.substring(0,pt.path.length-1)),Bn.setFieldsValue(Qn({},pt)),qt(pt)}},x.createElement(ce.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},x.createElement(Ge.Z,null,x.createElement(Be.Z,{flex:"1"},x.createElement(ce.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:vt}))))),x.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},x.createElement(ye.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Se.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var Ma=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(va),Fa=ue(97477),Sn={wrap:"wrap___mjOgj",title:"title___yLtbX",path:"path___oKd0o",colorBlue:"colorBlue___HAuxN"},Ba=ue(59301),Br=Object.defineProperty,oo=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,Io=(oe,le,re)=>le in oe?Br(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,vr=(oe,le)=>{for(var re in le||(le={}))Kn.call(le,re)&&Io(oe,re,le[re]);if(oo)for(var re of oo(le))cn.call(le,re)&&Io(oe,re,le[re]);return oe},lo=(oe,le)=>{var re={};for(var pe in oe)Kn.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&oo)for(var pe of oo(oe))le.indexOf(pe)<0&&cn.call(oe,pe)&&(re[pe]=oe[pe]);return re},Tr=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:_o}=rt.default,Co=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,dispatch:je,isRepository:Ye}=le,Se=lo(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useLocation)(),gn=(0,Oe.useParams)(),[zn,qt]=(0,x.useState)({}),Zn=(0,x.useRef)(),[Bn]=ce.default.useForm(),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)();let An;(0,x.useEffect)(()=>{Se.visible&&(Bn.resetFields(),Fn([]))},[Se.visible]),(0,x.useEffect)(()=>{Zn.current=gn.id},[]),(0,x.useEffect)(()=>{const kt=sessionStorage.getItem("pathArray");if(kt){const Ct=kt.split(",").join("/"),Wt=Ct.indexOf("/")===0?Ct.substr(1):Ct;ca(Wt)}},[]);const Zt=kt=>{var Ct,Wt,aa,Ua;if(An=kt.file.name,kt.file.status==="done"||kt.file.status==="uploading"){if(Fn(kt.fileList),!kt.file.response)return;if(((Ct=kt.file.response)==null?void 0:Ct.status)===0){(Wt=re==null?void 0:re.detail)!=null&&Wt.copy_for_exercise||(Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Bn.validateFields());return}Fn(Yn.filter(Pn=>Pn.uid!==kt.file.uid)),(aa=kt.file.response)!=null&&aa.message&&Me.ZP.info((Ua=kt.file.response)==null?void 0:Ua.message)}},Qt=kt=>Tr(void 0,null,function*(){if(!kt.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield je({type:"shixunsDetail/deleteGitFile",payload:{id:gn.id,path:vt?`${vt}/${kt.name}`:kt.name,message:Bn.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${vt?`${vt}/${kt.name}`:kt.name}`,secret_repository:Ye?null:!0}})).status===0&&(Fn(Yn.filter(Wt=>Wt.uid!==kt.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),It={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!Bn.getFieldValue("commitMessage"),data:()=>Tr(void 0,null,function*(){return new Promise((kt,Ct)=>Tr(void 0,null,function*(){setTimeout(()=>Tr(void 0,null,function*(){const Wt=yield Bn.getFieldsValue(),aa=vr(vr({},{path:Se.defaultPath?Se.defaultPath:"",message:zn.commitMessage||`\u4E0A\u4F20\u4E86${An}`}),Ye?{}:{secret_repository:!0});kt(aa)}),200)}))}),fileList:Yn,method:"post",action:`${tt.Z.API_SERVER}/api/shixuns/${Zn.current}/upload_git_file.json`,onChange:Zt,onRemove:Qt,beforeUpload:kt=>(An=kt.name,kt.size/1024/1024>50?(Me.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},pt=(kt=!1,Ct=1)=>Tr(void 0,null,function*(){var Wt;const aa=vr(vr({},{path:Se.defaultPath?Se.defaultPath:"",message:zn.commitMessage||`\u4E0A\u4F20\u4E86${An}`}),Ye?{}:{secret_repository:!0});for(let Ua=0;Ua{Pn.append(ba,aa[ba].toString())});const Ja=yield(0,lt.ZP)(`/api/shixuns/${Zn.current}/upload_git_file.json`,{method:"post",body:Pn},!0)}Se.onClose(),Se.onOK({path:Se.defaultPath}),wn(),(Wt=re==null?void 0:re.detail)!=null&&Wt.copy_for_exercise&&(0,fr.m)(je,re,gn.id,Ct)}),wn=()=>{var kt,Ct;Oe.history.push(`/shixuns/${Zn.current}/${(Ct=(kt=ze.pathname)==null?void 0:kt.split("/"))==null?void 0:Ct[3]}${vt?`/master/shixun_show/${vt}`:""}`)};return Ba.createElement(Ne.default,{open:Se.visible,onOk:kt=>{Bn.submit()},centered:!0,onCancel:Se.onClose,width:"70%"},Ba.createElement("section",{className:Sn.bg},Ba.createElement("div",{className:Sn.wrap},Ba.createElement("div",{className:Sn.title},"\u4E0A\u4F20\u6587\u4EF6"),Ba.createElement(ce.default,{className:"mt10",form:Bn,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Tr(void 0,null,function*(){var kt,Ct;yield Bn.validateFields(),(kt=re==null?void 0:re.detail)!=null&&kt.is_fork_from_creator&&((Ct=re==null?void 0:re.detail)!=null&&Ct.copy_for_exercise)?(Se.onClose(),je({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Wt,aa)=>{pt(Wt,aa)}}})):pt()}),onValuesChange:()=>qt(vr({},Bn.getFieldsValue()))},Ba.createElement(ce.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},Ba.createElement(ye.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),Ba.createElement(ce.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(kt,Ct){return(Yn==null?void 0:Yn.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},Ba.createElement("div",{onClick:()=>{if(!Bn.getFieldValue("commitMessage")){Me.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},Ba.createElement(_o,vr({},It),Ba.createElement("div",null,Ba.createElement("i",{className:`iconfont icon-shangchuan font50 ${Sn.colorBlue}`})),Ba.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",Ba.createElement("span",{className:`${Sn.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),Ba.createElement(Fa.Z,{onFinish:kt=>ca(kt)})))};var Uo=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Co),jr={flex_box_center:"flex_box_center___yg9nA",flex_space_between:"flex_space_between___f3dyx",flex_box_vertical_center:"flex_box_vertical_center___ezJcl",flex_box_center_end:"flex_box_center_end___nfffI",flex_box_column:"flex_box_column___c30ic",headLeft:"headLeft___rFzBG",colorBlue:"colorBlue___I8QNd",wrap:"wrap___E3izY",nodata:"nodata___o_3nl",nodataText:"nodataText___bDrE1",content:"content___oLCqi",gitCode:"gitCode___CGi8t",ellipsis:"ellipsis___OJSuo",menu:"menu___aPJ5X",overlayClass:"overlayClass___EtZDz",tips:"tips___P5llh",gitTree:"gitTree___uVb5X"},vo={wrap:"wrap___MYOb_",content:"content___hIU8_",mainPathWrap:"mainPathWrap___U1qhQ",colorBlue:"colorBlue___UUdCo"},kn=Object.defineProperty,Rr=Object.getOwnPropertySymbols,uo=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,xt=(oe,le,re)=>le in oe?kn(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,qe=(oe,le)=>{for(var re in le||(le={}))uo.call(le,re)&&xt(oe,re,le[re]);if(Rr)for(var re of Rr(le))io.call(le,re)&&xt(oe,re,le[re]);return oe},He=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Vt=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,title:Ze,pathList:at=[],showInputPath:je=!1,isMergeSelectFile:Ye=!1,onFinish:Se=()=>{}})=>{const[ze]=ce.default.useForm(),gn=(0,Oe.useParams)(),zn=(0,Oe.useLocation)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(""),[Yn,Fn]=(0,x.useState)(""),[vt,ca]=(0,x.useState)([]),[An,Zt]=(0,x.useState)([]);(0,x.useEffect)(()=>{var Ct,Wt;qt.current=((Wt=(Ct=zn.pathname)==null?void 0:Ct.split("/"))==null?void 0:Wt[3])==="repository"},[]),(0,x.useEffect)(()=>{if(oe.actionTabs.key!=="Repository-SelectFilePath")return;const Ct=at.join("/");let Wt=[];at.map((aa,Ua)=>{Ua===0?Wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${aa}`,path:Ct}):Wt.push({val:`/${aa}`,path:Ct})}),ca(Wt),Bn(Ct),Fn(Ct),Qt(Ct)},[oe.actionTabs.key]);const Qt=Ct=>He(void 0,null,function*(){const Wt=yield pe({type:qt.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:gn.id,path:Ct}});Wt&&Zt(Wt.trees||[])}),It=Ct=>{let Wt=Zn;Ct.type==="tree"&&(vt.length?vt.push({val:`/${Ct.name}`,path:Ct.name}):vt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ct.name}`,path:Ct.name}),ca(vt),Wt=Zn?`${Zn}/${Ct.name}`:Ct.name,Bn(Wt)),Qt(Wt)},pt=(Ct,Wt)=>{const aa=vt.filter((Pn,Ja)=>Ja<=Wt);ca(aa);const Ua=aa.filter((Pn,Ja)=>Ja!==0).map(Pn=>Pn.val).join("").substr(1);Bn(Ua),Qt(Ua)},wn=()=>He(void 0,null,function*(){const Ct=ze==null?void 0:ze.getFieldsValue(),Wt=Zn?`${Zn}${Ct!=null&&Ct.name?`/${Ct==null?void 0:Ct.name}`:""}`:Ct==null?void 0:Ct.name;if(Ye){Se(Wt),kt();return}if(je){yield ze.validateFields();const aa=yield pe({type:"shixunsDetail/uploadGitFolder",payload:qe(qe({},{id:gn.id,path:Wt}),qt.current?{}:{secret_repository:!0})});Se(Yn),aa.status===0&&Me.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Se(Wt),Me.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");kt()}),kt=()=>{pe({type:"shixunsDetail/setActionTabs",payload:{}}),ze.resetFields()};return x.createElement(Ne.default,{centered:!0,title:Ze||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:oe.actionTabs.key==="Repository-SelectFilePath",onOk:wn,onCancel:kt},x.createElement("div",{className:vo.wrap},x.createElement("div",{className:vo.content},x.createElement("div",{className:vo.mainPathWrap},!!(vt!=null&&vt.length)&&vt.map((Ct,Wt)=>x.createElement("a",{key:Wt,onClick:()=>pt(Ct,Wt)},Ct.val))),!!(An!=null&&An.length)&&An.map((Ct,Wt)=>Ct.type==="tree"&&x.createElement("a",{key:Wt,onClick:()=>It(Ct)},x.createElement("i",{className:`iconfont icon-wenjianjia ${vo.colorBlue}`}),Ct.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement("div",{className:"mt5 mb5"},Zn),je&&x.createElement(ce.default,{form:ze,scrollToFirstError:!0,className:"mt20"},x.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var Mn=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(Vt),pa=ue(18785),xn=ue(84105),ya=ue(23869),rn=ue(854),da=Object.defineProperty,Gr=Object.defineProperties,po=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,Dr=(oe,le,re)=>le in oe?da(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Lr=(oe,le)=>{for(var re in le||(le={}))cr.call(le,re)&&Dr(oe,re,le[re]);if(jo)for(var re of jo(le))ka.call(le,re)&&Dr(oe,re,le[re]);return oe},Ir=(oe,le)=>Gr(oe,po(le)),Kr=(oe,le)=>{var re={};for(var pe in oe)cr.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&jo)for(var pe of jo(oe))le.indexOf(pe)<0&&ka.call(oe,pe)&&(re[pe]=oe[pe]);return re},ja=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{DirectoryTree:Ka}=Ft.default,mr=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,activeKey:je,dispatch:Ye,practiceSetting:Se,isRepository:ze,treeData:gn,setTreeData:zn}=le,qt=Kr(le,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Zn,Bn,Yn,Fn,vt,ca,An;const Zt=(0,Oe.useParams)(),Qt=(0,Oe.useLocation)(),[It,pt]=(0,x.useState)(),[wn,kt]=(0,x.useState)(!1),[Ct,Wt]=(0,x.useState)(!1),[aa,Ua]=(0,x.useState)(!1),[Pn,Ja]=(0,x.useState)(!1),[ba,qn]=(0,x.useState)("");let[In,Cr]=(0,x.useState)([]),[ra,ea]=(0,x.useState)([]);const[ir,Fr]=(0,x.useState)([]),[Pr,sr]=(0,x.useState)(!1),[dn,La]=(0,x.useState)(),[tr,la]=(0,x.useState)(),[Ga,Ta]=(0,x.useState)(""),[Nr,Ao]=(0,x.useState)(),[Go,wl]=(0,x.useState)(!1);(0,x.useEffect)(()=>{zn([]),wr(""),localStorage.warehouseHideTip||sr(!0)},[Qt.pathname,ze]);const Dl=(Aa="")=>ja(void 0,null,function*(){(yield(0,ct.Zt)({id:Zt.id,secret_dir_path:Aa}))&&Ao(Aa)}),qu=Aa=>{var Ar;return x.createElement(Bt.default,{className:jr.menu,onClick:Qr=>{switch(qn(Aa.path||""),Qr.key){case"1":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),kt(!0);break;case"2":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),Ua(!0);break;case"3":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),Ja(!0);break;case"4":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Wt(!0);break;case"5":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),oa(Aa.path,Aa.name,Aa);break;case"6":(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),ua(Aa);break}}},(Aa.type==="topTree"||Aa.type==="tree")&&x.createElement(Bt.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(Aa.type==="topTree"||Aa.type==="tree")&&x.createElement(Bt.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(Aa.type==="topTree"||Aa.type==="tree")&&x.createElement(Bt.default.Item,{key:"3"},"\u4E0A\u4F20"),Aa.type!=="topTree"&&Aa.type!=="tree"&&((Ar=re==null?void 0:re.detail)==null?void 0:Ar.public)<2&&x.createElement(Bt.default.Item,{key:"4"},"\u91CD\u547D\u540D"),Aa.type!=="topTree"&&x.createElement(sn.CopyToClipboard,{text:`/data/workspace/myshixun/${ze?"":"secret/"}${Aa==null?void 0:Aa.path}`,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Bt.default.Item,{key:"6"},x.createElement(x.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),Aa.type!=="topTree"&&x.createElement(Bt.default.Item,{key:"5"},"\u5220\u9664"))},Ai=(Aa,Ar)=>Aa.map(Qr=>(Ar==""?Qr.path=Ar+Qr.name:Qr.path=Ar+"/"+Qr.name,Qr.title=x.createElement(Ge.Z,{className:"font14"},x.createElement(Be.Z,{flex:"1"},x.createElement(Ge.Z,null,Qr.type==="blob"&&x.createElement(Be.Z,{flex:"20px",style:{marginLeft:-20}},x.createElement("span",{className:"iconfont icon-wenjian11 font12"})),x.createElement(Be.Z,{flex:"1"},x.createElement("span",{className:" multi_ellipsis1"},Qr.name)))),x.createElement(Be.Z,null,(Qr.type==="blob"||Qr.type==="tree")&&x.createElement(nn.Z,{dropdownRender:()=>qu(Qr),className:jr.ellipsis},x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Qr.disableCheckbox=It&&It!==Qr.name,Qr.className=Qr.type==="tree"?jr.pl23:"",Qr.checkable=Qr.type!=="tree",Qr.isLeaf=Qr.type!=="tree",Qr.children=Qr.type==="tree"&&[],Qr.key=Qr.path,Qr)),qa=Aa=>{Ye({type:"practiceSetting/setSideBarTabs",payload:{selectPath:Aa}})},yr=(Aa,Ar)=>ja(void 0,null,function*(){const Qr=Aa.split("/");yield wr(ba),setTimeout(()=>{qa(Aa),In=[Qr[0]||""],ra=[Aa],ea([...ra]),Cr([...In])},150)}),qr=(Aa,Ar)=>{if(Ar=="")gn=[...Aa],zn([...Aa]);else{let Qr=Oa(gn,Ar,Aa);gn=Qr,zn([...Qr])}};function Oa(Aa,Ar,Qr){return Aa.map(Bo=>Bo.key===Ar?(Bo.children=[...Qr],Lr({},Bo)):Bo.children?Ir(Lr({},Bo),{children:Oa(Bo.children,Ar,Qr)}):Bo)}const wr=(Aa="")=>ja(void 0,null,function*(){var Ar,Qr;const Bo=yield Ye({type:ze?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Zt.id,path:Aa}});if(Bo){if((Ar=Bo.trees)!=null&&Ar.length){let Eu=Ai([...Bo.trees],Aa);qr(Eu,Aa),Fr(Bo.trees||[]),la(Aa||""),console.log("handleGetRepository:",Eu,Aa),setTimeout(()=>console.log(gn,Bo.trees,Aa,999999),2e3)}else Aa==""&&zn([]);La(((Qr=Bo.commits)==null?void 0:Qr[0])||{})}return Bo}),ko=Aa=>ja(void 0,null,function*(){return new Promise((Ar,Qr)=>ja(void 0,null,function*(){Aa.children.length&&Ar(),Ta(Aa.path),yield wr(Aa.path),Ar()}))}),Wn=(Aa,Ar)=>ja(void 0,null,function*(){var Qr;console.log("handleSelectTree",Aa,Ar.nativeEvent.target.nodeName,Ar);const Bo=()=>{qa(Ar.node.path),Aa=[Ar.node.path],ea([...Aa])};Ar.nativeEvent.target.nodeName==="svg"||Ar.nativeEvent.target.nodeName==="LI"||Ar.nativeEvent.target.nodeName==="I"||Ar.node.type==="blob"&&((Qr=Se==null?void 0:Se.sideBar)!=null&&Qr.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Bo(),Ye({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Bo())}),oa=(Aa,Ar,Qr)=>{Ne.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${Qr.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ja(void 0,null,function*(){const Bo=yield Ye({type:"shixunsDetail/deleteGitFile",payload:{id:Zt.id,path:Aa,message:`\u5220\u9664${Aa}`,secret_repository:ze?null:!0}});let Eu=Aa.split("/");if((Bo==null?void 0:Bo.status)===0){Me.ZP.info("\u5220\u9664\u6210\u529F"),Eu.splice(Eu.length-1,1);const ks=yield wr(Eu.length>1?Eu.join("/"):"");return ks!=null&&ks.trees||(Eu.splice(Eu.length-1,1),yield wr(Eu.length>1?Eu.join("/"):"")),qa(""),!0}else(Bo==null?void 0:Bo.status)===-3?Ne.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:x.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",Aa,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Zt.id}/edit/${Bo==null?void 0:Bo.message}/tab=2`}}):(Bo==null?void 0:Bo.status)===-4&&Ne.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:x.createElement("div",null,Bo==null?void 0:Bo.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Zt.id}/edit?tabId=service`}})})})},ua=Aa=>{console.log(Aa,"item")},co=(Aa,Ar)=>ja(void 0,null,function*(){if(console.log("handleExpand",Ar),Ar.nativeEvent.target.nodeName==="svg"||Ar.nativeEvent.target.nodeName==="path"||Ar.nativeEvent.target.nodeName==="LI")return!0;yield ko(Ar.node),In.includes(Ar.node.path)?In.splice(In.indexOf(Ar.node.path),1):In.push(Ar.node.path),Cr([...In])}),Bi=()=>{sr(!1),localStorage.warehouseHideTip=!0},gs=Aa=>ja(void 0,null,function*(){var Ar;let Qr,Bo="",Eu,ks;switch(ze){case!0:Bo="\u5F00\u542F\u7248\u672C\u5E93",Eu="\u5F00\u542F",ks="\u4E0D\u5F00\u542F",Qr=x.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(Ar=re==null?void 0:re.detail)!=null&&Ar.secret_repository?(Bo="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Eu="\u786E\u5B9A",ks="\u53D6\u6D88",Qr=x.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Bo="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Eu="\u4E0D\u4F7F\u7528",ks="\u4F7F\u7528",Qr=x.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!ze&&(0,ya.gy)(Ye,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||Ne.default.confirm({title:Bo,okText:Eu,cancelText:ks,content:Qr,onOk:()=>{var Wi;(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Bo]),!ze&&!((Wi=re==null?void 0:re.detail)!=null&&Wi.secret_repository)||Ts(Aa)},onCancel:()=>{var Wi;!ze&&!((Wi=re==null?void 0:re.detail)!=null&&Wi.secret_repository)&&Ts(Aa)}})}),Ts=Aa=>ja(void 0,null,function*(){ze?(yield(0,ct.h4)(Lr({},Zt)),Ye({type:"practiceSetting/getCommonData",payload:Lr({},Zt)})):yield(0,ct.K0)(Ir(Lr({},Zt),{is_secret_repository:Aa})),wr(),Ye({type:"shixunsDetail/getShixunsDetail",payload:{id:Zt.id}})}),Ec=Aa=>{console.log(Aa)},Pc=Aa=>ja(void 0,null,function*(){console.log(Aa);const Ar=Aa.node.key,Qr=Aa.dragNode.key,Bo=Aa.node.pos.split("-"),Eu=Aa.dropPosition-Number(Bo[Bo.length-1]);if(Aa.dragNode.type==="tree"){Me.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(Aa.node.type!=="tree"){Me.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield Ye({type:"shixunsDetail/moveGitFile",payload:Lr({id:Zt.id,from:Aa.dragNode.path,to:Aa.node.path+"/"+Aa.dragNode.name,message:`${Aa.dragNode.path} move to ${Aa.node.path+"/"+Aa.dragNode.name} `},ze?{}:{secret_repository:!0})})).status===0){qa(""),yield wr("");for(let Ml=0;Mlqu({type:"topTree"}),className:"current"},x.createElement(At.Z,{open:Pr,title:x.createElement("div",{className:"font16"},x.createElement(pa.Z,{style:{position:"relative",left:-35},onClick:()=>Bi()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",x.createElement("span",{onClick:()=>Bi(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:jr.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ze&&((Fn=re==null?void 0:re.detail)==null?void 0:Fn.init_repository)&&x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ze&&((vt=re==null?void 0:re.detail)==null?void 0:vt.secret_repository)&&x.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!gn.length&&!ze&&x.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},x.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),gn.length?x.createElement(x.Fragment,null,x.createElement("div",{className:jr.content},je==="1"&&x.createElement("div",{className:jr.tips},"\u63D0\u793A\uFF1A",x.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),x.createElement(Ka,{disabled:!!Ze.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:gn,switcherIcon:x.createElement(xn.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:co,expandedKeys:In,selectedKeys:ra,onSelect:Wn,draggable:!0,onDragEnter:Ec,onDrop:Pc,className:jr.gitTree}))):"",!gn.length&&ze&&((ca=re==null?void 0:re.detail)==null?void 0:ca.init_repository)&&x.createElement(xr,null),!gn.length&&!ze&&((An=re==null?void 0:re.detail)==null?void 0:An.secret_repository)&&x.createElement(xr,null))),x.createElement(Ma,{visible:Ct,defaultPath:ba,onClose:()=>Wt(!1),isRepository:!ze,onOK:Aa=>ja(void 0,null,function*(){const Ar=ba.split("/");Ar.pop(),yield wr(Ar.join("/")),qa("")})}),x.createElement(ma,{visible:wn,defaultPath:ba,onClose:()=>kt(!1),isRepository:ze,onOK:Aa=>{yr(Aa.path,Aa.name)}}),x.createElement(br,{visible:aa,defaultPath:ba,onClose:()=>Ua(!1),isRepository:ze,onOK:Aa=>{yr(Aa.path,Aa.name)}}),x.createElement(Uo,{defaultPath:ba,visible:Pn,isRepository:ze,onClose:()=>Ja(!1),onOK:Aa=>ja(void 0,null,function*(){const Ar=ba.split("/");yield wr(ba),In=[Ar[0]||""],ra=[ba],ea([...ra]),Cr([...In])})}),x.createElement(Mn,{pathList:ba==null?void 0:ba.split("/"),showInputPath:!0,isMergeSelectFile:Go,onFinish:Aa=>{Go?Dl(Aa):wr(Aa),wl(!1)}}))},xr=()=>x.createElement("div",{className:`mt20 pb50 ${jr.nodata}`},x.createElement("div",{className:jr.headLeft},"\u63D0\u793A\uFF1A",x.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",x.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",x.createElement("br",null),"1\u3001",x.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",x.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",x.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),x.createElement("img",{width:"100%",src:rn.Oe}));var Hr=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,practiceSetting:pe,user:Ze})=>({shixunsDetail:oe,globalSetting:re,user:Ze,practiceSetting:pe,loading:le}))(mr),hr={flex_box_center:"flex_box_center___uEeXZ",flex_space_between:"flex_space_between___z5vGD",flex_box_vertical_center:"flex_box_vertical_center___yPWu8",flex_box_center_end:"flex_box_center_end___A11tq",flex_box_column:"flex_box_column___Mpz7g",commitWrap:"commitWrap____iXlX",wrap:"wrap___TqYMq",colorGray:"colorGray___zz_Ji",content:"content___jIgca",itemTime:"itemTime___u4iJz",imageUrl:"imageUrl___iQiEg",blueLight:"blueLight___saBbR",divider:"divider___Vpgba",empty:"empty___vUjYH"},Ea=ue(28103),ta=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,ho=(oe,le)=>{var re={};for(var pe in oe)Ra.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&ta)for(var pe of ta(oe))le.indexOf(pe)<0&&kr.call(oe,pe)&&(re[pe]=oe[pe]);return re},Ho=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Oo=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,user:at,dispatch:je,isRepository:Ye}=le,Se=ho(le,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ze=(0,Oe.useParams)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{qt()},[Ye]);const qt=()=>Ho(void 0,null,function*(){const Zn=yield je({type:"shixunsDetail/getRepositoryCommit",payload:{id:ze.id,secret_repository:Ye?void 0:!0}});Zn&&zn(Zn.commits||[])});return x.createElement(x.Fragment,null,gn==""&&x.createElement("div",{className:hr.empty},x.createElement("img",{src:rn.em,width:"258"}),x.createElement("br",null),x.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),gn!=""&&x.createElement("section",{className:hr.bg},x.createElement("div",{className:hr.wrap},x.createElement("div",{className:hr.content},gn==null?void 0:gn.map(Zn=>{var Bn,Yn;return x.createElement("div",null,x.createElement(Ge.Z,{align:"middle",className:"c-white font16"},x.createElement(Be.Z,null,Zn.title)),x.createElement(Ge.Z,{align:"middle",className:"mt20 "},x.createElement(Be.Z,null,x.createElement("img",{className:hr.imageUrl,src:tt.Z.IMG_SERVER+"/"+((Bn=Zn.author)==null?void 0:Bn.image_url)})),x.createElement(Be.Z,{className:hr.blueLight},x.createElement("span",{className:"ml20"},(Yn=Zn.author)==null?void 0:Yn.username)),x.createElement(Be.Z,null,x.createElement("span",{className:`ml20 ${hr.blueLight}`},"\u63D0\u4EA4\u4E8E"),x.createElement("span",{className:`ml20 ${hr.blueLight}`},Zn.time))),x.createElement(Ea.Z,{className:hr.divider}))})))))};var Jo=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le.models.index}))(Oo),pl=ue(10825),Da=ue(59301),Xl=Object.defineProperty,nu=Object.defineProperties,Lu=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable,ia=(oe,le,re)=>le in oe?Xl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Pa=(oe,le)=>{for(var re in le||(le={}))nr.call(le,re)&&ia(oe,re,le[re]);if(au)for(var re of au(le))ga.call(le,re)&&ia(oe,re,le[re]);return oe},to=(oe,le)=>nu(oe,Lu(le)),Do=(oe,le)=>{var re={};for(var pe in oe)nr.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&au)for(var pe of au(oe))le.indexOf(pe)<0&&ga.call(oe,pe)&&(re[pe]=oe[pe]);return re},Yo=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{TabPane:Er}=on.default,Vr=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at,shixunsDetail:je}=le,Ye=Do(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze,gn,zn,qt,Zn,Bn,Yn,Fn,vt,ca,An,Zt,Qt,It,pt,wn,kt,Ct;const[Wt,aa]=(0,x.useState)("1"),[Ua,Pn]=(0,x.useState)("1");let[Ja,ba]=(0,x.useState)();const qn=(0,x.useRef)(),[In,Cr]=(0,x.useState)(!0),[ra,ea]=(0,x.useState)(["2","1"]),[ir,Fr]=(0,x.useState)([]),Pr=(0,x.useRef)(),sr=(0,Oe.useParams)(),dn=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Da.createElement("span",null,Da.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Da.createElement(At.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Da.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,x.useEffect)(()=>{var Ga,Ta,Nr,Ao,Go,wl,Dl,qu,Ai,qa,yr,qr,Oa,wr,ko,Wn,oa,ua;try{((Nr=(Ta=(Ga=je==null?void 0:je.fileContent)==null?void 0:Ga.content)==null?void 0:Ta.content)!=null&&Nr.length||((Go=(Ao=je==null?void 0:je.fileContent)==null?void 0:Ao.content)==null?void 0:Go.content)=="")&&(((wl=je==null?void 0:je.fileContent)==null?void 0:wl.file_type)==="txt"?(qn.current=window.decodeURIComponent(escape(window.atob((qu=(Dl=je==null?void 0:je.fileContent)==null?void 0:Dl.content)==null?void 0:qu.content))),Ja=window.decodeURIComponent(escape(window.atob((qa=(Ai=je==null?void 0:je.fileContent)==null?void 0:Ai.content)==null?void 0:qa.content))),ba(Ja)):(qn.current=(qr=(yr=je==null?void 0:je.fileContent)==null?void 0:yr.content)==null?void 0:qr.content,Ja=(wr=(Oa=je==null?void 0:je.fileContent)==null?void 0:Oa.content)==null?void 0:wr.content,ba(Ja)))}catch(co){qn.current=window.atob((Wn=(ko=je==null?void 0:je.fileContent)==null?void 0:ko.content)==null?void 0:Wn.content),Ja=window.atob((ua=(oa=je==null?void 0:je.fileContent)==null?void 0:oa.content)==null?void 0:ua.content),ba(Ja),Me.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",je.fileContent.content)},[(Se=je==null?void 0:je.fileContent)==null?void 0:Se.content]),(0,x.useEffect)(()=>{var Ga;const Ta=(Ga=at==null?void 0:at.sideBar)==null?void 0:Ga.selectPath.split("/");ea(Ta)},[(ze=at==null?void 0:at.sideBar)==null?void 0:ze.selectPath]);const La=Ga=>{ba(Ga);let Ta=-1;Ga===qn.current?Ta=0:Ta=1,Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!Ta}})};(0,x.useEffect)(()=>{new Promise((Ga,Ta)=>Yo(void 0,null,function*(){var Nr,Ao,Go;if(((Nr=at==null?void 0:at.sideBar)==null?void 0:Nr.selectPath)!==""&&((Ao=at==null?void 0:at.sideBar)!=null&&Ao.selectPath)){const wl=yield Ze({type:"shixunsDetail/getFileContent",payload:{id:sr.id,path:(Go=at==null?void 0:at.sideBar)==null?void 0:Go.selectPath,secret_repository:In?null:!0}});wl!=null&&wl.content||(wl==null?void 0:wl.content)==""||Ze({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(gn=at==null?void 0:at.sideBar)==null?void 0:gn.selectPath]);const tr=Da.createElement(Bt.default,{className:Ht.menu,style:{background:"#24294b"},onClick:Ga=>{var Ta;!((Ta=je==null?void 0:je.detail)!=null&&Ta.secret_repository)&&Ga.key==="2"&&Pn("1"),aa(Ga.key),Ga.key==="1"?Cr(!0):Cr(!1)}},Da.createElement(Bt.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),dn.filter(Ga=>{var Ta,Nr;return!((Ta=je==null?void 0:je.detail)!=null&&Ta.init_repository)||(Nr=je==null?void 0:je.detail)!=null&&Nr.is_jupyter_lab?Ga.id!=="2":Ga}).map((Ga,Ta)=>Da.createElement(Bt.default.Item,{className:"leaveClick",key:Ga.id},Ga.name))),la=(Ga=!1,Ta=1)=>Yo(void 0,null,function*(){var Nr,Ao,Go,wl;const Dl=yield Ze({type:"shixunsDetail/updateRepositoryFile",payload:{id:sr.id,path:(Ao=(Nr=je==null?void 0:je.fileContent)==null?void 0:Nr.params)==null?void 0:Ao.path,content:Ja,secret_repository:In?null:!0,sync_origin_shixun:Ga}});Dl!=null&&Dl.content&&((Go=je==null?void 0:je.detail)!=null&&Go.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ze({type:"practiceSetting/setSideBarTabs",payload:to(Pa({},at.sideBar),{confirmLeave:!1})})),(wl=je==null?void 0:je.detail)!=null&&wl.copy_for_exercise&&(0,fr.m)(Ze,je,sr.id,Ta)});return Da.createElement("div",{className:Ht.warehouse},Da.createElement("div",{className:Ht.header},Da.createElement(Ge.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Da.createElement(Be.Z,{flex:"1"},Da.createElement(Ge.Z,{align:"middle"},Da.createElement(Be.Z,null,Da.createElement(nn.Z,{dropdownRender:()=>tr,className:Ht.menu},Da.createElement("span",{className:"font16 c-white current ml20"},dn.find(Ga=>Ga.id===Wt).name," ",Da.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Da.createElement(Be.Z,{flex:"81px"},Da.createElement("div",{className:Ht.line})),Da.createElement(Be.Z,null,Da.createElement(on.default,{className:Ht.tabs,activeKey:Ua,onChange:Ga=>{var Ta;(Ta=at==null?void 0:at.sideBar)!=null&&Ta.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Pn(Ga),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(Pn(Ga),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Da.createElement(Er,{tab:Da.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),In&&((zn=je==null?void 0:je.detail)==null?void 0:zn.init_repository)&&Da.createElement(Er,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!In&&((qt=je==null?void 0:je.detail)==null?void 0:qt.secret_repository)&&Da.createElement(Er,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(In&&((Zn=je==null?void 0:je.repository)==null?void 0:Zn.git_url)||!In&&((Bn=je==null?void 0:je.secretRepository)==null?void 0:Bn.git_url))&&Da.createElement(Da.Fragment,null,Da.createElement(Be.Z,null,Da.createElement("span",{className:Ht.title},"\u4ED3\u5E93\u5730\u5740:"),Da.createElement("input",{value:In?(Yn=je==null?void 0:je.repository)==null?void 0:Yn.git_url:(Fn=je==null?void 0:je.secretRepository)==null?void 0:Fn.git_url}),Da.createElement(sn.CopyToClipboard,{text:In?(vt=je==null?void 0:je.repository)==null?void 0:vt.git_url:(ca=je==null?void 0:je.secretRepository)==null?void 0:ca.git_url,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},Da.createElement(At.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Da.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Da.createElement("div",{className:Ht.content,style:{overflow:"auto"}},Ua==="1"&&Da.createElement(Da.Fragment,null,Da.createElement("aside",{className:Ht.left},Da.createElement(ht.Z,{spinning:!!pe.effects["shixunsDetail/getRepository"],wrapperClassName:`${Ht.loading} ${Ht.bottom0}`},Da.createElement(Hr,{setTreeData:Fr,treeData:ir,activeKey:Wt,isRepository:In}))),Da.createElement("aside",{className:Ht.right,ref:Pr},((An=at==null?void 0:at.sideBar)==null?void 0:An.selectPath)!==""&&Da.createElement(Da.Fragment,null,Da.createElement(ht.Z,{spinning:!!pe.effects["shixunsDetail/getFileContent"],wrapperClassName:Ht.loading},Da.createElement("div",{className:Ht.filePathWrp},Da.createElement(Ge.Z,{align:"middle",className:"w100"},Da.createElement(Be.Z,null,Da.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Da.createElement(Be.Z,{flex:"40px"},Da.createElement("div",{className:Ht.line,style:{marginLeft:20}})),Da.createElement(Be.Z,{className:Ht.filePath},ra.map((Ga,Ta)=>Da.createElement("span",{className:"c-blue"},Ga))))),Da.createElement("div",{className:pe.effects["shixunsDetail/getFileContent"]?"hide":"show"},Da.createElement(pl.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Zt=je==null?void 0:je.fileContent)==null?void 0:Zt.filename,type:((Qt=je==null?void 0:je.fileContent)==null?void 0:Qt.file_type)==="office"?"download":(It=je==null?void 0:je.fileContent)==null?void 0:It.file_type,data:Ja,monacoEditor:{value:Ja,language:(pt=je==null?void 0:je.fileContent)==null?void 0:pt.language,onChange:Ga=>La(Ga),options:{fontSize:14}}}))),((wn=je==null?void 0:je.fileContent)==null?void 0:wn.file_type)==="txt"&&Da.createElement(Ge.Z,{align:"middle",justify:"center",className:Ht.footer},Da.createElement(Be.Z,null,Da.createElement(de.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Oe.history.push(`/shixuns/${sr.id}/challenges`)}},"\u53D6\u6D88"),Da.createElement(de.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Ga=>{var Ta,Nr;(Ta=je==null?void 0:je.detail)!=null&&Ta.is_fork_from_creator&&((Nr=je==null?void 0:je.detail)!=null&&Nr.copy_for_exercise)?Ze({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Ao,Go)=>{la(Ao,Go)}}}):la()}},"\u63D0\u4EA4")))),((kt=at==null?void 0:at.sideBar)==null?void 0:kt.selectPath)==""&&((Ct=je==null?void 0:je.detail)==null?void 0:Ct.init_repository)&&Da.createElement("div",{className:Ht.empty},Da.createElement("img",{src:rn.x7,width:"258"}),Da.createElement("br",null),Da.createElement("span",{className:"c-grey-c"},!!(ir!=null&&ir.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(ir!=null&&ir.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),Ua==="2"&&Da.createElement("div",{className:Ht.commit},Da.createElement(Jo,{isRepository:In}))))};var mo=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(Vr),Jr={flex_box_center:"flex_box_center___qr2XQ",flex_space_between:"flex_space_between___aexCP",flex_box_vertical_center:"flex_box_vertical_center___BCwy9",flex_box_center_end:"flex_box_center_end___MMXT9",flex_box_column:"flex_box_column___XpXt5",level:"level___zlDui",left:"left___eEQyc",container:"container___uKDQP",title:"title___NIFJk",listWrap:"listWrap___uVi_7",list:"list___K1CRH",s3:"s3___s7a1S",s2:"s2___LsTSy",listActive:"listActive___r53KB",os:"os___zLMDu",btns:"btns___fvyWI",btnsWrap:"btnsWrap___pVqhU",icon:"icon___TBkIn",btn:"btn___RbP1C",d1:"d1_____n0x",d2:"d2___TFujl",shrink:"shrink___XsTLO",elseShrink:"elseShrink___Sgotd",right:"right___kNV70",addIcon:"addIcon___Dagu_"},Zo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISGBkBCmZhCQkADCryjaJrYo+IvdKOAEor89rL/Ir2LLIHbaCWyRtqUl0sumW0UQbVvGJqjMYUqKzEmlUhlreuP513fu2e+dunVfvXr1XqDUOmu9dd+998z7O3vvs8+5ZyvUKnTo0IoFmNMWxbGxKI5KhJFM5XAwpbGhK4WXH36/2lqroibyqX0PqFpkuex7etrUBlyQjGJKTiGPnJNrGFAaocEMtm3vxoOPXq321aLMiTxq2wNVA2H5XXrelCacT2KrEHSp6uk8lFbIbO/DTx+5TO2sbTMmcqu2B6oCwsm360mzJ+EdBEFQRQgMAkDe8T6fRfblbvz7+mtUb7WVn0hfux4YPRA6dOzk+Wivz6KBxR/Ko29qAifEo2jJ6yInCAPQCkpp6JyCCvNq6xtSHihSKex44DL137VrxkRO1fZAWSAs+pGOTRrAcckYjghpRN0CSWx3tGcBhPNQLifIWXHB5/zPK8LAhj489MpH1KFqGzD69FqhAwrrixyqbNpF0Fit8mXj/RFEGBEIC7+rG2fEcWpEIT5EAZSGc/g7iqFfFAzpHzduGDiYxmvZNKg4JkNR6MFB9D5/FfYbXlLjcNmP9VknzsA3ExFMVwrIaSBsW57OAxHl3bPgvAYYJ58HwiHonkE8+eAruOKRK1R3jas1rrIrCYT5a3R8ZiNODYc9LsDRHnGq7t7zPyNEIsPjSRKJn82aDi5yB4kQAQY1Bvp7sfnZq7DDzDVqErT60qN4IRnFohAJbEHAYc77XN4DgCg55r8CsnnvGg0DWw7g1ptWqOtrUp1xmklJIJz0HX1sTKHNUD8LRCNAxkdVlYfWIaghKMkChjPIc5vGpDeIKR2IuLyCSmns/+2DeAn3KnciWnEXHvttfX48jGVvm4drE2HUMQMCgYFEZiB3iFgUEBTmufKAwXe83dW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bgbx00vzyup5yJorHdGNu/LhaD48syfn7+u5fIe6X0pUeNP4x+woxVRBOEdKiMcwX6HZHOvpFOraeTQDhtKjKEd7wGo0jAaAleapxt/NEDw519OtEg73Xj+Z0FEDuLcRe5T7Luh4tmj/2qV5uYrhZWlzbmFdtSyU1ebXIcTtmMU8tc/Mt175ir15PNK6ry6BNBGUyc/sV2A8J2/jqXAMTawBw+ScoDzxIun+K4GRcMogMAOZUexU+RaaiSV6tCRRp6/s8uVUc0o9qetpL5jAUW5ugpgS4GlFJjLgWukcv0gWc0PtPnp5Uo7eoojlSzD3fYXzJaDOkY6tlSnVdPx5QDilu2WMxIBK6kPO7caMJTrG+EelXCyIG40Unq/yPXSGyCUtSQOA1c1nVFuhFT6vhTxK82nmvhufwQBcLRgq6ZfR1OGP3/hRqsNCP7AgVAJAUfTWZXk92bFLQW8KurzpwWEavSDKjr5DyHp2IDwh9CyiTpW1ANFE3NFySYi/3H1gJiYx6In/HH1xJ94ayaA8CcOAGl+IBCUYzMoNaNgnDHMNkbV7eXy9r8Pil9JHqXa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",sl=ue(64165),tl=ue(19306),Pu=Object.defineProperty,Su=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,cl=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,Il=(oe,le,re)=>le in oe?Pu(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ru=(oe,le)=>{for(var re in le||(le={}))cl.call(le,re)&&Il(oe,re,le[re]);if(Au)for(var re of Au(le))Zu.call(le,re)&&Il(oe,re,le[re]);return oe},Wu=(oe,le)=>Su(oe,Kl(le)),Ou=(oe,le)=>{var re={};for(var pe in oe)cl.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Au)for(var pe of Au(oe))le.indexOf(pe)<0&&Zu.call(oe,pe)&&(re[pe]=oe[pe]);return re},Nl=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const xi=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ze}=le,at=Ou(le,["globalSetting","dispatch","practiceSetting"]);const je=(0,Oe.useLocation)(),[Ye]=(0,Oe.useSearchParams)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)(!0),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(null),ca=(0,x.useRef)(!1),{id:An,updateIndex:Zt,is_published:Qt,newQuestion:It}=Ze,{challenge_list:pt=[]}=gn;(0,x.useEffect)(()=>{if(An)return kt(),()=>{pe({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[An,Zt]),(0,x.useEffect)(()=>{wn()},[je]);const wn=()=>{const ra=je.pathname.split("/");(ra.includes("newquestion")||ra.includes("new")||Ye.get("tabId"))&&(ca.current=!0)},kt=()=>Nl(void 0,null,function*(){var ra,ea,ir;Zn(!0);const Fr=yield(0,ct.n5)({id:An});if((ra=Fr==null?void 0:Fr.challenge_list)!=null&&ra.length){const Pr=je.pathname.split("/"),sr=Fr.challenge_list.find(dn=>String(dn.challenge_id)===Pr[4]);if(Pr.includes("newquestion")||Pr.includes("new")){const dn=Fr.challenge_list[((ea=Fr.challenge_list)==null?void 0:ea.length)-1];pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:Pr.includes("new")?0:1,name:""}}}),vt(void 0),Pn(dn)}else Pr[4]&&sr?Ct(sr,!1):Ct(Fr.challenge_list[0])}(ir=Fr==null?void 0:Fr.challenge_list)!=null&&ir.length||vt(null),zn(Fr),Zn(!1)}),Ct=(ra,ea=!0)=>{if(vt(ra.challenge_id),Pn(ra),ea){const ir=`/shixuns/${An}/edit/${ra.challenge_id}/${ra.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}},Wt=(ra,ea)=>{ea.stopPropagation();const{challenge_id:ir}=ra,Fr=()=>Nl(void 0,null,function*(){var Pr,sr;if((yield(0,ct.rO)({id:An,challengesId:ir})).status===1){const La=yield(0,ct.n5)({id:An});if(zn(La),ir===Fn&&((Pr=La.challenge_list)!=null&&Pr.length)){Ct(La.challenge_list[0]);return}(sr=La.challenge_list)!=null&&sr.length||(vt(null),ca.current=!0,Pn({}),Oe.history.push(`/shixuns/${An}/edit?tabId=level`))}});Ne.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Fr})},aa=(ra,ea,ir)=>{const Fr=Array.from(ra),[Pr]=Fr.splice(ea,1);return Fr.splice(ir,0,Pr),Fr},Ua=(ra,ea)=>{if(!ra.destination)return;const ir=aa(ea,ra.source.index,ra.destination.index);zn(Wu(ru({},gn),{challenge_list:ir}));const Fr=ir.map(Pr=>Pr.challenge_id);(0,ct.xg)({id:An,ids:Fr}).then(Pr=>{Pr.status!==0&&zn(Wu(ru({},gn),{challenge_list:ea}))})},Pn=ra=>{pe({type:"practiceSetting/setParams",payload:{selectQuestionParams:ra}})},Ja=(ra,ea)=>Nl(void 0,null,function*(){if(ra===Fn)return;yield ba(),vt(ra),Pn(ea),pe({type:"practiceSetting/setParams",payload:{newQuestion:null}});const ir=`/shixuns/${An}/edit/${ra}/${ea.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}),ba=()=>new Promise((ra,ea)=>{var ir;(ir=Ze==null?void 0:Ze.sideBar)!=null&&ir.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{pe({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),ra()},onCancel:()=>{ea()}}):ra()}),qn=ra=>x.createElement(x.Fragment,null,x.createElement(tl.Z5,{onDragEnd:ea=>Ua(ea,ra)},x.createElement(tl.bK,{droppableId:"droppable"},(ea,ir)=>x.createElement("div",Wu(ru({ref:ea.innerRef},ea.droppableProps),{style:{width:"100%"}}),ra.map((Fr,Pr)=>{const{st:sr,name:dn,challenge_id:La}=Fr;return x.createElement(tl._l,{key:La,draggableId:La.toString(),index:Pr,isDragDisabled:Qt},(tr,la)=>x.createElement("div",Wu(ru(ru({ref:tr.innerRef},tr.draggableProps),tr.dragHandleProps),{className:Fn===La?Jr.listActive:Jr.list,onClick:()=>Ja(La,Fr)}),x.createElement("span",{className:Jr.s1},sr===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Jr.s2},"\u7B2C",Pr+1,"\u5173: ",dn),!Qt&&x.createElement("span",{className:Jr.s3,onClick:Ga=>Wt(Fr,Ga)},x.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),It&&x.createElement("div",{className:Jr.listActive},x.createElement("span",{className:Jr.s1},(It==null?void 0:It.st)===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Jr.s2},"\u7B2C",ra.length+1,"\u5173: ",It==null?void 0:It.name)),!Qt&&x.createElement("div",{className:Jr.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),In=ra=>Nl(void 0,null,function*(){yield ba(),ra==="new"?Oe.history.push(`/shixuns/${An}/edit/new`):Oe.history.push(`/shixuns/${An}/edit/newquestion`),ze(!1),vt(void 0),pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:ra==="new"?0:1,name:""}}})}),Cr=()=>{(0,ya.gy)(pe,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||ze(!Se)};return x.createElement("div",{className:Jr.level},x.createElement("aside",{className:Jr.left,style:{width:Bn?"0":"25%"}},x.createElement("div",{className:Jr.container},x.createElement("div",{className:Jr.title},"\u4EFB\u52A1\u5173\u5361(",pt.length,")"),x.createElement("div",{className:Jr.listWrap},qt?x.createElement(ht.Z,{size:"middle"}):pt.length||It?qn(pt):x.createElement(sl.Z,{image:Zo,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Bn&&x.createElement("div",{className:Jr.btns},x.createElement("aside",{className:Jr.btnsWrap},x.createElement("div",{style:{transform:Se?"rotate(45deg)":"rotate(0deg)"},className:Jr.icon,onClick:Cr},"+"),x.createElement("div",{className:Jr.btn,style:{left:Se?20:-154}},x.createElement("div",{className:Jr.d1,onClick:()=>In("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),x.createElement("div",{className:Jr.d2,onClick:()=>In("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),x.createElement("div",{className:Bn?Jr.elseShrink:Jr.shrink,onClick:()=>Yn(!Bn)},x.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),x.createElement("aside",{className:Jr.right,id:"modal-level-question"},Fn===null&&ca.current?x.createElement("div",{className:Jr.addIcon},x.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):x.createElement(Oe.Outlet,null)))};var ai=(0,Oe.connect)(({globalSetting:oe,practiceSetting:le})=>({globalSetting:oe,practiceSetting:le}))(xi),Bu=ue(61621),Vu=ue(58421),mi=ue(5112),fi={title:"title___nOeqx",content:"content___fZhlH",add:"add___UacIA",colorBlue:"colorBlue___mDMlZ",radio:"radio___mI6Bh"},Ca=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Eo=(oe,le)=>{var re={};for(var pe in oe)zr.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ca)for(var pe of Ca(oe))le.indexOf(pe)<0&&Yr.call(oe,pe)&&(re[pe]=oe[pe]);return re},yl=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const $u=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,dispatch:at,onReloadData:je}=le,Ye=Eo(le,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Se,ze]=(0,x.useState)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{re.actionTabs.key==="Collaborators-ChangeManager"&&qt()},[re.actionTabs.key]);const qt=()=>yl(void 0,null,function*(){var Fn;const vt=yield at({type:"shixunsDetail/getChangeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}});zn(vt||[])}),Zn=()=>{var Fn;at({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}}})},Bn=()=>yl(void 0,null,function*(){var Fn;if(!Se){Me.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const vt=yield at({type:"shixunsDetail/changeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id,user_id:Se}});Yn(),vt&&(je(),Me.ZP.info(vt.message))}),Yn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}}),ze(null)};return x.createElement(Ne.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:re.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Ze.effects["shixunsDetail/changeManager"],onOk:Bn,onCancel:Yn},x.createElement("div",null,x.createElement("div",{className:fi.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",x.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),x.createElement("div",{className:fi.content},gn.length?x.createElement(mi.ZP.Group,{value:Se,onChange:Fn=>ze(Fn.target.value)},gn.map((Fn,vt)=>x.createElement(mi.ZP,{className:fi.radio,key:vt,value:Fn.user_id},Fn.name))):x.createElement("div",{className:fi.add},x.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",x.createElement("a",{className:fi.colorBlue,onClick:Zn},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var dl=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))($u),vi=ue(68226),ri=ue(44405);const{TabPane:Xo}=on.default;var zu=({visible:oe,onCancel:le,onSelectGroup:re,shixunId:pe,onSelectCollaborator:Ze})=>x.createElement(Ne.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:oe,width:1100,centered:!0,keyboard:!1,onCancel:le,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},x.createElement(on.default,{defaultActiveKey:"1"},x.createElement(Xo,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},x.createElement(vi.Z,{onCancel:le,container_type:2,container_id:pe,onSelect:Ze})),x.createElement(Xo,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},x.createElement(ri.Z,{onCancel:le,onSelect:re})))),qo={bg:"bg___eNGI2",wrap:"wrap___cXTZg",modal:"modal___tpv7Q",content:"content___MwVZ6",head:"head___PxksF",headCount:"headCount___ltwMD",button:"button___KydF2",itemWrap:"itemWrap___E0xoZ",imgWrap:"imgWrap___sjKtg",img:"img___iT84N",manager:"manager___T0le_",itemContent:"itemContent___v3w_e",nameWrap:"nameWrap___dFMCl",name:"name___Y7cXc",actionGroup:"actionGroup___fIyBj",deleteIcon:"deleteIcon___gBNJ0",schoolWrap:"schoolWrap___rJCGL",school:"school___V97lL",countWrap:"countWrap___Dhs2Z",deletetitle:"deletetitle___ifJFw",yseTitle:"yseTitle___yrW0X"},_u=ue(87496),ts=Object.defineProperty,fs=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,Fc=Object.prototype.propertyIsEnumerable,ns=(oe,le,re)=>le in oe?ts(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,zl=(oe,le)=>{for(var re in le||(le={}))Sc.call(le,re)&&ns(oe,re,le[re]);if(fs)for(var re of fs(le))Fc.call(le,re)&&ns(oe,re,le[re]);return oe},pi=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const fd=({shixunsDetail:oe,globalSetting:le,loading:re,user:pe,dispatch:Ze})=>{var at,je,Ye,Se,ze,gn;const zn=(0,Oe.useParams)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(0),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({id:null,page:1}),An=(je=(at=pe.userInfo)==null?void 0:at.shixun)==null?void 0:je.editable,Zt=((Ye=pe.userInfo)==null?void 0:Ye.role)<=2||((ze=(Se=pe.userInfo)==null?void 0:Se.shixun)==null?void 0:ze.is_creator);(0,x.useEffect)(()=>{qt.current=zn.id,vt.id=qt.current,ca(vt),Qt(vt)},[]);const Qt=Pn=>pi(void 0,null,function*(){const Ja=yield Ze({type:"shixunsDetail/getCollaboratorsData",payload:Pn});Ja&&(Fn(Ja.members||[]),Bn(Ja.member_count))}),It=()=>pi(void 0,null,function*(){vt.page=1,ca(vt);const Pn=(0,_u.g)();yield Ze({type:"user/getUserInfo",payload:Pn}),yield Qt(vt)}),pt=Pn=>{vt.page=Pn,ca(vt),Qt(vt)},wn=Pn=>{Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:x.createElement("div",{className:qo.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>pi(void 0,null,function*(){var Ja;const ba=yield Ze({type:"shixunsDetail/deleteCollaborators",payload:{id:qt.current,userId:Pn}});if(((Ja=pe.userInfo)==null?void 0:Ja.user_id)===Pn){Oe.history.push("/shixuns");return}Me.ZP.info(ba==null?void 0:ba.message),vt.page=1,ca(vt),Qt(vt)})})},kt=()=>{Ze({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:qt.current}}})};function Ct(Pn,Ja,ba,qn){return pi(this,null,function*(){yield Ze({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Pn,user_id:Ja,editable:ba?0:1}}),Qt(vt)})}const Wt=()=>{Ze({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:qt.current}}})};function aa(){Ze({type:"shixunsDetail/setActionTabs",payload:{}})}const Ua={visible:oe.actionTabs.key==="Collaborators-AddCollaborator",onCancel:aa,shixunId:qt.current,onSelectCollaborator:Pn=>pi(void 0,null,function*(){aa(),(yield Ze({type:"shixunsDetail/addCollaborator",payload:{id:qt.current,user_ids:Pn}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())}),onSelectGroup:Pn=>pi(void 0,null,function*(){aa(),(yield Ze({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:qt.current,group_id:Pn.group_id}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())})};return x.createElement("section",null,x.createElement("div",{className:qo.wrap},x.createElement("div",{className:qo.content},((gn=oe.detail)==null?void 0:gn.identity)<5&&x.createElement("div",{className:qo.head},x.createElement("span",{className:qo.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Zn,"\u4EBA\uFF09"),x.createElement("div",null,Zt&&x.createElement(de.ZP,{type:"primary",ghost:!0,className:qo.button,style:{marginRight:"20px"},onClick:kt},"\u66F4\u6362\u7BA1\u7406\u5458"),An&&x.createElement(de.ZP,{type:"primary",className:qo.button,style:{marginRight:"40px"},onClick:Wt},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),x.createElement("div",{className:qo.list},x.createElement(Bu.Z,{loading:re.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Yn.map((Pn,Ja)=>{var ba,qn,In,Cr,ra,ea,ir,Fr;return x.createElement("div",{style:{display:"inline-block",width:"50%"}},x.createElement("div",{className:qo.itemWrap,key:Ja},x.createElement("a",{href:(ba=Pn.user)==null?void 0:ba.user_url,target:"_blank",className:qo.imgWrap},x.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:qo.img,src:`${tt.Z.IMG_SERVER}/images/${(qn=Pn.user)==null?void 0:qn.image_url}`}),((In=Pn.user)==null?void 0:In.shixun_manager)&&x.createElement("span",{className:qo.manager},"\u521B\u5EFA\u8005")),x.createElement("div",{className:qo.itemContent},x.createElement("p",{className:qo.nameWrap},x.createElement("a",{href:Pn.user.user_url,target:"_blank",className:qo.name},(Cr=Pn.user)==null?void 0:Cr.name,Pn.user.user_id===((ra=pe.userInfo)==null?void 0:ra.user_id)?x.createElement("span",null,"\u6211"):null),x.createElement("div",{className:qo.actionGroup},Zt?(ea=Pn.user)!=null&&ea.shixun_manager?null:x.createElement(nn.Z,{dropdownRender:()=>x.createElement(Bt.default,{selectedKeys:[Pn.editable?"1":"2"],onClick:()=>{var Pr;Ct(oe.detail.identifier,Pn.user.user_id,Pn.editable,(Pr=Pn.user)==null?void 0:Pr.name)}},x.createElement(Bt.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),x.createElement(Bt.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},x.createElement("div",null,Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",x.createElement(xn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((ir=Pn.user)!=null&&ir.shixun_manager)&&An?x.createElement("a",{className:qo.deletetitle,onClick:()=>{var Pr;return wn((Pr=Pn.user)==null?void 0:Pr.user_id)}},"\u5220\u9664"):null)),x.createElement("p",{className:qo.schoolWrap},x.createElement("span",{className:qo.school},(Fr=Pn.user)==null?void 0:Fr.school_name)))))})))),Zn>10&&x.createElement("div",{className:qo.countWrap},x.createElement(Vu.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Zn,onChange:Pn=>pt(Pn),pageSize:10,current:vt.page}))),x.createElement(dl,{onReloadData:It}),x.createElement(zu,zl({},Ua)))};var wi=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le}))(fd),Li=ue(79768),yc=ue(87516),Ws={practice:"practice___ickwa",select:"select___aZrGc"},vd=Object.defineProperty,vs=Object.defineProperties,pd=Object.getOwnPropertyDescriptors,Vs=Object.getOwnPropertySymbols,hd=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,Cc=(oe,le,re)=>le in oe?vd(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Vi=(oe,le)=>{for(var re in le||(le={}))hd.call(le,re)&&Cc(oe,re,le[re]);if(Vs)for(var re of Vs(le))Ed.call(le,re)&&Cc(oe,re,le[re]);return oe},ps=(oe,le)=>vs(oe,pd(le)),hs=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Pd=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{const{id:Ze}=oe,[at]=ce.default.useForm(),je={compute:"GPU",cluster_type:"OpenI"},[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({}),[zn,qt]=(0,x.useState)({});(0,x.useEffect)(()=>{Zn()},[]);const Zn=()=>hs(void 0,null,function*(){var vt,ca,An,Zt;const Qt=yield(0,lt.ZP)(`/api/shixuns/${Ze}.json`,{method:"get"});if(Qt.identifier){const It={place_image_id:[(vt=Qt==null?void 0:Qt.image_data)==null?void 0:vt.id],spec_id:Qt==null?void 0:Qt.spec_id,compute:(ca=Qt.image_data)!=null&&ca.image_id?"GPU":"NPU",cluster_type:(An=Qt.image_data)!=null&&An.clusterType?(Zt=Qt.image_data)==null?void 0:Zt.clusterType:"C2Net"};at.setFieldsValue(Vi({},It)),gn(Vi({},It)),qt(It)}});(0,x.useEffect)(()=>{(0,hn.isEqual)(ze,zn)?le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}})},[ze]);const Bn=()=>{var vt;const ca=()=>{Oe.history.push(`/shixuns/${Ze}/challenges`),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(vt=oe==null?void 0:oe.sideBar)!=null&&vt.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ca()}}):ca()},Yn=(vt,ca)=>{("compute"in vt||"cluster_type"in vt)&&(ca=ps(Vi({},ca),{place_image_id:"",spec_id:""})),"spec_id"in vt&&(ca=ps(Vi({},ca),{place_image_id:""})),at.setFieldsValue(Vi({},ca)),gn(Vi({},ca))},Fn=vt=>hs(void 0,null,function*(){const{spec_id:ca,place_image_id:An,image_data:Zt}=vt||{};Se(!0),(yield(0,lt.ZP)(`/api/shixuns/${Ze}`,{method:"put",body:{is_openi:!0,openi_data:{spec_id:ca,image_data:Zt}}})).status===0&&(Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Zn()),Se(!1)});return x.createElement("div",{className:Ws.practice},x.createElement(ce.default,{form:at,initialValues:je,scrollToFirstError:!0,layout:"vertical",onValuesChange:Yn,onFinish:Fn},x.createElement(yc.Z,{form:at}),x.createElement(Ge.Z,{align:"middle",justify:"end",className:"mt40"},x.createElement(de.ZP,{size:"large",onClick:Bn},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"large",type:"primary",className:"ml20",onClick:()=>at.submit(),loading:Ye},"\u4FDD\u5B58"))))};var zs=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))(Pd),Gu=ue(57809),zi=ue(5871),Gs=ue(60324),bc=ue(51124),Dc=ue(87169),$d={footerWrap:"footerWrap___Qaahm"},Es=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,rs=(oe,le)=>{var re={};for(var pe in oe)Sd.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Es)for(var pe of Es(oe))le.indexOf(pe)<0&&as.call(oe,pe)&&(re[pe]=oe[pe]);return re},Fd=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const yd=ye.default.TextArea,Cd=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,dispatch:at,onFinish:je=()=>{}}=le,Ye=rs(le,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Se]=ce.default.useForm(),ze=zn=>Fd(void 0,null,function*(){var qt;const Zn=yield at({type:"shixunsDetail/getCustomScript",payload:{id:(qt=re.actionTabs.params)==null?void 0:qt.id,compile:zn.execute,excutive:zn.compile}});gn(),Zn&&je(Zn==null?void 0:Zn.shixun_script)}),gn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}})};return x.createElement(Ne.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:re.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:gn},x.createElement(ce.default,{form:Se,scrollToFirstError:!0,layout:"vertical",onFinish:ze},x.createElement(ce.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},x.createElement(yd,{rows:4})),x.createElement(ce.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},x.createElement(yd,{rows:4})),x.createElement("div",{className:$d.footerWrap},x.createElement(ce.default.Item,null,x.createElement(de.ZP,{className:"mr5",size:"middle",onClick:gn},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ze.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var Ac=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))(Cd),hi=ue(76406),Ps=ue(95887),el={practice:"practice___g43Av",right:"right___plViv",title:"title___fJJJd",content:"content___Aiv2H",des:"des___kaZig",mainBody:"mainBody___fTSjs",selectBox:"selectBox___omezm",smallType:"smallType___NU4X3",evaluating:"evaluating___YaR_r",evaluatingLabel:"evaluatingLabel___Cy_Vk",mask:"mask___ewIvw",evaluatingS1:"evaluatingS1___oKt4O",serviceSettingWrap:"serviceSettingWrap___Haz9b",serviceBox:"serviceBox___Oc9DS",serviceSetLeft:"serviceSetLeft___ek9V_",serviceSetTip:"serviceSetTip___t8Vpy",btns:"btns___E8bN3",popover:"popover___s3ipd",serverConfig:"serverConfig___tirr2",viewRecommendConfig:"viewRecommendConfig___vFIgu",gpuConfig:"gpuConfig___JuK_Z"},Bc=ue(88195),bd=ue(84722),me=ue(40151),ve=ue(18309),he=Object.defineProperty,Ie=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Kt=(oe,le,re)=>le in oe?he(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,vn=(oe,le)=>{for(var re in le||(le={}))ft.call(le,re)&&Kt(oe,re,le[re]);if(Dt)for(var re of Dt(le))Yt.call(le,re)&&Kt(oe,re,le[re]);return oe},sa=(oe,le)=>Ie(oe,Re(le)),yn=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Dn=Gu.default.Option,Jn=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{var Ze,at;const[je,Ye]=(0,x.useState)(null),[Se,ze]=(0,x.useState)([]),[gn,zn]=(0,x.useState)(!0),[qt,Zn]=(0,x.useState)({}),[Bn,Yn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(),[ca,An]=(0,x.useState)(),[Zt,Qt]=(0,x.useState)([]),[It,pt]=(0,x.useState)({}),wn=(0,x.useRef)(null),kt=(0,x.useRef)(!0),Ct=(0,x.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Wt=(0,x.useRef)(null),[aa,Ua]=(0,x.useState)(!1),[Pn,Ja]=(0,x.useState)(!1),[ba,qn]=(0,x.useState)({}),{id:In,is_published:Cr}=oe,{frequence_image:ra=[],environments:ea=[],choice_small_type:ir=[],other_image:Fr=[]}=It,{name:Pr,description:sr,authorization:dn,small_type:La=[]}=qt;(0,x.useEffect)(()=>{je!==null&&(Ga(),wn.current.scrollTop=0)},[je]),(0,x.useEffect)(()=>{In&&la()},[In]),(0,x.useEffect)(()=>{if(je!==null)return tr(),()=>{clearTimeout(Wt.current)}},[je,Se,Bn,Fn,ca]);const tr=()=>{clearTimeout(Wt.current),Wt.current=setTimeout(()=>{!(0,hn.isEqual)(Ct.current.activeId,je)||!(0,hn.isEqual)(Ct.current.selectId,Se)||!(0,hn.isEqual)(Ct.current.serviceConfigList,Bn)||!(0,hn.isEqual)(Ct.current.evaluateScript,Fn)||!(0,hn.isEqual)(Ct.current.evaluationScript,ca)?le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},la=()=>yn(void 0,null,function*(){var Oa,wr,ko;zn(!0);const Wn=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_environment_info.json`,{method:"get"});Wn.status===0&&(pt(vn({},Wn.data)),zn(!1),(Oa=Wn==null?void 0:Wn.data)!=null&&Oa.id?(Ct.current.activeId=(wr=Wn==null?void 0:Wn.data)==null?void 0:wr.id,Ye((ko=Wn==null?void 0:Wn.data)==null?void 0:ko.id)):Ye(null))}),Ga=()=>yn(void 0,null,function*(){var Oa,wr,ko,Wn;const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:je}});Zn(oa.data),Ct.current.selectId=(Oa=oa.data)==null?void 0:Oa.choice_small_type,ze((wr=oa.data)==null?void 0:wr.choice_small_type),Ct.current.serviceConfigList=(ko=oa.data)==null?void 0:ko.shixun_service_configs,Yn((Wn=oa.data)==null?void 0:Wn.shixun_service_configs),Ct.current.evaluateScript=oa.data.evaluate_script,vt(oa.data.evaluate_script),Ct.current.evaluationScript=oa.data.choice_standard_scripts,An(oa.data.choice_standard_scripts),Qt(oa.data.standard_scripts)}),Ta=()=>{var Oa;const wr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Oa=oe==null?void 0:oe.sideBar)!=null&&Oa.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wr()}}):wr()},Nr=(Oa=!1)=>yn(void 0,null,function*(){if((qt==null?void 0:qt.survival_time)<10){Me.ZP.warning("\u57FA\u672C\u4FE1\u606F\u66F4\u65B0\u5931\u8D25:\u9A8C\u8BC1\u5931\u8D25: \u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F\u5FC5\u987B\u5927\u4E8E\u6216\u7B49\u4E8E 10");return}if((0,ya.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;const wr={sub_type:Se,main_type:je,shixun:{mirror_script_id:ca,is_jupyter_lab_private_cloud:!1,survival_time:qt==null?void 0:qt.survival_time},shixun_info:{evaluate_script:Fn},shixun_service_configs:Bn.map(Wn=>({mirror_repository_id:Wn.mirror_repository_id,cpu_limit:Wn.cpu_limit,lower_cpu_limit:Wn.lower_cpu_limit,memory_limit:Wn.memory_limit,request_limit:Wn.request_limit,resource_limit:Wn.resource_limit,single_machine_gpu_count:(Wn==null?void 0:Wn.single_machine_gpu_count)||null,single_card_gpu_resource:(Wn==null?void 0:Wn.single_card_gpu_resource)||null}))};(yield(0,lt.ZP)(`/api/shixuns/${In}`,{method:"put",body:wr})).status===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),Ct.current={activeId:je,selectId:Se,serviceConfigList:Bn,evaluateScript:Fn,evaluationScript:ca},le({type:"practiceSetting/getCommonData",payload:{id:In}}),le({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),Ao=La.filter(Oa=>Se.includes(Oa.id)),Go=()=>{Ta()},wl=(Oa,wr,ko)=>{Yn(Wn=>Wn.map((oa,ua)=>ua===ko?sa(vn({},oa),{[wr]:Oa}):oa))},Dl=()=>{(0,ya.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||le({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:In}}})},qu=Oa=>yn(void 0,null,function*(){const wr=yield le({type:"shixunsDetail/getScriptContent",payload:{id:In,script_id:Oa}});wr&&vt(wr.content)}),Ai=Oa=>{Ne.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",x.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>yn(void 0,null,function*(){yield qu(Oa),Ne.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:x.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},qa=(Oa,wr)=>{const ko=Bn[0]?[Bn[0]]:[];wr.forEach(Wn=>{const oa=Bn.find(ua=>ua.mirror_repository_id===Number(Wn.key));if(oa)ko.push(oa);else{const ua=La.find(co=>co.id===Number(Wn.key));if(ua.mirror_name){const co={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(Wn.key),name:ua.mirror_name,request_limit:10};ko.push(co)}}}),Yn(ko),ze(Oa)},yr=Oa=>{wl(String(Oa==null?void 0:Oa.cpu),"cpu_limit",Oa.index),wl(String(Oa==null?void 0:Oa.memory),"memory_limit",Oa.index),Ua(!1)},qr=(Oa,wr)=>{var ko;const{single_card_gpu_resource:Wn,single_machine_gpu_count:oa,mirror_repository:ua}=Oa;if(!ua)return x.createElement(x.Fragment,null);let co=(ua==null?void 0:ua.gpu_allocation_method)=="single_card_multi_allocation"?(ua==null?void 0:ua.single_card_gpu_resource)*1024/Wn:(ua==null?void 0:ua.single_machine_gpu_count)/oa;return x.createElement("div",{className:"mb20 mt20"},x.createElement("div",{style:{color:"#333",marginBottom:4}},"GPU\u8D44\u6E90\u914D\u7F6E"),((ua==null?void 0:ua.gpu_allocation_method)=="single_machine_multi_card"||(ua==null?void 0:ua.gpu_allocation_method)=="multi_machine_multi_card")&&x.createElement(x.Fragment,null,x.createElement("div",{className:el.gpuConfig},x.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A",(ua==null?void 0:ua.gpu_allocation_method)=="single_machine_multi_card"?"\u5355\u673A\u591A\u5361":"\u591A\u673A\u591A\u5361","\uFF0C\u5F53\u524D\u9879\u76EE\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u4E0A\u9650\u4E3A ",ua==null?void 0:ua.single_machine_gpu_count," \u5F20\uFF0C\u6BCF\u5F20\u663E\u5B58\u5927\u5C0F\u4E3A",(ko=ua==null?void 0:ua.gpu_model)==null?void 0:ko[0],"GB")),x.createElement("div",{className:el.gpuConfig,style:{marginTop:10}},x.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684\u663E\u5361\u6570\u91CF\u9650\u5236",x.createElement(zi.Z,{precision:0,min:1,max:ua==null?void 0:ua.single_machine_gpu_count,defaultValue:1,value:oa,size:"large",className:"ml10 mr10",onChange:Bi=>{wl(Bi||1,"single_machine_gpu_count",wr)}}),"\u5F20\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",x.createElement("span",{style:{color:"#FA6400"}},co)," \u4EBA"))),(ua==null?void 0:ua.gpu_allocation_method)=="single_card_multi_allocation"&&x.createElement(x.Fragment,null,x.createElement("div",{className:el.gpuConfig},x.createElement("div",null,"\u5F53\u524D\u5206\u914D\u65B9\u5F0F\uFF1A\u5355\u5361\u591A\u5206\uFF0C\u53EF\u5206\u914DGPU\u8D44\u6E90\u4E3A",ua==null?void 0:ua.single_card_gpu_resource,"GB")),x.createElement("div",{className:el.gpuConfig,style:{marginTop:10}},x.createElement("div",null,"\u5355\u4E2A\u7528\u6237\u53EF\u4F7F\u7528\u7684GPU\u8D44\u6E90\u9650\u5236\uFF08\u5355\u4E2A\u5B9E\u4F8B\u542F\u52A8pod\u6240\u5360\u7528\u7684\u663E\u5B58\uFF09",x.createElement(zi.Z,{min:1,max:(ua==null?void 0:ua.single_card_gpu_resource)*1024,defaultValue:1024,value:Wn,size:"large",className:"ml10 mr10",onChange:Bi=>{wl(Bi||1,"single_card_gpu_resource",wr)}}),"MB\uFF0C\u6700\u5927\u53EF\u5E76\u53D1\u7684\u7528\u6237\u6570 ",x.createElement("span",{style:{color:"#FA6400"}},Math.floor(co))," \u4EBA"))))};return x.createElement("div",{className:el.practice},x.createElement(Ps.Z,{loading:gn,skin:"night",className:el.left,dispatch:le,value:je,data:ea,otherData:Fr,tags:ra,onChange:Oa=>Ye(Oa),onSearchWord:()=>{}}),x.createElement("div",{className:el.right},x.createElement("header",null,x.createElement("div",{className:el.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",je===null?"\u2014 \u2014":Pr)),x.createElement("div",{className:el.content,ref:wn},je===null&&x.createElement(sl.Z,{image:hi,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),je!==null&&x.createElement("div",{className:el.des},x.createElement("div",{className:el.mainBody},x.createElement(xe.Z,{value:sr})),x.createElement("div",{className:el.title},"\u9644\u5E26\u73AF\u5883"),x.createElement("div",{className:el.selectBox},x.createElement(Gu.default,{onChange:(Oa,wr)=>qa(Oa,wr),getPopupContainer:Oa=>Oa.parentNode,mode:"multiple",bordered:!1,value:Se,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},La.map((Oa,wr)=>x.createElement(Dn,{key:Oa.id,value:Oa.id},Oa.type_name))),x.createElement("div",{className:el.smallType},Ao.map(Oa=>Oa.description?x.createElement("span",{key:Oa.id},Oa.description):null))),!((Ze=re==null?void 0:re.detail)!=null&&Ze.is_jupyter_lab)&&x.createElement(x.Fragment,null,x.createElement("div",{className:el.title},"\u8BC4\u6D4B\u811A\u672C"),x.createElement("div",{className:el.evaluating},x.createElement("div",{className:el.evaluatingLabel},Cr&&x.createElement("div",{onClick:()=>{(0,ya.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:el.mask}),x.createElement(Gu.default,{style:{width:400},bordered:!1,getPopupContainer:Oa=>Oa.parentNode,value:ca,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:Oa=>{Ai(Oa),An(Oa)}},(Zt||[]).map((Oa,wr)=>x.createElement(Dn,{value:parseInt(Oa.id),name:Oa.scptname,key:wr},Oa.scptname))),x.createElement("span",{className:el.evaluatingS1,onClick:Dl},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),x.createElement(Gs.Z,{overlayClassName:el.popover,placement:"bottomLeft",content:x.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",x.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",x.createElement("br",null),"challengeProgramNames",x.createElement("br",null),"sourceClassNames",x.createElement("br",null),x.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",x.createElement("br",null),x.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",x.createElement("br",null),"src/step1/HelloWorld.java",x.createElement("br",null),"src/step2/Other.java",x.createElement("br",null),x.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",x.createElement("br",null),"step1.HelloWorld",x.createElement("br",null),"step2.Other",x.createElement("br",null),x.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",x.createElement("br",null),'ff challengeProgramNames=("src/step1/',x.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',x.createElement("br",null),'sourceClassNames=("step1.HelloWorld',x.createElement("br",null),'" "step2.Other")',x.createElement("br",null),x.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},x.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},x.createElement(Dc.Z,null)))),x.createElement(bc.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:Fn,onChange:Oa=>{if(kt.current){kt.current=!1;return}vt(Oa),(0,ya.gy)(le,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{kt.current=!0,vt(Ct.current.evaluateScript)},200)}}))),((at=re.detail)==null?void 0:at.identity)<3&&!!Bn.length&&x.createElement(x.Fragment,null,x.createElement("div",{className:el.title},"\u8D44\u6E90\u914D\u7F6E"),x.createElement("div",{className:el.serviceSettingWrap},Bn==null?void 0:Bn.map((Oa,wr)=>x.createElement("div",{key:wr,className:"mb30"},x.createElement("div",{className:"mb20"},x.createElement("span",{className:"font16"},Oa.name)),x.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),x.createElement(Ge.Z,{align:"middle"},x.createElement(Ge.Z,{align:"middle",wrap:!1},x.createElement("div",{className:el.serverConfig,style:Cr?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Cr||(qn({index:wr,cpu:Oa==null?void 0:Oa.cpu_limit,memory:Oa==null?void 0:Oa.memory_limit}),Ua(!0))}},x.createElement("div",null,x.createElement("span",null,Oa==null?void 0:Oa.cpu_limit,"\u6838")," ",x.createElement("span",null,Oa==null?void 0:Oa.memory_limit,"GB")),x.createElement("i",{className:"iconfont icon-bianji21",style:Cr?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),x.createElement(Ge.Z,{align:"middle",wrap:!1},x.createElement("div",{className:el.viewRecommendConfig,onClick:()=>Ja(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),qr(Oa,wr),x.createElement("div",{className:el.serviceBox},x.createElement("div",{className:el.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),x.createElement(ye.default,{value:Oa.resource_limit,style:{width:400,height:50},disabled:Cr,maxLength:5,onChange:ko=>{const{value:Wn}=ko.target,oa=/^\d*(\.\d*)?$/;Wn.match(oa)&&wl(ko.target.value,"resource_limit",wr)},addonAfter:"M"}),x.createElement("label",{className:el.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))))),x.createElement("div",{className:"flex flex-col gap-10px"},x.createElement("div",null,"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),x.createElement(zi.Z,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F",value:qt==null?void 0:qt.survival_time,addonAfter:"\u5206",min:0,style:{width:256},onChange:Oa=>{Zn(sa(vn({},qt),{survival_time:Oa}))}})))),x.createElement("div",{className:el.btns},x.createElement(de.ZP,{size:"middle",style:{marginRight:20},onClick:Go},"\u53D6\u6D88"),x.createElement(de.ZP,{size:"middle",type:"primary",disabled:je===null,onClick:()=>Nr()},"\u4FDD\u5B58"))),x.createElement(Bc.Z,null),x.createElement(Ac,{onFinish:Oa=>vt(Oa)}),x.createElement(bd.Z,null),x.createElement(me.Z,{visible:aa,onOk:Oa=>yr(Oa),onCancel:()=>Ua(!1),info:ba}),x.createElement(ve.Z,{identifier:In,visible:Pn,onCancel:()=>Ja(!1),info:null,isJupyter:!0}))};var Xn=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))(Jn);const jt=({shixunsDetail:oe})=>{var le,re,pe,Ze;const[at,je]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{var Ye;typeof((Ye=oe==null?void 0:oe.detail)==null?void 0:Ye.is_jupyter_lab)=="boolean"&&at&&je(!1)},[(le=oe==null?void 0:oe.detail)==null?void 0:le.is_jupyter_lab,at]),console.log((re=oe==null?void 0:oe.detail)==null?void 0:re.is_jupyter_lab,at),x.createElement(Bu.Z,{loading:at,active:!0},((pe=oe==null?void 0:oe.detail)==null?void 0:pe.is_jupyter_lab)===!1&&x.createElement(Va,null),((Ze=oe==null?void 0:oe.detail)==null?void 0:Ze.is_jupyter_lab)===!0&&x.createElement(Xn,null))};var Cn=(0,Oe.connect)(({shixunsDetail:oe})=>({shixunsDetail:oe}))(jt);const $n=({practiceSetting:oe,dispatch:le,shixunsDetail:re,user:pe})=>{var Ze;console.log();const at=(Ze=re.detail)==null?void 0:Ze.is_openi;return x.createElement(x.Fragment,null,at&&x.createElement(zs,null),!at&&x.createElement(Cn,null))};var Va=(0,Oe.connect)(({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe})=>({practiceSetting:oe,globalSetting:le,shixunsDetail:re,user:pe}))($n);const Na=({shixunsDetail:oe})=>{var le,re,pe,Ze;const[at,je]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{var Ye;typeof((Ye=oe==null?void 0:oe.detail)==null?void 0:Ye.is_jupyter_lab)=="boolean"&&at&&je(!1)},[(le=oe==null?void 0:oe.detail)==null?void 0:le.is_jupyter_lab,at]),console.log((re=oe==null?void 0:oe.detail)==null?void 0:re.is_jupyter_lab,at),x.createElement(Bu.Z,{loading:at,active:!0},((pe=oe==null?void 0:oe.detail)==null?void 0:pe.is_jupyter_lab)===!1&&x.createElement(Va,null),((Ze=oe==null?void 0:oe.detail)==null?void 0:Ze.is_jupyter_lab)===!0&&x.createElement(Xn,null))};var Ha=(0,Oe.connect)(({shixunsDetail:oe})=>({shixunsDetail:oe}))(Na),Ya=ue(1710),Qa=ue(56656),xa=ue.n(Qa),pr={flex_box_center:"flex_box_center___ap7QK",flex_space_between:"flex_space_between___y0ril",flex_box_vertical_center:"flex_box_vertical_center___lHV36",flex_box_center_end:"flex_box_center_end___LZ9Th",flex_box_column:"flex_box_column___w365Y",dataset:"dataset___Fpv_2",header:"header___JaI8B",title:"title___W2bjU",dataPath:"dataPath___VR6tz",pathTitle:"pathTitle___ZsIta",btns:"btns___o1xZS",content:"content___bsrju",customTable:"customTable___RS8yq",row:"row___dbMWu",empty:"empty___jeKzD",path:"path___q4vau",text:"text___Xngoj",actionsBtns:"actionsBtns___lW7NZ",customModal:"customModal___j7oZm",shareModal:"shareModal___UfYMy",fileName:"fileName___oCsnD",renameModal:"renameModal___kGFhU",errorDes:"errorDes___GQgpo",uploadFileModal:"uploadFileModal___uvHAo",selectBtn:"selectBtn___wCM31",leftButton:"leftButton___KNGj3",rightButton:"rightButton___ejFn9",centerText:"centerText___oZo20"},Sr={wrap:"wrap___tHiDz",colorBlue:"colorBlue___YpQqS",repeatedName:"repeatedName___THyMO"},$r=ue(25992),Fo=Object.defineProperty,xo=Object.defineProperties,Wo=Object.getOwnPropertyDescriptors,al=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,Po=Object.prototype.propertyIsEnumerable,yo=(oe,le,re)=>le in oe?Fo(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,bo=(oe,le)=>{for(var re in le||(le={}))No.call(le,re)&&yo(oe,re,le[re]);if(al)for(var re of al(le))Po.call(le,re)&&yo(oe,re,le[re]);return oe},Vo=(oe,le)=>xo(oe,Wo(le)),Mo=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:rl}=rt.default;var bl=({dispatch:oe,id:le,onClose:re,onOK:pe,visible:Ze,wrapClassName:at,local:je,containerId:Ye,rootIdentifier:Se})=>{var ze;const[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)([]),[Bn,Yn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(0),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(!1),[It]=ce.default.useForm(),[pt,wn]=(0,x.useState)([]),kt=(0,x.useRef)([]);(0,x.useEffect)(()=>{Ze&&(It.resetFields(),wn([]),Yn([]),Zn([]),vt(0),Qt(!1),An(!1))},[Ze]);const Ct=dn=>{var La,tr,la;if(dn.file.status==="done"||dn.file.status==="uploading"){if(wn(dn.fileList),!dn.file.response)return;if((La=dn.file.response)!=null&&La.id){Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}wn(pt.filter(Ga=>Ga.uid!==dn.file.uid)),(tr=dn.file.response)!=null&&tr.message&&Me.ZP.info((la=dn.file.response)==null?void 0:la.message)}},Wt=dn=>Mo(void 0,null,function*(){var La;if(!Fn){const la=pt.filter(Ga=>Ga.uid!==dn.uid);wn(la),kt.current=[...la],Zn(qt.filter(Ga=>Ga!==dn.name)),Me.ZP.info("\u5220\u9664\u6210\u529F"),la.length||(It.setFieldsValue({file:void 0}),It.validateFields());return}if(!dn.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,lt.ZP)(`/api/shixuns/${le}/destroy_data_sets.json`,{method:"Delete",body:{id:[(La=dn==null?void 0:dn.response)==null?void 0:La.id]}})).status===0&&(wn(pt.filter(la=>la.uid!==dn.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),aa=dn=>{if(pt!=null&&pt.some(tr=>tr.name===dn.name))return Me.ZP.info(`${dn.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const La={name:dn.name,uid:dn.uid,file:dn,percent:0};return pt.push(La),kt.current=[...pt],wn([...pt]),!1},Ua={height:300,multiple:!0,disabled:Fn>0,withCredentials:!0,fileList:pt,action:`${tt.Z.API_SERVER}/api/attachments.json`,onChange:Ct,onRemove:Wt,beforeUpload:aa},Pn=(dn,La,tr,la,Ga)=>{const Ta=new FormData;Object.keys(dn).forEach(Ao=>{Ta.append(Ao,dn[Ao])});const Nr=new window.XMLHttpRequest;return Nr.withCredentials=!0,Nr.addEventListener("load",function(Ao){var Go;tr(JSON.parse((Go=Ao==null?void 0:Ao.target)==null?void 0:Go.response))},!1),Nr.addEventListener("error",function(Ao){Ga&&Ga(Ao)},!1),Nr.upload.onprogress=Ao=>{la&&la(Ao)},Nr.open("POST",La),Nr.send(Ta),Nr},Ja=(dn,La)=>{if(dn.lengthComputable){const tr=Math.floor(dn.loaded/dn.total*100),la=Vo(bo({},La),{percent:tr,status:tr===100?"done":"uploading"});console.log(kt.current,333),kt.current=kt.current.map(Ga=>Ga.uid===La.uid?la:Ga),wn(kt.current)}},ba=(dn,La)=>{const tr=Vo(bo({},La),{status:"error"});Me.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),kt.current=kt.current.map(la=>la.uid===La.uid?tr:la),kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},qn=(dn,La)=>{let tr=Vo(bo({},La),{status:"done"});if(dn.status===0||(tr=Vo(bo({},La),{status:"error"}),Me.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),kt.current=kt.current.map(la=>la.uid===La.uid?tr:la),kt.current.every(la=>la.status==="done")){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},In=()=>{let dn=!0;return window.navigator.onLine==!0?dn=!0:dn=!1,dn},Cr=dn=>Mo(void 0,null,function*(){if(Qt(!0),Fn===3){vt(2);return}if(Fn===2||Fn===1){ra();return}const{commitMessage:La="",fileOss:tr=[]}=dn||{},Ga=(je?pt:tr).map(Nr=>Nr.name);if(Ga.filter(Nr=>Nr.indexOf("\u3001")!=-1||Nr.indexOf(" ")!=-1).length>0){Me.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Qt(!1);return}const Ta=yield(0,lt.ZP)(`/api/shixuns/${le}/check_data_sets`,{method:"post",body:{files_name:Ga}});if(Ta.status===-3){Zn(Ta==null?void 0:Ta.exist_files),Qt(!1);return}if(JSON.stringify(Ta)==="{}"){Qt(!1),Me.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}Ta.status===0&&(pt.forEach(Nr=>{const Ao=Pn({file:Nr.file,description:La},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Go=>qn(Go,Nr),Go=>Ja(Go,Nr),Go=>ba(Go,Nr));Bn.push(Ao)}),vt(1))}),ra=()=>{const{commitMessage:dn=""}=bo({},It.getFieldsValue())||{},La=kt.current.filter(la=>la.status==="error"),tr=kt.current.map(la=>Vo(bo({},la),{status:la.status==="error"?"uploading":la.status}));wn(tr),La.forEach(la=>{const Ga=Pn({file:la.file,description:dn},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Ta=>qn(Ta,la),Ta=>Ja(Ta,la),Ta=>ba(Ta,la));Bn.push(Ga)})},ea=dn=>{var La,tr;if(console.log(dn,"changedValues"),"fileOss"in dn){if(dn!=null&&dn.fileOss.every(la=>la.status==="done")&&((La=dn==null?void 0:dn.fileOss)!=null&&La.length)){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}if(dn!=null&&dn.fileOss.every(la=>la.status==="done"||la.status==="error")&&((tr=dn==null?void 0:dn.fileOss)!=null&&tr.length)){vt(3),Qt(!1);return}Zn(qt.filter(la=>{var Ga;return(Ga=dn==null?void 0:dn.fileOss)==null?void 0:Ga.some(Ta=>Ta.name===la)}))}zn(bo({},It.getFieldsValue()))},ir=dn=>{dn||(An(!0),Bn.forEach(La=>{La.abort()})),pe(),re()},Fr=()=>{const{fileOss:dn=[]}=bo({},It.getFieldsValue())||{},La=pt==null?void 0:pt.every(la=>la.status==="done"),tr=dn==null?void 0:dn.every(la=>la.status==="done");if(!La||!tr){Ne.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ir()}});return}ir()},Pr=()=>x.createElement(x.Fragment,null,x.createElement("div",null,x.createElement("i",{className:`iconfont icon-shangchuan font50 ${Sr.colorBlue}`})),x.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",x.createElement("span",{className:`${Sr.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),sr=dn=>{console.log(dn,444)};return x.createElement(Ne.default,{open:Ze,onOk:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),It.submit()},centered:!0,okText:Fn===0?"\u786E\u5B9A":Fn===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Zt},onCancel:Fr,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},x.createElement("div",{className:Sr.wrap},x.createElement(ce.default,{className:"mt10",form:It,scrollToFirstError:!0,layout:"vertical",onFinish:Cr,onValuesChange:ea},je?x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{style:{visibility:"hidden"},className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(rl,bo({},Ua)," ",Pr())):x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement($r.ZP,{identifier:Se,cancelUpload:ca,container_type:"Shixun",container_id:Ye,uploading:Fn<3?Fn:0,disabled:Fn>0,height:300,maxSize:100*1024*1024*1024,description:gn.commitMessage||"",text:Pr(),onComplete:sr,realFileName:!0})),!!qt.length&&x.createElement("span",{className:Sr.repeatedName},qt.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),x.createElement(ce.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{bordered:!1,disabled:Fn>0,maxLength:100,suffix:`${((ze=gn.commitMessage)==null?void 0:ze.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},nl={flex_box_center:"flex_box_center___RwP4Q",flex_space_between:"flex_space_between___JqfPJ",flex_box_vertical_center:"flex_box_vertical_center___L0FU3",flex_box_center_end:"flex_box_center_end___wLRsI",flex_box_column:"flex_box_column___MEfj6",listItem:"listItem___UjT9q",wrap:"wrap___tj83M",leftContent:"leftContent___SgeL2",header:"header___JIhx8",title:"title___Wc9o6",time:"time___SMHCq",introduction:"introduction___uNDtN",from:"from___Cg8bF",bottom:"bottom___Ve8Zg",user_img:"user_img___qqs9Y",user_name:"user_name___LjcGY",tags_name:"tags_name___xvwsP",buttonList:"buttonList___nAH2P",buttonItem:"buttonItem___D6ug3"},Ro=ue(47949),Gl=ue(57884),gl=ue(67298),Xr=ue(59301),Tl=Object.defineProperty,Hl=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,Fu=(oe,le,re)=>le in oe?Tl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,so=(oe,le)=>{for(var re in le||(le={}))kl.call(le,re)&&Fu(oe,re,le[re]);if(Hl)for(var re of Hl(le))gu.call(le,re)&&Fu(oe,re,le[re]);return oe},ol=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const ml=({globalSetting:oe,dispatch:le,practiceSetting:re,shixunsDetail:pe,user:Ze,visible:at,setVisible:je,type:Ye="all",updateData:Se,recordId:ze,identifier:gn})=>{const[zn,qt]=(0,x.useState)([]),[Zn,Bn]=(0,x.useState)(0),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({page:1,limit:4,search:"",order:"public"}),[An,Zt]=(0,x.useState)([{id:"public",name:"\u516C\u5F00\u6570\u636E\u96C6"},{id:"mine",name:"\u6211\u7684\u6570\u636E\u96C6"},{id:"share",name:"\u56E2\u961F\u5171\u4EAB"},{id:"collect",name:"\u6211\u6536\u85CF\u7684"}]);(0,x.useEffect)(()=>{at&&pt()},[at,vt]);const Qt=Ct=>{vt.search=Ct,vt.page=1,ca(so({},vt))},It=Ct=>{vt.page=1,vt.order=Ct,ca(so({},vt))},pt=()=>ol(void 0,null,function*(){(0,gl._S)({page:vt==null?void 0:vt.page,limit:vt==null?void 0:vt.limit,search:vt==null?void 0:vt.search,category:Ye=="all"?vt==null?void 0:vt.order:"mine"}).then(Ct=>{var Wt,aa;(Ct==null?void 0:Ct.status)==0&&(qt((Wt=Ct==null?void 0:Ct.data)==null?void 0:Wt.list),Bn((aa=Ct==null?void 0:Ct.data)==null?void 0:aa.count))})}),wn=()=>ol(void 0,null,function*(){if((Yn==null?void 0:Yn.length)===0)return Me.ZP.warning("\u8BF7\u9009\u62E9\u6570\u636E\u96C6");let Ct=Ye=="all"?{url:"/api/data_sets/batch_send_to_shixun.json",body:{shixun_identifier:gn,data_set_ids:Yn}}:{url:"/api/data_sets/sync_my_data_sets.json",body:{attachment_ids:ze,data_set_id:Yn[0]}};(yield(0,lt.ZP)(Ct==null?void 0:Ct.url,{method:"post",body:Ct==null?void 0:Ct.body})).status===0&&(Me.ZP.info("\u6DFB\u52A0\u6210\u529F"),kt(),Se())}),kt=()=>{je(!1),qt([]),Fn([]),Bn(0),ca({page:1,limit:4,search:"",order:"public"})};return Xr.createElement(Ne.default,{title:"\u9009\u62E9\u6570\u636E\u96C6",open:at,width:900,centered:!0,keyboard:!1,onCancel:()=>kt(),maskClosable:!1,bodyStyle:{minHeight:400},okText:Xr.createElement("div",{onClick:()=>wn()},"\u6DFB\u52A0(",Yn==null?void 0:Yn.length,")")},Xr.createElement(Ge.Z,{align:"middle",justify:"space-between",className:"mt10 mb20"},Xr.createElement(Ro.tp,{dataSource:Ye=="all"?An:[{id:"mine",name:"\u6211\u7684\u6570\u636E\u96C6"}],value:Ye=="all"?vt==null?void 0:vt.order:"mine",onChange:It}),Xr.createElement(Ro.t7,{style:{width:303},placeholder:"\u8BF7\u641C\u7D22\u6570\u636E\u96C6\u540D\u79F0",value:vt==null?void 0:vt.search,onChange:Qt})),(zn==null?void 0:zn.length)===0?Xr.createElement(Gl.Z,{customText:"\u6682\u65E0\u6570\u636E"}):Xr.createElement("div",null,Xr.createElement("div",{style:{height:"410px",overflowY:"auto"}},zn==null?void 0:zn.map((Ct,Wt)=>{var aa,Ua,Pn;return Xr.createElement("div",{className:nl.listItem,key:Wt,onClick:Ja=>{if(Ye=="my"){Fn([Ct.id]);return}Yn.indexOf(Ct.id)>-1?Fn(Yn.filter(ba=>ba!==Ct.id)):Fn(Yn.concat(Ct.id))}},Xr.createElement("div",{style:{display:"flex"}},Xr.createElement("div",{style:{marginTop:"1px"}},Ye=="all"?Xr.createElement(Xe.default,{checked:Yn.includes(Ct.id),value:Ct.id}):Xr.createElement(mi.ZP,{checked:Yn.includes(Ct.id),value:Ct.id})),Xr.createElement("aside",{className:nl.wrap,key:Wt},Xr.createElement("div",{className:nl.leftContent},Xr.createElement("div",{className:nl.header},Xr.createElement("div",{className:nl.title},Ct==null?void 0:Ct.title)),Xr.createElement(At.Z,{title:Ct==null?void 0:Ct.introduction},Xr.createElement("div",{className:nl.introduction},Ct==null?void 0:Ct.desc)),Xr.createElement("div",{className:nl.bottom},Xr.createElement("img",{className:nl.user_img,alt:"\u7528\u6237\u5934\u50CF",src:`${tt.Z.IMG_SERVER}/images/${(aa=Ct==null?void 0:Ct.user_info)==null?void 0:aa.image_url}`}),Xr.createElement("div",{className:nl.user_name},(Ua=Ct==null?void 0:Ct.user_info)==null?void 0:Ua.name),(Pn=Ct==null?void 0:Ct.data_set_tags)==null?void 0:Pn.map((Ja,ba)=>{var qn;return ba<3?Xr.createElement("div",{key:ba,className:nl.tags_name},Ja==null?void 0:Ja.tag_name):ba==3?Xr.createElement(At.Z,{key:ba,title:(qn=Ct==null?void 0:Ct.data_set_tags)==null?void 0:qn.map((In,Cr)=>{var ra;if(Cr>2)return(In==null?void 0:In.tag_name)+(Cr===((ra=In==null?void 0:In.data_set_tags)==null?void 0:ra.length)-1?"":"\u3001")}).join("")},Xr.createElement("div",{key:ba,className:nl.tags_name},"...")):null}))))))})),Xr.createElement(Vu.Z,{showTotal:Ct=>Xr.createElement("span",null,"\u5171",Xr.createElement("span",{style:{color:"#165DFF",marginLeft:"3px"}},Ct)," \u6761\u6570\u636E"),style:{marginTop:10},onChange:(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(so({},vt)),pt()},defaultCurrent:1,pageSize:vt.limit||4,current:vt.page||1,total:Zn})))};var Ll=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(ml),Ul=ue(97e3),hl=Object.defineProperty,Zl=Object.defineProperties,Uu=Object.getOwnPropertyDescriptors,mu=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Oi=(oe,le,re)=>le in oe?hl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ou=(oe,le)=>{for(var re in le||(le={}))ql.call(le,re)&&Oi(oe,re,le[re]);if(mu)for(var re of mu(le))oi.call(le,re)&&Oi(oe,re,le[re]);return oe},El=(oe,le)=>Zl(oe,Uu(le)),Mu=(oe,le)=>{var re={};for(var pe in oe)ql.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&mu)for(var pe of mu(oe))le.indexOf(pe)<0&&oi.call(oe,pe)&&(re[pe]=oe[pe]);return re},Yl=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Fragment:Gi}=x,{TabPane:li}=on.default,yu=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ze,shixunsDetail:at,user:je}=le,Ye=Mu(le,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Se,ze,gn,zn,qt,Zn;const{id:Bn}=Ze,[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({}),[An,Zt]=(0,x.useState)([]),[Qt,It]=(0,x.useState)(!1),[pt,wn]=(0,x.useState)(!0),[kt,Ct]=(0,x.useState)(!1),[Wt,aa]=(0,x.useState)(!1),[Ua,Pn]=(0,x.useState)(!1),[Ja,ba]=(0,x.useState)(!1),[qn,In]=(0,x.useState)("all"),[Cr,ra]=(0,x.useState)([]),[ea,ir]=(0,x.useState)([]),[Fr,Pr]=(0,x.useState)(!1),[sr,dn]=(0,x.useState)({}),[La,tr]=(0,x.useState)(!1),[la,Ga]=(0,x.useState)([]),[Ta,Nr]=(0,x.useState)({page:1,limit:10,total:0}),[Ao,Go]=(0,x.useState)({page:1,limit:10,search:"",order:"mine"});(0,x.useEffect)(()=>{Bn&&Dl()},[Bn]);const wl=Wn=>{const oa=El(ou({},Ta),{page:Wn});ir([]),Nr(oa),Dl(oa)},Dl=Wn=>Yl(void 0,null,function*(){const ua=Wn||{page:1,limit:10,total:0};It(!0);const co=yield pe({type:"shixunsDetail/getSetData",payload:El(ou({},ua),{id:Bn})});co!=null&&co.data_sets&&(It(!1),Fn([...co.data_sets]),Nr(El(ou({},ua),{total:co==null?void 0:co.data_sets_count})),wn(!1),ca(ou({},co)))}),qu=()=>x.createElement("div",{className:pr.empty},x.createElement("img",{src:rn.x7,width:"258"}),x.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),qa={selectedRowKeys:ea,columnWidth:70,onChange:Wn=>{console.log("selectedRowKeys changed: ",Wn),ir(Wn)}},yr=Wn=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const oa=Wn?[Wn]:ea;Ne.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Yl(void 0,null,function*(){if((yield(0,lt.ZP)(`/api/shixuns/${Bn}/destroy_data_sets.json`,{method:"Delete",body:{id:oa}})).status===0){const co=oa.length===Yn.length&&Ta.page>1?Ta.page-1:Ta.page;Me.ZP.success("\u5220\u9664\u6210\u529F"),Dl(El(ou({},Ta),{page:co})),ir([])}})})},qr=()=>Yl(void 0,null,function*(){const{title:Wn}=sr;let oa=null;if(console.log(Wn,"title"),Wn===""){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",dn(El(ou({},sr),{errorDes:oa}));return}if(Wn.includes(" ")){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",dn(El(ou({},sr),{errorDes:oa}));return}const ua=Yn.find(gs=>gs.id===(sr==null?void 0:sr.id)).title;if(Wn===ua.substring(0,ua.lastIndexOf("."))||Wn===ua){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",dn(El(ou({},sr),{errorDes:oa}));return}const co=ua.includes(".")?ua.substring(ua.lastIndexOf("."),ua.length):"";(yield(0,lt.ZP)(`/api/shixuns/${Bn}/rename_data_sets.json`,{method:"post",body:{id:sr==null?void 0:sr.id,new_file_name:Wn+co}})).status===0&&(Me.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),Dl(Ta),Ct(!1),dn({}))}),Oa=()=>{const{download_url:Wn}=sr;wr(Wn),Me.ZP.success("\u590D\u5236\u6210\u529F"),aa(!1),dn({})},wr=Wn=>{const oa=Wn,ua=document.createElement("input");ua.value=oa,document.body.appendChild(ua),ua.select(),document.execCommand("Copy"),ua.style.display="none"},ko=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:Wn=>x.createElement(At.Z,{title:Wn},x.createElement("span",null,Wn))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(Wn,oa)=>oa!=null&&oa.data_set_id?x.createElement(At.Z,{title:Wn},x.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,et.xg)(`/dataset/${oa==null?void 0:oa.data_set_id}/detail?tabId=public`)}},Wn)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:Wn=>x.createElement(At.Z,{title:Wn},x.createElement("span",null,Wn||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(Wn,oa)=>xa()(oa.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(Wn,oa)=>x.createElement("div",{className:pr.path},x.createElement(At.Z,{title:Wn},x.createElement("span",{className:pr.text},Wn)),x.createElement(sn.CopyToClipboard,{text:Wn,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(At.Z,{title:"\u590D\u5236"},x.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(Wn,oa)=>x.createElement("div",{className:pr.actionsBtns},x.createElement(At.Z,{title:"\u91CD\u547D\u540D"},x.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var ua;dn((0,hn.clone)(El(ou({},oa),{title:oa!=null&&oa.title.includes(".")?(ua=oa==null?void 0:oa.title)==null?void 0:ua.substring(0,oa.title.lastIndexOf(".")):oa==null?void 0:oa.title}))),Ct(!0),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),x.createElement(At.Z,{title:"\u5206\u4EAB"},x.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),dn((0,hn.clone)(oa)),aa(!0)}})),x.createElement(At.Z,{title:"\u4E0B\u8F7D"},x.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,et.Nd)(oa.title,oa==null?void 0:oa.download_url)}})),x.createElement(At.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},x.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),ba(!0),Ga([oa]),ra([oa.id])}})),x.createElement(At.Z,{title:"\u5220\u9664"},x.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),yr(oa.id)}})))}];return x.createElement("div",{className:pr.dataset},x.createElement("div",{className:pr.header},x.createElement("div",{className:pr.title},"\u6570\u636E\u96C6(",Ta.total,")"),x.createElement("div",{className:pr.dataPath},x.createElement("span",{className:pr.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),x.createElement("input",{value:vt==null?void 0:vt.folder_name,disabled:!0}),x.createElement(sn.CopyToClipboard,{text:vt==null?void 0:vt.folder_name,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(At.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},x.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),x.createElement("div",{className:pr.btns},x.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>yr(),disabled:!ea.length,style:{width:"60px"}},"\u5220\u9664"),x.createElement(de.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{ba(!0),ra(ea),Ga(Yn.filter(Wn=>ea.includes(Wn.id)))},disabled:!ea.length},"\u540C\u6B65"),x.createElement(nn.Z,{className:"ml10",disabled:((Se=je==null?void 0:je.userInfo)==null?void 0:Se.user_status)===2,dropdownRender:()=>x.createElement(Bt.default,null,x.createElement(Bt.default.Item,{key:1,onClick:()=>{Pr(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),x.createElement(Bt.default.Item,{key:2,onClick:()=>{Pn(!0),In("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},x.createElement("span",{className:pr.selectBtn},x.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),x.createElement("div",{className:pr.content},x.createElement(Bu.Z,{loading:pt,active:!0,paragraph:{rows:5}},Ta.total?x.createElement(Ya.default,{rowSelection:qa,className:pr.customTable,dataSource:Yn,bordered:!1,rowKey:Wn=>Wn.id,rowClassName:pr.row,columns:ko,loading:Qt,pagination:{pageSize:Ta.limit,total:Ta.total,current:Ta.page,onChange:wl,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):qu())),x.createElement(bl,{rootIdentifier:(ze=at==null?void 0:at.detail)==null?void 0:ze.root_identifier,wrapClassName:pr.uploadFileModal,id:Bn,containerId:(gn=at==null?void 0:at.detail)==null?void 0:gn.id,local:(zn=re==null?void 0:re.setting)==null?void 0:zn.is_local,dispatch:pe,visible:Fr,onClose:()=>Pr(!1),onOK:Dl}),x.createElement(Ne.default,{title:"\u91CD\u547D\u540D",open:kt,onOk:qr,centered:!0,wrapClassName:pr.renameModal,onCancel:()=>{Ct(!1),dn({})},width:"1000px"},x.createElement("div",null,x.createElement("div",{className:pr.fileName},x.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),x.createElement(ye.default,{value:sr==null?void 0:sr.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:Wn=>{dn(El(ou({},sr),{title:Wn.target.value,errorDes:null}))},maxLength:60,suffix:`${((qt=sr==null?void 0:sr.title)==null?void 0:qt.length)||0}/60`}),(sr==null?void 0:sr.errorDes)&&x.createElement("div",{className:pr.errorDes},sr==null?void 0:sr.errorDes))),x.createElement(Ne.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Wt,onOk:Oa,centered:!0,wrapClassName:pr.shareModal,onCancel:()=>{aa(!1),dn({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},x.createElement("div",null,x.createElement("div",{className:pr.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",x.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),x.createElement(ye.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:sr==null?void 0:sr.download_url}))),x.createElement(Ll,{setVisible:Pn,visible:Ua,recordId:Cr,type:qn,updateData:Dl,identifier:(Zn=at.detail)==null?void 0:Zn.identifier}),x.createElement(Ne.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Ja,width:400,centered:!0,keyboard:!1,onCancel:()=>ba(!1),maskClosable:!1,footer:x.createElement("div",{style:{display:"flex",justifyContent:"center"}},x.createElement("div",{className:pr.leftButton,onClick:()=>{tr(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),x.createElement("div",{className:pr.rightButton,onClick:()=>{ba(!1),Pn(!0),In("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},x.createElement("div",{className:pr.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),x.createElement(Ul.Z,{visible:La,attachmentInfo:la,onClose:()=>tr(!1),onSuccess:Wn=>{tr(!1),Oe.history.push(`/dataset/${Wn}/detail?tabId=mine`)}}))};var Pl=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(yu),lu=ue(31797),Cu={wrap:"wrap___XfiDL",content:"content___Wo8S5",mainPathWrap:"mainPathWrap___HiWyw",colorBlue:"colorBlue___YquQT"},ju=Object.defineProperty,fu=Object.getOwnPropertySymbols,bu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,Al=(oe,le,re)=>le in oe?ju(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,$l=(oe,le)=>{for(var re in le||(le={}))bu.call(le,re)&&Al(oe,re,le[re]);if(fu)for(var re of fu(le))Ku.call(le,re)&&Al(oe,re,le[re]);return oe},ei=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Qo=oe=>oe!=null&&oe.length?oe.filter((le,re)=>re!==0).map(le=>le.val).join("").substr(1):"",vu=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,fileType:Ze,path:at,onFinish:je=()=>{}})=>{const Ye=(0,Oe.useParams)(),[Se,ze]=(0,x.useState)(""),[gn,zn]=(0,x.useState)([]),[qt,Zn]=(0,x.useState)([]),Yn=[si.OriginalPicturePath,si.ExpectPicturePath,si.PicturePath].includes(Ze);(0,x.useEffect)(()=>{oe.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(ze(at||""),Fn())},[oe.actionTabs.key]);const Fn=(pt="")=>ei(void 0,null,function*(){var wn;const kt=yield pe({type:"shixunsDetail/getRepository",payload:{id:Ye.id,path:pt}});if(pt===""&&!((wn=kt==null?void 0:kt.trees)!=null&&wn.length)&&Me.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),kt!=null&&kt.trees){const Ct=kt.trees.map(Wt=>$l($l({},Wt),{name:Wt.name,val:Wt.name}));Zn(Ct||[])}}),vt=pt=>{const wn=Qo(gn),kt=`${wn&&`${wn}/`}${pt}`;Ze===si.Path?!(Se!=null&&Se.includes(`${kt}\uFF1B`))&&ze(`${Se}${kt}\uFF1B`):Ze===si.ExecPath&&ze(kt)},ca=pt=>{if(pt.type==="tree"){gn.length?gn.push({val:`/${pt.val}`,path:pt.val}):gn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${pt.val}`,path:pt.val}),zn(gn);const wn=Qo(gn);Yn&&ze(wn),Fn(wn)}},An=(pt,wn)=>{const kt=gn.filter((Wt,aa)=>aa<=wn);zn(kt);const Ct=Qo(kt);Yn&&ze(Ct),Fn(Ct)},Zt=()=>ei(void 0,null,function*(){je(Se),Qt()}),Qt=()=>{ze(""),zn([]),Zn([]),pe({type:"shixunsDetail/setActionTabs",payload:{}})},It=Qo(gn);return x.createElement(Ne.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:oe.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Zt,onCancel:Qt},x.createElement("div",{className:Cu.wrap},x.createElement("div",{className:Cu.content},x.createElement("div",{className:Cu.mainPathWrap},!!(gn!=null&&gn.length)&&gn.map((pt,wn)=>x.createElement("a",{key:wn,onClick:()=>An(pt,wn)},pt.val))),!!(qt!=null&&qt.length)&&qt.map((pt,wn)=>pt.type==="tree"?x.createElement("a",{key:wn,onClick:()=>ca(pt)},x.createElement("i",{className:`iconfont icon-wenjianjia ${Cu.colorBlue}`}),It&&`${It}/`,pt.name):x.createElement("a",{key:wn,onClick:()=>vt(`${pt.name}`)},x.createElement("i",{className:`iconfont icon-zuoye ${Cu.colorBlue}`}),It&&`${It}/`,pt.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Se,onChange:pt=>ze(pt.target.value)})))};var Hu=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(vu),Ko={wrap:"wrap___B8qi_",fixBtn:"fixBtn___OvNbo"},Yu=ue(84236),xu=Object.defineProperty,uu=Object.getOwnPropertySymbols,Ei=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,Pi=(oe,le,re)=>le in oe?xu(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Si=(oe,le)=>{for(var re in le||(le={}))Ei.call(le,re)&&Pi(oe,re,le[re]);if(uu)for(var re of uu(le))Qu.call(le,re)&&Pi(oe,re,le[re]);return oe},eo=(oe,le)=>{var re={};for(var pe in oe)Ei.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&uu)for(var pe of uu(oe))le.indexOf(pe)<0&&Qu.call(oe,pe)&&(re[pe]=oe[pe]);return re},er=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const So=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,user:Ze,dispatch:at}=le,je=eo(le,["shixunsDetail","globalSetting","user","dispatch"]),Ye,Se;const ze=(0,Oe.useLocation)(),gn=(0,x.useRef)((Se=(Ye=ze.pathname)==null?void 0:Ye.split("/"))==null?void 0:Se[2]),[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)(""),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{gn.current&&ca()},[gn.current]);const ca=()=>er(void 0,null,function*(){Yn(!0);const Zt=yield(0,lt.ZP)(`/api/shixuns/${gn.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Zt.status===0&&(Zn((Zt==null?void 0:Zt.standard_answer)||""),zn.setFieldsValue({hide_answer:Zt==null?void 0:Zt.hide_answer,disable_copy:Zt==null?void 0:Zt.disable_copy}),Yn(!1))}),An=Zt=>er(void 0,null,function*(){vt(!0),(yield(0,lt.ZP)(`/api/shixuns/${gn.current}/set_standard_answer.json`,{method:"post",body:Si({},Zt)})).status===0&&Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),vt(!1)});return x.createElement("section",{className:Ko.wrap},x.createElement(Bu.Z,{loading:Bn},x.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onFinish:An},x.createElement(ce.default.Item,{name:"hide_answer",valuePropName:"checked"},x.createElement(Xe.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),x.createElement(ce.default.Item,{name:"disable_copy",valuePropName:"checked"},x.createElement(Xe.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),x.createElement(ce.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},x.createElement(se.Z,{defaultValue:qt})),x.createElement(ce.default.Item,null,x.createElement(Yu.t,{okText:"\u4FDD\u5B58",loading:Fn,hasCancelBtn:!1,className:Ko.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var fl=(0,Oe.connect)(({shixunsDetail:oe,globalSetting:le,user:re})=>({shixunsDetail:oe,globalSetting:le,user:re}))(So),iu=ue(33796),Mi=ue(61485),Ui=ue(45079),vl=ue(59301),ji=Object.defineProperty,jl=Object.defineProperties,no=Object.getOwnPropertyDescriptors,Ii=Object.getOwnPropertySymbols,Iu=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,Fs=(oe,le,re)=>le in oe?ji(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ui=(oe,le)=>{for(var re in le||(le={}))Iu.call(le,re)&&Fs(oe,re,le[re]);if(Ii)for(var re of Ii(le))Ss.call(le,re)&&Fs(oe,re,le[re]);return oe},ii=(oe,le)=>jl(oe,no(le)),wu=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Countdown:ys}=lu.default;var Cs=(oe=>(oe[oe.LoadingFail=1]="LoadingFail",oe[oe.Loading=2]="Loading",oe[oe.Finish=3]="Finish",oe))(Cs||{}),si=(oe=>(oe.Path="path",oe.ExecPath="exec_path",oe.OriginalPicturePath="original_picture_path",oe.ExpectPicturePath="expect_picture_path",oe.PicturePath="picture_path",oe))(si||{});const ll=({globalSetting:oe,loading:le,dispatch:re,practiceSetting:pe,shixunsDetail:Ze})=>{var at;const[je,Ye]=(0,x.useState)(),[Se,ze]=(0,x.useState)(),gn=(0,x.useRef)(),[zn,qt]=(0,x.useState)(),[Zn,Bn]=(0,x.useState)(),[Yn,Fn]=(0,x.useState)(!0),[vt,ca]=(0,x.useState)(700),[An,Zt]=(0,x.useState)(""),[Qt,It]=(0,x.useState)("1"),pt=(0,Oe.useParams)();(0,x.useEffect)(()=>{kt()},[]);const wn=()=>wu(void 0,null,function*(){var qn,In;const Cr=yield re({type:"shixunsDetail/updateRepositoryFile",payload:{id:pt.id,path:(In=(qn=Ze==null?void 0:Ze.fileContent)==null?void 0:qn.params)==null?void 0:In.path,content:je,secret_repository:Yn?null:!0}});Cr!=null&&Cr.content&&(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),re({type:"practiceSetting/setSideBarTabs",payload:ii(ui({},pe.sideBar),{confirmLeave:!1})}))}),kt=()=>wu(void 0,null,function*(){var qn,In,Cr,ra;const ea=yield(0,ct.Ui)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){iu.Z.publish("pod-restrict-data",{identifier:(Cr=ea==null?void 0:ea.data)==null?void 0:Cr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}ea!=null&&ea.url&&Zt(ea==null?void 0:ea.url)}),Ct=()=>wu(void 0,null,function*(){const qn=yield(0,ct.K_)({identifier:pt.id});(qn==null?void 0:qn.status)===0&&(qn!=null&&qn.remainingSeconds?(qt(Date.now()+qn.remainingSeconds*1e3),Bn(qn.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(qn.remainingSeconds-300)*1e3)):Wt())}),Wt=()=>{Ne.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:vl.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>wu(void 0,null,function*(){aa()})})},aa=()=>wu(void 0,null,function*(){var qn,In,Cr,ra;ze(2);const ea=yield(0,ct.zH)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){iu.Z.publish("pod-restrict-data",{identifier:(Cr=ea==null?void 0:ea.data)==null?void 0:Cr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}(ea==null?void 0:ea.status)===0&&(ze(3),Zt(ea.url),gn.current=ea.port,Me.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),Ua=()=>{Ne.default.destroyAll(),Ne.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:vl.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",vl.createElement("span",null,vl.createElement(ys,{value:zn,format:"HH:mm:ss",onFinish:Pn})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>wu(void 0,null,function*(){(yield(0,ct.q9)({identifier:pt.id})).status===0&&(yield Ct(),Me.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Pn=()=>{Ne.default.destroyAll(),Ne.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:vl.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{aa()}})},Ja=qn=>{re({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},ba=qn=>wu(void 0,null,function*(){yield(0,ct.QA)({id:pt.id,startup_file:qn}),kt(),re({type:"practiceSetting/getCommonData",payload:ui({},pt)})});return vl.createElement(on.default,{activeKey:Qt,onChange:qn=>It(qn),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:vl.createElement("div",null,vl.createElement(Ge.Z,{className:"mt20 ml20 font14",align:"middle"},vl.createElement(Be.Z,null,vl.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),vl.createElement(Be.Z,{className:"mr10"},vl.createElement(At.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},vl.createElement(Mi.Z,{style:{cursor:"pointer"}}))),vl.createElement(Be.Z,{flex:"300px",onClick:()=>Ja("exec_path")},vl.createElement(ye.default,{value:An})),vl.createElement(Be.Z,{flex:"1"},vl.createElement(de.ZP,{type:"primary",className:"ml10",onClick:()=>Ja("exec_path")},"\u8BBE\u7F6E"))),vl.createElement("iframe",{onLoad:qn=>{},src:An,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),vl.createElement(Hu,{fileType:"path",path:(at=Ze==null?void 0:Ze.detail)==null?void 0:at.startup_file,onFinish:qn=>ba(qn)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Qt==="2"?vl.createElement(Ui.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:vl.createElement(fl,null)}]})};var Or=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(ll),eu={catechism:"catechism___sjAIS",tab:"tab___g7aXg"},ul={collect:"collect___gSAx5",head:"head___h3Wha"},Fi=ue(59301),Us=Object.defineProperty,xc=Object.getOwnPropertySymbols,js=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,Ks=(oe,le,re)=>le in oe?Us(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Dd=(oe,le)=>{for(var re in le||(le={}))js.call(le,re)&&Ks(oe,re,le[re]);if(xc)for(var re of xc(le))yi.call(le,re)&&Ks(oe,re,le[re]);return oe},wc=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),bs=({onOk:oe,onCancel:le,visible:re,modalParams:pe,forceIn:Ze})=>{const[at]=ce.default.useForm(),[je,Ye]=(0,x.useState)(!1),Se=Ze?!1:typeof re=="number";(0,x.useEffect)(()=>{re?at.setFieldsValue(Dd({},pe)):at.resetFields()},[re]);const ze=gn=>wc(void 0,null,function*(){Ye(!0),yield oe(gn),Ye(!1)});return Fi.createElement(Ne.default,{centered:!0,destroyOnClose:!0,onCancel:()=>le(),onOk:()=>at.submit(),open:!!re,confirmLoading:je,title:Se?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Se?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},Fi.createElement(ce.default,{form:at,size:"large",onFinish:ze},Fi.createElement(ce.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},Fi.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),Fi.createElement(ce.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},Fi.createElement(se.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:pe==null?void 0:pe.content}))))},$o=ue(59301),Ad=Object.defineProperty,Ds=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,Qs=(oe,le,re)=>le in oe?Ad(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ki=(oe,le)=>{for(var re in le||(le={}))As.call(le,re)&&Qs(oe,re,le[re]);if(Ds)for(var re of Ds(le))Ys.call(le,re)&&Qs(oe,re,le[re]);return oe},ci=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),Lc=({})=>{const oe=(0,Oe.useParams)(),[le,re]=(0,x.useState)(!1),[pe,Ze]=(0,x.useState)(0),[at,je]=(0,x.useState)([]),[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({title:"",content:""}),[zn,qt]=(0,x.useState)(!1),[Zn,Bn]=(0,x.useState)(!1),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({keywords:"",page:1,limit:10});(0,x.useEffect)(()=>{An(vt)},[]);const An=Ct=>ci(void 0,null,function*(){var Wt,aa;re(!0);const Ua=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"get",params:Ct});Ua.status===0&&(je(((Wt=Ua==null?void 0:Ua.data)==null?void 0:Wt.qna_sets)||[]),Ze((aa=Ua==null?void 0:Ua.data)==null?void 0:aa.total_count)),re(!1)}),Zt=Ct=>{vt.keywords=Ct,vt.page=1,ca(Ki({},vt)),An(vt)},Qt=(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(Ki({},vt)),An(vt)},It=Ct=>ci(void 0,null,function*(){if(typeof Ye=="number"){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ye}.json`,{method:"put",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),An(vt),Se(!1))}else{const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),vt.page=1,vt.keywords="",ca(Ki({},vt)),An(vt),Se(!1))}}),pt=Ct=>ci(void 0,null,function*(){Ne.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>ci(void 0,null,function*(){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ct.id}.json`,{method:"delete"});if((Wt==null?void 0:Wt.status)===0){const aa=at.length===1&&vt.page>1?vt.page-1:vt.page;vt.page=aa,ca(Ki({},vt)),An(vt),Me.ZP.success("\u5220\u9664\u6210\u529F")}})})}),wn=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Ct=>$o.createElement(At.Z,{placement:"topLeft",title:Ct},$o.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Ct=>$o.createElement(At.Z,{placement:"topLeft",title:Ct},$o.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Ct,Wt)=>$o.createElement("span",null,$o.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Se(Ct),gn({title:Wt==null?void 0:Wt.title,content:Wt==null?void 0:Wt.content})}},"\u7F16\u8F91"),$o.createElement("span",{className:"current c-red",onClick:()=>pt(Wt)},"\u5220\u9664"))}],kt={onRemove:()=>{Fn([])},beforeUpload:Ct=>{if((Ct==null?void 0:Ct.size)>1024*1024*50)return Me.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Ct.type==="application/vnd.ms-excel"||Ct.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Me.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let aa=[];return aa.push(Ct),Fn([...aa]),!1},fileList:Yn,accept:".xls,.xlsx"};return $o.createElement("div",{className:ul.collect},$o.createElement("div",{className:ul.head},$o.createElement(Ro.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:vt.keywords,onChange:Zt}),$o.createElement(Ro.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Se(!0),gn({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),$o.createElement(Ro.op,{type:"primary",shape:"default",onClick:()=>qt(!0)},"\u5BFC\u5165\u95EE\u7B54")),$o.createElement(Ya.default,{columns:wn,style:{marginTop:33},dataSource:at,loading:le,rowKey:"id",pagination:{current:vt.page,hideOnSinglePage:!pe,showQuickJumper:!0,showSizeChanger:!0,pageSize:vt.limit,pageSizeOptions:["10","20","50","100","200"],total:pe,size:"default",showTotal:et.rU,onChange:Qt}}),$o.createElement(Ne.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:zn,centered:!0,confirmLoading:Zn,onCancel:()=>{qt(!1),Fn([])},onOk:()=>ci(void 0,null,function*(){var Ct;const Wt=new FormData;if(Yn.length>0)Wt.append("file",Yn[0]);else{Me.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Bn(!0);let aa=yield(0,lt.ZP)(`/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/import.json`,{method:"post",body:Wt},!0);(aa==null?void 0:aa.status)===0&&((Ct=aa==null?void 0:aa.fail)!=null&&Ct.length?Ne.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:$o.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",$o.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Me.ZP.success("\u5BFC\u5165\u6210\u529F"),vt.page=1,vt.keywords="",ca(Ki({},vt)),An(vt),qt(!1),Fn([]))),Bn(!1)})},$o.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",$o.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),$o.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),$o.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",$o.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),$o.createElement("div",{style:{marginLeft:74}},$o.createElement(rt.default,Ki({},kt),$o.createElement(Ro.op,{shape:"default",icon:$o.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),$o.createElement(bs,{visible:Ye,onCancel:()=>Se(!1),onOk:It,modalParams:ze}))},Hi={record:"record___zypfi",head:"head___bEv4O"},il=ue(59301),Oc=Object.defineProperty,Mc=Object.defineProperties,Bd=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,xd=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Nc=(oe,le,re)=>le in oe?Oc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,di=(oe,le)=>{for(var re in le||(le={}))xd.call(le,re)&&Nc(oe,re,le[re]);if(Ic)for(var re of Ic(le))Yi.call(le,re)&&Nc(oe,re,le[re]);return oe},Xs=(oe,le)=>Mc(oe,Bd(le)),Ni=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),qs=({})=>{const oe=(0,Oe.useParams)(),[le]=ce.default.useForm(),[re,pe]=(0,x.useState)(!1),[Ze,at]=(0,x.useState)(0),[je,Ye]=(0,x.useState)([]),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({title:"",content:""});let[qt,Zn]=(0,x.useState)({page:1,limit:10});(0,x.useEffect)(()=>{Fn(qt)},[]);const Bn=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Yn=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],Fn=It=>Ni(void 0,null,function*(){var pt,wn;pe(!0);const kt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records.json`,{method:"get",params:It});kt.status===0&&(Ye(((pt=kt==null?void 0:kt.data)==null?void 0:pt.qna_records)||[]),at((wn=kt==null?void 0:kt.data)==null?void 0:wn.total_count)),pe(!1)}),vt=It=>{qt.page=1,qt=di(di({},qt),It),Zn(di({},qt)),Fn(qt)},ca=(It,pt)=>{qt.page=It,qt.limit=pt,Zn(di({},qt)),Fn(qt)},An=It=>Ni(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:Xs(di({},It),{qna_record_id:Se})});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fn(qt),ze(!1))}),Zt=It=>Ni(void 0,null,function*(){Ne.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>Ni(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records/${It.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(pt==null?void 0:pt.status)===0&&Fn(qt)})})}),Qt=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:It=>il.createElement(At.Z,{placement:"topLeft",title:It},il.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:It=>il.createElement(At.Z,{placement:"topLeft",title:It},il.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:It=>{var pt;return il.createElement("span",{className:"c-black"},(pt=Bn==null?void 0:Bn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:It=>{var pt;return il.createElement("span",{className:"c-black"},(pt=Yn==null?void 0:Yn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(It,pt)=>il.createElement("span",null,["pending","ignored"].includes(pt.status)&&il.createElement(il.Fragment,null,il.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{ze(It),zn({title:pt==null?void 0:pt.question,content:pt==null?void 0:pt.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),il.createElement("span",{className:"current c-light-primary",onClick:()=>Zt(pt)},"\u5FFD\u7565")),["skipped"].includes(pt.status)&&il.createElement(At.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},il.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(pt.status)&&il.createElement(At.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},il.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return il.createElement("div",{className:Hi.record},il.createElement("div",{className:Hi.head},il.createElement(ce.default,{layout:"inline",form:le,colon:!1,size:"large",onFinish:vt},il.createElement(ce.default.Item,{name:"keywords",label:"\u95EE\u9898"},il.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),il.createElement(ce.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},il.createElement(Gu.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Bn,style:{width:200}})),il.createElement(ce.default.Item,{name:"status",label:"\u72B6\u6001"},il.createElement(Gu.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Yn,style:{width:200}})),il.createElement(ce.default.Item,{style:{marginRight:0}},il.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),il.createElement(Ya.default,{columns:Qt,style:{marginTop:33},dataSource:je,loading:re,rowKey:"id",pagination:{current:qt.page,hideOnSinglePage:!Ze,showQuickJumper:!0,showSizeChanger:!0,pageSize:qt.limit,pageSizeOptions:["10","20","50","100","200"],total:Ze,size:"default",showTotal:et.rU,onChange:ca}}),il.createElement(bs,{visible:Se,onCancel:()=>ze(!1),onOk:An,modalParams:gn,forceIn:!0}))},Bs=ue(59301);const os=({dispatch:oe,practiceSetting:le,shixunsDetail:re})=>{const[pe,Ze]=(0,x.useState)("1");return Bs.createElement("div",{className:eu.catechism},Bs.createElement(Ro.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:pe,onChange:at=>Ze(at),className:eu.tab}),pe==="1"&&Bs.createElement(Lc,null),pe==="2"&&Bs.createElement(qs,null))};var $s=(0,Oe.connect)(({practiceSetting:oe,shixunsDetail:le})=>({practiceSetting:oe,shixunsDetail:le}))(os),wd=Object.defineProperty,Qi=Object.getOwnPropertySymbols,Rc=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,kc=(oe,le,re)=>le in oe?wd(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ji=(oe,le)=>{for(var re in le||(le={}))Rc.call(le,re)&&kc(oe,re,le[re]);if(Qi)for(var re of Qi(le))Tc.call(le,re)&&kc(oe,re,le[re]);return oe},Ld=(oe,le)=>{var re={};for(var pe in oe)Rc.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Qi)for(var pe of Qi(oe))le.indexOf(pe)<0&&Tc.call(oe,pe)&&(re[pe]=oe[pe]);return re},_s=oe=>{var le=oe,{tabsActive:re}=le,pe=Ld(le,["tabsActive"]);return x.createElement(x.Fragment,null,re==="information"&&x.createElement(Xt,null),re==="warehouse"&&x.createElement(mo,null),re==="level"&&x.createElement(ai,Ji({},pe)),re==="collaborate"&&x.createElement(wi,Ji({},pe)),re==="setting"&&x.createElement(Li.Z,null),re==="environment"&&x.createElement(Ha,Ji({},pe)),re==="dataset"&&x.createElement(Pl,null),re==="service"&&x.createElement(Or,Ji({},pe)),re==="catechism"&&x.createElement($s,Ji({},pe)))},Ri={flex_box_center:"flex_box_center___MI0To",flex_space_between:"flex_space_between___Gn3Yr",flex_box_vertical_center:"flex_box_vertical_center___K5RIt",flex_box_center_end:"flex_box_center_end___WhL43",flex_box_column:"flex_box_column___AAEDd",sidebar:"sidebar___NrZKL",items:"items___Q_UEK",item:"item___VHVCz",name:"name___oYWmC",itemActive:"itemActive___UBKSy",question:"question___D6Z4B"},ec=Object.defineProperty,ls=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,Zc=Object.prototype.propertyIsEnumerable,nc=(oe,le,re)=>le in oe?ec(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ac=(oe,le)=>{for(var re in le||(le={}))tc.call(le,re)&&nc(oe,re,le[re]);if(ls)for(var re of ls(le))Zc.call(le,re)&&nc(oe,re,le[re]);return oe};const Od=oe=>React.createElement("svg",ac({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"\u63D0\u793A\u4FE1\u606F"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M8 0a8 8 0 1 1-8 8 8.01 8.01 0 0 1 8-8Z",fill:"#FEB300"}),React.createElement("path",{d:"M8.111 12a.78.78 0 1 0 .006-1.56.78.78 0 0 0-.006 1.56ZM7.556 4a.21.21 0 0 0-.212.218l.244 5.133a.117.117 0 0 0 .116.11h.815a.118.118 0 0 0 .117-.11l.243-5.133A.208.208 0 0 0 8.666 4h-1.11Z",fill:"#FFF"})));var Ci="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",Ti=Object.defineProperty,Wc=Object.getOwnPropertySymbols,Vc=Object.prototype.hasOwnProperty,zc=Object.prototype.propertyIsEnumerable,rc=(oe,le,re)=>le in oe?Ti(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,oc=(oe,le)=>{for(var re in le||(le={}))Vc.call(le,re)&&rc(oe,re,le[re]);if(Wc)for(var re of Wc(le))zc.call(le,re)&&rc(oe,re,le[re]);return oe};const ng=oe=>React.createElement("svg",oc({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"\u5F62\u72B6 6"),React.createElement("path",{d:"M12 24C5.372 24 0 18.628 0 12S5.372 0 12 0s12 5.372 12 12-5.372 12-12 12Zm0-5.25c.445 0 .806-.144 1.083-.431.277-.288.417-.644.417-1.069 0-.425-.139-.774-.417-1.048-.278-.274-.638-.424-1.083-.452-.584.028-1.014.288-1.291.78-.278.494-.278.987 0 1.48.277.493.707.74 1.291.74Zm1.149-4.9c0-.086-.03-.333-.026-.298-.031-.312.01-.59.181-.857.125-.196.318-.38.606-.55 1.693-1 2.312-2.115 2.277-3.275-.052-1.737-1.332-3.441-4.107-3.466-2.32-.022-3.844 1.098-4.205 3.202a1.125 1.125 0 0 0 2.217.38c.164-.952.698-1.344 1.967-1.333 1.393.013 1.86.635 1.88 1.284a.54.54 0 0 1-.086.316c-.155.279-.492.603-1.087.955-.589.347-1.042.779-1.36 1.278-.494.777-.602 1.545-.518 2.325.012.118.011.103.011.04a1.125 1.125 0 1 0 2.25 0Z",fill:"#F7B500",fillRule:"nonzero"}));var Md="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDI0QzUuMzcyIDI0IDAgMTguNjI4IDAgMTJTNS4zNzIgMCAxMiAwczEyIDUuMzcyIDEyIDEyLTUuMzcyIDEyLTEyIDEyWm0wLTUuMjVjLjQ0NSAwIC44MDYtLjE0NCAxLjA4My0uNDMxLjI3Ny0uMjg4LjQxNy0uNjQ0LjQxNy0xLjA2OSAwLS40MjUtLjEzOS0uNzc0LS40MTctMS4wNDgtLjI3OC0uMjc0LS42MzgtLjQyNC0xLjA4My0uNDUyLS41ODQuMDI4LTEuMDE0LjI4OC0xLjI5MS43OC0uMjc4LjQ5NC0uMjc4Ljk4NyAwIDEuNDguMjc3LjQ5My43MDcuNzQgMS4yOTEuNzRabTEuMTQ5LTQuOWMwLS4wODYtLjAzLS4zMzMtLjAyNi0uMjk4LS4wMzEtLjMxMi4wMS0uNTkuMTgxLS44NTcuMTI1LS4xOTYuMzE4LS4zOC42MDYtLjU1IDEuNjkzLTEgMi4zMTItMi4xMTUgMi4yNzctMy4yNzUtLjA1Mi0xLjczNy0xLjMzMi0zLjQ0MS00LjEwNy0zLjQ2Ni0yLjMyLS4wMjItMy44NDQgMS4wOTgtNC4yMDUgMy4yMDJhMS4xMjUgMS4xMjUgMCAwIDAgMi4yMTcuMzhjLjE2NC0uOTUyLjY5OC0xLjM0NCAxLjk2Ny0xLjMzMyAxLjM5My4wMTMgMS44Ni42MzUgMS44OCAxLjI4NGEuNTQuNTQgMCAwIDEtLjA4Ni4zMTZjLS4xNTUuMjc5LS40OTIuNjAzLTEuMDg3Ljk1NS0uNTg5LjM0Ny0xLjA0Mi43NzktMS4zNiAxLjI3OC0uNDk0Ljc3Ny0uNjAyIDEuNTQ1LS41MTggMi4zMjUuMDEyLjExOC4wMTEuMTAzLjAxMS4wNGExLjEyNSAxLjEyNSAwIDEgMCAyLjI1IDBaIiBmaWxsPSIjRjdCNTAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Sl=ue(59301),lc=Object.defineProperty,Id=Object.defineProperties,Nd=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,uc=Object.prototype.propertyIsEnumerable,Gc=(oe,le,re)=>le in oe?lc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Uc=(oe,le)=>{for(var re in le||(le={}))ti.call(le,re)&&Gc(oe,re,le[re]);if(Xi)for(var re of Xi(le))uc.call(le,re)&&Gc(oe,re,le[re]);return oe},jc=(oe,le)=>Id(oe,Nd(le)),Kc=(oe,le)=>{var re={};for(var pe in oe)ti.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Xi)for(var pe of Xi(oe))le.indexOf(pe)<0&&uc.call(oe,pe)&&(re[pe]=oe[pe]);return re};const xs=[{name:"\u57FA\u672C\u4FE1\u606F",icon:Sl.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:Sl.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:Sl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:Sl.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:Sl.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:Sl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:Sl.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:Sl.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:Sl.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],Rd=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,shixunsDetail:at,practiceSetting:je}=le,Ye=Kc(le,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Se;const{base_info_warning:ze,challenges_warning:gn,id:zn,repository_warning:qt,sideBar:Zn,service_warning:Bn}=je,Yn=(0,Oe.useLocation)(),Fn=(0,Oe.useParams)(),[vt]=(0,Oe.useSearchParams)();(0,x.useEffect)(()=>{var Zt;const Qt=vt.get("tabId"),It=Yn.pathname.split("/").length,wn=((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?xs.filter(kt=>kt.tabId!=="dataset"):xs).map(kt=>kt.tabId).includes(Qt);if(Qt&&wn){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Qt}});return}if(It>4){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Qt||Qt&&!wn){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Se=at==null?void 0:at.detail)==null?void 0:Se.windows_vnc]),(0,x.useEffect)(()=>()=>{Ze({type:"practiceSetting/setSideBarTabs",payload:jc(Uc({},je.sideBar),{selectPath:""})})},[Fn.id]);const ca=Zt=>{var Qt;if(Zt===Zn.tabsActive)return;const It=()=>{Oe.history.push(`/shixuns/${zn}/edit?tabId=${Zt}`),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Zt,selectPath:"",confirmLeave:!1}})};(Qt=je==null?void 0:je.sideBar)!=null&&Qt.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{It()}}):It()},An=()=>{var Zt;return((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?xs.filter(It=>It.tabId!=="dataset"):xs).filter(It=>{var pt;return(pt=at==null?void 0:at.detail)!=null&&pt.is_jupyter_lab?It.tabId!=="level":It.tabId!=="service"}).map(It=>{const{name:pt,icon:wn,tabId:kt}=It;return Sl.createElement("div",{key:kt,className:`${je.sideBar.tabsActive===kt?Ri.itemActive:Ri.item} font12`,onClick:()=>ca(kt)},wn,Sl.createElement("span",{className:Ri.name},pt),kt==="information"&&ze&&Sl.createElement(At.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},Sl.createElement("img",{src:Ci,alt:""})),kt==="level"&&gn&&Sl.createElement(At.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},Sl.createElement("img",{src:Ci,alt:""})),kt==="service"&&Bn&&Sl.createElement(At.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},Sl.createElement("img",{src:Ci,alt:""})),kt==="warehouse"&&qt&&Sl.createElement(At.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},Sl.createElement("img",{src:Ci,alt:""})))})};return Sl.createElement("div",{className:Ri.sidebar},Sl.createElement("div",{className:Ri.items},An()),Sl.createElement("div",{className:Ri.question},Sl.createElement(At.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},Sl.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},Sl.createElement("img",{src:Md,height:24,width:24,alt:""})))))};var Hc=(0,Oe.connect)(({loading:oe,globalSetting:le,shixunsDetail:re,practiceSetting:pe})=>({globalSetting:le,loading:oe,practiceSetting:pe,shixunsDetail:re}))(Rd),ic={bottom:"bottom___g7TNS",yes:"yes___IpiGn",no:"no___xC90Y"},Ql=ue(59301),Td=Object.defineProperty,qi=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable,Yc=(oe,le,re)=>le in oe?Td(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Qc=(oe,le)=>{for(var re in le||(le={}))ws.call(le,re)&&Yc(oe,re,le[re]);if(qi)for(var re of qi(le))sc.call(le,re)&&Yc(oe,re,le[re]);return oe},wo=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const ur=({classroomList:oe,loading:le,dispatch:re,shixunsDetail:pe})=>{var Ze,at;const je=(0,Oe.useParams)(),Ye=(0,Oe.useLocation)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)(!1),{actionTabs:qt}=oe,[Zn]=ce.default.useForm(),[Bn,Yn]=(0,x.useState)({name:"string"}),Fn=Zt=>Zt&&Zt{console.log(je),oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Bn.name=qt==null?void 0:qt.name),Yn(Qc({},Bn)),Zn.setFieldsValue({name:qt==null?void 0:qt.name})},[oe.actionTabs.key]);const An={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Ql.createElement(Ql.Fragment,null,Ql.createElement(Ne.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Ze=oe==null?void 0:oe.actionTabs)==null?void 0:Ze.zIndex)||1e3,footer:null,onOk:()=>wo(void 0,null,function*(){console.log(123123)}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Ql.createElement("div",null,Ql.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",An[oe.actionTabs.type],"\uFF1F")),Ql.createElement("div",{className:ic.bottom},Ql.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&gn,className:ic.no,onClick:()=>wo(void 0,null,function*(){var Zt;zn(!0),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!0,2):oe.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Ql.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&!gn,className:ic.yes,onClick:()=>wo(void 0,null,function*(){var Zt;zn(!1),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!1,1):oe.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Ql.createElement(Ne.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Se,onOk:()=>wo(void 0,null,function*(){var Zt,Qt;yield Zn.validateFields();const It=Zn.getFieldValue();ze(!0);const pt=yield(0,lt.ZP)(`/api/shixuns/${je==null?void 0:je.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:It.name}});ze(!1),pt.status===0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),re({type:"practiceSetting/getCommonData",payload:{id:je.id}}),(Zt=oe.actionTabs)!=null&&Zt.getBaseInfo&&((Qt=oe.actionTabs)==null||Qt.getBaseInfo())),re({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Ql.createElement("div",null,Ql.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Ql.createElement(ce.default,{form:Zn,initialValues:{name:vt},onChange:()=>{Yn(Zn.getFieldValue())}},Ql.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Ql.createElement(Ge.Z,{className:"mt30",align:"middle"},Ql.createElement(Be.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Ql.createElement(Be.Z,{flex:"1"},Ql.createElement(ye.default,{maxLength:60,defaultValue:qt==null?void 0:qt.name,suffix:Ql.createElement("span",null,((at=Bn==null?void 0:Bn.name)==null?void 0:at.length)||0,"/",60)}))))))))};var Zr=(0,Oe.connect)(({classroomList:oe,loading:le,shixunsDetail:re})=>({classroomList:oe,loading:le.effects,shixunsDetail:re}))(ur),fo=ue(59301),Fl=Object.defineProperty,$i=Object.defineProperties,ni=Object.getOwnPropertyDescriptors,Ju=Object.getOwnPropertySymbols,Xu=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,bi=(oe,le,re)=>le in oe?Fl(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Nu=(oe,le)=>{for(var re in le||(le={}))Xu.call(le,re)&&bi(oe,re,le[re]);if(Ju)for(var re of Ju(le))es.call(le,re)&&bi(oe,re,le[re]);return oe},kd=(oe,le)=>$i(oe,ni(le)),wg=(oe,le)=>{var re={};for(var pe in oe)Xu.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ju)for(var pe of Ju(oe))le.indexOf(pe)<0&&es.call(oe,pe)&&(re[pe]=oe[pe]);return re};const ag=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at}=le,je=wg(le,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ye}=at,{tabsActive:Se}=Ye;let ze=(0,Oe.useParams)();return(0,x.useEffect)(()=>(Ze({type:"globalSetting/headerFooterToggle",payload:!1}),Ze({type:"shixunsDetail/getShixunsDetail",payload:kd(Nu({},ze),{shixun_managed:!0})}),()=>{Ze({type:"globalSetting/headerFooterToggle",payload:!0}),Ze({type:"practiceSetting/setParams",payload:{id:""}})}),[]),fo.createElement("div",{className:ke.practiceSetting},fo.createElement("div",{className:ke.wrapHeader},fo.createElement(ee,null)),fo.createElement("div",{className:ke.wrapLayout},fo.createElement("div",{className:ke.wrapSidebar},fo.createElement(Hc,null)),fo.createElement("div",{className:ke.wrapContent},fo.createElement(_s,kd(Nu({},je),{tabsActive:at.sideBar.tabsActive})))),fo.createElement(Zr,null))};var Lg=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re})=>({globalSetting:le,loading:oe,practiceSetting:re}))(ag),Ls={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Jl={flex_box_center:"flex_box_center___XeTw7",flex_space_between:"flex_space_between___Hfc9g",flex_box_vertical_center:"flex_box_vertical_center___JWkfv",flex_box_center_end:"flex_box_center_end___bKF19",flex_box_column:"flex_box_column___XWcdc",header:"header___HkrmL","flex-center":"flex-center___Xqcdj",title:"title___rc2FS",schedule:"schedule___MloKP",clickWarp:"clickWarp___yvMMm",num:"num___etFJa",subject:"subject___ZbcjS",btns:"btns___R7eGw",btn:"btn___NLvn4",simulate:"simulate___kVrJQ",exit:"exit___CTNC5"},Lo=ue(59301),rg=Object.getOwnPropertySymbols,Og=Object.prototype.hasOwnProperty,Mg=Object.prototype.propertyIsEnumerable,Ig=(oe,le)=>{var re={};for(var pe in oe)Og.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&rg)for(var pe of rg(oe))le.indexOf(pe)<0&&Mg.call(oe,pe)&&(re[pe]=oe[pe]);return re},Jc=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Ng=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at,shixunsDetail:je}=le,Ye=Ig(le,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Se,ze;const gn=(0,Oe.useLocation)(),zn=(0,x.useRef)(""),qt=(0,Oe.useParams)(),{title:Zn,base_info_warning:Bn,challenges_warning:Yn,service_warning:Fn,repository_warning:vt,mirror_warning:ca}=at;(0,x.useEffect)(()=>{var Wt;zn.current=(Wt=gn.pathname.split("/"))==null?void 0:Wt[2],Ze({type:"practiceSetting/setParams",payload:{id:zn.current}}),Ze({type:"practiceSetting/getCommonData",payload:{id:zn.current}})},[gn.pathname]),(0,x.useEffect)(()=>((0,et.Dk)(Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,et.Dk)()}));const An=()=>Jc(void 0,null,function*(){yield Zt(),Oe.history.push(`/shixuns/${zn.current}/challenges`)}),Zt=()=>new Promise((Wt,aa)=>{var Ua;(Ua=at==null?void 0:at.sideBar)!=null&&Ua.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Wt()},onCancel:()=>{aa()}}):Wt()}),Qt=Wt=>{var aa;if(Wt===(at==null?void 0:at.sideBar.tabsActive))return;const Ua=()=>{Oe.history.push(`/shixuns/${zn.current}/edit?tabId=${Wt}`),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Wt,selectPath:"",confirmLeave:!1}})};(aa=at==null?void 0:at.sideBar)!=null&&aa.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ua()}}):Ua()},It=(Wt,aa=!1)=>{Wt=Wt!=null&&Wt.includes(".json")?Wt:`${Wt}.json`,Ne.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Lo.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Jc(void 0,null,function*(){const Ua=yield(0,lt.ZP)("/api"+Wt,{method:"get"});if(!Ua)return;Me.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Pn=yield(0,ct.Ir)({id:Ua.shixun_identifier,jump_challenge_setting:aa});if(Pn!=null&&Pn.game_identifier){(0,et.xg)(`/tasks/${Pn.game_identifier}`);return}(Pn==null?void 0:Pn.status)===2?It(Pn==null?void 0:Pn.message):(Pn==null?void 0:Pn.status)===3&&pt(Pn==null?void 0:Pn.message)})})},pt=Wt=>{Ne.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Lo.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Wt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=(Wt,aa)=>Jc(void 0,null,function*(){var Ua,Pn,Ja;if(yield Zt(),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),Ze({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF0C\u8BF7\u7A0D\u540E..."}}),(Ua=je.detail)!=null&&Ua.is_openi){const qn=()=>{Ze({type:"shixunsDetail/execOpeni",payload:{identifier:zn.current}}).then(In=>{if((In==null?void 0:In.status)===300002||(In==null?void 0:In.status)===300003||(In==null?void 0:In.status)===300004){(0,et.sd)(In),Ze({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}});return}if((In==null?void 0:In.status)===3||(In==null?void 0:In.status)===4||(In==null?void 0:In.status)===5){setTimeout(()=>{qn()},3e3);return}In!=null&&In.notebook&&(0,et.xg)(In==null?void 0:In.notebook),Ze({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})})};qn();return}if((Pn=je.detail)!=null&&Pn.is_jupyter||(Ja=je.detail)!=null&&Ja.is_jupyter_lab){Ze({type:"shixunsDetail/execJupyter",payload:{id:zn.current}}).then(qn=>{var In;qn!=null&&qn.identifier&&((In=Oe.history)==null||In.push(`/tasks/${qn.identifier}/jupyter`))}).finally(()=>{Ze({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})});return}const ba=aa?yield(0,ct.BK)({id:Wt}):yield(0,ct.Ir)({id:Wt});if(Ze({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),ba!=null&&ba.game_identifier||ba!=null&&ba.identifier){(0,et.xg)(aa?`/tasks/${ba==null?void 0:ba.identifier}/jupyter`:`/tasks/${ba.game_identifier}`);return}(ba==null?void 0:ba.status)===-3?(0,et.eF)():(ba==null?void 0:ba.status)===2?It(ba==null?void 0:ba.message):(ba==null?void 0:ba.status)===3&&pt(ba==null?void 0:ba.message)}),kt=()=>Jc(void 0,null,function*(){yield Zt(),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Ct=Wt=>({borderBottomColor:(at==null?void 0:at.sideBar.tabsActive)===Wt?"#0152d9":"transparent"});return Lo.createElement("div",{className:Jl.header},Lo.createElement("aside",{className:Jl.title},Lo.createElement("i",{onClick:An,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),Lo.createElement("span",{className:Jl.edit},Zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),Lo.createElement("i",{onClick:kt,className:"icon iconfont icon-xiugai1"})),Lo.createElement("aside",{className:Jl.schedule},Lo.createElement("div",null,Lo.createElement("span",{style:Ct("information"),className:Jl.clickWarp,onClick:()=>Qt("information")},Bn?Lo.createElement("span",{className:Jl.num},"1"):Lo.createElement("img",{src:Ce}),Lo.createElement("span",{className:Jl.subject},"\u57FA\u672C\u4FE1\u606F")),Lo.createElement("i",{className:"iconfont icon-lujing"})),Lo.createElement("div",null,Lo.createElement("span",{style:Ct("warehouse"),className:Jl.clickWarp,onClick:()=>Qt("warehouse")},vt?Lo.createElement("span",{className:Jl.num},"2"):Lo.createElement("img",{src:Ce}),Lo.createElement("span",{className:Jl.subject},"\u4EE3\u7801\u4ED3\u5E93")),Lo.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&!((Se=je==null?void 0:je.detail)!=null&&Se.is_jupyter_lab)&&Lo.createElement("div",null,Lo.createElement("span",{style:Ct("level"),className:Jl.clickWarp,onClick:()=>Qt("level")},Yn?Lo.createElement("span",{className:Jl.num},"3"):Lo.createElement("img",{src:Ce}),Lo.createElement("span",{className:Jl.subject},"\u4EFB\u52A1\u5173\u5361")),Lo.createElement("i",{className:"iconfont icon-lujing"})),(je==null?void 0:je.detail)&&((ze=je==null?void 0:je.detail)==null?void 0:ze.is_jupyter_lab)&&Lo.createElement("div",null,Lo.createElement("span",{style:Ct("service"),className:Jl.clickWarp,onClick:()=>Qt("service")},Fn?Lo.createElement("span",{className:Jl.num},"3"):Lo.createElement("img",{src:Ce}),Lo.createElement("span",{className:Jl.subject},"\u670D\u52A1")),Lo.createElement("i",{className:"iconfont icon-lujing"})),Lo.createElement("div",null,Lo.createElement("span",{style:Ct("environment"),className:Jl.clickWarp,onClick:()=>Qt("environment")},ca?Lo.createElement("span",{className:Jl.num},"4"):Lo.createElement("img",{src:Ce}),Lo.createElement("span",{className:Jl.subject},"\u5B9E\u9A8C\u73AF\u5883")))),Lo.createElement("aside",{className:Jl.btns},Lo.createElement("div",{className:Jl.simulate,onClick:()=>wn(zn.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var Rg=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe,dispatch:Ze})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe,dispatch:Ze}))(Ng),us={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},Os={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},Xc=Object.defineProperty,qc=Object.getOwnPropertySymbols,$c=Object.prototype.hasOwnProperty,Zd=Object.prototype.propertyIsEnumerable,og=(oe,le,re)=>le in oe?Xc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Tg=(oe,le)=>{for(var re in le||(le={}))$c.call(le,re)&&og(oe,re,le[re]);if(qc)for(var re of qc(le))Zd.call(le,re)&&og(oe,re,le[re]);return oe},kg=(oe,le)=>{var re={};for(var pe in oe)$c.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&qc)for(var pe of qc(oe))le.indexOf(pe)<0&&Zd.call(oe,pe)&&(re[pe]=oe[pe]);return re},Wd=oe=>{var le=oe,{InputRight:re,value:pe=[],onChange:Ze}=le,at=kg(le,["InputRight","value","onChange"]);const[je,Ye]=(0,x.useState)(),Se=gn=>{const zn=pe.filter((qt,Zn)=>Zn!==gn);Ze(zn)},ze=gn=>{if(gn.preventDefault(),!!je){if(pe.findIndex(zn=>zn.name===je)>-1){Me.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}Ze([...pe,{id:null,name:je}]),Ye(null)}};return x.createElement("div",null,x.createElement(ye.default,Tg({bordered:!1,style:{width:600},value:je,onChange:gn=>Ye(gn.target.value),onPressEnter:ze,onBlur:ze},at)),re||x.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),x.createElement("div",{className:"mt20"},pe==null?void 0:pe.map((gn,zn)=>x.createElement("div",{key:zn,className:Os.btn},x.createElement("span",{className:Os.s1},gn.name),x.createElement("img",{src:mn,className:Os.s2,onClick:()=>Se(zn)})))))},ed={flex_box_center:"flex_box_center___hBEA9",flex_space_between:"flex_space_between___rMB3f",flex_box_vertical_center:"flex_box_vertical_center___XT_7U",flex_box_center_end:"flex_box_center_end___ayQhe",flex_box_column:"flex_box_column___Yqif8",complete:"complete___zRKx3",cancel:"cancel___D5r7A",save:"save___sa92o"};const Vd=({dispatch:oe,onCancel:le,onSave:re,loading:pe=!1})=>x.createElement("div",{className:ed.complete},x.createElement("div",{onClick:le,className:ed.cancel},"\u53D6\u6D88"),x.createElement(de.ZP,{type:"primary",loading:pe,onClick:re,className:ed.save},"\u4FDD\u5B58"));var zd=(0,Oe.connect)()(Vd),Wr=ue(59301),Zg=Object.defineProperty,Wg=Object.defineProperties,Vg=Object.getOwnPropertyDescriptors,td=Object.getOwnPropertySymbols,Gd=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,ug=(oe,le,re)=>le in oe?Zg(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Ms=(oe,le)=>{for(var re in le||(le={}))Gd.call(le,re)&&ug(oe,re,le[re]);if(td)for(var re of td(le))lg.call(le,re)&&ug(oe,re,le[re]);return oe},ig=(oe,le)=>Wg(oe,Vg(le)),zg=(oe,le)=>{var re={};for(var pe in oe)Gd.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&td)for(var pe of td(oe))le.indexOf(pe)<0&&lg.call(oe,pe)&&(re[pe]=oe[pe]);return re},sg=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Gg=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at,problemset:je,shixunsDetail:Ye}=le,Se=zg(le,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),ze,gn;const[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)({}),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(""),[It,pt]=(0,x.useState)(""),[wn,kt]=(0,x.useState)(""),[Ct,Wt]=(0,x.useState)(),aa=(0,x.useRef)({}),Ua=(0,x.useRef)(""),Pn=(0,x.useRef)(""),Ja=(0,x.useRef)(""),ba=(0,x.useRef)(null),qn=(0,x.useRef)((0,hn.throttle)(()=>sr(),2e3,{leading:!0,trailing:!1})).current,{id:In}=at,[Cr,ra]=(0,x.useState)(!1);(0,x.useEffect)(()=>{In&&ir()},[In]),(0,x.useEffect)(()=>(JSON.stringify(qt)!=="{}"&&ea(),()=>{clearTimeout(ba.current)}),[qt,Zt,wn,It]);const ea=()=>{clearTimeout(ba.current),ba.current=setTimeout(()=>{!(0,hn.isEqual)(qt,aa.current)||Zt!==Ua.current||wn!==Pn.current||It!==Ja.current?Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},ir=()=>sg(void 0,null,function*(){var qa,yr,qr,Oa,wr,ko,Wn;Ze({type:"problemset/getEditDisciplines",payload:{source:"all_shixun"}});const oa=yield(0,lt.ZP)(`/api/shixuns/${In}/edit_base_info.json`,{method:"get"});if(oa.status===0){const ua=ig(Ms({},oa.data),{description:(0,un.S)(oa.data.description)}),co={description:ua.description,shixun_tags:ua.shixun_tags,name:ua.name,course:((qa=ua==null?void 0:ua.disciplines)==null?void 0:qa.length)>0?[(qr=(yr=ua==null?void 0:ua.disciplines)==null?void 0:yr[0])==null?void 0:qr.id,(ko=(wr=(Oa=ua==null?void 0:ua.disciplines)==null?void 0:Oa[0])==null?void 0:wr.sub_discipline)==null?void 0:ko.id]:[]};(Wn=Ye.detail)!=null&&Wn.is_jupyter_lab&&(co.jupyter_show_description=oa.data.jupyter_show_description),zn.setFieldsValue(co),aa.current=Ms({},co),Ua.current=ua.attachment_id||"",Pn.current=ua.cover_image_id||"",Ja.current=ua.attachment_id_b||"",Zn(Ms({},co)),Qt(ua.attachment_id||""),pt(ua.attachment_id_b||""),kt(ua.cover_image_id||""),Wt(ua.cover_image||"")}}),Fr=(qa,yr)=>{Zn(Ms({},yr))},Pr=()=>{La()},sr=()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),zn.submit()},dn=(qa,yr=!1,qr=1)=>{var Oa;const{name:wr,description:ko,shixun_tags:Wn,course:oa,jupyter_show_description:ua=!1}=qa;let co={name:wr,description:ko,shixun_tags:Wn,attachment_id:Zt,cover_image_id:wn,attachment_id_b:It,sub_discipline_ids:oa[1]};(Oa=Ye.detail)!=null&&Oa.is_jupyter_lab&&(co=ig(Ms({},co),{jupyter_show_description:ua})),(0,lt.ZP)(`/api/shixuns/${In}/base_info_save.json`,{method:"post",body:{shixun:Ms({},co),sync_origin_shixun:yr}}).then(gs=>sg(void 0,null,function*(){var Ts,Ec,Pc,Aa;if(gs.status===0&&((Ts=Ye==null?void 0:Ye.detail)!=null&&Ts.copy_for_exercise||Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ze({type:"practiceSetting/getCommonData",payload:{id:In}}),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),aa.current={description:qt.description,shixun_tags:qt.shixun_tags,name:qt.name},Ua.current=Zt,Pn.current=wn,Ja.current=It,(Ec=Ye==null?void 0:Ye.detail)!=null&&Ec.copy_for_exercise)){const Ar=yield Ze({type:"shixunsDetail/saveCopyForExercise",payload:{id:In,save_type:qr}});qr===1?(Pc=Ar==null?void 0:Ar.data)!=null&&Pc.exists_same_shixun_name?Ze({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(Aa=Ar==null?void 0:Ar.data)==null?void 0:Aa.shixun_name,getBaseInfo:()=>{ir()}}}):(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),Ze({type:"classroomList/setActionTabs",payload:{}})):(Ze({type:"classroomList/setActionTabs",payload:{}}),(Ar==null?void 0:Ar.status)===0&&Ne.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Wr.createElement("div",null,Wr.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var Qr,Bo;(0,et.xg)(`/shixuns/${(Bo=(Qr=Ye==null?void 0:Ye.detail)==null?void 0:Qr.fork_from)==null?void 0:Bo.fork_identifier}/challenges`)}}))}}))},La=()=>{var qa;const yr=()=>{Oe.history.push(`/shixuns/${In}/challenges`),Ze({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(qa=at==null?void 0:at.sideBar)!=null&&qa.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{yr()}}):yr()};function tr(qa){const yr=qa.type==="image/jpeg"||qa.type==="image/png";return yr||Me.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),yr}const la=Wr.createElement(de.ZP,{loading:Bn,icon:Wr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ga=Wr.createElement(de.ZP,{loading:ca,icon:Wr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ta=Wr.createElement(de.ZP,{loading:Fn,icon:Wr.createElement(Un.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function Nr(qa,yr){const qr=new FileReader;qr.addEventListener("load",()=>yr(qr.result)),qr.readAsDataURL(qa)}const Ao=qa=>{var yr,qr;if(qa.file.status==="uploading"){Yn(!0);return}qa.file.status==="done"&&(Yn(!1),Qt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id))},Go=qa=>{var yr,qr;if(qa.file.status==="uploading"){vt(!0);return}qa.file.status==="done"&&(vt(!1),pt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id))},wl=()=>Wr.createElement("div",{className:us.img},Wr.createElement("img",{src:(0,xe.z)("/api/attachments/"+Zt,!0),alt:"avatar",style:{width:"100%"}}),Wr.createElement("div",null,Wr.createElement(Le.Z,{onClick:()=>Qt(""),style:{fontSize:"16px",color:"red"}}))),Dl=()=>Wr.createElement("div",{className:us.img},Wr.createElement("img",{src:(0,xe.z)("/api/attachments/"+It,!0),alt:"avatar",style:{width:"100%"}}),Wr.createElement("div",null,Wr.createElement(Le.Z,{onClick:()=>pt(""),style:{fontSize:"16px",color:"red"}}))),qu=qa=>{var yr,qr;if(qa.file.status==="uploading"){An(!0);return}qa.file.status==="done"&&(An(!1),kt((qr=(yr=qa==null?void 0:qa.file)==null?void 0:yr.response)==null?void 0:qr.id),ra(!0))},Ai=()=>Wr.createElement("div",{className:us.img},Wr.createElement("img",{src:(0,xe.z)(Cr?"/api/attachments/"+wn:Ct,!0),alt:"avatar",style:{width:"100%"}}),Wr.createElement("div",null,Wr.createElement(Le.Z,{onClick:()=>{kt(""),Wt("")},style:{fontSize:"16px",color:"red"}})));return Wr.createElement("div",{className:us.information},Wr.createElement("section",{className:us.scroll},Wr.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),Wr.createElement("div",{className:us.formWrap}," ",Wr.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onValuesChange:Fr,onFinish:qa=>{var yr,qr;(yr=Ye==null?void 0:Ye.detail)!=null&&yr.is_fork_from_creator&&((qr=Ye==null?void 0:Ye.detail)!=null&&qr.copy_for_exercise)?Ze({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:qa,type:"information",fn:(Oa,wr,ko)=>{dn(Oa,wr,ko)}}}):dn(qa)}},Wr.createElement(ce.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},Wr.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((ze=qt.name)==null?void 0:ze.length)||0}/60`})),Wr.createElement(ce.default.Item,{className:"customAddTags",name:"shixun_tags",label:Wr.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",Wr.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},Wr.createElement(Wd,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),Wr.createElement(ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},Wr.createElement(Ae.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:je.courseOptions,getPopupContainer:qa=>qa.parentNode})),Wr.createElement(Ge.Z,null,Wr.createElement(Be.Z,null,Wr.createElement(ce.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},Zt?wl():Wr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:Ao},la))),Wr.createElement(Be.Z,{className:"c-grey-999"},Wr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Wr.createElement(Ge.Z,null,Wr.createElement(Be.Z,null,Wr.createElement(ce.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},It?Dl():Wr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:Go},Ta))),Wr.createElement(Be.Z,{className:"c-grey-999"},Wr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Wr.createElement(Ge.Z,null,Wr.createElement(Be.Z,null,Wr.createElement(ce.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},wn||Ct?Ai():Wr.createElement(rt.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${tt.Z.API_SERVER}/api/attachments.json`,beforeUpload:tr,onChange:qu},Ga))),Wr.createElement(Be.Z,{className:"c-grey-999"},Wr.createElement("div",{style:{marginTop:71,marginLeft:20}},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),Wr.createElement(ce.default.Item,{name:"description",label:"\u7B80\u4ECB:"},Wr.createElement(se.Z,{defaultValue:qt.description||"",watch:!0})),((gn=Ye.detail)==null?void 0:gn.is_jupyter_lab)&&Wr.createElement(ce.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},Wr.createElement(Xe.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),Wr.createElement(zd,{onSave:qn,onCancel:Pr,loading:Bn||ca||Fn}))};var Ug=(0,Oe.connect)(({problemset:oe,loading:le,globalSetting:re,practiceSetting:pe,shixunsDetail:Ze})=>({globalSetting:re,loading:le,practiceSetting:pe,problemset:oe,shixunsDetail:Ze}))(Gg),jg=ue(26595),Bl={flex_box_center:"flex_box_center___eoeVu",flex_space_between:"flex_space_between___f9Khj",flex_box_vertical_center:"flex_box_vertical_center___mDOuj",flex_box_center_end:"flex_box_center_end___q43Rs",flex_box_column:"flex_box_column___lnTOC",level:"level___W39_7",left:"left___xugM0",container:"container___MnoCi",title:"title___HNuSO",listWrap:"listWrap___Oz5IK",list:"list___Fq6dF",s3:"s3___piVr6",s2:"s2___jJaip",listActive:"listActive___e7FOo",os:"os___Zt66K",btns:"btns___mA9Xb",btnsWrap:"btnsWrap___hx2vE",icon:"icon___l26_g",btn:"btn___AF61O",d1:"d1___WyJ4s",d2:"d2___GQq5w",shrink:"shrink___NbOqs",elseShrink:"elseShrink___ZoNE2",right:"right___zgEq_",addIcon:"addIcon___aVZVl"},Kg=Object.defineProperty,Hg=Object.defineProperties,cg=Object.getOwnPropertyDescriptors,cc=Object.getOwnPropertySymbols,dg=Object.prototype.hasOwnProperty,gg=Object.prototype.propertyIsEnumerable,mg=(oe,le,re)=>le in oe?Kg(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Is=(oe,le)=>{for(var re in le||(le={}))dg.call(le,re)&&mg(oe,re,le[re]);if(cc)for(var re of cc(le))gg.call(le,re)&&mg(oe,re,le[re]);return oe},nd=(oe,le)=>Hg(oe,cg(le)),Yg=(oe,le)=>{var re={};for(var pe in oe)dg.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&cc)for(var pe of cc(oe))le.indexOf(pe)<0&&gg.call(oe,pe)&&(re[pe]=oe[pe]);return re},ad=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Qg=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ze}=le,at=Yg(le,["globalSetting","dispatch","practiceSetting"]);const je=(0,Oe.useLocation)(),[Ye]=(0,Oe.useSearchParams)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)(!0),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(null),ca=(0,x.useRef)(!1),{id:An,updateIndex:Zt,is_published:Qt,newQuestion:It}=Ze,{challenge_list:pt=[]}=gn;(0,x.useEffect)(()=>{if(An)return kt(),()=>{pe({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[An,Zt]),(0,x.useEffect)(()=>{wn()},[je]);const wn=()=>{const ra=je.pathname.split("/");(ra.includes("newquestion")||ra.includes("new")||Ye.get("tabId"))&&(ca.current=!0)},kt=()=>ad(void 0,null,function*(){var ra,ea,ir;Zn(!0);const Fr=yield(0,ct.n5)({id:An});if((ra=Fr==null?void 0:Fr.challenge_list)!=null&&ra.length){const Pr=je.pathname.split("/"),sr=Fr.challenge_list.find(dn=>String(dn.challenge_id)===Pr[4]);if(Pr.includes("newquestion")||Pr.includes("new")){const dn=Fr.challenge_list[((ea=Fr.challenge_list)==null?void 0:ea.length)-1];pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:Pr.includes("new")?0:1,name:""}}}),vt(void 0),Pn(dn)}else Pr[4]&&sr?Ct(sr,!1):Ct(Fr.challenge_list[0])}(ir=Fr==null?void 0:Fr.challenge_list)!=null&&ir.length||vt(null),zn(Fr),Zn(!1)}),Ct=(ra,ea=!0)=>{if(vt(ra.challenge_id),Pn(ra),ea){const ir=`/shixuns/${An}/edit/${ra.challenge_id}/${ra.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}},Wt=(ra,ea)=>{ea.stopPropagation();const{challenge_id:ir}=ra,Fr=()=>ad(void 0,null,function*(){var Pr,sr;if((yield(0,ct.rO)({id:An,challengesId:ir})).status===1){const La=yield(0,ct.n5)({id:An});if(zn(La),ir===Fn&&((Pr=La.challenge_list)!=null&&Pr.length)){Ct(La.challenge_list[0]);return}(sr=La.challenge_list)!=null&&sr.length||(vt(null),ca.current=!0,Pn({}),Oe.history.push(`/shixuns/${An}/edit?tabId=level`))}});Ne.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:Fr})},aa=(ra,ea,ir)=>{const Fr=Array.from(ra),[Pr]=Fr.splice(ea,1);return Fr.splice(ir,0,Pr),Fr},Ua=(ra,ea)=>{if(!ra.destination)return;const ir=aa(ea,ra.source.index,ra.destination.index);zn(nd(Is({},gn),{challenge_list:ir}));const Fr=ir.map(Pr=>Pr.challenge_id);(0,ct.xg)({id:An,ids:Fr}).then(Pr=>{Pr.status!==0&&zn(nd(Is({},gn),{challenge_list:ea}))})},Pn=ra=>{pe({type:"practiceSetting/setParams",payload:{selectQuestionParams:ra}})},Ja=(ra,ea)=>ad(void 0,null,function*(){if(ra===Fn)return;yield ba(),vt(ra),Pn(ea),pe({type:"practiceSetting/setParams",payload:{newQuestion:null}});const ir=`/shixuns/${An}/edit/${ra}/${ea.st===1?"editquestion":"editcheckpoint"}`;Oe.history.push(ir)}),ba=()=>new Promise((ra,ea)=>{var ir;(ir=Ze==null?void 0:Ze.sideBar)!=null&&ir.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{pe({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),ra()},onCancel:()=>{ea()}}):ra()}),qn=ra=>x.createElement(x.Fragment,null,x.createElement(tl.Z5,{onDragEnd:ea=>Ua(ea,ra)},x.createElement(tl.bK,{droppableId:"droppable"},(ea,ir)=>x.createElement("div",nd(Is({ref:ea.innerRef},ea.droppableProps),{style:{width:"100%"}}),ra.map((Fr,Pr)=>{const{st:sr,name:dn,challenge_id:La}=Fr;return x.createElement(tl._l,{key:La,draggableId:La.toString(),index:Pr,isDragDisabled:Qt},(tr,la)=>x.createElement("div",nd(Is(Is({ref:tr.innerRef},tr.draggableProps),tr.dragHandleProps),{className:Fn===La?Bl.listActive:Bl.list,onClick:()=>Ja(La,Fr)}),x.createElement("span",{className:Bl.s1},sr===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Bl.s2},"\u7B2C",Pr+1,"\u5173: ",dn),!Qt&&x.createElement("span",{className:Bl.s3,onClick:Ga=>Wt(Fr,Ga)},x.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),It&&x.createElement("div",{className:Bl.listActive},x.createElement("span",{className:Bl.s1},(It==null?void 0:It.st)===0?x.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):x.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),x.createElement("span",{className:Bl.s2},"\u7B2C",ra.length+1,"\u5173: ",It==null?void 0:It.name)),!Qt&&x.createElement("div",{className:Bl.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),In=ra=>ad(void 0,null,function*(){yield ba(),ra==="new"?Oe.history.push(`/shixuns/${An}/edit/new`):Oe.history.push(`/shixuns/${An}/edit/newquestion`),ze(!1),vt(void 0),pe({type:"practiceSetting/setParams",payload:{newQuestion:{st:ra==="new"?0:1,name:""}}})}),Cr=()=>{(0,ya.gy)(pe,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||ze(!Se)};return x.createElement("div",{className:Bl.level},x.createElement("aside",{className:Bl.left,style:{width:Bn?"0":"25%"}},x.createElement("div",{className:Bl.container},x.createElement("div",{className:Bl.title},"\u4EFB\u52A1\u5173\u5361(",pt.length,")"),x.createElement("div",{className:Bl.listWrap},qt?x.createElement(ht.Z,{size:"middle"}):pt.length||It?qn(pt):x.createElement(sl.Z,{image:Zo,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!Bn&&x.createElement("div",{className:Bl.btns},x.createElement("aside",{className:Bl.btnsWrap},x.createElement("div",{style:{transform:Se?"rotate(45deg)":"rotate(0deg)"},className:Bl.icon,onClick:Cr},"+"),x.createElement("div",{className:Bl.btn,style:{left:Se?20:-154}},x.createElement("div",{className:Bl.d1,onClick:()=>In("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),x.createElement("div",{className:Bl.d2,onClick:()=>In("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),x.createElement("div",{className:Bn?Bl.elseShrink:Bl.shrink,onClick:()=>Yn(!Bn)},x.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),x.createElement("aside",{className:Bl.right,id:"modal-level-question"},Fn===null&&ca.current?x.createElement("div",{className:Bl.addIcon},x.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):x.createElement(Oe.Outlet,null)))};var Jg=(0,Oe.connect)(({globalSetting:oe,practiceSetting:le})=>({globalSetting:oe,practiceSetting:le}))(Qg),Ns={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},fg=Object.getOwnPropertySymbols,Xg=Object.prototype.hasOwnProperty,Ud=Object.prototype.propertyIsEnumerable,vg=(oe,le)=>{var re={};for(var pe in oe)Xg.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&fg)for(var pe of fg(oe))le.indexOf(pe)<0&&Ud.call(oe,pe)&&(re[pe]=oe[pe]);return re},pg=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const qg=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,loading:Ze,dispatch:at,onReloadData:je}=le,Ye=vg(le,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Se,ze]=(0,x.useState)(),[gn,zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{re.actionTabs.key==="Collaborators-ChangeManager"&&qt()},[re.actionTabs.key]);const qt=()=>pg(void 0,null,function*(){var Fn;const vt=yield at({type:"shixunsDetail/getChangeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}});zn(vt||[])}),Zn=()=>{var Fn;at({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id}}})},Bn=()=>pg(void 0,null,function*(){var Fn;if(!Se){Me.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const vt=yield at({type:"shixunsDetail/changeManager",payload:{id:(Fn=re.actionTabs.params)==null?void 0:Fn.id,user_id:Se}});Yn(),vt&&(je(),Me.ZP.info(vt.message))}),Yn=()=>{at({type:"shixunsDetail/setActionTabs",payload:{}}),ze(null)};return x.createElement(Ne.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:re.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:Ze.effects["shixunsDetail/changeManager"],onOk:Bn,onCancel:Yn},x.createElement("div",null,x.createElement("div",{className:Ns.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",x.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),x.createElement("div",{className:Ns.content},gn.length?x.createElement(mi.ZP.Group,{value:Se,onChange:Fn=>ze(Fn.target.value)},gn.map((Fn,vt)=>x.createElement(mi.ZP,{className:Ns.radio,key:vt,value:Fn.user_id},Fn.name))):x.createElement("div",{className:Ns.add},x.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",x.createElement("a",{className:Ns.colorBlue,onClick:Zn},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var $g=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le}))(qg);const{TabPane:hg}=on.default;var Eg=({visible:oe,onCancel:le,onSelectGroup:re,shixunId:pe,onSelectCollaborator:Ze})=>x.createElement(Ne.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:oe,width:1100,centered:!0,keyboard:!1,onCancel:le,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},x.createElement(on.default,{defaultActiveKey:"1"},x.createElement(hg,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},x.createElement(vi.Z,{onCancel:le,container_type:2,container_id:pe,onSelect:Ze})),x.createElement(hg,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},x.createElement(ri.Z,{onCancel:le,onSelect:re})))),z={bg:"bg___GzXpp",wrap:"wrap___A40jS",modal:"modal___Zz7dC",content:"content___H5ZN2",head:"head___o5t32",headCount:"headCount___eBMPN",button:"button___YSSGm",itemWrap:"itemWrap___iPWUC",imgWrap:"imgWrap___T70Es",img:"img___oumA5",manager:"manager___VdXG8",itemContent:"itemContent____npAh",nameWrap:"nameWrap___nazId",name:"name___Z48aE",actionGroup:"actionGroup___eScAq",deleteIcon:"deleteIcon___FK_OA",schoolWrap:"schoolWrap___jJuIm",school:"school___kSMwT",countWrap:"countWrap___p7epV",deletetitle:"deletetitle___uVCHi",yseTitle:"yseTitle___L6JF9"},te=Object.defineProperty,ie=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Pe=(oe,le,re)=>le in oe?te(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Fe=(oe,le)=>{for(var re in le||(le={}))ge.call(le,re)&&Pe(oe,re,le[re]);if(ie)for(var re of ie(le))Ee.call(le,re)&&Pe(oe,re,le[re]);return oe},be=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Ke=({shixunsDetail:oe,globalSetting:le,loading:re,user:pe,dispatch:Ze})=>{var at,je,Ye,Se,ze,gn;const zn=(0,Oe.useParams)(),qt=(0,x.useRef)(),[Zn,Bn]=(0,x.useState)(0),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({id:null,page:1}),An=(je=(at=pe.userInfo)==null?void 0:at.shixun)==null?void 0:je.editable,Zt=((Ye=pe.userInfo)==null?void 0:Ye.role)<=2||((ze=(Se=pe.userInfo)==null?void 0:Se.shixun)==null?void 0:ze.is_creator);(0,x.useEffect)(()=>{qt.current=zn.id,vt.id=qt.current,ca(vt),Qt(vt)},[]);const Qt=Pn=>be(void 0,null,function*(){const Ja=yield Ze({type:"shixunsDetail/getCollaboratorsData",payload:Pn});Ja&&(Fn(Ja.members||[]),Bn(Ja.member_count))}),It=()=>be(void 0,null,function*(){vt.page=1,ca(vt);const Pn=(0,_u.g)();yield Ze({type:"user/getUserInfo",payload:Pn}),yield Qt(vt)}),pt=Pn=>{vt.page=Pn,ca(vt),Qt(vt)},wn=Pn=>{Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:x.createElement("div",{className:z.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>be(void 0,null,function*(){var Ja;const ba=yield Ze({type:"shixunsDetail/deleteCollaborators",payload:{id:qt.current,userId:Pn}});if(((Ja=pe.userInfo)==null?void 0:Ja.user_id)===Pn){Oe.history.push("/shixuns");return}Me.ZP.info(ba==null?void 0:ba.message),vt.page=1,ca(vt),Qt(vt)})})},kt=()=>{Ze({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:qt.current}}})};function Ct(Pn,Ja,ba,qn){return be(this,null,function*(){yield Ze({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Pn,user_id:Ja,editable:ba?0:1}}),Qt(vt)})}const Wt=()=>{Ze({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:qt.current}}})};function aa(){Ze({type:"shixunsDetail/setActionTabs",payload:{}})}const Ua={visible:oe.actionTabs.key==="Collaborators-AddCollaborator",onCancel:aa,shixunId:qt.current,onSelectCollaborator:Pn=>be(void 0,null,function*(){aa(),(yield Ze({type:"shixunsDetail/addCollaborator",payload:{id:qt.current,user_ids:Pn}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())}),onSelectGroup:Pn=>be(void 0,null,function*(){aa(),(yield Ze({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:qt.current,group_id:Pn.group_id}}))&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),It())})};return x.createElement("section",null,x.createElement("div",{className:z.wrap},x.createElement("div",{className:z.content},((gn=oe.detail)==null?void 0:gn.identity)<5&&x.createElement("div",{className:z.head},x.createElement("span",{className:z.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",Zn,"\u4EBA\uFF09"),x.createElement("div",null,Zt&&x.createElement(de.ZP,{type:"primary",ghost:!0,className:z.button,style:{marginRight:"20px"},onClick:kt},"\u66F4\u6362\u7BA1\u7406\u5458"),An&&x.createElement(de.ZP,{type:"primary",className:z.button,style:{marginRight:"40px"},onClick:Wt},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),x.createElement("div",{className:z.list},x.createElement(Bu.Z,{loading:re.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},Yn.map((Pn,Ja)=>{var ba,qn,In,Cr,ra,ea,ir,Fr;return x.createElement("div",{style:{display:"inline-block",width:"50%"}},x.createElement("div",{className:z.itemWrap,key:Ja},x.createElement("a",{href:(ba=Pn.user)==null?void 0:ba.user_url,target:"_blank",className:z.imgWrap},x.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:z.img,src:`${tt.Z.IMG_SERVER}/images/${(qn=Pn.user)==null?void 0:qn.image_url}`}),((In=Pn.user)==null?void 0:In.shixun_manager)&&x.createElement("span",{className:z.manager},"\u521B\u5EFA\u8005")),x.createElement("div",{className:z.itemContent},x.createElement("p",{className:z.nameWrap},x.createElement("a",{href:Pn.user.user_url,target:"_blank",className:z.name},(Cr=Pn.user)==null?void 0:Cr.name,Pn.user.user_id===((ra=pe.userInfo)==null?void 0:ra.user_id)?x.createElement("span",null,"\u6211"):null),x.createElement("div",{className:z.actionGroup},Zt?(ea=Pn.user)!=null&&ea.shixun_manager?null:x.createElement(nn.Z,{dropdownRender:()=>x.createElement(Bt.default,{selectedKeys:[Pn.editable?"1":"2"],onClick:()=>{var Pr;Ct(oe.detail.identifier,Pn.user.user_id,Pn.editable,(Pr=Pn.user)==null?void 0:Pr.name)}},x.createElement(Bt.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),x.createElement(Bt.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},x.createElement("div",null,Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",x.createElement(xn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Pn.editable?x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):x.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((ir=Pn.user)!=null&&ir.shixun_manager)&&An?x.createElement("a",{className:z.deletetitle,onClick:()=>{var Pr;return wn((Pr=Pn.user)==null?void 0:Pr.user_id)}},"\u5220\u9664"):null)),x.createElement("p",{className:z.schoolWrap},x.createElement("span",{className:z.school},(Fr=Pn.user)==null?void 0:Fr.school_name)))))})))),Zn>10&&x.createElement("div",{className:z.countWrap},x.createElement(Vu.Z,{showQuickJumper:!1,showSizeChanger:!1,total:Zn,onChange:Pn=>pt(Pn),pageSize:10,current:vt.page}))),x.createElement($g,{onReloadData:It}),x.createElement(Eg,Fe({},Ua)))};var ot=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re,user:pe})=>({shixunsDetail:oe,globalSetting:re,user:pe,loading:le}))(Ke),nt=ue(4737),Ue={flex_box_center:"flex_box_center___l5eTc",flex_space_between:"flex_space_between___k0OR7",flex_box_vertical_center:"flex_box_vertical_center___OKlIC",flex_box_center_end:"flex_box_center_end___hN9A6",flex_box_column:"flex_box_column___ijTq_",dataset:"dataset___dSWAV",header:"header___BzxI4",title:"title___cPEyN",dataPath:"dataPath___wJ6mR",pathTitle:"pathTitle___TOS2Z",btns:"btns___jGE8o",content:"content___s4ep8",customTable:"customTable___OG3_9",row:"row___ONd7r",empty:"empty___CgtTE",path:"path___Cg5rX",text:"text___SCLRV",actionsBtns:"actionsBtns___L5tdC",customModal:"customModal___qVeG3",shareModal:"shareModal___HedYo",fileName:"fileName___x56US",renameModal:"renameModal___SmCAd",errorDes:"errorDes___VLR_5",uploadFileModal:"uploadFileModal___pYYDB",selectBtn:"selectBtn___m_hrR",leftButton:"leftButton___F0fvG",rightButton:"rightButton___oCK81",centerText:"centerText___jpgrt"},Je={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},Et=Object.defineProperty,tn=Object.defineProperties,fa=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,dr=(oe,le,re)=>le in oe?Et(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,ar=(oe,le)=>{for(var re in le||(le={}))Ia.call(le,re)&&dr(oe,re,le[re]);if(Sa)for(var re of Sa(le))$a.call(le,re)&&dr(oe,re,le[re]);return oe},ao=(oe,le)=>tn(oe,fa(le)),ro=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Dragger:To}=rt.default;var zo=({dispatch:oe,id:le,onClose:re,onOK:pe,visible:Ze,wrapClassName:at,local:je,containerId:Ye,rootIdentifier:Se})=>{var ze;const[gn,zn]=(0,x.useState)({}),[qt,Zn]=(0,x.useState)([]),[Bn,Yn]=(0,x.useState)([]),[Fn,vt]=(0,x.useState)(0),[ca,An]=(0,x.useState)(!1),[Zt,Qt]=(0,x.useState)(!1),[It]=ce.default.useForm(),[pt,wn]=(0,x.useState)([]),kt=(0,x.useRef)([]);(0,x.useEffect)(()=>{Ze&&(It.resetFields(),wn([]),Yn([]),Zn([]),vt(0),Qt(!1),An(!1))},[Ze]);const Ct=dn=>{var La,tr,la;if(dn.file.status==="done"||dn.file.status==="uploading"){if(wn(dn.fileList),!dn.file.response)return;if((La=dn.file.response)!=null&&La.id){Me.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}wn(pt.filter(Ga=>Ga.uid!==dn.file.uid)),(tr=dn.file.response)!=null&&tr.message&&Me.ZP.info((la=dn.file.response)==null?void 0:la.message)}},Wt=dn=>ro(void 0,null,function*(){var La;if(!Fn){const la=pt.filter(Ga=>Ga.uid!==dn.uid);wn(la),kt.current=[...la],Zn(qt.filter(Ga=>Ga!==dn.name)),Me.ZP.info("\u5220\u9664\u6210\u529F"),la.length||(It.setFieldsValue({file:void 0}),It.validateFields());return}if(!dn.response){Me.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,lt.ZP)(`/api/shixuns/${le}/destroy_data_sets.json`,{method:"Delete",body:{id:[(La=dn==null?void 0:dn.response)==null?void 0:La.id]}})).status===0&&(wn(pt.filter(la=>la.uid!==dn.uid)),Me.ZP.info("\u5220\u9664\u6210\u529F"))}),aa=dn=>{if(pt!=null&&pt.some(tr=>tr.name===dn.name))return Me.ZP.info(`${dn.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;const La={name:dn.name,uid:dn.uid,file:dn,percent:0};return pt.push(La),kt.current=[...pt],wn([...pt]),!1},Ua={height:300,multiple:!0,disabled:Fn>0,withCredentials:!0,fileList:pt,action:`${tt.Z.API_SERVER}/api/attachments.json`,onChange:Ct,onRemove:Wt,beforeUpload:aa},Pn=(dn,La,tr,la,Ga)=>{const Ta=new FormData;Object.keys(dn).forEach(Ao=>{Ta.append(Ao,dn[Ao])});const Nr=new window.XMLHttpRequest;return Nr.withCredentials=!0,Nr.addEventListener("load",function(Ao){var Go;tr(JSON.parse((Go=Ao==null?void 0:Ao.target)==null?void 0:Go.response))},!1),Nr.addEventListener("error",function(Ao){Ga&&Ga(Ao)},!1),Nr.upload.onprogress=Ao=>{la&&la(Ao)},Nr.open("POST",La),Nr.send(Ta),Nr},Ja=(dn,La)=>{if(dn.lengthComputable){const tr=Math.floor(dn.loaded/dn.total*100),la=ao(ar({},La),{percent:tr,status:tr===100?"done":"uploading"});console.log(kt.current,333),kt.current=kt.current.map(Ga=>Ga.uid===La.uid?la:Ga),wn(kt.current)}},ba=(dn,La)=>{const tr=ao(ar({},La),{status:"error"});Me.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),kt.current=kt.current.map(la=>la.uid===La.uid?tr:la),kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},qn=(dn,La)=>{let tr=ao(ar({},La),{status:"done"});if(dn.status===0||(tr=ao(ar({},La),{status:"error"}),Me.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),kt.current=kt.current.map(la=>la.uid===La.uid?tr:la),kt.current.every(la=>la.status==="done")){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}kt.current.every(la=>la.status==="done"||la.status==="error")&&(Qt(!1),vt(2)),wn(kt.current)},In=()=>{let dn=!0;return window.navigator.onLine==!0?dn=!0:dn=!1,dn},Cr=dn=>ro(void 0,null,function*(){if(Qt(!0),Fn===3){vt(2);return}if(Fn===2||Fn===1){ra();return}const{commitMessage:La="",fileOss:tr=[]}=dn||{},Ga=(je?pt:tr).map(Nr=>Nr.name);if(Ga.filter(Nr=>Nr.indexOf("\u3001")!=-1||Nr.indexOf(" ")!=-1).length>0){Me.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Qt(!1);return}const Ta=yield(0,lt.ZP)(`/api/shixuns/${le}/check_data_sets`,{method:"post",body:{files_name:Ga}});if(Ta.status===-3){Zn(Ta==null?void 0:Ta.exist_files),Qt(!1);return}if(JSON.stringify(Ta)==="{}"){Qt(!1),Me.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}Ta.status===0&&(pt.forEach(Nr=>{const Ao=Pn({file:Nr.file,description:La},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Go=>qn(Go,Nr),Go=>Ja(Go,Nr),Go=>ba(Go,Nr));Bn.push(Ao)}),vt(1))}),ra=()=>{const{commitMessage:dn=""}=ar({},It.getFieldsValue())||{},La=kt.current.filter(la=>la.status==="error"),tr=kt.current.map(la=>ao(ar({},la),{status:la.status==="error"?"uploading":la.status}));wn(tr),La.forEach(la=>{const Ga=Pn({file:la.file,description:dn},`${tt.Z.API_SERVER}/api/shixuns/${le}/upload_data_sets.json`,Ta=>qn(Ta,la),Ta=>Ja(Ta,la),Ta=>ba(Ta,la));Bn.push(Ga)})},ea=dn=>{var La,tr;if(console.log(dn,"changedValues"),"fileOss"in dn){if(dn!=null&&dn.fileOss.every(la=>la.status==="done")&&((La=dn==null?void 0:dn.fileOss)!=null&&La.length)){Me.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),ir(!0);return}if(dn!=null&&dn.fileOss.every(la=>la.status==="done"||la.status==="error")&&((tr=dn==null?void 0:dn.fileOss)!=null&&tr.length)){vt(3),Qt(!1);return}Zn(qt.filter(la=>{var Ga;return(Ga=dn==null?void 0:dn.fileOss)==null?void 0:Ga.some(Ta=>Ta.name===la)}))}zn(ar({},It.getFieldsValue()))},ir=dn=>{dn||(An(!0),Bn.forEach(La=>{La.abort()})),pe(),re()},Fr=()=>{const{fileOss:dn=[]}=ar({},It.getFieldsValue())||{},La=pt==null?void 0:pt.every(la=>la.status==="done"),tr=dn==null?void 0:dn.every(la=>la.status==="done");if(!La||!tr){Ne.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ir()}});return}ir()},Pr=()=>x.createElement(x.Fragment,null,x.createElement("div",null,x.createElement("i",{className:`iconfont icon-shangchuan font50 ${Je.colorBlue}`})),x.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",x.createElement("span",{className:`${Je.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),sr=dn=>{console.log(dn,444)};return x.createElement(Ne.default,{open:Ze,onOk:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),It.submit()},centered:!0,okText:Fn===0?"\u786E\u5B9A":Fn===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:Zt},onCancel:Fr,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},x.createElement("div",{className:Je.wrap},x.createElement(ce.default,{className:"mt10",form:It,scrollToFirstError:!0,layout:"vertical",onFinish:Cr,onValuesChange:ea},je?x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{style:{visibility:"hidden"},className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement(To,ar({},Ua)," ",Pr())):x.createElement(ce.default.Item,{label:x.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",x.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},x.createElement($r.ZP,{identifier:Se,cancelUpload:ca,container_type:"Shixun",container_id:Ye,uploading:Fn<3?Fn:0,disabled:Fn>0,height:300,maxSize:100*1024*1024*1024,description:gn.commitMessage||"",text:Pr(),onComplete:sr,realFileName:!0})),!!qt.length&&x.createElement("span",{className:Je.repeatedName},qt.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),x.createElement(ce.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},x.createElement(ye.default,{bordered:!1,disabled:Fn>0,maxLength:100,suffix:`${((ze=gn.commitMessage)==null?void 0:ze.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},Ol=ue(51673),su=Object.defineProperty,pu=Object.defineProperties,Di=Object.getOwnPropertyDescriptors,Ru=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,cu=(oe,le,re)=>le in oe?su(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,hu=(oe,le)=>{for(var re in le||(le={}))Tu.call(le,re)&&cu(oe,re,le[re]);if(Ru)for(var re of Ru(le))gi.call(le,re)&&cu(oe,re,le[re]);return oe},du=(oe,le)=>pu(oe,Di(le)),dc=(oe,le)=>{var re={};for(var pe in oe)Tu.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Ru)for(var pe of Ru(oe))le.indexOf(pe)<0&&gi.call(oe,pe)&&(re[pe]=oe[pe]);return re},ki=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Fragment:is}=x,{TabPane:Zi}=on.default,ss=oe=>{var le=oe,{globalSetting:re,dispatch:pe,practiceSetting:Ze,shixunsDetail:at,user:je}=le,Ye=dc(le,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Se,ze,gn,zn,qt,Zn;const{id:Bn}=Ze,[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({}),[An,Zt]=(0,x.useState)([]),[Qt,It]=(0,x.useState)(!1),[pt,wn]=(0,x.useState)(!0),[kt,Ct]=(0,x.useState)(!1),[Wt,aa]=(0,x.useState)(!1),[Ua,Pn]=(0,x.useState)(!1),[Ja,ba]=(0,x.useState)(!1),[qn,In]=(0,x.useState)("all"),[Cr,ra]=(0,x.useState)([]),[ea,ir]=(0,x.useState)([]),[Fr,Pr]=(0,x.useState)(!1),[sr,dn]=(0,x.useState)({}),[La,tr]=(0,x.useState)(!1),[la,Ga]=(0,x.useState)([]),[Ta,Nr]=(0,x.useState)({page:1,limit:10,total:0}),[Ao,Go]=(0,x.useState)({page:1,limit:10,search:"",order:"mine"});(0,x.useEffect)(()=>{Bn&&Dl()},[Bn]);const wl=Wn=>{const oa=du(hu({},Ta),{page:Wn});ir([]),Nr(oa),Dl(oa)},Dl=Wn=>ki(void 0,null,function*(){const ua=Wn||{page:1,limit:10,total:0};It(!0);const co=yield pe({type:"shixunsDetail/getSetData",payload:du(hu({},ua),{id:Bn})});co!=null&&co.data_sets&&(It(!1),Fn([...co.data_sets]),Nr(du(hu({},ua),{total:co==null?void 0:co.data_sets_count})),wn(!1),ca(hu({},co)))}),qu=()=>x.createElement("div",{className:Ue.empty},x.createElement("img",{src:rn.x7,width:"258"}),x.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),qa={selectedRowKeys:ea,columnWidth:70,onChange:Wn=>{console.log("selectedRowKeys changed: ",Wn),ir(Wn)}},yr=Wn=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const oa=Wn?[Wn]:ea;Ne.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ki(void 0,null,function*(){if((yield(0,lt.ZP)(`/api/shixuns/${Bn}/destroy_data_sets.json`,{method:"Delete",body:{id:oa}})).status===0){const co=oa.length===Yn.length&&Ta.page>1?Ta.page-1:Ta.page;Me.ZP.success("\u5220\u9664\u6210\u529F"),Dl(du(hu({},Ta),{page:co})),ir([])}})})},qr=()=>ki(void 0,null,function*(){const{title:Wn}=sr;let oa=null;if(console.log(Wn,"title"),Wn===""){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",dn(du(hu({},sr),{errorDes:oa}));return}if(Wn.includes(" ")){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",dn(du(hu({},sr),{errorDes:oa}));return}const ua=Yn.find(gs=>gs.id===(sr==null?void 0:sr.id)).title;if(Wn===ua.substring(0,ua.lastIndexOf("."))||Wn===ua){oa="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",dn(du(hu({},sr),{errorDes:oa}));return}const co=ua.includes(".")?ua.substring(ua.lastIndexOf("."),ua.length):"";(yield(0,lt.ZP)(`/api/shixuns/${Bn}/rename_data_sets.json`,{method:"post",body:{id:sr==null?void 0:sr.id,new_file_name:Wn+co}})).status===0&&(Me.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),Dl(Ta),Ct(!1),dn({}))}),Oa=()=>{const{download_url:Wn}=sr;wr(Wn),Me.ZP.success("\u590D\u5236\u6210\u529F"),aa(!1),dn({})},wr=Wn=>{const oa=Wn,ua=document.createElement("input");ua.value=oa,document.body.appendChild(ua),ua.select(),document.execCommand("Copy"),ua.style.display="none"},ko=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:Wn=>x.createElement(At.Z,{title:Wn},x.createElement("span",null,Wn))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(Wn,oa)=>oa!=null&&oa.data_set_id?x.createElement(At.Z,{title:Wn},x.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,et.xg)(`/dataset/${oa==null?void 0:oa.data_set_id}/detail?tabId=public`)}},Wn)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:Wn=>x.createElement(At.Z,{title:Wn},x.createElement("span",null,Wn||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(Wn,oa)=>xa()(oa.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(Wn,oa)=>x.createElement("div",{className:Ue.path},x.createElement(At.Z,{title:Wn},x.createElement("span",{className:Ue.text},Wn)),x.createElement(sn.CopyToClipboard,{text:Wn,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(At.Z,{title:"\u590D\u5236"},x.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(Wn,oa)=>x.createElement("div",{className:Ue.actionsBtns},x.createElement(At.Z,{title:"\u91CD\u547D\u540D"},x.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var ua;dn((0,hn.clone)(du(hu({},oa),{title:oa!=null&&oa.title.includes(".")?(ua=oa==null?void 0:oa.title)==null?void 0:ua.substring(0,oa.title.lastIndexOf(".")):oa==null?void 0:oa.title}))),Ct(!0),(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),x.createElement(At.Z,{title:"\u5206\u4EAB"},x.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),dn((0,hn.clone)(oa)),aa(!0)}})),x.createElement(At.Z,{title:"\u4E0B\u8F7D"},x.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,et.Nd)(oa.title,oa==null?void 0:oa.download_url)}})),x.createElement(At.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},x.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),ba(!0),Ga([oa]),ra([oa.id])}})),x.createElement(At.Z,{title:"\u5220\u9664"},x.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,et.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),yr(oa.id)}})))}];return x.createElement("div",{className:Ue.dataset},x.createElement("div",{className:Ue.header},x.createElement("div",{className:Ue.title},"\u6570\u636E\u96C6(",Ta.total,")"),x.createElement("div",{className:Ue.dataPath},x.createElement("span",{className:Ue.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),x.createElement("input",{value:vt==null?void 0:vt.folder_name,disabled:!0}),x.createElement(sn.CopyToClipboard,{text:vt==null?void 0:vt.folder_name,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(At.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},x.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),x.createElement("div",{className:Ue.btns},x.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>yr(),disabled:!ea.length,style:{width:"60px"}},"\u5220\u9664"),x.createElement(de.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{ba(!0),ra(ea),Ga(Yn.filter(Wn=>ea.includes(Wn.id)))},disabled:!ea.length},"\u540C\u6B65"),x.createElement(nn.Z,{className:"ml10",disabled:((Se=je==null?void 0:je.userInfo)==null?void 0:Se.user_status)===2,dropdownRender:()=>x.createElement(Bt.default,null,x.createElement(Bt.default.Item,{key:1,onClick:()=>{Pr(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),x.createElement(Bt.default.Item,{key:2,onClick:()=>{Pn(!0),In("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},x.createElement("span",{className:Ue.selectBtn},x.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),x.createElement("div",{className:Ue.content},x.createElement(Bu.Z,{loading:pt,active:!0,paragraph:{rows:5}},Ta.total?x.createElement(Ya.default,{rowSelection:qa,className:Ue.customTable,dataSource:Yn,bordered:!1,rowKey:Wn=>Wn.id,rowClassName:Ue.row,columns:ko,loading:Qt,pagination:{pageSize:Ta.limit,total:Ta.total,current:Ta.page,onChange:wl,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):qu())),x.createElement(zo,{rootIdentifier:(ze=at==null?void 0:at.detail)==null?void 0:ze.root_identifier,wrapClassName:Ue.uploadFileModal,id:Bn,containerId:(gn=at==null?void 0:at.detail)==null?void 0:gn.id,local:(zn=re==null?void 0:re.setting)==null?void 0:zn.is_local,dispatch:pe,visible:Fr,onClose:()=>Pr(!1),onOK:Dl}),x.createElement(Ne.default,{title:"\u91CD\u547D\u540D",open:kt,onOk:qr,centered:!0,wrapClassName:Ue.renameModal,onCancel:()=>{Ct(!1),dn({})},width:"1000px"},x.createElement("div",null,x.createElement("div",{className:Ue.fileName},x.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),x.createElement(ye.default,{value:sr==null?void 0:sr.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:Wn=>{dn(du(hu({},sr),{title:Wn.target.value,errorDes:null}))},maxLength:60,suffix:`${((qt=sr==null?void 0:sr.title)==null?void 0:qt.length)||0}/60`}),(sr==null?void 0:sr.errorDes)&&x.createElement("div",{className:Ue.errorDes},sr==null?void 0:sr.errorDes))),x.createElement(Ne.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:Wt,onOk:Oa,centered:!0,wrapClassName:Ue.shareModal,onCancel:()=>{aa(!1),dn({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},x.createElement("div",null,x.createElement("div",{className:Ue.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",x.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),x.createElement(ye.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:sr==null?void 0:sr.download_url}))),x.createElement(Ol.Z,{setVisible:Pn,visible:Ua,recordId:Cr,type:qn,updateData:Dl,identifier:(Zn=at.detail)==null?void 0:Zn.identifier}),x.createElement(Ne.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Ja,width:400,centered:!0,keyboard:!1,onCancel:()=>ba(!1),maskClosable:!1,footer:x.createElement("div",{style:{display:"flex",justifyContent:"center"}},x.createElement("div",{className:Ue.leftButton,onClick:()=>{tr(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),x.createElement("div",{className:Ue.rightButton,onClick:()=>{ba(!1),Pn(!0),In("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},x.createElement("div",{className:Ue.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),x.createElement(Ul.Z,{visible:La,attachmentInfo:la,onClose:()=>tr(!1),onSuccess:Wn=>{tr(!1),Oe.history.push(`/dataset/${Wn}/detail?tabId=mine`)}}))};var rd=(0,Oe.connect)(({globalSetting:oe,shixunsDetail:le,practiceSetting:re,user:pe})=>({globalSetting:oe,shixunsDetail:le,user:pe,practiceSetting:re}))(ss),ku={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},gc=Object.defineProperty,mc=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,od=Object.prototype.propertyIsEnumerable,fc=(oe,le,re)=>le in oe?gc(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,jd=(oe,le)=>{for(var re in le||(le={}))Rs.call(le,re)&&fc(oe,re,le[re]);if(mc)for(var re of mc(le))od.call(le,re)&&fc(oe,re,le[re]);return oe},Pg=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const cs=oe=>oe!=null&&oe.length?oe.filter((le,re)=>re!==0).map(le=>le.val).join("").substr(1):"",em=({shixunsDetail:oe,globalSetting:le,loading:re,dispatch:pe,fileType:Ze,path:at,onFinish:je=()=>{}})=>{const Ye=(0,Oe.useParams)(),[Se,ze]=(0,x.useState)(""),[gn,zn]=(0,x.useState)([]),[qt,Zn]=(0,x.useState)([]),Yn=[cd.OriginalPicturePath,cd.ExpectPicturePath,cd.PicturePath].includes(Ze);(0,x.useEffect)(()=>{oe.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(ze(at||""),Fn())},[oe.actionTabs.key]);const Fn=(pt="")=>Pg(void 0,null,function*(){var wn;const kt=yield pe({type:"shixunsDetail/getRepository",payload:{id:Ye.id,path:pt}});if(pt===""&&!((wn=kt==null?void 0:kt.trees)!=null&&wn.length)&&Me.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),kt!=null&&kt.trees){const Ct=kt.trees.map(Wt=>jd(jd({},Wt),{name:Wt.name,val:Wt.name}));Zn(Ct||[])}}),vt=pt=>{const wn=cs(gn),kt=`${wn&&`${wn}/`}${pt}`;Ze===cd.Path?!(Se!=null&&Se.includes(`${kt}\uFF1B`))&&ze(`${Se}${kt}\uFF1B`):Ze===cd.ExecPath&&ze(kt)},ca=pt=>{if(pt.type==="tree"){gn.length?gn.push({val:`/${pt.val}`,path:pt.val}):gn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${pt.val}`,path:pt.val}),zn(gn);const wn=cs(gn);Yn&&ze(wn),Fn(wn)}},An=(pt,wn)=>{const kt=gn.filter((Wt,aa)=>aa<=wn);zn(kt);const Ct=cs(kt);Yn&&ze(Ct),Fn(Ct)},Zt=()=>Pg(void 0,null,function*(){je(Se),Qt()}),Qt=()=>{ze(""),zn([]),Zn([]),pe({type:"shixunsDetail/setActionTabs",payload:{}})},It=cs(gn);return x.createElement(Ne.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:oe.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Zt,onCancel:Qt},x.createElement("div",{className:ku.wrap},x.createElement("div",{className:ku.content},x.createElement("div",{className:ku.mainPathWrap},!!(gn!=null&&gn.length)&&gn.map((pt,wn)=>x.createElement("a",{key:wn,onClick:()=>An(pt,wn)},pt.val))),!!(qt!=null&&qt.length)&&qt.map((pt,wn)=>pt.type==="tree"?x.createElement("a",{key:wn,onClick:()=>ca(pt)},x.createElement("i",{className:`iconfont icon-wenjianjia ${ku.colorBlue}`}),It&&`${It}/`,pt.name):x.createElement("a",{key:wn,onClick:()=>vt(`${pt.name}`)},x.createElement("i",{className:`iconfont icon-zuoye ${ku.colorBlue}`}),It&&`${It}/`,pt.name))),x.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),x.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Se,onChange:pt=>ze(pt.target.value)})))};var Sg=(0,Oe.connect)(({shixunsDetail:oe,loading:le,globalSetting:re})=>({shixunsDetail:oe,globalSetting:re,loading:le.models.index}))(em),ld={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},ud=Object.defineProperty,vc=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable,Fg=(oe,le,re)=>le in oe?ud(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,pc=(oe,le)=>{for(var re in le||(le={}))id.call(le,re)&&Fg(oe,re,le[re]);if(vc)for(var re of vc(le))sd.call(le,re)&&Fg(oe,re,le[re]);return oe},Kd=(oe,le)=>{var re={};for(var pe in oe)id.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&vc)for(var pe of vc(oe))le.indexOf(pe)<0&&sd.call(oe,pe)&&(re[pe]=oe[pe]);return re},am=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const Om=oe=>{var le=oe,{shixunsDetail:re,globalSetting:pe,user:Ze,dispatch:at}=le,je=Kd(le,["shixunsDetail","globalSetting","user","dispatch"]),Ye,Se;const ze=(0,Oe.useLocation)(),gn=(0,x.useRef)((Se=(Ye=ze.pathname)==null?void 0:Ye.split("/"))==null?void 0:Se[2]),[zn]=ce.default.useForm(),[qt,Zn]=(0,x.useState)(""),[Bn,Yn]=(0,x.useState)(!1),[Fn,vt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{gn.current&&ca()},[gn.current]);const ca=()=>am(void 0,null,function*(){Yn(!0);const Zt=yield(0,lt.ZP)(`/api/shixuns/${gn.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});Zt.status===0&&(Zn((Zt==null?void 0:Zt.standard_answer)||""),zn.setFieldsValue({hide_answer:Zt==null?void 0:Zt.hide_answer,disable_copy:Zt==null?void 0:Zt.disable_copy}),Yn(!1))}),An=Zt=>am(void 0,null,function*(){vt(!0),(yield(0,lt.ZP)(`/api/shixuns/${gn.current}/set_standard_answer.json`,{method:"post",body:pc({},Zt)})).status===0&&Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),vt(!1)});return x.createElement("section",{className:ld.wrap},x.createElement(Bu.Z,{loading:Bn},x.createElement(ce.default,{form:zn,scrollToFirstError:!0,layout:"vertical",onFinish:An},x.createElement(ce.default.Item,{name:"hide_answer",valuePropName:"checked"},x.createElement(Xe.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),x.createElement(ce.default.Item,{name:"disable_copy",valuePropName:"checked"},x.createElement(Xe.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),x.createElement(ce.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},x.createElement(se.Z,{defaultValue:qt})),x.createElement(ce.default.Item,null,x.createElement(Yu.t,{okText:"\u4FDD\u5B58",loading:Fn,hasCancelBtn:!1,className:ld.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var Mm=(0,Oe.connect)(({shixunsDetail:oe,globalSetting:le,user:re})=>({shixunsDetail:oe,globalSetting:le,user:re}))(Om),tu=ue(59301),Im=Object.defineProperty,Nm=Object.defineProperties,Rm=Object.getOwnPropertyDescriptors,rm=Object.getOwnPropertySymbols,Tm=Object.prototype.hasOwnProperty,km=Object.prototype.propertyIsEnumerable,om=(oe,le,re)=>le in oe?Im(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,lm=(oe,le)=>{for(var re in le||(le={}))Tm.call(le,re)&&om(oe,re,le[re]);if(rm)for(var re of rm(le))km.call(le,re)&&om(oe,re,le[re]);return oe},Zm=(oe,le)=>Nm(oe,Rm(le)),hc=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const{Countdown:Wm}=lu.default;var Vm=(oe=>(oe[oe.LoadingFail=1]="LoadingFail",oe[oe.Loading=2]="Loading",oe[oe.Finish=3]="Finish",oe))(Vm||{}),cd=(oe=>(oe.Path="path",oe.ExecPath="exec_path",oe.OriginalPicturePath="original_picture_path",oe.ExpectPicturePath="expect_picture_path",oe.PicturePath="picture_path",oe))(cd||{});const zm=({globalSetting:oe,loading:le,dispatch:re,practiceSetting:pe,shixunsDetail:Ze})=>{var at;const[je,Ye]=(0,x.useState)(),[Se,ze]=(0,x.useState)(),gn=(0,x.useRef)(),[zn,qt]=(0,x.useState)(),[Zn,Bn]=(0,x.useState)(),[Yn,Fn]=(0,x.useState)(!0),[vt,ca]=(0,x.useState)(700),[An,Zt]=(0,x.useState)(""),[Qt,It]=(0,x.useState)("1"),pt=(0,Oe.useParams)();(0,x.useEffect)(()=>{kt()},[]);const wn=()=>hc(void 0,null,function*(){var qn,In;const Cr=yield re({type:"shixunsDetail/updateRepositoryFile",payload:{id:pt.id,path:(In=(qn=Ze==null?void 0:Ze.fileContent)==null?void 0:qn.params)==null?void 0:In.path,content:je,secret_repository:Yn?null:!0}});Cr!=null&&Cr.content&&(Me.ZP.info("\u4FDD\u5B58\u6210\u529F"),re({type:"practiceSetting/setSideBarTabs",payload:Zm(lm({},pe.sideBar),{confirmLeave:!1})}))}),kt=()=>hc(void 0,null,function*(){var qn,In,Cr,ra;const ea=yield(0,ct.Ui)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){iu.Z.publish("pod-restrict-data",{identifier:(Cr=ea==null?void 0:ea.data)==null?void 0:Cr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}ea!=null&&ea.url&&Zt(ea==null?void 0:ea.url)}),Ct=()=>hc(void 0,null,function*(){const qn=yield(0,ct.K_)({identifier:pt.id});(qn==null?void 0:qn.status)===0&&(qn!=null&&qn.remainingSeconds?(qt(Date.now()+qn.remainingSeconds*1e3),Bn(qn.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(qn.remainingSeconds-300)*1e3)):Wt())}),Wt=()=>{Ne.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:tu.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>hc(void 0,null,function*(){aa()})})},aa=()=>hc(void 0,null,function*(){var qn,In,Cr,ra;ze(2);const ea=yield(0,ct.zH)({identifier:pt.id});if((In=(qn=ea==null?void 0:ea.data)==null?void 0:qn.data_list)!=null&&In.length){iu.Z.publish("pod-restrict-data",{identifier:(Cr=ea==null?void 0:ea.data)==null?void 0:Cr.identifier,data_list:(ra=ea==null?void 0:ea.data)==null?void 0:ra.data_list});return}(ea==null?void 0:ea.status)===0&&(ze(3),Zt(ea.url),gn.current=ea.port,Me.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),Ua=()=>{Ne.default.destroyAll(),Ne.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:tu.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",tu.createElement("span",null,tu.createElement(Wm,{value:zn,format:"HH:mm:ss",onFinish:Pn})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>hc(void 0,null,function*(){(yield(0,ct.q9)({identifier:pt.id})).status===0&&(yield Ct(),Me.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Pn=()=>{Ne.default.destroyAll(),Ne.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:tu.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{aa()}})},Ja=qn=>{re({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},ba=qn=>hc(void 0,null,function*(){yield(0,ct.QA)({id:pt.id,startup_file:qn}),kt(),re({type:"practiceSetting/getCommonData",payload:lm({},pt)})});return tu.createElement(on.default,{activeKey:Qt,onChange:qn=>It(qn),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:tu.createElement("div",null,tu.createElement(Ge.Z,{className:"mt20 ml20 font14",align:"middle"},tu.createElement(Be.Z,null,tu.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),tu.createElement(Be.Z,{className:"mr10"},tu.createElement(At.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},tu.createElement(Mi.Z,{style:{cursor:"pointer"}}))),tu.createElement(Be.Z,{flex:"300px",onClick:()=>Ja("exec_path")},tu.createElement(ye.default,{value:An})),tu.createElement(Be.Z,{flex:"1"},tu.createElement(de.ZP,{type:"primary",className:"ml10",onClick:()=>Ja("exec_path")},"\u8BBE\u7F6E"))),tu.createElement("iframe",{onLoad:qn=>{},src:An,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),tu.createElement(Sg,{fileType:"path",path:(at=Ze==null?void 0:Ze.detail)==null?void 0:at.startup_file,onFinish:qn=>ba(qn)}))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Qt==="2"?tu.createElement(Ui.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:tu.createElement(Mm,null)}]})};var Gm=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re,shixunsDetail:pe})=>({globalSetting:le,loading:oe,practiceSetting:re,shixunsDetail:pe}))(zm),um={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},im={collect:"collect___pxqYO",head:"head___WuH5D"},dd=ue(59301),Um=Object.defineProperty,sm=Object.getOwnPropertySymbols,jm=Object.prototype.hasOwnProperty,Km=Object.prototype.propertyIsEnumerable,cm=(oe,le,re)=>le in oe?Um(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Hm=(oe,le)=>{for(var re in le||(le={}))jm.call(le,re)&&cm(oe,re,le[re]);if(sm)for(var re of sm(le))Km.call(le,re)&&cm(oe,re,le[re]);return oe},Ym=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),dm=({onOk:oe,onCancel:le,visible:re,modalParams:pe,forceIn:Ze})=>{const[at]=ce.default.useForm(),[je,Ye]=(0,x.useState)(!1),Se=Ze?!1:typeof re=="number";(0,x.useEffect)(()=>{re?at.setFieldsValue(Hm({},pe)):at.resetFields()},[re]);const ze=gn=>Ym(void 0,null,function*(){Ye(!0),yield oe(gn),Ye(!1)});return dd.createElement(Ne.default,{centered:!0,destroyOnClose:!0,onCancel:()=>le(),onOk:()=>at.submit(),open:!!re,confirmLoading:je,title:Se?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Se?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},dd.createElement(ce.default,{form:at,size:"large",onFinish:ze},dd.createElement(ce.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},dd.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),dd.createElement(ce.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},dd.createElement(se.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:pe==null?void 0:pe.content}))))},xl=ue(59301),Qm=Object.defineProperty,gm=Object.getOwnPropertySymbols,Jm=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable,mm=(oe,le,re)=>le in oe?Qm(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,gd=(oe,le)=>{for(var re in le||(le={}))Jm.call(le,re)&&mm(oe,re,le[re]);if(gm)for(var re of gm(le))Xm.call(le,re)&&mm(oe,re,le[re]);return oe},Hd=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),qm=({})=>{const oe=(0,Oe.useParams)(),[le,re]=(0,x.useState)(!1),[pe,Ze]=(0,x.useState)(0),[at,je]=(0,x.useState)([]),[Ye,Se]=(0,x.useState)(!1),[ze,gn]=(0,x.useState)({title:"",content:""}),[zn,qt]=(0,x.useState)(!1),[Zn,Bn]=(0,x.useState)(!1),[Yn,Fn]=(0,x.useState)([]),[vt,ca]=(0,x.useState)({keywords:"",page:1,limit:10});(0,x.useEffect)(()=>{An(vt)},[]);const An=Ct=>Hd(void 0,null,function*(){var Wt,aa;re(!0);const Ua=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"get",params:Ct});Ua.status===0&&(je(((Wt=Ua==null?void 0:Ua.data)==null?void 0:Wt.qna_sets)||[]),Ze((aa=Ua==null?void 0:Ua.data)==null?void 0:aa.total_count)),re(!1)}),Zt=Ct=>{vt.keywords=Ct,vt.page=1,ca(gd({},vt)),An(vt)},Qt=(Ct,Wt)=>{vt.page=Ct,vt.limit=Wt,ca(gd({},vt)),An(vt)},It=Ct=>Hd(void 0,null,function*(){if(typeof Ye=="number"){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ye}.json`,{method:"put",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u7F16\u8F91\u6210\u529F"),An(vt),Se(!1))}else{const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:Ct});(Wt==null?void 0:Wt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),vt.page=1,vt.keywords="",ca(gd({},vt)),An(vt),Se(!1))}}),pt=Ct=>Hd(void 0,null,function*(){Ne.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>Hd(void 0,null,function*(){const Wt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets/${Ct.id}.json`,{method:"delete"});if((Wt==null?void 0:Wt.status)===0){const aa=at.length===1&&vt.page>1?vt.page-1:vt.page;vt.page=aa,ca(gd({},vt)),An(vt),Me.ZP.success("\u5220\u9664\u6210\u529F")}})})}),wn=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Ct=>xl.createElement(At.Z,{placement:"topLeft",title:Ct},xl.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Ct=>xl.createElement(At.Z,{placement:"topLeft",title:Ct},xl.createElement("span",{className:"c-black"},Ct||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Ct,Wt)=>xl.createElement("span",null,xl.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Se(Ct),gn({title:Wt==null?void 0:Wt.title,content:Wt==null?void 0:Wt.content})}},"\u7F16\u8F91"),xl.createElement("span",{className:"current c-red",onClick:()=>pt(Wt)},"\u5220\u9664"))}],kt={onRemove:()=>{Fn([])},beforeUpload:Ct=>{if((Ct==null?void 0:Ct.size)>1024*1024*50)return Me.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Ct.type==="application/vnd.ms-excel"||Ct.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return Me.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let aa=[];return aa.push(Ct),Fn([...aa]),!1},fileList:Yn,accept:".xls,.xlsx"};return xl.createElement("div",{className:im.collect},xl.createElement("div",{className:im.head},xl.createElement(Ro.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:vt.keywords,onChange:Zt}),xl.createElement(Ro.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Se(!0),gn({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),xl.createElement(Ro.op,{type:"primary",shape:"default",onClick:()=>qt(!0)},"\u5BFC\u5165\u95EE\u7B54")),xl.createElement(Ya.default,{columns:wn,style:{marginTop:33},dataSource:at,loading:le,rowKey:"id",pagination:{current:vt.page,hideOnSinglePage:!pe,showQuickJumper:!0,showSizeChanger:!0,pageSize:vt.limit,pageSizeOptions:["10","20","50","100","200"],total:pe,size:"default",showTotal:et.rU,onChange:Qt}}),xl.createElement(Ne.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:zn,centered:!0,confirmLoading:Zn,onCancel:()=>{qt(!1),Fn([])},onOk:()=>Hd(void 0,null,function*(){var Ct;const Wt=new FormData;if(Yn.length>0)Wt.append("file",Yn[0]);else{Me.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Bn(!0);let aa=yield(0,lt.ZP)(`/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/import.json`,{method:"post",body:Wt},!0);(aa==null?void 0:aa.status)===0&&((Ct=aa==null?void 0:aa.fail)!=null&&Ct.length?Ne.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:xl.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",xl.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(Me.ZP.success("\u5BFC\u5165\u6210\u529F"),vt.page=1,vt.keywords="",ca(gd({},vt)),An(vt),qt(!1),Fn([]))),Bn(!1)})},xl.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",xl.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),xl.createElement("a",{href:`${tt.Z.API_SERVER}/api/shixuns/${oe==null?void 0:oe.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),xl.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",xl.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),xl.createElement("div",{style:{marginLeft:74}},xl.createElement(rt.default,gd({},kt),xl.createElement(Ro.op,{shape:"default",icon:xl.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),xl.createElement(dm,{visible:Ye,onCancel:()=>Se(!1),onOk:It,modalParams:ze}))},fm={record:"record___Ueu3j",head:"head___UOVq4"},Cl=ue(59301),$m=Object.defineProperty,e0=Object.defineProperties,t0=Object.getOwnPropertyDescriptors,vm=Object.getOwnPropertySymbols,n0=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable,pm=(oe,le,re)=>le in oe?$m(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Yd=(oe,le)=>{for(var re in le||(le={}))n0.call(le,re)&&pm(oe,re,le[re]);if(vm)for(var re of vm(le))a0.call(le,re)&&pm(oe,re,le[re]);return oe},r0=(oe,le)=>e0(oe,t0(le)),yg=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())}),o0=({})=>{const oe=(0,Oe.useParams)(),[le]=ce.default.useForm(),[re,pe]=(0,x.useState)(!1),[Ze,at]=(0,x.useState)(0),[je,Ye]=(0,x.useState)([]),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)({title:"",content:""});let[qt,Zn]=(0,x.useState)({page:1,limit:10});(0,x.useEffect)(()=>{Fn(qt)},[]);const Bn=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],Yn=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],Fn=It=>yg(void 0,null,function*(){var pt,wn;pe(!0);const kt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records.json`,{method:"get",params:It});kt.status===0&&(Ye(((pt=kt==null?void 0:kt.data)==null?void 0:pt.qna_records)||[]),at((wn=kt==null?void 0:kt.data)==null?void 0:wn.total_count)),pe(!1)}),vt=It=>{qt.page=1,qt=Yd(Yd({},qt),It),Zn(Yd({},qt)),Fn(qt)},ca=(It,pt)=>{qt.page=It,qt.limit=pt,Zn(Yd({},qt)),Fn(qt)},An=It=>yg(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_sets.json`,{method:"post",body:r0(Yd({},It),{qna_record_id:Se})});(pt==null?void 0:pt.status)===0&&(Me.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fn(qt),ze(!1))}),Zt=It=>yg(void 0,null,function*(){Ne.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>yg(void 0,null,function*(){const pt=yield(0,lt.ZP)(`/api/shixuns/${oe.id}/qna_records/${It.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(pt==null?void 0:pt.status)===0&&Fn(qt)})})}),Qt=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:It=>Cl.createElement(At.Z,{placement:"topLeft",title:It},Cl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:It=>Cl.createElement(At.Z,{placement:"topLeft",title:It},Cl.createElement("span",{className:"c-black"},It||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:It=>{var pt;return Cl.createElement("span",{className:"c-black"},(pt=Bn==null?void 0:Bn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:It=>{var pt;return Cl.createElement("span",{className:"c-black"},(pt=Yn==null?void 0:Yn.find(wn=>wn.value===It))==null?void 0:pt.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(It,pt)=>Cl.createElement("span",null,["pending","ignored"].includes(pt.status)&&Cl.createElement(Cl.Fragment,null,Cl.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{ze(It),zn({title:pt==null?void 0:pt.question,content:pt==null?void 0:pt.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),Cl.createElement("span",{className:"current c-light-primary",onClick:()=>Zt(pt)},"\u5FFD\u7565")),["skipped"].includes(pt.status)&&Cl.createElement(At.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Cl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(pt.status)&&Cl.createElement(At.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},Cl.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return Cl.createElement("div",{className:fm.record},Cl.createElement("div",{className:fm.head},Cl.createElement(ce.default,{layout:"inline",form:le,colon:!1,size:"large",onFinish:vt},Cl.createElement(ce.default.Item,{name:"keywords",label:"\u95EE\u9898"},Cl.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),Cl.createElement(ce.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},Cl.createElement(Gu.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:Bn,style:{width:200}})),Cl.createElement(ce.default.Item,{name:"status",label:"\u72B6\u6001"},Cl.createElement(Gu.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:Yn,style:{width:200}})),Cl.createElement(ce.default.Item,{style:{marginRight:0}},Cl.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),Cl.createElement(Ya.default,{columns:Qt,style:{marginTop:33},dataSource:je,loading:re,rowKey:"id",pagination:{current:qt.page,hideOnSinglePage:!Ze,showQuickJumper:!0,showSizeChanger:!0,pageSize:qt.limit,pageSizeOptions:["10","20","50","100","200"],total:Ze,size:"default",showTotal:et.rU,onChange:ca}}),Cl.createElement(dm,{visible:Se,onCancel:()=>ze(!1),onOk:An,modalParams:gn,forceIn:!0}))},Cg=ue(59301);const l0=({dispatch:oe,practiceSetting:le,shixunsDetail:re})=>{const[pe,Ze]=(0,x.useState)("1");return Cg.createElement("div",{className:um.catechism},Cg.createElement(Ro.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:pe,onChange:at=>Ze(at),className:um.tab}),pe==="1"&&Cg.createElement(qm,null),pe==="2"&&Cg.createElement(o0,null))};var u0=(0,Oe.connect)(({practiceSetting:oe,shixunsDetail:le})=>({practiceSetting:oe,shixunsDetail:le}))(l0),i0=Object.defineProperty,bg=Object.getOwnPropertySymbols,hm=Object.prototype.hasOwnProperty,Em=Object.prototype.propertyIsEnumerable,Pm=(oe,le,re)=>le in oe?i0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Qd=(oe,le)=>{for(var re in le||(le={}))hm.call(le,re)&&Pm(oe,re,le[re]);if(bg)for(var re of bg(le))Em.call(le,re)&&Pm(oe,re,le[re]);return oe},s0=(oe,le)=>{var re={};for(var pe in oe)hm.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&bg)for(var pe of bg(oe))le.indexOf(pe)<0&&Em.call(oe,pe)&&(re[pe]=oe[pe]);return re},c0=oe=>{var le=oe,{tabsActive:re}=le,pe=s0(le,["tabsActive"]);return x.createElement(x.Fragment,null,re==="information"&&x.createElement(Ug,null),re==="warehouse"&&x.createElement(jg.default,null),re==="level"&&x.createElement(Jg,Qd({},pe)),re==="collaborate"&&x.createElement(ot,Qd({},pe)),re==="setting"&&x.createElement(nt.Z,null),re==="environment"&&x.createElement(Va,Qd({},pe)),re==="dataset"&&x.createElement(rd,null),re==="service"&&x.createElement(Gm,Qd({},pe)),re==="catechism"&&x.createElement(u0,Qd({},pe)))},md={flex_box_center:"flex_box_center___FN240",flex_space_between:"flex_space_between___wjShI",flex_box_vertical_center:"flex_box_vertical_center___HbcwC",flex_box_center_end:"flex_box_center_end___gj_ks",flex_box_column:"flex_box_column___zxJPU",sidebar:"sidebar___OW5LG",items:"items___j856O",item:"item___Zn_qr",name:"name___ZfhoC",itemActive:"itemActive___sW_Ri",question:"question___yfIcY"},Vl=ue(59301),d0=Object.defineProperty,g0=Object.defineProperties,m0=Object.getOwnPropertyDescriptors,Dg=Object.getOwnPropertySymbols,Sm=Object.prototype.hasOwnProperty,Fm=Object.prototype.propertyIsEnumerable,ym=(oe,le,re)=>le in oe?d0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,f0=(oe,le)=>{for(var re in le||(le={}))Sm.call(le,re)&&ym(oe,re,le[re]);if(Dg)for(var re of Dg(le))Fm.call(le,re)&&ym(oe,re,le[re]);return oe},v0=(oe,le)=>g0(oe,m0(le)),p0=(oe,le)=>{var re={};for(var pe in oe)Sm.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&Dg)for(var pe of Dg(oe))le.indexOf(pe)<0&&Fm.call(oe,pe)&&(re[pe]=oe[pe]);return re};const Ag=[{name:"\u57FA\u672C\u4FE1\u606F",icon:Vl.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:Vl.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:Vl.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:Vl.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:Vl.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:Vl.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:Vl.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:Vl.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],h0=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,shixunsDetail:at,practiceSetting:je}=le,Ye=p0(le,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Se;const{base_info_warning:ze,challenges_warning:gn,id:zn,repository_warning:qt,sideBar:Zn,service_warning:Bn}=je,Yn=(0,Oe.useLocation)(),Fn=(0,Oe.useParams)(),[vt]=(0,Oe.useSearchParams)();(0,x.useEffect)(()=>{var Zt;const Qt=vt.get("tabId"),It=Yn.pathname.split("/").length,wn=((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?Ag.filter(kt=>kt.tabId!=="dataset"):Ag).map(kt=>kt.tabId).includes(Qt);if(Qt&&wn){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Qt}});return}if(It>4){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Qt||Qt&&!wn){Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Se=at==null?void 0:at.detail)==null?void 0:Se.windows_vnc]),(0,x.useEffect)(()=>()=>{Ze({type:"practiceSetting/setSideBarTabs",payload:v0(f0({},je.sideBar),{selectPath:""})})},[Fn.id]);const ca=Zt=>{var Qt;if(Zt===Zn.tabsActive)return;const It=()=>{Oe.history.push(`/shixuns/${zn}/edit?tabId=${Zt}`),Ze({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Zt,selectPath:"",confirmLeave:!1}})};(Qt=je==null?void 0:je.sideBar)!=null&&Qt.confirmLeave?Ne.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{It()}}):It()},An=()=>{var Zt;return((Zt=at==null?void 0:at.detail)!=null&&Zt.windows_vnc?Ag.filter(It=>It.tabId!=="dataset"):Ag).filter(It=>{var pt;return(pt=at==null?void 0:at.detail)!=null&&pt.is_jupyter_lab?It.tabId!=="level":It.tabId!=="service"}).map(It=>{const{name:pt,icon:wn,tabId:kt}=It;return Vl.createElement("div",{key:kt,className:`${je.sideBar.tabsActive===kt?md.itemActive:md.item} font12`,onClick:()=>ca(kt)},wn,Vl.createElement("span",{className:md.name},pt),kt==="information"&&ze&&Vl.createElement(At.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},Vl.createElement("img",{src:Ci,alt:""})),kt==="level"&&gn&&Vl.createElement(At.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},Vl.createElement("img",{src:Ci,alt:""})),kt==="service"&&Bn&&Vl.createElement(At.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},Vl.createElement("img",{src:Ci,alt:""})),kt==="warehouse"&&qt&&Vl.createElement(At.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},Vl.createElement("img",{src:Ci,alt:""})))})};return Vl.createElement("div",{className:md.sidebar},Vl.createElement("div",{className:md.items},An()),Vl.createElement("div",{className:md.question},Vl.createElement(At.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},Vl.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open(`${ENV.API_SERVER}/pdf/\u5B9E\u8BAD\u5236\u4F5C\u5E38\u89C1\u95EE\u9898.pdf`)},Vl.createElement("img",{src:rn.Pt,height:44,width:44,alt:""})))))};var E0=(0,Oe.connect)(({loading:oe,globalSetting:le,shixunsDetail:re,practiceSetting:pe})=>({globalSetting:le,loading:oe,practiceSetting:pe,shixunsDetail:re}))(h0),tm={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},Du=ue(59301),P0=Object.defineProperty,Cm=Object.getOwnPropertySymbols,S0=Object.prototype.hasOwnProperty,F0=Object.prototype.propertyIsEnumerable,bm=(oe,le,re)=>le in oe?P0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,Dm=(oe,le)=>{for(var re in le||(le={}))S0.call(le,re)&&bm(oe,re,le[re]);if(Cm)for(var re of Cm(le))F0.call(le,re)&&bm(oe,re,le[re]);return oe},Bg=(oe,le,re)=>new Promise((pe,Ze)=>{var at=Se=>{try{Ye(re.next(Se))}catch(ze){Ze(ze)}},je=Se=>{try{Ye(re.throw(Se))}catch(ze){Ze(ze)}},Ye=Se=>Se.done?pe(Se.value):Promise.resolve(Se.value).then(at,je);Ye((re=re.apply(oe,le)).next())});const y0=({classroomList:oe,loading:le,dispatch:re,shixunsDetail:pe})=>{var Ze,at;const je=(0,Oe.useParams)(),Ye=(0,Oe.useLocation)(),[Se,ze]=(0,x.useState)(!1),[gn,zn]=(0,x.useState)(!1),{actionTabs:qt}=oe,[Zn]=ce.default.useForm(),[Bn,Yn]=(0,x.useState)({name:"string"}),Fn=Zt=>Zt&&Zt{console.log(je),oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(Bn.name=qt==null?void 0:qt.name),Yn(Dm({},Bn)),Zn.setFieldsValue({name:qt==null?void 0:qt.name})},[oe.actionTabs.key]);const An={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Du.createElement(Du.Fragment,null,Du.createElement(Ne.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((Ze=oe==null?void 0:oe.actionTabs)==null?void 0:Ze.zIndex)||1e3,footer:null,onOk:()=>Bg(void 0,null,function*(){console.log(123123)}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Du.createElement("div",null,Du.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",An[oe.actionTabs.type],"\uFF1F")),Du.createElement("div",{className:tm.bottom},Du.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&gn,className:tm.no,onClick:()=>Bg(void 0,null,function*(){var Zt;zn(!0),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!0,2):oe.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Du.createElement(de.ZP,{loading:le["shixunsDetail/saveCopyForExercise"]&&!gn,className:tm.yes,onClick:()=>Bg(void 0,null,function*(){var Zt;zn(!1),(Zt=oe.actionTabs)!=null&&Zt.value?oe.actionTabs.fn(oe.actionTabs.value,!1,1):oe.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Du.createElement(Ne.default,{centered:!0,title:"\u63D0\u793A",open:oe.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Se,onOk:()=>Bg(void 0,null,function*(){var Zt,Qt;yield Zn.validateFields();const It=Zn.getFieldValue();ze(!0);const pt=yield(0,lt.ZP)(`/api/shixuns/${je==null?void 0:je.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:It.name}});ze(!1),pt.status===0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),re({type:"practiceSetting/getCommonData",payload:{id:je.id}}),(Zt=oe.actionTabs)!=null&&Zt.getBaseInfo&&((Qt=oe.actionTabs)==null||Qt.getBaseInfo())),re({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{re({type:"classroomList/setActionTabs",payload:{}})}},Du.createElement("div",null,Du.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Du.createElement(ce.default,{form:Zn,initialValues:{name:vt},onChange:()=>{Yn(Zn.getFieldValue())}},Du.createElement(ce.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Du.createElement(Ge.Z,{className:"mt30",align:"middle"},Du.createElement(Be.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Du.createElement(Be.Z,{flex:"1"},Du.createElement(ye.default,{maxLength:60,defaultValue:qt==null?void 0:qt.name,suffix:Du.createElement("span",null,((at=Bn==null?void 0:Bn.name)==null?void 0:at.length)||0,"/",60)}))))))))};var C0=(0,Oe.connect)(({classroomList:oe,loading:le,shixunsDetail:re})=>({classroomList:oe,loading:le.effects,shixunsDetail:re}))(y0),ds=ue(59301),b0=Object.defineProperty,D0=Object.defineProperties,A0=Object.getOwnPropertyDescriptors,xg=Object.getOwnPropertySymbols,Am=Object.prototype.hasOwnProperty,Bm=Object.prototype.propertyIsEnumerable,xm=(oe,le,re)=>le in oe?b0(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:re}):oe[le]=re,wm=(oe,le)=>{for(var re in le||(le={}))Am.call(le,re)&&xm(oe,re,le[re]);if(xg)for(var re of xg(le))Bm.call(le,re)&&xm(oe,re,le[re]);return oe},Lm=(oe,le)=>D0(oe,A0(le)),B0=(oe,le)=>{var re={};for(var pe in oe)Am.call(oe,pe)&&le.indexOf(pe)<0&&(re[pe]=oe[pe]);if(oe!=null&&xg)for(var pe of xg(oe))le.indexOf(pe)<0&&Bm.call(oe,pe)&&(re[pe]=oe[pe]);return re};const _0=oe=>{var le=oe,{globalSetting:re,loading:pe,dispatch:Ze,practiceSetting:at}=le,je=B0(le,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ye}=at,{tabsActive:Se}=Ye;let ze=(0,Oe.useParams)();return(0,x.useEffect)(()=>(Ze({type:"globalSetting/headerFooterToggle",payload:!1}),Ze({type:"shixunsDetail/getShixunsDetail",payload:Lm(wm({},ze),{shixun_managed:!0})}),()=>{Ze({type:"globalSetting/headerFooterToggle",payload:!0}),Ze({type:"practiceSetting/setParams",payload:{id:""}})}),[]),ds.createElement("div",{className:Ls.practiceSetting},ds.createElement("div",{className:Ls.wrapHeader},ds.createElement(Rg,null)),ds.createElement("div",{className:Ls.wrapLayout},ds.createElement("div",{className:Ls.wrapSidebar},ds.createElement(E0,null)),ds.createElement("div",{className:Ls.wrapContent},ds.createElement(c0,Lm(wm({},je),{tabsActive:at.sideBar.tabsActive})))),ds.createElement(C0,null))};var x0=(0,Oe.connect)(({loading:oe,globalSetting:le,practiceSetting:re})=>({globalSetting:le,loading:oe,practiceSetting:re}))(_0);const w0=({globalSetting:oe})=>{var le;switch(Number((le=oe==null?void 0:oe.setting)==null?void 0:le.theme)){case ae.Fy.THEMEONE:return x.createElement(Lg,null);case ae.Fy.DEFAULT:default:return x.createElement(x0,null)}};var L0=(0,Oe.connect)(({globalSetting:oe})=>({globalSetting:oe}))(w0)},97477:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return E}});var ae=ue(59301),x=ue(76560),Oe=ue(78241),ke=ue(8591),Te=ue(43418),et=ue(92832),Ce={wrap:"wrap___MYP7J",content:"content___loAbf",mainPathWrap:"mainPathWrap___gBcjO",colorBlue:"colorBlue___qg6vv"},ct=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,mt=(b,y,ee)=>y in b?ct(b,y,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[y]=ee,$e=(b,y)=>{for(var ee in y||(y={}))Me.call(y,ee)&&mt(b,ee,y[ee]);if(Ne)for(var ee of Ne(y))lt.call(y,ee)&&mt(b,ee,y[ee]);return b},fe=(b,y,ee)=>new Promise((ne,se)=>{var ce=Ae=>{try{ye(ee.next(Ae))}catch(Ge){se(Ge)}},de=Ae=>{try{ye(ee.throw(Ae))}catch(Ge){se(Ge)}},ye=Ae=>Ae.done?ne(Ae.value):Promise.resolve(Ae.value).then(ce,de);ye((ee=ee.apply(b,y)).next())});const a=({shixunsDetail:b,globalSetting:y,loading:ee,dispatch:ne,title:se,pathList:ce=[],showInputPath:de=!1,isMergeSelectFile:ye=!1,onFinish:Ae=()=>{}})=>{const[Ge]=Oe.default.useForm(),Be=(0,x.useParams)(),rt=(0,x.useLocation)(),Xe=(0,ae.useRef)(),[ut,mn]=(0,ae.useState)(""),[ln,En]=(0,ae.useState)(""),[pn,Jt]=(0,ae.useState)([]),[ha,_t]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var st,wt;Xe.current=((wt=(st=rt.pathname)==null?void 0:st.split("/"))==null?void 0:wt[3])==="repository"},[]),(0,ae.useEffect)(()=>{if(b.actionTabs.key!=="Repository-SelectFilePath")return;const st=ce.join("/");let wt=[];ce.map((Ln,un)=>{un===0?wt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Ln}`,path:st}):wt.push({val:`/${Ln}`,path:st})}),Jt(wt),mn(st),En(st),an(st)},[b.actionTabs.key]);const an=st=>fe(void 0,null,function*(){const wt=yield ne({type:Xe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Be.id,path:st}});wt&&_t(wt.trees||[])}),Nn=st=>{let wt=ut;st.type==="tree"&&(pn.length?pn.push({val:`/${st.name}`,path:st.name}):pn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${st.name}`,path:st.name}),Jt(pn),wt=ut?`${ut}/${st.name}`:st.name,mn(wt)),an(wt)},jn=(st,wt)=>{const Ln=pn.filter((Un,Le)=>Le<=wt);Jt(Ln);const un=Ln.filter((Un,Le)=>Le!==0).map(Un=>Un.val).join("").substr(1);mn(un),an(un)},hn=()=>fe(void 0,null,function*(){const st=Ge==null?void 0:Ge.getFieldsValue(),wt=ut?`${ut}${st!=null&&st.name?`/${st==null?void 0:st.name}`:""}`:st==null?void 0:st.name;if(ye){Ae(wt),tt();return}if(de){yield Ge.validateFields();const Ln=yield ne({type:"shixunsDetail/uploadGitFolder",payload:$e($e({},{id:Be.id,path:wt}),Xe.current?{}:{secret_repository:!0})});Ae(ln),Ln.status===0&&ke.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Ae(wt),ke.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");tt()}),tt=()=>{ne({type:"shixunsDetail/setActionTabs",payload:{}}),Ge.resetFields()};return ae.createElement(Te.default,{centered:!0,title:se||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:b.actionTabs.key==="Repository-SelectFilePath",onOk:hn,onCancel:tt},ae.createElement("div",{className:Ce.wrap},ae.createElement("div",{className:Ce.content},ae.createElement("div",{className:Ce.mainPathWrap},!!(pn!=null&&pn.length)&&pn.map((st,wt)=>ae.createElement("a",{key:wt,onClick:()=>jn(st,wt)},st.val))),!!(ha!=null&&ha.length)&&ha.map((st,wt)=>st.type==="tree"&&ae.createElement("a",{key:wt,onClick:()=>Nn(st)},ae.createElement("i",{className:`iconfont icon-wenjianjia ${Ce.colorBlue}`}),st.name))),ae.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ae.createElement("div",{className:"mt5 mb5"},ut),de&&ae.createElement(Oe.default,{form:Ge,scrollToFirstError:!0,className:"mt20"},ae.createElement(Oe.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ae.createElement(et.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var E=(0,x.connect)(({shixunsDetail:b,loading:y,globalSetting:ee})=>({shixunsDetail:b,globalSetting:ee,loading:y.models.index}))(a)},56986:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Ge}});var ae=ue(59301),x=ue(76560),Oe=ue(43418),ke=ue(8591),Te=ue(3113),et=ue(24905),Ce=ue(5112),ct=ue(88522),Ne=ue(49127),Me=ue(5083),lt=ue(5871),mt=ue(10527),$e=ue(84236),fe=ue(23869),a=ue(56656),E=ue.n(a),b={wrap:"wrap___I6aMh",labelWrap:"labelWrap___JRSQM",label:"label___nx3ue",labelContent:"labelContent___JRmit",flexRow:"flexRow___z4VUw",color999:"color999___oIiXP",radio:"radio___B7cxQ",selectSchool:"selectSchool___xyvCv",dataPicker:"dataPicker___DoaL_",modal:"modal____8ckb",colorOrange:"colorOrange___rAmyz",colorYellow:"colorYellow___PeJD9",bottomButton:"bottomButton___O3cst"},y=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,se=(Be,rt)=>{var Xe={};for(var ut in Be)ee.call(Be,ut)&&rt.indexOf(ut)<0&&(Xe[ut]=Be[ut]);if(Be!=null&&y)for(var ut of y(Be))rt.indexOf(ut)<0&&ne.call(Be,ut)&&(Xe[ut]=Be[ut]);return Xe},ce=(Be,rt,Xe)=>new Promise((ut,mn)=>{var ln=Jt=>{try{pn(Xe.next(Jt))}catch(ha){mn(ha)}},En=Jt=>{try{pn(Xe.throw(Jt))}catch(ha){mn(ha)}},pn=Jt=>Jt.done?ut(Jt.value):Promise.resolve(Jt.value).then(ln,En);pn((Xe=Xe.apply(Be,rt)).next())});const de=Be=>{if(!Be)return Be;const rt=Be.split(":");if(rt[1]=="00"||rt[1]=="30")return Be;const Xe=parseInt(rt[1]);if(Xe<30||Xe==60)return[rt[0],"30"].join(":");if(Xe<60){const ut=[rt[0],"00"].join(":"),mn="YYYY-MM-DD HH:mm",ln=E()(ut,mn);return ln.add(1,"hours"),ln.format(mn)}return Be},ye="YYYY-MM-DD HH:mm",Ae=Be=>{var rt=Be,{shixunsDetail:Xe,globalSetting:ut,loading:mn,user:ln,dispatch:En}=rt,pn=se(rt,["shixunsDetail","globalSetting","loading","user","dispatch"]),Jt,ha,_t,an,Nn,jn,hn,tt,st;const wt=(0,ae.useRef)(),[Ln,un]=(0,ae.useState)(),[Un,Le]=(0,ae.useState)(),[xe,Ve]=(0,ae.useState)([]),[Pt,Lt]=(0,ae.useState)([]),[Tt,Gt]=(0,ae.useState)(""),[en,Rn]=(0,ae.useState)(),[Rt,De]=(0,ae.useState)(),[We,dt]=(0,ae.useState)(),Ot=(ha=(Jt=ln.userInfo)==null?void 0:Jt.shixun)==null?void 0:ha.editable;(0,ae.useEffect)(()=>{var Bt,nn;wt.current=(nn=(Bt=location.pathname)==null?void 0:Bt.split("/"))==null?void 0:nn[2],$t()},[]),(0,ae.useEffect)(()=>{var Bt,nn,ht,Ft,Nt,sn,yt,Mt,Tn,zt,na,Xa;Xe.setting&&(un((nn=(Bt=Xe.setting)==null?void 0:Bt.shixun)==null?void 0:nn.can_copy),Le((Ft=(ht=Xe.setting)==null?void 0:ht.shixun)==null?void 0:Ft.use_scope),Rn(!!((sn=(Nt=Xe.setting)==null?void 0:Nt.shixun)!=null&&sn.opening_time)),De((Mt=(yt=Xe.setting)==null?void 0:yt.shixun)==null?void 0:Mt.opening_time),Ve((zt=(Tn=Xe.setting)==null?void 0:Tn.shixun)==null?void 0:zt.scope_partment),dt((Xa=(na=Xe.setting)==null?void 0:na.shixun)==null?void 0:Xa.git_size))},[Xe.setting]);const $t=Bt=>ce(void 0,null,function*(){const nn=yield En({type:"shixunsDetail/getDepartments",payload:{q:Bt}});nn&&Lt(nn.shools_name||[])}),Xt=()=>ce(void 0,null,function*(){var Bt,nn,ht,Ft,Nt,sn;const yt=(yield En({type:"shixunsDetail/getShixunQuote",payload:{id:wt.current}}))||{};Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ae.createElement("div",{className:`tc font14 ${b.modal}`},!!((Bt=yt.subjects)!=null&&Bt.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(ht=(nn=yt.subjects)==null?void 0:nn.splice(0,2))==null?void 0:ht.map(Mt=>`\u300A${Mt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},yt==null?void 0:yt.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ae.createElement("br",null)),!!((Ft=yt.courses)!=null&&Ft.length)&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(sn=(Nt=yt.courses)==null?void 0:Nt.splice(0,2))==null?void 0:sn.map(Mt=>`\u300A${Mt}\u300B`),"\u7B49",ae.createElement("span",{className:b.colorOrange},yt==null?void 0:yt.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ae.createElement("br",null)),ae.createElement("span",{className:`${b.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>ce(void 0,null,function*(){(yield En({type:"shixunsDetail/deleteShixun",payload:{id:wt.current}})).status===1&&(ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),x.history.push("/shixuns"))})})}),Ht=()=>{(0,fe.gy)(En,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},on=Bt=>{if(xe.includes(Bt)){ke.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Gt(null),Ve([...xe,Bt])},At=()=>ce(void 0,null,function*(){if(en&&!Rt){ke.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Un===1&&!xe.length){ke.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield En({type:"shixunsDetail/updatePermissionSetting",payload:{id:wt.current,scope_partment:Un===0?null:xe,shixun:{can_copy:Ln,use_scope:Un,opening_time:Rt,git_size:We}}})).status!==-1&&(ke.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),En({type:"shixunsDetail/getSettingsData",payload:{id:wt.current}}),En({type:"shixunsDetail/getShixunsDetail",payload:{id:wt.current}}))});return ae.createElement("div",null,ae.createElement("section",{className:b.wrap},ae.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((_t=Xe==null?void 0:Xe.detail)==null?void 0:_t.shixun_status)!==2?ae.createElement(Te.ZP,{danger:!0,onClick:Xt},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ae.createElement(Te.ZP,{danger:!0,onClick:Ht},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u590D\u5236\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:Ln,onChange:Bt=>un(Bt.target.checked),disabled:!Ot}),ae.createElement("span",{className:`${b.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((an=Xe.detail)==null?void 0:an.shixun_status)>1||((Nn=Xe.detail)==null?void 0:Nn.public)===2)&&((hn=(jn=Xe.setting)==null?void 0:jn.shixun)==null?void 0:hn.use_scope)===0&&((tt=Xe.detail)==null?void 0:tt.identity)>2)&&ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement(Ce.ZP.Group,{value:Un,onChange:Bt=>Le(Bt.target.value),disabled:!Ot},ae.createElement(Ce.ZP,{className:b.radio,value:0},ae.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement(Ce.ZP,{className:b.radio,value:1},ae.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Un===1&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"mt10"},ae.createElement(ct.Z,{showSearch:!0,className:b.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Tt,onChange:Bt=>{Gt(Bt),$t(Bt)},disabled:!Ot,onSelect:on,options:Pt==null?void 0:Pt.map(Bt=>({value:Bt}))}),ae.createElement("span",{className:b.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ae.createElement("div",{className:"mt10"},xe==null?void 0:xe.map(Bt=>Ot?ae.createElement(Ne.Z,{count:"x",className:"mr20 current",onClick:()=>Ve(xe.filter(nn=>nn!==Bt))},ae.createElement(Te.ZP,{type:"primary",ghost:!0},Bt)):ae.createElement(Te.ZP,{type:"primary",ghost:!0,className:"mr20"},Bt)))))),ae.createElement("div",{className:b.labelWrap},ae.createElement("label",{className:b.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(et.default,{checked:en,onChange:Bt=>Rn(Bt.target.checked),disabled:!Ot}),ae.createElement("span",{className:`${b.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),en&&ae.createElement(Me.default,{className:`${b.dataPicker} mt10`,format:ye,locale:mt.Z,disabled:!Ot,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:Bt=>Bt&&BtDe(de(nn))}))),((st=ln==null?void 0:ln.userInfo)==null?void 0:st.role)===1&&ae.createElement("div",{className:b.labelWrap,style:{alignItems:"center"}},ae.createElement("label",{className:b.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ae.createElement("div",{className:b.labelContent},ae.createElement("div",null,ae.createElement(lt.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:We,onChange:Bt=>{dt(Bt)}}),ae.createElement("span",{className:"c-grey-999"}," M "))))),ae.createElement($e.t,{okText:"\u4FDD\u5B58",hasOkBtn:Ot,loading:mn.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>x.history.push(`/shixuns/${wt.current}/challenges`),onOk:At,className:b.bottomButton}))};var Ge=(0,x.connect)(({shixunsDetail:Be,loading:rt,globalSetting:Xe,user:ut})=>({shixunsDetail:Be,globalSetting:Xe,user:ut,loading:rt}))(Ae)},79768:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76560),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(62740),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(56986),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(90524),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(23869),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(34055),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(41227),React=__webpack_require__(59301),__async=(we,St,ue)=>new Promise((ae,x)=>{var Oe=et=>{try{Te(ue.next(et))}catch(Ce){x(Ce)}},ke=et=>{try{Te(ue.throw(et))}catch(Ce){x(Ce)}},Te=et=>et.done?ae(et.value):Promise.resolve(et.value).then(Oe,ke);Te((ue=ue.apply(we,St)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=we=>{if(!we)return we;const St=we.split(":");if(St[1]=="00"||St[1]=="30")return we;const ue=parseInt(St[1]);if(ue<30||ue==60)return[St[0],"30"].join(":");if(ue<60){const ae=[St[0],"00"].join(":"),x="YYYY-MM-DD HH:mm",Oe=moment__WEBPACK_IMPORTED_MODULE_3___default()(ae,x);return Oe.add(1,"hours"),Oe.format(x)}return we};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=we=>__async(this,null,function*(){const St=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:we}});St&&setDepartmentList(St.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var we,St;(St=(we=shixunsDetail.setting)==null?void 0:we.shixun)!=null&&St.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=we=>{if(selectDepartmentList.includes(we)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,we])},handleInitState=()=>{var we,St,ue,ae,x,Oe,ke,Te,et,Ce,ct,Ne,Me,lt,mt,$e,fe,a,E,b,y,ee,ne,se,ce,de,ye,Ae,Ge,Be,rt,Xe,ut,mn,ln,En,pn,Jt,ha,_t,an,Nn,jn,hn,tt,st,wt;setCodeEditPermission((St=(we=shixunsDetail.setting)==null?void 0:we.shixun)==null?void 0:St.code_edit_permission),setAllowFileUpload((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.allow_file_upload),setCodeHidden((Oe=(x=shixunsDetail.setting)==null?void 0:x.shixun)==null?void 0:Oe.show_code_dir),setForbidCopy((Te=(ke=shixunsDetail.setting)==null?void 0:ke.shixun)==null?void 0:Te.forbid_copy),setTaskPass((Ce=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:Ce.task_pass),setTestSetPermission((Ne=(ct=shixunsDetail.setting)==null?void 0:ct.shixun)==null?void 0:Ne.test_set_permission),set_display_git_address((Me=shixunsDetail.setting.shixun)==null?void 0:Me.display_git_address),setIsCopy((mt=(lt=shixunsDetail.setting)==null?void 0:lt.shixun)==null?void 0:mt.can_copy),setOpenValue((fe=($e=shixunsDetail.setting)==null?void 0:$e.shixun)==null?void 0:fe.use_scope),setOpenAnswer((E=(a=shixunsDetail.setting)==null?void 0:a.shixun)==null?void 0:E.open_answer_and_test),setIsOpenTime(!!((y=(b=shixunsDetail.setting)==null?void 0:b.shixun)!=null&&y.opening_time)),setOpenTime((ne=(ee=shixunsDetail.setting)==null?void 0:ee.shixun)==null?void 0:ne.opening_time),setSelectDepartmentList((ce=(se=shixunsDetail.setting)==null?void 0:se.shixun)==null?void 0:ce.scope_partment),setDisableDiscuss((ye=(de=shixunsDetail.setting)==null?void 0:de.shixun)==null?void 0:ye.is_disable_discuss),setdisableAI((Ge=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Ge.ai_reply),setresource_recommend((rt=(Be=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:Be.shixun)==null?void 0:rt.resource_recommend),setOpenCodeDebugger((ut=(Xe=shixunsDetail.setting)==null?void 0:Xe.shixun)==null?void 0:ut.open_code_debugger),setStartPermanent((ln=(mn=shixunsDetail.setting)==null?void 0:mn.shixun)==null?void 0:ln.start_permanent),setOpenSelfRun((pn=(En=shixunsDetail.setting)==null?void 0:En.shixun)==null?void 0:pn.open_self_run),setgitSize((ha=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:ha.git_size),setcourse_workspace_file_time((an=(_t=shixunsDetail.setting)==null?void 0:_t.shixun)==null?void 0:an.course_workspace_file_time),setPodSwitch((jn=(Nn=shixunsDetail.setting)==null?void 0:Nn.shixun)==null?void 0:jn.exit_delete_pod_switch),setai_user((tt=(hn=shixunsDetail.setting)==null?void 0:hn.shixun)==null?void 0:tt.ai_user),setOpenLocalEvaluate((wt=(st=shixunsDetail.setting)==null?void 0:st.shixun)==null?void 0:wt.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((we,St)=>{var ue,ae;we!=((ae=(ue=shixunsDetail.setting)==null?void 0:ue.shixun)==null?void 0:ae.scope_partment[St])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(we=!1,St=1){return __async(this,null,function*(){var ue,ae;const x=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:we}});(x==null?void 0:x.status)===0&&((ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ae=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ae.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,St))})}const handleDeleteShixun=()=>__async(this,null,function*(){var we,St,ue,ae,x,Oe;const ke=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((we=ke.subjects)!=null&&we.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(ue=(St=ke.subjects)==null?void 0:St.splice(0,2))==null?void 0:ue.map(Te=>`\u300A${Te}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},ke==null?void 0:ke.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ae=ke.courses)!=null&&ae.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Oe=(x=ke.courses)==null?void 0:x.splice(0,2))==null?void 0:Oe.map(Te=>`\u300A${Te}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},ke==null?void 0:ke.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(we){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(we),parseInt(we)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"rgba(10, 20, 61, .85)",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"rgba(10, 20, 61, .4)",marginTop:"30px",fontSize:"14px"},onClick:we=>{var St;if((St=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&St.confirmLeave){showExitmodel(we.key);return}setMenuSelectKey(we.key),parseInt(we.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:we=>setTaskPass(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:we=>setTestSetPermission(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:we=>setIsCopy(we.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:we=>setOpenValue(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:we=>{setDepartmentValue(we),handleGetDepartments(we)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(we=>({value:we}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(we=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(St=>St!==we))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},we)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},we)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:we=>setOpenAnswer(we.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:we=>{setIsOpenTime(we.target.checked),we.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:we=>we&&wesetOpenTime(handleDateString(St))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:we=>set_display_git_address(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:we=>{setCodeHidden(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:we=>{setCodeEditPermission(we.target.checked),we.target.checked||setAllowFileUpload(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:we=>{setAllowFileUpload(we.target.checked),we.target.checked&&setCodeEditPermission(we.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:we=>setForbidCopy(we.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"/pdf/\u5E73\u53F0\u8C03\u8BD5\u5668\u529F\u80FD\u64CD\u4F5C\u8BF4\u660E.pdf",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:we=>setOpenCodeDebugger(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:we=>setOpenSelfRun(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:we=>setOpenLocalEvaluate(we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:we=>{setgitSize(we)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:we=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:we=>{setPodSwitch(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:we=>setDisableDiscuss(!we)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:we=>{setresource_recommend(we)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:we=>{setai_user(we.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var we,St;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(we=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&we.is_fork_from_creator&&((St=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&St.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(ue,ae)=>{handSubmeit(ue,ae)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:we,shixunsDetail:St,practiceSetting:ue})=>({user:we,shixunsDetail:St,practiceSetting:ue}))(Setting)},41227:function(we,St,ue){"use strict";ue.d(St,{m:function(){return Ce}});var ae=ue(49661),x=ue(8591),Oe=ue(43418),ke=ue(59301),Te=(ct,Ne,Me)=>new Promise((lt,mt)=>{var $e=E=>{try{a(Me.next(E))}catch(b){mt(b)}},fe=E=>{try{a(Me.throw(E))}catch(b){mt(b)}},a=E=>E.done?lt(E.value):Promise.resolve(E.value).then($e,fe);a((Me=Me.apply(ct,Ne)).next())});const et=ct=>{let Ne=document.createElement("textarea");return Ne.value=ct,Ne.value},Ce=(ct,Ne,Me,lt,mt)=>Te(void 0,null,function*(){var $e,fe;const a=yield ct({type:"shixunsDetail/saveCopyForExercise",payload:{id:Me,save_type:lt}});lt===1?((a==null?void 0:a.status)==0&&x.ZP.success("\u4FDD\u5B58\u6210\u529F"),($e=a==null?void 0:a.data)!=null&&$e.exists_same_shixun_name?ct({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(fe=a==null?void 0:a.data)==null?void 0:fe.shixun_name}}):ct({type:"classroomList/setActionTabs",payload:{}})):(ct({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&Oe.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:ke.createElement("div",null,ke.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var E,b;(0,ae.xg)(`/shixuns/${(b=(E=Ne==null?void 0:Ne.detail)==null?void 0:E.fork_from)==null?void 0:b.fork_identifier}/challenges`)}}))})},2610:function(we,St,ue){"use strict";ue.d(St,{BU:function(){return x},Dj:function(){return ae},gH:function(){return Oe},vp:function(){return ke}});function ae(Te){try{Te.mozRequestFullScreen?Te.mozRequestFullScreen():Te.webkitRequestFullScreen&&Te.webkitRequestFullScreen()}catch(et){console.log(et,":e")}}function x(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Oe=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function ke(){var Te=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,et=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Te),window.isFullScreen?window.isFullScreen:Te!=null}},23869:function(we,St,ue){"use strict";ue.d(St,{rX:function(){return ce},pW:function(){return de},Ku:function(){return fe},gy:function(){return ye},xY:function(){return se},O5:function(){return ne},tJ:function(){return a},o1:function(){return E},Rd:function(){return ee}});var ae=ue(8591),x=ue(43418),Oe=ue(28103),ke=ue(59301),Te=ue(76560),et=ue(34055),Ce=ue(49661),ct=ue(87169),Ne=ue(25510),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoE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GVqTjIbEuT81L+KpIBNlxR8lVsHOyqMmbB58hG2p17RrGzLJRAtQSSUdEIOrTXxAWrsqdchWJDzJl0jkTXjplB6FAFoxdzqNuXRv6fAe+1HuoNQfzQ2Pfri4tfbfm+vN97/x2x/9z9/euOESzP+L+UwKfR5H3/jr2yvv7myu3z3eeoo7/54gu1wqy1uBhdHyeOBqPyJhhao059VywoKJZTN/RcYGxBTPNTUCW0Vyf0rGjR1g8WNa/ow/a7IkZbh02shKusyCzmKUdMTr0hN3srzVRWlpS7PS11HT8EVJdVe06nd5b2Jq4CSgddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",lt=ue.p+"static/newqrcode.a8740efb.png",mt=ue(32637),$e=(Ae,Ge,Be)=>new Promise((rt,Xe)=>{var ut=En=>{try{ln(Be.next(En))}catch(pn){Xe(pn)}},mn=En=>{try{ln(Be.throw(En))}catch(pn){Xe(pn)}},ln=En=>En.done?rt(En.value):Promise.resolve(En.value).then(ut,mn);ln((Be=Be.apply(Ae,Ge)).next())});const fe=Ae=>{var Ge;const{globalSetting:Be}=(0,Te.getDvaApp)()._store.getState();return(0,et.bg)()?!0:((Ge=Be==null?void 0:Be.setting)!=null&&Ge.sso_url?(ae.ZP.warning("\u7528\u6237\u8FD8\u672A\u767B\u5F55\uFF0C\u6B63\u5728\u8DF3\u8F6C\u767B\u5F55"),setTimeout(()=>{var rt;window.location.href=(rt=Be==null?void 0:Be.setting)==null?void 0:rt.sso_url},1e3)):E(Ae),!1)},a=(Ae,Ge=!1)=>!!(E(Ae)&&b(Ge)),E=Ae=>(0,et.bg)()?!0:((0,Ce.T0)(),!1),b=(Ae=!1)=>{var Ge;const{user:Be}=(0,Te.getDvaApp)()._store.getState();return(Ge=Be.userInfo)!=null&&Ge.profile_completed?!0:(x.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,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:()=>{(0,Ce.xg)("/account/profile/edit"),y()}}),!1)},y=()=>{x.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},ee=()=>{x.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ke.createElement("div",{style:{textAlign:"center"}},ke.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ke.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:mt}),ke.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ne=()=>{var Ae;const{user:Ge}=(0,Te.getDvaApp)()._store.getState();return(Ae=Ge.userInfo)!=null&&Ae.professional_certification?!0:(x.default.confirm({title:"\u63D0\u793A",centered:!0,content:ke.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ce.xg)("/account/certification")}}),!1)},se=()=>(0,et.V9)()?!0:(x.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ke.createElement("div",{className:"tc",style:{marginLeft:-38}},ke.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ke.createElement("img",{src:lt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ce=(Ae,Ge)=>Ae?!0:(x.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ke.createElement("div",null,ke.createElement("p",null,Ge||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ke.createElement("div",{style:{marginLeft:"110px"}},ke.createElement("img",{src:Me,width:200}),ke.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ce.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),de=Ae=>{x.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ke.createElement("div",null,ke.createElement("div",null,ke.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ke.createElement(Oe.Z,null),ke.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ke.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ke.createElement("a",null,Ae),"\u5929\u3002"),ke.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ke.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ke.createElement("div",{style:{textAlign:"center",marginTop:30}},ke.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ne,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ye=(Ae,Ge="")=>{const{shixunsDetail:{detail:Be}}=(0,Te.getDvaApp)()._store.getState();if((Be==null?void 0:Be.public)===2||(Be==null?void 0:Be.public)===1||(Be==null?void 0:Be.shixun_status)===3){let rt="";return(Be==null?void 0:Be.public)===2&&(rt="\u5DF2\u516C\u5F00"),(Be==null?void 0:Be.public)===1&&(rt="\u5F85\u5BA1\u6838"),(Be==null?void 0:Be.shixun_status)===3&&(rt="\u5DF2\u5173\u95ED"),x.default.info({centered:!0,icon:ke.createElement(ct.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ke.createElement("div",{className:"tc",style:{marginLeft:-38}},ke.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ke.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",rt,"\uFF0C",Ge,"\u3002"),ke.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ke.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ne,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Be==null?void 0:Be.shixun_status)===2?(x.default.confirm({centered:!0,icon:ke.createElement(ct.Z,null),title:"\u63D0\u793A",content:ke.createElement("div",null,ke.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ge,"\u3002"),ke.createElement("br",null),ke.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{x.default.confirm({width:440,centered:!0,icon:ke.createElement(ct.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>$e(void 0,null,function*(){(yield Ae({type:"shixunsDetail/cancelRelease",payload:{id:Be==null?void 0:Be.identifier}})).status!==401&&(ae.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ae({type:"shixunsDetail/getShixunsDetail",payload:{id:Be==null?void 0:Be.identifier}}),Ae({type:"practiceSetting/getCommonData",payload:{id:Be==null?void 0:Be.identifier}}))})})}}),!0):!1}},77578:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ae}});const ae=x=>x?typeof x=="function"?x():x:null},88522:function(we,St,ue){"use strict";var ae=ue(92310),x=ue.n(ae),Oe=ue(11592),ke=ue(2738),Te=ue(59301),et=ue(53487),Ce=ue(92343),ct=ue(36355),Ne=ue(57809);const{Option:Me}=Ne.default;function lt(a){return a&&a.type&&(a.type.isSelectOption||a.type.isSelectOptGroup)}const mt=(a,E)=>{const{prefixCls:b,className:y,popupClassName:ee,dropdownClassName:ne,children:se,dataSource:ce}=a,de=(0,Oe.Z)(se);let ye;de.length===1&&(0,Ce.l$)(de[0])&&!lt(de[0])&&([ye]=de);const Ae=ye?()=>ye:void 0;let Ge;de.length&<(de[0])?Ge=se:Ge=ce?ce.map(Xe=>{if((0,Ce.l$)(Xe))return Xe;switch(typeof Xe){case"string":return Te.createElement(Me,{key:Xe,value:Xe},Xe);case"object":{const{value:ut}=Xe;return Te.createElement(Me,{key:ut,value:ut},Xe.text)}default:return}}):[];const{getPrefixCls:Be}=Te.useContext(ct.E_),rt=Be("select",b);return Te.createElement(Ne.default,Object.assign({ref:E,suffixIcon:null},(0,ke.Z)(a,["dataSource","dropdownClassName"]),{prefixCls:rt,popupClassName:ee||ne,className:x()(`${rt}-auto-complete`,y),mode:Ne.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:Ae}),Ge)},$e=Te.forwardRef(mt),fe=(0,et.Z)($e);$e.Option=Me,$e._InternalPanelDoNotUseOrYouWillBeFired=fe,St.Z=$e},49127:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return ha}});var ae=ue(92310),x=ue.n(ae),Oe=ue(77900),ke=ue(59301),Te=ue(36785),et=ue(92343),Ce=ue(36355),ct=ue(36237),Ne=ue(17313),Me=ue(45157),lt=ue(37613),mt=ue(83116);const $e=new ct.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),fe=new ct.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),a=new ct.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),E=new ct.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new ct.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new ct.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),ee=_t=>{const{componentCls:an,iconCls:Nn,antCls:jn,badgeShadowSize:hn,motionDurationSlow:tt,textFontSize:st,textFontSizeSM:wt,statusSize:Ln,dotSize:un,textFontWeight:Un,indicatorHeight:Le,indicatorHeightSM:xe,marginXS:Ve}=_t,Pt=`${jn}-scroll-number`,Lt=(0,Me.Z)(_t,(Tt,Gt)=>{let{darkColor:en}=Gt;return{[`&${an} ${an}-color-${Tt}`]:{background:en,[`&:not(${an}-count)`]:{color:en}}}});return{[an]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(_t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${an}-count`]:{zIndex:_t.indicatorZIndex,minWidth:Le,height:Le,color:_t.badgeTextColor,fontWeight:Un,fontSize:st,lineHeight:`${Le}px`,whiteSpace:"nowrap",textAlign:"center",background:_t.badgeColor,borderRadius:Le/2,boxShadow:`0 0 0 ${hn}px ${_t.badgeShadowColor}`,transition:`background ${_t.motionDurationMid}`,a:{color:_t.badgeTextColor},"a:hover":{color:_t.badgeTextColor},"a:hover &":{background:_t.badgeColorHover}},[`${an}-count-sm`]:{minWidth:xe,height:xe,fontSize:wt,lineHeight:`${xe}px`,borderRadius:xe/2},[`${an}-multiple-words`]:{padding:`0 ${_t.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${an}-dot`]:{zIndex:_t.indicatorZIndex,width:un,minWidth:un,height:un,background:_t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${hn}px ${_t.badgeShadowColor}`},[`${an}-dot${Pt}`]:{transition:`background ${tt}`},[`${an}-count, ${an}-dot, ${Pt}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${Nn}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${an}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${an}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Ln,height:Ln,verticalAlign:"middle",borderRadius:"50%"},[`${an}-status-success`]:{backgroundColor:_t.colorSuccess},[`${an}-status-processing`]:{overflow:"visible",color:_t.colorPrimary,backgroundColor:_t.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:hn,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:$e,animationDuration:_t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${an}-status-default`]:{backgroundColor:_t.colorTextPlaceholder},[`${an}-status-error`]:{backgroundColor:_t.colorError},[`${an}-status-warning`]:{backgroundColor:_t.colorWarning},[`${an}-status-text`]:{marginInlineStart:Ve,color:_t.colorText,fontSize:_t.fontSize}}}),Lt),{[`${an}-zoom-appear, ${an}-zoom-enter`]:{animationName:fe,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack,animationFillMode:"both"},[`${an}-zoom-leave`]:{animationName:a,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack,animationFillMode:"both"},[`&${an}-not-a-wrapper`]:{[`${an}-zoom-appear, ${an}-zoom-enter`]:{animationName:E,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack},[`${an}-zoom-leave`]:{animationName:b,animationDuration:_t.motionDurationSlow,animationTimingFunction:_t.motionEaseOutBack},[`&:not(${an}-status)`]:{verticalAlign:"middle"},[`${Pt}-custom-component, ${an}-count`]:{transform:"none"},[`${Pt}-custom-component, ${Pt}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${Pt}`]:{overflow:"hidden",[`${Pt}-only`]:{position:"relative",display:"inline-block",height:Le,transition:`all ${_t.motionDurationSlow} ${_t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${Pt}-only-unit`]:{height:Le,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${Pt}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${an}-count, ${an}-dot, ${Pt}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ne=_t=>{const{fontSize:an,lineHeight:Nn,lineWidth:jn,marginXS:hn,colorBorderBg:tt}=_t,st=Math.round(an*Nn),wt=jn,Ln=_t.colorBgContainer,un=_t.colorError,Un=_t.colorErrorHover;return(0,lt.TS)(_t,{badgeFontHeight:st,badgeShadowSize:wt,badgeTextColor:Ln,badgeColor:un,badgeColorHover:Un,badgeShadowColor:tt,badgeProcessingDuration:"1.2s",badgeRibbonOffset:hn,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},se=_t=>{const{fontSize:an,lineHeight:Nn,fontSizeSM:jn,lineWidth:hn}=_t;return{indicatorZIndex:"auto",indicatorHeight:Math.round(an*Nn)-2*hn,indicatorHeightSM:an,dotSize:jn/2,textFontSize:jn,textFontSizeSM:jn,textFontWeight:"normal",statusSize:jn/2}};var ce=(0,mt.Z)("Badge",_t=>{const an=ne(_t);return[ee(an)]},se);const de=_t=>{const{antCls:an,badgeFontHeight:Nn,marginXS:jn,badgeRibbonOffset:hn}=_t,tt=`${an}-ribbon`,st=`${an}-ribbon-wrapper`,wt=(0,Me.Z)(_t,(Ln,un)=>{let{darkColor:Un}=un;return{[`&${tt}-color-${Ln}`]:{background:Un,color:Un}}});return{[`${st}`]:{position:"relative"},[`${tt}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(_t)),{position:"absolute",top:jn,padding:`0 ${_t.paddingXS}px`,color:_t.colorPrimary,lineHeight:`${Nn}px`,whiteSpace:"nowrap",backgroundColor:_t.colorPrimary,borderRadius:_t.borderRadiusSM,[`${tt}-text`]:{color:_t.colorTextLightSolid},[`${tt}-corner`]:{position:"absolute",top:"100%",width:hn,height:hn,color:"currentcolor",border:`${hn/2}px solid`,transform:_t.badgeRibbonCornerTransform,transformOrigin:"top",filter:_t.badgeRibbonCornerFilter}}),wt),{[`&${tt}-placement-end`]:{insetInlineEnd:-hn,borderEndEndRadius:0,[`${tt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${tt}-placement-start`]:{insetInlineStart:-hn,borderEndStartRadius:0,[`${tt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var ye=(0,mt.Z)(["Badge","Ribbon"],_t=>{const an=ne(_t);return[de(an)]},se),Ge=_t=>{const{className:an,prefixCls:Nn,style:jn,color:hn,children:tt,text:st,placement:wt="end",rootClassName:Ln}=_t,{getPrefixCls:un,direction:Un}=ke.useContext(Ce.E_),Le=un("ribbon",Nn),xe=(0,Te.o2)(hn,!1),Ve=x()(Le,`${Le}-placement-${wt}`,{[`${Le}-rtl`]:Un==="rtl",[`${Le}-color-${hn}`]:xe},an),[Pt,Lt]=ye(Le),Tt={},Gt={};return hn&&!xe&&(Tt.background=hn,Gt.color=hn),Pt(ke.createElement("div",{className:x()(`${Le}-wrapper`,Ln,Lt)},tt,ke.createElement("div",{className:x()(Ve,Lt),style:Object.assign(Object.assign({},Tt),jn)},ke.createElement("span",{className:`${Le}-text`},st),ke.createElement("div",{className:`${Le}-corner`,style:Gt}))))};function Be(_t){let{prefixCls:an,value:Nn,current:jn,offset:hn=0}=_t,tt;return hn&&(tt={position:"absolute",top:`${hn}00%`,left:0}),ke.createElement("span",{style:tt,className:x()(`${an}-only-unit`,{current:jn})},Nn)}function rt(_t,an,Nn){let jn=_t,hn=0;for(;(jn+10)%10!==an;)jn+=Nn,hn+=Nn;return hn}function Xe(_t){const{prefixCls:an,count:Nn,value:jn}=_t,hn=Number(jn),tt=Math.abs(Nn),[st,wt]=ke.useState(hn),[Ln,un]=ke.useState(tt),Un=()=>{wt(hn),un(tt)};ke.useEffect(()=>{const Ve=setTimeout(()=>{Un()},1e3);return()=>{clearTimeout(Ve)}},[hn]);let Le,xe;if(st===hn||Number.isNaN(hn)||Number.isNaN(st))Le=[ke.createElement(Be,Object.assign({},_t,{key:hn,current:!0}))],xe={transition:"none"};else{Le=[];const Ve=hn+10,Pt=[];for(let Gt=hn;Gt<=Ve;Gt+=1)Pt.push(Gt);const Lt=Pt.findIndex(Gt=>Gt%10===st);Le=Pt.map((Gt,en)=>{const Rn=Gt%10;return ke.createElement(Be,Object.assign({},_t,{key:Gt,value:Rn,offset:en-Lt,current:en===Lt}))});const Tt=Ln{const{prefixCls:Nn,count:jn,className:hn,motionClassName:tt,style:st,title:wt,show:Ln,component:un="sup",children:Un}=_t,Le=ut(_t,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:xe}=ke.useContext(Ce.E_),Ve=xe("scroll-number",Nn),Pt=Object.assign(Object.assign({},Le),{"data-show":Ln,style:st,className:x()(Ve,hn,tt),title:wt});let Lt=jn;if(jn&&Number(jn)%1===0){const Tt=String(jn).split("");Lt=ke.createElement("bdi",null,Tt.map((Gt,en)=>ke.createElement(Xe,{prefixCls:Ve,count:Number(jn),value:Gt,key:Tt.length-en})))}return st&&st.borderColor&&(Pt.style=Object.assign(Object.assign({},st),{boxShadow:`0 0 0 1px ${st.borderColor} inset`})),Un?(0,et.Tm)(Un,Tt=>({className:x()(`${Ve}-custom-component`,Tt==null?void 0:Tt.className,tt)})):ke.createElement(un,Object.assign({},Pt,{ref:an}),Lt)}),En=function(_t,an){var Nn={};for(var jn in _t)Object.prototype.hasOwnProperty.call(_t,jn)&&an.indexOf(jn)<0&&(Nn[jn]=_t[jn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,jn=Object.getOwnPropertySymbols(_t);hn{var Nn,jn,hn,tt,st;const{prefixCls:wt,scrollNumberPrefixCls:Ln,children:un,status:Un,text:Le,color:xe,count:Ve=null,overflowCount:Pt=99,dot:Lt=!1,size:Tt="default",title:Gt,offset:en,style:Rn,className:Rt,rootClassName:De,classNames:We,styles:dt,showZero:Ot=!1}=_t,$t=En(_t,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Xt,direction:Ht,badge:on}=ke.useContext(Ce.E_),At=Xt("badge",wt),[Bt,nn]=ce(At),ht=Ve>Pt?`${Pt}+`:Ve,Ft=ht==="0"||ht===0,Nt=Ve===null||Ft&&!Ot,sn=(Un!=null||xe!=null)&&Nt,yt=Lt&&!Ft,Mt=yt?"":ht,Tn=(0,ke.useMemo)(()=>(Mt==null||Mt===""||Ft&&!Ot)&&!yt,[Mt,Ft,Ot,yt]),zt=(0,ke.useRef)(Ve);Tn||(zt.current=Ve);const na=zt.current,Xa=(0,ke.useRef)(Mt);Tn||(Xa.current=Mt);const gr=Xa.current,lr=(0,ke.useRef)(yt);Tn||(lr.current=yt);const za=(0,ke.useMemo)(()=>{if(!en)return Object.assign(Object.assign({},on==null?void 0:on.style),Rn);const _r={marginTop:en[1]};return Ht==="rtl"?_r.left=parseInt(en[0],10):_r.right=-parseInt(en[0],10),Object.assign(Object.assign(Object.assign({},_r),on==null?void 0:on.style),Rn)},[Ht,en,Rn,on==null?void 0:on.style]),Mr=Gt!=null?Gt:typeof na=="string"||typeof na=="number"?na:void 0,br=Tn||!Le?null:ke.createElement("span",{className:`${At}-status-text`},Le),rr=!na||typeof na!="object"?void 0:(0,et.Tm)(na,_r=>({style:Object.assign(Object.assign({},za),_r.style)})),fr=(0,Te.o2)(xe,!1),or=x()(We==null?void 0:We.indicator,(Nn=on==null?void 0:on.classNames)===null||Nn===void 0?void 0:Nn.indicator,{[`${At}-status-dot`]:sn,[`${At}-status-${Un}`]:!!Un,[`${At}-color-${xe}`]:fr}),Za={};xe&&!fr&&(Za.color=xe,Za.background=xe);const Ur=x()(At,{[`${At}-status`]:sn,[`${At}-not-a-wrapper`]:!un,[`${At}-rtl`]:Ht==="rtl"},Rt,De,on==null?void 0:on.className,(jn=on==null?void 0:on.classNames)===null||jn===void 0?void 0:jn.root,We==null?void 0:We.root,nn);if(!un&&sn){const _r=za.color;return Bt(ke.createElement("span",Object.assign({},$t,{className:Ur,style:Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.root),(hn=on==null?void 0:on.styles)===null||hn===void 0?void 0:hn.root),za)}),ke.createElement("span",{className:or,style:Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.indicator),(tt=on==null?void 0:on.styles)===null||tt===void 0?void 0:tt.indicator),Za)}),Le&&ke.createElement("span",{style:{color:_r},className:`${At}-status-text`},Le)))}return Bt(ke.createElement("span",Object.assign({ref:an},$t,{className:Ur,style:Object.assign(Object.assign({},(st=on==null?void 0:on.styles)===null||st===void 0?void 0:st.root),dt==null?void 0:dt.root)}),un,ke.createElement(Oe.default,{visible:!Tn,motionName:`${At}-zoom`,motionAppear:!1,motionDeadline:1e3},_r=>{let{className:bt,ref:bn}=_r;var On,Ut;const fn=Xt("scroll-number",Ln),Hn=lr.current,ma=x()(We==null?void 0:We.indicator,(On=on==null?void 0:on.classNames)===null||On===void 0?void 0:On.indicator,{[`${At}-dot`]:Hn,[`${At}-count`]:!Hn,[`${At}-count-sm`]:Tt==="small",[`${At}-multiple-words`]:!Hn&&gr&&gr.toString().length>1,[`${At}-status-${Un}`]:!!Un,[`${At}-color-${xe}`]:fr});let Qe=Object.assign(Object.assign(Object.assign({},dt==null?void 0:dt.indicator),(Ut=on==null?void 0:on.styles)===null||Ut===void 0?void 0:Ut.indicator),za);return xe&&!fr&&(Qe=Qe||{},Qe.background=xe),ke.createElement(ln,{prefixCls:fn,show:!Tn,motionClassName:bt,className:ma,count:gr,title:Mr,style:Qe,key:"scrollNumber",ref:bn},rr)}),br))},Jt=ke.forwardRef(pn);Jt.Ribbon=Ge;var ha=Jt},19842:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return _r}});var ae=ue(3300),x=ue(59301),Oe=ue(33853),ke=ue(58617),Te=ue(38819),et=ue(92310),Ce=ue.n(et),ct=ue(32855),Ne=ue(11913),Me=ue(43079),lt=ue(77861),mt=ue(17115),$e=ue(90782),fe=ue(6089),a=ue(18929),E=x.createContext(null),b=E,y=ue(34666),ee=ue(74430),ne=ue(27247),se="__rc_cascader_search_mark__",ce=function(bn,On,Ut){var fn=Ut.label;return On.some(function(Hn){return String(Hn[fn]).toLowerCase().includes(bn.toLowerCase())})},de=function(bn,On,Ut,fn){return On.map(function(Hn){return Hn[fn.label]}).join(" / ")},ye=function(bt,bn,On,Ut,fn,Hn){var ma=fn.filter,Qe=ma===void 0?ce:ma,gt=fn.render,it=gt===void 0?de:gt,Vn=fn.limit,Gn=Vn===void 0?50:Vn,Qn=fn.sort;return x.useMemo(function(){var Wa=[];if(!bt)return[];function wa(va,Ma){var Fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;va.forEach(function(Sn){if(!(!Qn&&Gn!==!1&&Gn>0&&Wa.length>=Gn)){var Ba=[].concat((0,ae.Z)(Ma),[Sn]),Br=Sn[On.children],oo=Fa||Sn.disabled;if((!Br||Br.length===0||Hn)&&Qe(bt,Ba,{label:On.label})){var Kn;Wa.push((0,ne.Z)((0,ne.Z)({},Sn),{},(Kn={disabled:oo},(0,ee.Z)(Kn,On.label,it(bt,Ba,Ut,On)),(0,ee.Z)(Kn,se,Ba),(0,ee.Z)(Kn,On.children,void 0),Kn)))}Br&&wa(Sn[On.children],Ba,oo)}})}return wa(bn,[]),Qn&&Wa.sort(function(va,Ma){return Qn(va[se],Ma[se],bt,On)}),Gn!==!1&&Gn>0?Wa.slice(0,Gn):Wa},[bt,bn,On,Ut,it,Hn,Qe,Qn,Gn])},Ae="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Be="SHOW_CHILD";function rt(bt){return bt.join(Ae)}function Xe(bt){return bt.map(rt)}function ut(bt){return bt.split(Ae)}function mn(bt){var bn=bt||{},On=bn.label,Ut=bn.value,fn=bn.children,Hn=Ut||"value";return{label:On||"label",value:Hn,key:Hn,children:fn||"children"}}function ln(bt,bn){var On,Ut;return(On=bt.isLeaf)!==null&&On!==void 0?On:!((Ut=bt[bn.children])!==null&&Ut!==void 0&&Ut.length)}function En(bt){var bn=bt.parentElement;if(bn){var On=bt.offsetTop-bn.offsetTop;On-bn.scrollTop<0?bn.scrollTo({top:On}):On+bt.offsetHeight-bn.scrollTop>bn.offsetHeight&&bn.scrollTo({top:On+bt.offsetHeight-bn.offsetHeight})}}function pn(bt,bn){return bt.map(function(On){var Ut;return(Ut=On[se])===null||Ut===void 0?void 0:Ut.map(function(fn){return fn[bn.value]})})}function Jt(bt,bn,On){var Ut=new Set(bt),fn=bn();return bt.filter(function(Hn){var ma=fn[Hn],Qe=ma?ma.parent:null,gt=ma?ma.children:null;return ma&&ma.node.disabled?!0:On===Be?!(gt&>.some(function(it){return it.key&&Ut.has(it.key)})):!(Qe&&!Qe.node.disabled&&Ut.has(Qe.key))})}function ha(bt,bn,On){for(var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,fn=bn,Hn=[],ma=function(){var it,Vn,Gn,Qn=bt[Qe],Wa=(it=fn)===null||it===void 0?void 0:it.findIndex(function(va){var Ma=va[On.value];return Ut?String(Ma)===String(Qn):Ma===Qn}),wa=Wa!==-1?(Vn=fn)===null||Vn===void 0?void 0:Vn[Wa]:null;Hn.push({value:(Gn=wa==null?void 0:wa[On.value])!==null&&Gn!==void 0?Gn:Qn,index:Wa,option:wa}),fn=wa==null?void 0:wa[On.children]},Qe=0;Qe1){var cn=wa.slice(0,-1);Sn(cn)}else it(!1)},oo=function(){var cn,Io=((cn=Ma[va])===null||cn===void 0?void 0:cn[On.children])||[],vr=Io.find(function(Tr){return!Tr.disabled});if(vr){var lo=[].concat((0,ae.Z)(wa),[vr[On.value]]);Sn(lo)}};x.useImperativeHandle(bt,function(){return{onKeyDown:function(cn){var Io=cn.which;switch(Io){case xe.Z.UP:case xe.Z.DOWN:{var vr=0;Io===xe.Z.UP?vr=-1:Io===xe.Z.DOWN&&(vr=1),vr!==0&&Ba(vr);break}case xe.Z.LEFT:{if(gt)break;Gn?oo():Br();break}case xe.Z.RIGHT:{if(gt)break;Gn?Br():oo();break}case xe.Z.BACKSPACE:{gt||Br();break}case xe.Z.ENTER:{if(wa.length){var lo=Ma[va],Tr=(lo==null?void 0:lo[se])||[];Tr.length?Hn(Tr.map(function(_o){return _o[On.value]}),Tr[Tr.length-1]):Hn(wa,Ma[va])}break}case xe.Z.ESC:it(!1),Vn&&cn.stopPropagation()}},onKeyUp:function(){}}})},Pt=x.forwardRef(function(bt,bn){var On,Ut,fn,Hn,ma=(0,lt.lk)(),Qe=ma.prefixCls,gt=ma.multiple,it=ma.searchValue,Vn=ma.toggleOpen,Gn=ma.notFoundContent,Qn=ma.direction,Wa=ma.open,wa=x.useRef(),va=Qn==="rtl",Ma=x.useContext(b),Fa=Ma.options,Sn=Ma.values,Ba=Ma.halfValues,Br=Ma.fieldNames,oo=Ma.changeOnSelect,Kn=Ma.onSelect,cn=Ma.searchOptions,Io=Ma.dropdownPrefixCls,vr=Ma.loadData,lo=Ma.expandTrigger,Tr=Io||Qe,_o=x.useState([]),Co=(0,Ne.Z)(_o,2),Uo=Co[0],jr=Co[1],vo=function(ka){if(!(!vr||it)){var Dr=ha(ka,Fa,Br),Lr=Dr.map(function(ja){var Ka=ja.option;return Ka}),Ir=Lr[Lr.length-1];if(Ir&&!ln(Ir,Br)){var Kr=rt(ka);jr(function(ja){return[].concat((0,ae.Z)(ja),[Kr])}),vr(Lr)}}};x.useEffect(function(){Uo.length&&Uo.forEach(function(cr){var ka=ut(cr),Dr=ha(ka,Fa,Br,!0).map(function(Ir){var Kr=Ir.option;return Kr}),Lr=Dr[Dr.length-1];(!Lr||Lr[Br.children]||ln(Lr,Br))&&jr(function(Ir){return Ir.filter(function(Kr){return Kr!==cr})})})},[Fa,Uo,Br]);var kn=x.useMemo(function(){return new Set(Xe(Sn))},[Sn]),Rr=x.useMemo(function(){return new Set(Xe(Ba))},[Ba]),uo=Le(),io=(0,Ne.Z)(uo,2),xt=io[0],qe=io[1],He=function(ka){qe(ka),vo(ka)},Vt=function(ka){var Dr=ka.disabled,Lr=ln(ka,Br);return!Dr&&(Lr||oo||gt)},Mn=function(ka,Dr){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Kn(ka),!gt&&(Dr||oo&&(lo==="hover"||Lr))&&Vn(!1)},pa=x.useMemo(function(){return it?cn:Fa},[it,cn,Fa]),xn=x.useMemo(function(){for(var cr=[{options:pa}],ka=pa,Dr=pn(ka,Br),Lr=function(){var Ka=xt[Ir],mr=ka.find(function(Hr,hr){return(Dr[hr]?rt(Dr[hr]):Hr[Br.value])===Ka}),xr=mr==null?void 0:mr[Br.children];if(!(xr!=null&&xr.length))return"break";ka=xr,cr.push({options:xr})},Ir=0;Ir":Uo,vo=bt.loadingIcon,kn=bt.children,Rr=bt.dropdownMatchSelectWidth,uo=Rr===void 0?!1:Rr,io=bt.showCheckedStrategy,xt=io===void 0?Ge:io,qe=(0,Me.Z)(bt,Rn),He=(0,mt.ZP)(On),Vt=!!Gn,Mn=(0,a.Z)(ma,{value:Qe,postState:De}),pa=(0,Ne.Z)(Mn,2),xn=pa[0],ya=pa[1],rn=x.useMemo(function(){return mn(Hn)},[JSON.stringify(Hn)]),da=x.useMemo(function(){return Sn||[]},[Sn]),Gr=Nn(da,rn),po=x.useCallback(function(ga){var ia=Gr();return ga.map(function(Pa){var to=ia[Pa].nodes;return to.map(function(Do){return Do[rn.value]})})},[Gr,rn]),jo=(0,a.Z)("",{value:wa,postState:function(ia){return ia||""}}),cr=(0,Ne.Z)(jo,2),ka=cr[0],Dr=cr[1],Lr=function(ia,Pa){Dr(ia),Pa.source!=="blur"&&va&&va(ia)},Ir=tt(Ma),Kr=(0,Ne.Z)(Ir,2),ja=Kr[0],Ka=Kr[1],mr=ye(ka,da,rn,Ba||fn,Ka,gt),xr=jn(da,rn),Hr=x.useMemo(function(){var ga=xr(xn),ia=(0,Ne.Z)(ga,2),Pa=ia[0],to=ia[1];if(!Vt||!xn.length)return[Pa,[],to];var Do=Xe(Pa),Yo=Gr(),Er=(0,$e.S)(Do,!0,Yo),Vr=Er.checkedKeys,mo=Er.halfCheckedKeys;return[po(Vr),po(mo),to]},[Vt,xn,Gr,po,xr]),hr=(0,Ne.Z)(Hr,3),Ea=hr[0],ta=hr[1],Ra=hr[2],kr=x.useMemo(function(){var ga=Xe(Ea),ia=Jt(ga,Gr,xt);return[].concat((0,ae.Z)(Ra),(0,ae.Z)(po(ia)))},[Ea,Gr,po,Ra,xt]),ho=_t(kr,da,rn,Vt,Vn),Ho=(0,fe.Z)(function(ga){if(ya(ga),it){var ia=De(ga),Pa=ia.map(function(Yo){return ha(Yo,da,rn).map(function(Er){return Er.option})}),to=Vt?ia:ia[0],Do=Vt?Pa:Pa[0];it(to,Do)}}),Oo=(0,fe.Z)(function(ga){if((!Vt||Wa)&&Dr(""),!Vt)Ho(ga);else{var ia=rt(ga),Pa=Xe(Ea),to=Xe(ta),Do=Pa.includes(ia),Yo=Ra.some(function(Su){return rt(Su)===ia}),Er=Ea,Vr=Ra;if(Yo&&!Do)Vr=Ra.filter(function(Su){return rt(Su)!==ia});else{var mo=Do?Pa.filter(function(Su){return Su!==ia}):[].concat((0,ae.Z)(Pa),[ia]),Jr=Gr(),Zo;if(Do){var sl=(0,$e.S)(mo,{checked:!1,halfCheckedKeys:to},Jr);Zo=sl.checkedKeys}else{var tl=(0,$e.S)(mo,!0,Jr);Zo=tl.checkedKeys}var Pu=Jt(Zo,Gr,xt);Er=po(Pu)}Ho([].concat((0,ae.Z)(Vr),(0,ae.Z)(Er)))}}),Jo=function(ia,Pa){if(Pa.type==="clear"){Ho([]);return}var to=Pa.values[0],Do=to.valueCells;Oo(Do)},pl=Kn!==void 0?Kn:oo,Da=Io||cn,Xl=Tr||lo,nu=function(ia){_o==null||_o(ia),Co==null||Co(ia)},Lu=x.useMemo(function(){return{options:da,fieldNames:rn,values:Ea,halfValues:ta,changeOnSelect:gt,onSelect:Oo,checkable:Gn,searchOptions:mr,dropdownPrefixCls:Ba,loadData:Br,expandTrigger:Fa,expandIcon:jr,loadingIcon:vo,dropdownMenuColumnStyle:vr}},[da,rn,Ea,ta,gt,Oo,Gn,mr,Ba,Br,Fa,jr,vo,vr]),au=!(ka?mr:da).length,nr=ka&&Ka.matchInputWidth||au?{}:{minWidth:"auto"};return x.createElement(b.Provider,{value:Lu},x.createElement(lt.Ac,(0,ct.Z)({},qe,{ref:bn,id:He,prefixCls:fn,autoClearSearchValue:Wa,dropdownMatchSelectWidth:uo,dropdownStyle:nr,displayValues:ho,onDisplayValuesChange:Jo,mode:Vt?"multiple":void 0,searchValue:ka,onSearch:Lr,showSearch:ja,OptionList:Lt,emptyOptions:au,open:pl,dropdownClassName:Da,placement:Xl,onDropdownVisibleChange:nu,getRawInputElement:function(){return kn}})))});We.SHOW_PARENT=Ge,We.SHOW_CHILD=Be;var dt=We,Ot=dt,$t=ue(2738),Xt=ue(62892),Ht=ue(53487),on=ue(19080),At=ue(36355),Bt=ue(93891),nn=ue(1684),ht=ue(19716),Ft=ue(32441),Nt=ue(14154),sn=ue(58582),yt=ue(84443),Mt=ue(66339),Tn=ue(33234),zt=ue(98447),na=ue(17313),Xa=ue(74207),gr=ue(83116);const lr=bt=>{const{prefixCls:bn,componentCls:On,antCls:Ut}=bt,fn=`${On}-menu-item`,Hn=` - &${fn}-expand ${fn}-expand-icon, - ${fn}-loading-icon - `;return[{[On]:{width:bt.controlWidth}},{[`${On}-dropdown`]:[(0,zt.C2)(`${bn}-checkbox`,bt),{[`&${Ut}-select-dropdown`]:{padding:0}},{[On]:{"&-checkbox":{top:0,marginInlineEnd:bt.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${On}-menu-empty`]:{[`${On}-menu`]:{width:"100%",height:"auto",[fn]:{color:bt.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:bt.controlItemWidth,height:bt.dropdownHeight,margin:0,padding:bt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${bt.lineWidth}px ${bt.lineType} ${bt.colorSplit}`},"&-item":Object.assign(Object.assign({},na.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:bt.optionPadding,lineHeight:bt.lineHeight,cursor:"pointer",transition:`all ${bt.motionDurationMid}`,borderRadius:bt.borderRadiusSM,"&:hover":{background:bt.controlItemBgHover},"&-disabled":{color:bt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Hn]:{color:bt.colorTextDisabled}},[`&-active:not(${fn}-disabled)`]:{"&, &:hover":{fontWeight:bt.optionSelectedFontWeight,backgroundColor:bt.optionSelectedBg}},"&-content":{flex:"auto"},[Hn]:{marginInlineStart:bt.paddingXXS,color:bt.colorTextDescription,fontSize:bt.fontSizeIcon},"&-keyword":{color:bt.colorHighlight}})}}}]},{[`${On}-dropdown-rtl`]:{direction:"rtl"}},(0,Xa.c)(bt)]};var za=(0,gr.Z)("Cascader",bt=>[lr(bt)],bt=>{const bn=Math.round((bt.controlHeight-bt.fontSize*bt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:bt.controlItemBgActive,optionSelectedFontWeight:bt.fontWeightStrong,optionPadding:`${bn}px ${bt.paddingSM}px`,menuPadding:bt.paddingXXS}}),Mr=function(bt,bn){var On={};for(var Ut in bt)Object.prototype.hasOwnProperty.call(bt,Ut)&&bn.indexOf(Ut)<0&&(On[Ut]=bt[Ut]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Ut=Object.getOwnPropertySymbols(bt);fngt===0?[Qe]:[].concat((0,ae.Z)(ma),[bn,Qe]),[]),fn=[];let Hn=0;return Ut.forEach((ma,Qe)=>{const gt=Hn+ma.length;let it=bt.slice(Hn,gt);Hn=gt,Qe%2===1&&(it=x.createElement("span",{className:`${On}-menu-item-keyword`,key:`separator-${Qe}`},it)),fn.push(it)}),fn}const or=(bt,bn,On,Ut)=>{const fn=[],Hn=bt.toLowerCase();return bn.forEach((ma,Qe)=>{Qe!==0&&fn.push(" / ");let gt=ma[Ut.label];const it=typeof gt;(it==="string"||it==="number")&&(gt=fr(String(gt),Hn,On)),fn.push(gt)}),fn},Za=x.forwardRef((bt,bn)=>{const{prefixCls:On,size:Ut,disabled:fn,className:Hn,rootClassName:ma,multiple:Qe,bordered:gt=!0,transitionName:it,choiceTransitionName:Vn="",popupClassName:Gn,dropdownClassName:Qn,expandIcon:Wa,placement:wa,showSearch:va,allowClear:Ma=!0,notFoundContent:Fa,direction:Sn,getPopupContainer:Ba,status:Br,showArrow:oo,builtinPlacements:Kn,style:cn}=bt,Io=Mr(bt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),vr=(0,$t.Z)(Io,["suffixIcon"]),{getPopupContainer:lo,getPrefixCls:Tr,renderEmpty:_o,direction:Co,popupOverflow:Uo,cascader:jr}=x.useContext(At.E_),vo=Sn||Co,kn=vo==="rtl",{status:Rr,hasFeedback:uo,isFormItemInput:io,feedbackIcon:xt}=x.useContext(Ft.aM),qe=(0,on.F)(Rr,Br),He=Fa||(_o==null?void 0:_o("Cascader"))||x.createElement(Bt.Z,{componentName:"Cascader"}),Vt=Tr(),Mn=Tr("select",On),pa=Tr("cascader",On),[xn,ya]=(0,Nt.Z)(Mn),[rn]=za(pa),{compactSize:da,compactItemClassnames:Gr}=(0,Tn.ri)(Mn,Sn),po=Ce()(Gn||Qn,`${pa}-dropdown`,{[`${pa}-dropdown-rtl`]:vo==="rtl"},ma,ya),jo=x.useMemo(()=>{if(!va)return va;let Ra={render:or};return typeof va=="object"&&(Ra=Object.assign(Object.assign({},Ra),va)),Ra},[va]),cr=(0,ht.Z)(Ra=>{var kr;return(kr=Ut!=null?Ut:da)!==null&&kr!==void 0?kr:Ra}),ka=x.useContext(nn.Z),Dr=fn!=null?fn:ka;let Lr=Wa;Wa||(Lr=kn?x.createElement(Oe.Z,null):x.createElement(Te.Z,null));const Ir=x.createElement("span",{className:`${Mn}-menu-item-loading-icon`},x.createElement(ke.Z,{spin:!0})),Kr=x.useMemo(()=>Qe?x.createElement("span",{className:`${pa}-checkbox-inner`}):!1,[Qe]),ja=(0,yt.Z)(bt.suffixIcon,oo),{suffixIcon:Ka,removeIcon:mr,clearIcon:xr}=(0,Mt.Z)(Object.assign(Object.assign({},bt),{hasFeedback:uo,feedbackIcon:xt,showSuffixIcon:ja,multiple:Qe,prefixCls:Mn,componentName:"Cascader"})),Hr=x.useMemo(()=>wa!==void 0?wa:kn?"bottomRight":"bottomLeft",[wa,kn]),hr=(0,sn.Z)(Kn,Uo),Ea=Ma===!0?{clearIcon:xr}:Ma,ta=x.createElement(Ot,Object.assign({prefixCls:Mn,className:Ce()(!On&&pa,{[`${Mn}-lg`]:cr==="large",[`${Mn}-sm`]:cr==="small",[`${Mn}-rtl`]:kn,[`${Mn}-borderless`]:!gt,[`${Mn}-in-form-item`]:io},(0,on.Z)(Mn,qe,uo),Gr,jr==null?void 0:jr.className,Hn,ma,ya),disabled:Dr,style:Object.assign(Object.assign({},jr==null?void 0:jr.style),cn)},vr,{builtinPlacements:hr,direction:vo,placement:Hr,notFoundContent:He,allowClear:Ea,showSearch:jo,expandIcon:Lr,suffixIcon:Ka,removeIcon:mr,loadingIcon:Ir,checkable:Kr,dropdownClassName:po,dropdownPrefixCls:On||pa,choiceTransitionName:(0,Xt.m)(Vt,"",Vn),transitionName:(0,Xt.m)(Vt,"slide-up",it),getPopupContainer:Ba||lo,ref:bn}));return rn(xn(ta))}),Ur=(0,Ht.Z)(Za);Za.SHOW_PARENT=rr,Za.SHOW_CHILD=br,Za._InternalPanelDoNotUseOrYouWillBeFired=Ur;var _r=Za},36381:function(we,St,ue){"use strict";ue.d(St,{default:function(){return Ve}});var ae=ue(38819),x=ue(92310),Oe=ue.n(x),ke=ue(32855),Te=ue(3300),et=ue(11913),Ce=ue(34666),ct=ue(18929),Ne=ue(48736),Me=ue(59301),lt=ue(43079),mt=ue(11592),$e=ue(74430),fe=ue(77900),a=ue(10228),E=Me.forwardRef(function(Pt,Lt){var Tt=Pt.prefixCls,Gt=Pt.forceRender,en=Pt.className,Rn=Pt.style,Rt=Pt.children,De=Pt.isActive,We=Pt.role,dt=Me.useState(De||Gt),Ot=(0,et.Z)(dt,2),$t=Ot[0],Xt=Ot[1];return Me.useEffect(function(){(Gt||De)&&Xt(!0)},[Gt,De]),$t?Me.createElement("div",{ref:Lt,className:Oe()("".concat(Tt,"-content"),(0,$e.Z)((0,$e.Z)({},"".concat(Tt,"-content-active"),De),"".concat(Tt,"-content-inactive"),!De),en),style:Rn,role:We},Me.createElement("div",{className:"".concat(Tt,"-content-box")},Rt)):null});E.displayName="PanelContent";var b=E,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=Me.forwardRef(function(Pt,Lt){var Tt=Pt.showArrow,Gt=Tt===void 0?!0:Tt,en=Pt.headerClass,Rn=Pt.isActive,Rt=Pt.onItemClick,De=Pt.forceRender,We=Pt.className,dt=Pt.prefixCls,Ot=Pt.collapsible,$t=Pt.accordion,Xt=Pt.panelKey,Ht=Pt.extra,on=Pt.header,At=Pt.expandIcon,Bt=Pt.openMotion,nn=Pt.destroyInactivePanel,ht=Pt.children,Ft=(0,lt.Z)(Pt,y),Nt=Ot==="disabled",sn=Ot==="header",yt=Ot==="icon",Mt=Ht!=null&&typeof Ht!="boolean",Tn=function(){Rt==null||Rt(Xt)},zt=function(Mr){(Mr.key==="Enter"||Mr.keyCode===a.Z.ENTER||Mr.which===a.Z.ENTER)&&Tn()},na=typeof At=="function"?At(Pt):Me.createElement("i",{className:"arrow"});na&&(na=Me.createElement("div",{className:"".concat(dt,"-expand-icon"),onClick:["header","icon"].includes(Ot)?Tn:void 0},na));var Xa=Oe()((0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(dt,"-item"),!0),"".concat(dt,"-item-active"),Rn),"".concat(dt,"-item-disabled"),Nt),We),gr=Oe()(en,(0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(dt,"-header"),!0),"".concat(dt,"-header-collapsible-only"),sn),"".concat(dt,"-icon-collapsible-only"),yt)),lr={className:gr,"aria-expanded":Rn,"aria-disabled":Nt,onKeyDown:zt};return!sn&&!yt&&(lr.onClick=Tn,lr.role=$t?"tab":"button",lr.tabIndex=Nt?-1:0),Me.createElement("div",(0,ke.Z)({},Ft,{ref:Lt,className:Xa}),Me.createElement("div",lr,Gt&&na,Me.createElement("span",{className:"".concat(dt,"-header-text"),onClick:Ot==="header"?Tn:void 0},on),Mt&&Me.createElement("div",{className:"".concat(dt,"-extra")},Ht)),Me.createElement(fe.default,(0,ke.Z)({visible:Rn,leavedClassName:"".concat(dt,"-content-hidden")},Bt,{forceRender:De,removeOnLeave:nn}),function(za,Mr){var br=za.className,rr=za.style;return Me.createElement(b,{ref:Mr,prefixCls:dt,className:br,style:rr,isActive:Rn,forceRender:De,role:$t?"tabpanel":void 0},ht)}))}),ne=ee,se=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ce=function(Lt,Tt){var Gt=Tt.prefixCls,en=Tt.accordion,Rn=Tt.collapsible,Rt=Tt.destroyInactivePanel,De=Tt.onItemClick,We=Tt.activeKey,dt=Tt.openMotion,Ot=Tt.expandIcon;return Lt.map(function($t,Xt){var Ht=$t.children,on=$t.label,At=$t.key,Bt=$t.collapsible,nn=$t.onItemClick,ht=$t.destroyInactivePanel,Ft=(0,lt.Z)($t,se),Nt=String(At!=null?At:Xt),sn=Bt!=null?Bt:Rn,yt=ht!=null?ht:Rt,Mt=function(na){sn!=="disabled"&&(De(na),nn==null||nn(na))},Tn=!1;return en?Tn=We[0]===Nt:Tn=We.indexOf(Nt)>-1,Me.createElement(ne,(0,ke.Z)({},Ft,{prefixCls:Gt,key:Nt,panelKey:Nt,isActive:Tn,accordion:en,openMotion:dt,expandIcon:Ot,header:on,collapsible:sn,onItemClick:Mt,destroyInactivePanel:yt}),Ht)})},de=function(Lt,Tt,Gt){if(!Lt)return null;var en=Gt.prefixCls,Rn=Gt.accordion,Rt=Gt.collapsible,De=Gt.destroyInactivePanel,We=Gt.onItemClick,dt=Gt.activeKey,Ot=Gt.openMotion,$t=Gt.expandIcon,Xt=Lt.key||String(Tt),Ht=Lt.props,on=Ht.header,At=Ht.headerClass,Bt=Ht.destroyInactivePanel,nn=Ht.collapsible,ht=Ht.onItemClick,Ft=!1;Rn?Ft=dt[0]===Xt:Ft=dt.indexOf(Xt)>-1;var Nt=nn!=null?nn:Rt,sn=function(Tn){Nt!=="disabled"&&(We(Tn),ht==null||ht(Tn))},yt={key:Xt,panelKey:Xt,header:on,headerClass:At,isActive:Ft,prefixCls:en,destroyInactivePanel:Bt!=null?Bt:De,openMotion:Ot,accordion:Rn,children:Lt.props.children,onItemClick:sn,expandIcon:$t,collapsible:Nt};return typeof Lt.type=="string"?Lt:(Object.keys(yt).forEach(function(Mt){typeof yt[Mt]=="undefined"&&delete yt[Mt]}),Me.cloneElement(Lt,yt))};function ye(Pt,Lt,Tt){return Array.isArray(Pt)?ce(Pt,Tt):(0,mt.Z)(Lt).map(function(Gt,en){return de(Gt,en,Tt)})}var Ae=ye,Ge=ue(26112);function Be(Pt){var Lt=Pt;if(!Array.isArray(Lt)){var Tt=(0,Ce.Z)(Lt);Lt=Tt==="number"||Tt==="string"?[Lt]:[]}return Lt.map(function(Gt){return String(Gt)})}var rt=Me.forwardRef(function(Pt,Lt){var Tt=Pt.prefixCls,Gt=Tt===void 0?"rc-collapse":Tt,en=Pt.destroyInactivePanel,Rn=en===void 0?!1:en,Rt=Pt.style,De=Pt.accordion,We=Pt.className,dt=Pt.children,Ot=Pt.collapsible,$t=Pt.openMotion,Xt=Pt.expandIcon,Ht=Pt.activeKey,on=Pt.defaultActiveKey,At=Pt.onChange,Bt=Pt.items,nn=Oe()(Gt,We),ht=(0,ct.Z)([],{value:Ht,onChange:function(zt){return At==null?void 0:At(zt)},defaultValue:on,postState:Be}),Ft=(0,et.Z)(ht,2),Nt=Ft[0],sn=Ft[1],yt=function(zt){return sn(function(){if(De)return Nt[0]===zt?[]:[zt];var na=Nt.indexOf(zt),Xa=na>-1;return Xa?Nt.filter(function(gr){return gr!==zt}):[].concat((0,Te.Z)(Nt),[zt])})};(0,Ne.ZP)(!dt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Mt=Ae(Bt,dt,{prefixCls:Gt,accordion:De,openMotion:$t,expandIcon:Xt,collapsible:Ot,destroyInactivePanel:Rn,onItemClick:yt,activeKey:Nt});return Me.createElement("div",(0,ke.Z)({ref:Lt,className:nn,style:Rt,role:De?"tablist":void 0},(0,Ge.Z)(Pt,{aria:!0,data:!0})),Mt)}),Xe=Object.assign(rt,{Panel:ne}),ut=Xe,mn=Xe.Panel,ln=ue(2738),En=ue(62892),pn=ue(92343),Jt=ue(36355),ha=ue(19716),an=Me.forwardRef((Pt,Lt)=>{const{getPrefixCls:Tt}=Me.useContext(Jt.E_),{prefixCls:Gt,className:en,showArrow:Rn=!0}=Pt,Rt=Tt("collapse",Gt),De=Oe()({[`${Rt}-no-arrow`]:!Rn},en);return Me.createElement(ut.Panel,Object.assign({ref:Lt},Pt,{prefixCls:Rt,className:De}))}),Nn=ue(17313),jn=ue(8378),hn=ue(83116),tt=ue(37613);const st=Pt=>{const{componentCls:Lt,contentBg:Tt,padding:Gt,headerBg:en,headerPadding:Rn,collapseHeaderPaddingSM:Rt,collapseHeaderPaddingLG:De,collapsePanelBorderRadius:We,lineWidth:dt,lineType:Ot,colorBorder:$t,colorText:Xt,colorTextHeading:Ht,colorTextDisabled:on,fontSize:At,fontSizeLG:Bt,lineHeight:nn,marginSM:ht,paddingSM:Ft,paddingLG:Nt,paddingXS:sn,motionDurationSlow:yt,fontSizeIcon:Mt,contentPadding:Tn}=Pt,zt=`${dt}px ${Ot} ${$t}`;return{[Lt]:Object.assign(Object.assign({},(0,Nn.Wf)(Pt)),{backgroundColor:en,border:zt,borderBottom:0,borderRadius:`${We}px`,"&-rtl":{direction:"rtl"},[`& > ${Lt}-item`]:{borderBottom:zt,"&:last-child":{[` - &, - & > ${Lt}-header`]:{borderRadius:`0 0 ${We}px ${We}px`}},[`> ${Lt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Rn,color:Ht,lineHeight:nn,cursor:"pointer",transition:`all ${yt}, visibility 0s`,[`> ${Lt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Lt}-expand-icon`]:{height:At*nn,display:"flex",alignItems:"center",paddingInlineEnd:ht},[`${Lt}-arrow`]:Object.assign(Object.assign({},(0,Nn.Ro)()),{fontSize:Mt,svg:{transition:`transform ${yt}`}}),[`${Lt}-header-text`]:{marginInlineEnd:"auto"}},[`${Lt}-header-collapsible-only`]:{cursor:"default",[`${Lt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Lt}-icon-collapsible-only`]:{cursor:"default",[`${Lt}-expand-icon`]:{cursor:"pointer"}}},[`${Lt}-content`]:{color:Xt,backgroundColor:Tt,borderTop:zt,[`& > ${Lt}-content-box`]:{padding:Tn},"&-hidden":{display:"none"}},"&-small":{[`> ${Lt}-item`]:{[`> ${Lt}-header`]:{padding:Rt,paddingInlineStart:sn,[`> ${Lt}-expand-icon`]:{marginInlineStart:Ft-sn}},[`> ${Lt}-content > ${Lt}-content-box`]:{padding:Ft}}},"&-large":{[`> ${Lt}-item`]:{fontSize:Bt,[`> ${Lt}-header`]:{padding:De,paddingInlineStart:Gt,[`> ${Lt}-expand-icon`]:{height:Bt*nn,marginInlineStart:Nt-Gt}},[`> ${Lt}-content > ${Lt}-content-box`]:{padding:Nt}}},[`${Lt}-item:last-child`]:{[`> ${Lt}-content`]:{borderRadius:`0 0 ${We}px ${We}px`}},[`& ${Lt}-item-disabled > ${Lt}-header`]:{"\n &,\n & > .arrow\n ":{color:on,cursor:"not-allowed"}},[`&${Lt}-icon-position-end`]:{[`& > ${Lt}-item`]:{[`> ${Lt}-header`]:{[`${Lt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ht}}}}})}},wt=Pt=>{const{componentCls:Lt}=Pt,Tt=`> ${Lt}-item > ${Lt}-header ${Lt}-arrow svg`;return{[`${Lt}-rtl`]:{[Tt]:{transform:"rotate(180deg)"}}}},Ln=Pt=>{const{componentCls:Lt,headerBg:Tt,paddingXXS:Gt,colorBorder:en}=Pt;return{[`${Lt}-borderless`]:{backgroundColor:Tt,border:0,[`> ${Lt}-item`]:{borderBottom:`1px solid ${en}`},[` - > ${Lt}-item:last-child, - > ${Lt}-item:last-child ${Lt}-header - `]:{borderRadius:0},[`> ${Lt}-item:last-child`]:{borderBottom:0},[`> ${Lt}-item > ${Lt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Lt}-item > ${Lt}-content > ${Lt}-content-box`]:{paddingTop:Gt}}}},un=Pt=>{const{componentCls:Lt,paddingSM:Tt}=Pt;return{[`${Lt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Lt}-item`]:{borderBottom:0,[`> ${Lt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Lt}-content-box`]:{paddingBlock:Tt}}}}}};var Un=(0,hn.Z)("Collapse",Pt=>{const Lt=(0,tt.TS)(Pt,{collapseHeaderPaddingSM:`${Pt.paddingXS}px ${Pt.paddingSM}px`,collapseHeaderPaddingLG:`${Pt.padding}px ${Pt.paddingLG}px`,collapsePanelBorderRadius:Pt.borderRadiusLG});return[st(Lt),Ln(Lt),un(Lt),wt(Lt),(0,jn.Z)(Lt)]},Pt=>({headerPadding:`${Pt.paddingSM}px ${Pt.padding}px`,headerBg:Pt.colorFillAlter,contentPadding:`${Pt.padding}px 16px`,contentBg:Pt.colorBgContainer})),xe=Object.assign(Me.forwardRef((Pt,Lt)=>{const{getPrefixCls:Tt,direction:Gt,collapse:en}=Me.useContext(Jt.E_),{prefixCls:Rn,className:Rt,rootClassName:De,style:We,bordered:dt=!0,ghost:Ot,size:$t,expandIconPosition:Xt="start",children:Ht,expandIcon:on}=Pt,At=(0,ha.Z)(zt=>{var na;return(na=$t!=null?$t:zt)!==null&&na!==void 0?na:"middle"}),Bt=Tt("collapse",Rn),nn=Tt(),[ht,Ft]=Un(Bt),Nt=Me.useMemo(()=>Xt==="left"?"start":Xt==="right"?"end":Xt,[Xt]),sn=function(){let zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const na=on?on(zt):Me.createElement(ae.Z,{rotate:zt.isActive?90:void 0});return(0,pn.Tm)(na,()=>({className:Oe()(na.props.className,`${Bt}-arrow`)}))},yt=Oe()(`${Bt}-icon-position-${Nt}`,{[`${Bt}-borderless`]:!dt,[`${Bt}-rtl`]:Gt==="rtl",[`${Bt}-ghost`]:!!Ot,[`${Bt}-${At}`]:At!=="middle"},en==null?void 0:en.className,Rt,De,Ft),Mt=Object.assign(Object.assign({},(0,En.Z)(nn)),{motionAppear:!1,leavedClassName:`${Bt}-content-hidden`}),Tn=Me.useMemo(()=>Ht?(0,mt.Z)(Ht).map((zt,na)=>{var Xa,gr;if(!((Xa=zt.props)===null||Xa===void 0)&&Xa.disabled){const lr=(gr=zt.key)!==null&&gr!==void 0?gr:String(na),{disabled:za,collapsible:Mr}=zt.props,br=Object.assign(Object.assign({},(0,ln.Z)(zt.props,["disabled"])),{key:lr,collapsible:Mr!=null?Mr:za?"disabled":void 0});return(0,pn.Tm)(zt,br)}return zt}):null,[Ht]);return ht(Me.createElement(ut,Object.assign({ref:Lt,openMotion:Mt},(0,ln.Z)(Pt,["rootClassName"]),{expandIcon:sn,prefixCls:Bt,className:yt,style:Object.assign(Object.assign({},en==null?void 0:en.style),We)}),Tn))}),{Panel:an}),Ve=xe},5083:function(we,St,ue){"use strict";ue.d(St,{default:function(){return bd}});var ae=ue(56656),x=ue.n(ae),Oe=ue(48736),ke=ue(27112),Te=ue.n(ke),et=ue(54449),Ce=ue.n(et),ct=ue(53501),Ne=ue.n(ct),Me=ue(36867),lt=ue.n(Me),mt=ue(71912),$e=ue.n(mt),fe=ue(48228),a=ue.n(fe);x().extend(a()),x().extend($e()),x().extend(Te()),x().extend(Ce()),x().extend(Ne()),x().extend(lt()),x().extend(function(me,ve){var he=ve.prototype,Ie=he.format;he.format=function(Dt){var ft=(Dt||"").replace("Wo","wo");return Ie.bind(this)(ft)}});var E={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(ve){var he=E[ve];return he||ve.split("_")[0]},y=function(){(0,Oe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ee={getNow:function(){return x()()},getFixedDate:function(ve){return x()(ve,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ve){return ve.endOf("month")},getWeekDay:function(ve){var he=ve.locale("en");return he.weekday()+he.localeData().firstDayOfWeek()},getYear:function(ve){return ve.year()},getMonth:function(ve){return ve.month()},getDate:function(ve){return ve.date()},getHour:function(ve){return ve.hour()},getMinute:function(ve){return ve.minute()},getSecond:function(ve){return ve.second()},addYear:function(ve,he){return ve.add(he,"year")},addMonth:function(ve,he){return ve.add(he,"month")},addDate:function(ve,he){return ve.add(he,"day")},setYear:function(ve,he){return ve.year(he)},setMonth:function(ve,he){return ve.month(he)},setDate:function(ve,he){return ve.date(he)},setHour:function(ve,he){return ve.hour(he)},setMinute:function(ve,he){return ve.minute(he)},setSecond:function(ve,he){return ve.second(he)},isAfter:function(ve,he){return ve.isAfter(he)},isValidate:function(ve){return ve.isValid()},locale:{getWeekFirstDay:function(ve){return x()().locale(b(ve)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ve,he){return he.locale(b(ve)).weekday(0)},getWeek:function(ve,he){return he.locale(b(ve)).week()},getShortWeekDays:function(ve){return x()().locale(b(ve)).localeData().weekdaysMin()},getShortMonths:function(ve){return x()().locale(b(ve)).localeData().monthsShort()},format:function(ve,he,Ie){return he.locale(b(ve)).format(Ie)},parse:function(ve,he,Ie){for(var Re=b(ve),Dt=0;Dt1&&(ft=ve.addDate(ft,-7)),ft}function Ft(me,ve,he){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ve){case"year":return he.addYear(me,Ie*10);case"quarter":case"month":return he.addYear(me,Ie);default:return he.addMonth(me,Ie)}}function Nt(me,ve){var he=ve.generateConfig,Ie=ve.locale,Re=ve.format;return typeof Re=="function"?Re(me):he.locale.format(Ie.locale,me,Re)}function sn(me,ve){var he=ve.generateConfig,Ie=ve.locale,Re=ve.formatList;return!me||typeof Re[0]=="function"?null:he.locale.parse(Ie.locale,me,Re)}function yt(me){var ve=me.cellDate,he=me.mode,Ie=me.disabledDate,Re=me.generateConfig;if(!Ie)return!1;var Dt=function(Xn,jt,Cn){for(var $n=jt;$n<=Cn;){var Va=void 0;switch(Xn){case"date":{if(Va=Re.setDate(ve,$n),!Ie(Va))return!1;break}case"month":{if(Va=Re.setMonth(ve,$n),!yt({cellDate:Va,mode:"month",generateConfig:Re,disabledDate:Ie}))return!1;break}case"year":{if(Va=Re.setYear(ve,$n),!yt({cellDate:Va,mode:"year",generateConfig:Re,disabledDate:Ie}))return!1;break}}$n+=1}return!0};switch(he){case"date":case"week":return Ie(ve);case"month":{var ft=1,Yt=Re.getDate(Re.getEndDate(ve));return Dt("date",ft,Yt)}case"quarter":{var Kt=Math.floor(Re.getMonth(ve)/3)*3,vn=Kt+2;return Dt("month",Kt,vn)}case"year":return Dt("month",0,11);case"decade":{var sa=Re.getYear(ve),yn=Math.floor(sa/en)*en,Dn=yn+en-1;return Dt("year",yn,Dn)}}}function Mt(me,ve){var he=ve.formatList,Ie=ve.generateConfig,Re=ve.locale;return(0,Tt.Z)(function(){if(!me)return[[""],""];for(var Dt="",ft=[],Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(vn.current),$n){Kt(Cn);return}vn.current=requestAnimationFrame(function(){Kt(Cn)})}var yn=Mt(Yt,{formatList:he,generateConfig:Ie,locale:Re}),Dn=(0,Ve.Z)(yn,2),Jn=Dn[1];function Xn(Cn){sa(Cn)}function jt(){var Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;sa(null,Cn)}return(0,de.useEffect)(function(){jt(!0)},[me]),(0,de.useEffect)(function(){return function(){return cancelAnimationFrame(vn.current)}},[]),[Jn,Xn,jt]}var zt=ue(10228),na=ue(16089),Xa=ue(3300),gr=ue(29194),lr=new Map;function za(me,ve){var he;function Ie(){(0,gr.Z)(me)?ve():he=(0,na.Z)(function(){Ie()})}return Ie(),function(){na.Z.cancel(he)}}function Mr(me,ve,he){if(lr.get(me)&&cancelAnimationFrame(lr.get(me)),he<=0){lr.set(me,requestAnimationFrame(function(){me.scrollTop=ve}));return}var Ie=ve-me.scrollTop,Re=Ie/he*10;lr.set(me,requestAnimationFrame(function(){me.scrollTop+=Re,me.scrollTop!==ve&&Mr(me,ve,he-10)}))}function br(me,ve){var he=ve.onLeftRight,Ie=ve.onCtrlLeftRight,Re=ve.onUpDown,Dt=ve.onPageUpDown,ft=ve.onEnter,Yt=me.which,Kt=me.ctrlKey,vn=me.metaKey;switch(Yt){case zt.Z.LEFT:if(Kt||vn){if(Ie)return Ie(-1),!0}else if(he)return he(-1),!0;break;case zt.Z.RIGHT:if(Kt||vn){if(Ie)return Ie(1),!0}else if(he)return he(1),!0;break;case zt.Z.UP:if(Re)return Re(-1),!0;break;case zt.Z.DOWN:if(Re)return Re(1),!0;break;case zt.Z.PAGE_UP:if(Dt)return Dt(-1),!0;break;case zt.Z.PAGE_DOWN:if(Dt)return Dt(1),!0;break;case zt.Z.ENTER:if(ft)return ft(),!0;break}return!1}function rr(me,ve,he,Ie){var Re=me;if(!Re)switch(ve){case"time":Re=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Re="gggg-wo";break;case"month":Re="YYYY-MM";break;case"quarter":Re="YYYY-[Q]Q";break;case"year":Re="YYYY";break;default:Re=he?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Re}function fr(me,ve,he){var Ie=me==="time"?8:10,Re=typeof ve=="function"?ve(he.getNow()).length:ve.length;return Math.max(Ie,Re)+2}var or=null,Za=new Set;function Ur(me){return!or&&typeof window!="undefined"&&window.addEventListener&&(or=function(he){(0,Xa.Z)(Za).forEach(function(Ie){Ie(he)})},window.addEventListener("mousedown",or)),Za.add(me),function(){Za.delete(me),Za.size===0&&(window.removeEventListener("mousedown",or),or=null)}}function _r(me){var ve=me.target;if(me.composed&&ve.shadowRoot){var he;return((he=me.composedPath)===null||he===void 0?void 0:he.call(me)[0])||ve}return ve}var bt=function(ve){return ve==="month"||ve==="date"?"year":ve},bn=function(ve){return ve==="date"?"month":ve},On=function(ve){return ve==="month"||ve==="date"?"quarter":ve},Ut=function(ve){return ve==="date"?"week":ve},fn={year:bt,month:bn,quarter:On,week:Ut,time:null,date:null};function Hn(me,ve){return me.some(function(he){return he&&he.contains(ve)})}function ma(me){var ve=me.open,he=me.value,Ie=me.isClickOutside,Re=me.triggerOpen,Dt=me.forwardKeyDown,ft=me.onKeyDown,Yt=me.blurToCancel,Kt=me.onSubmit,vn=me.onCancel,sa=me.onFocus,yn=me.onBlur,Dn=me.changeOnBlur,Jn=(0,de.useState)(!1),Xn=(0,Ve.Z)(Jn,2),jt=Xn[0],Cn=Xn[1],$n=(0,de.useState)(!1),Va=(0,Ve.Z)($n,2),Na=Va[0],Ha=Va[1],Ya=(0,de.useRef)(!1),Qa=(0,de.useRef)(!1),xa=(0,de.useRef)(!1),pr={onMouseDown:function(){Cn(!0),Re(!0)},onKeyDown:function($r){var Fo=function(){xa.current=!0};if(ft($r,Fo),!xa.current){switch($r.which){case zt.Z.ENTER:{ve?Kt()!==!1&&Cn(!0):Re(!0),$r.preventDefault();return}case zt.Z.TAB:{jt&&ve&&!$r.shiftKey?(Cn(!1),$r.preventDefault()):!jt&&ve&&!Dt($r)&&$r.shiftKey&&(Cn(!0),$r.preventDefault());return}case zt.Z.ESC:{Cn(!0),vn();return}}!ve&&![zt.Z.SHIFT].includes($r.which)?Re(!0):jt||Dt($r)}},onFocus:function($r){Cn(!0),Ha(!0),sa&&sa($r)},onBlur:function($r){if(Ya.current||!Ie(document.activeElement)){Ya.current=!1;return}Yt?setTimeout(function(){for(var Fo=document,xo=Fo.activeElement;xo&&xo.shadowRoot;)xo=xo.shadowRoot.activeElement;Ie(xo)&&vn()},0):ve&&(Re(!1),Qa.current&&Kt()),Ha(!1),yn==null||yn($r)}};return(0,de.useEffect)(function(){Qa.current=!1},[ve]),(0,de.useEffect)(function(){Qa.current=!0},[he]),(0,de.useEffect)(function(){return Ur(function(Sr){var $r=_r(Sr),Fo=Ie($r);ve&&(Fo?!Dn&&(!Na||Fo)&&Re(!1):(Ya.current=!0,(0,na.Z)(function(){Ya.current=!1})))})}),[pr,{focused:Na,typing:jt}]}function Qe(me,ve){return de.useMemo(function(){return me||(ve?((0,Oe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ve).map(function(he){var Ie=(0,Ve.Z)(he,2),Re=Ie[0],Dt=Ie[1];return{label:Re,value:Dt}})):[])},[me,ve])}var gt=ue(34280);function it(me){var ve=me.valueTexts,he=me.onTextChange,Ie=de.useState(""),Re=(0,Ve.Z)(Ie,2),Dt=Re[0],ft=Re[1],Yt=de.useRef([]);Yt.current=ve;function Kt(sa){ft(sa),he(sa)}function vn(){ft(Yt.current[0])}return(0,gt.Z)(function(){ve.every(function(sa){return sa!==Dt})&&vn()},[ve.join("||")]),[Dt,Kt,vn]}var Vn=de.createContext({}),Gn=Vn,Qn=ue(34666);function Wa(me){var ve=me.cellRender,he=me.monthCellRender,Ie=me.dateRender,Re=de.useMemo(function(){if(ve)return ve;if(!(!he&&!Ie))return function(Dt,ft){var Yt=Dt;return Ie&&ft.type==="date"?Ie(Yt,ft.today):he&&ft.type==="month"?he(Yt,ft.locale):ft.originNode}},[ve,he,Ie]);return Re}function wa(me,ve){for(var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(me);Ie.length=1?he|0:1,ft=me;ft<=ve;ft+=Dt)Re.push({label:wa(ft,2),value:ft,disabled:(Ie||[]).includes(ft)});return Re}function rn(me){var ve=me.generateConfig,he=me.prefixCls,Ie=me.operationRef,Re=me.activeColumnIndex,Dt=me.value,ft=me.showHour,Yt=me.showMinute,Kt=me.showSecond,vn=me.use12Hours,sa=me.hourStep,yn=sa===void 0?1:sa,Dn=me.minuteStep,Jn=Dn===void 0?1:Dn,Xn=me.secondStep,jt=Xn===void 0?1:Xn,Cn=me.disabledHours,$n=me.disabledMinutes,Va=me.disabledSeconds,Na=me.disabledTime,Ha=me.hideDisabledOptions,Ya=me.onSelect,Qa=me.cellRender,xa=me.locale,pr=[],Sr="".concat(he,"-content"),$r="".concat(he,"-time-panel"),Fo,xo=Dt?ve.getHour(Dt):-1,Wo=xo,al=Dt?ve.getMinute(Dt):-1,No=Dt?ve.getSecond(Dt):-1,Po=ve.getNow(),yo=de.useMemo(function(){if(Na){var so=Na(Po);return[so.disabledHours,so.disabledMinutes,so.disabledSeconds]}return[Cn,$n,Va]},[Cn,$n,Va,Na,Po]),bo=(0,Ve.Z)(yo,3),Vo=bo[0],Mo=bo[1],rl=bo[2],Rl=ya(0,23,yn,Vo&&Vo()),bl=(0,Tt.Z)(function(){return Rl},Rl,xn);vn&&(Fo=Wo>=12,Wo%=12);var nl=de.useMemo(function(){if(!vn)return[!1,!1];var so=[!0,!0];return bl.forEach(function(ol){var ml=ol.disabled,Ll=ol.value;ml||(Ll>=12?so[1]=!1:so[0]=!1)}),so},[vn,bl]),Ro=(0,Ve.Z)(nl,2),Gl=Ro[0],gl=Ro[1],Xr=de.useMemo(function(){return vn?bl.filter(Fo?function(so){return so.value>=12}:function(so){return so.value<12}).map(function(so){var ol=so.value%12,ml=ol===0?"12":wa(ol,2);return(0,xe.Z)((0,xe.Z)({},so),{},{label:ml,value:ol})}):bl},[vn,Fo,bl]),Tl=ya(0,59,Jn,Mo&&Mo(xo)),Hl=ya(0,59,jt,rl&&rl(xo,al)),kl=Vt({value:Dt,generateConfig:ve,disabledMinutes:Mo,disabledSeconds:rl,minutes:Tl,seconds:Hl,use12Hours:vn});Ie.current={onUpDown:function(ol){var ml=pr[Re];if(ml)for(var Ll=ml.units.findIndex(function(Uu){return Uu.value===ml.value}),Ul=ml.units.length,hl=1;hl2&&arguments[2]!==void 0?arguments[2]:!1;(Pl===Cn||fl)&&(oi(er),pr&&pr(er),kl&&kl(er,So),Sr&&!Bt(Kt,er,ql)&&!(Jn!=null&&Jn(er))&&Sr(er))},$l=function(er){if(Pu.includes(Pl)){var So,fl,iu=Pl==="date";switch(er===zt.Z.PAGE_UP||er===zt.Z.PAGE_DOWN?fl=iu?Kt.addMonth:Kt.addYear:fl=iu?Kt.addDate:Kt.addMonth,er){case zt.Z.LEFT:case zt.Z.PAGE_UP:So=fl(El,-1);break;case zt.Z.RIGHT:case zt.Z.PAGE_DOWN:So=fl(El,1);break;case zt.Z.UP:case zt.Z.DOWN:So=fl(El,Number("".concat(er===zt.Z.UP?"-":"").concat(iu?Rt:ta)));break}if(So)return!(Jn!=null&&Jn(So))}return!0},ei=function(er){if(hl.current&&hl.current.onKeyDown){var So=!0,fl=er.which;if([zt.Z.LEFT,zt.Z.RIGHT,zt.Z.UP,zt.Z.DOWN,zt.Z.PAGE_UP,zt.Z.PAGE_DOWN,zt.Z.ENTER].includes(fl)&&(er.preventDefault(),fl!==zt.Z.ENTER&&Va===0&&(So=$l(fl))),So)return hl.current.onKeyDown(er)}return(0,Oe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Qo=function(er){hl.current&&hl.current.onBlur&&hl.current.onBlur(er)};Hl&&ml!=="right"&&(Hl.current={onKeyDown:ei,onClose:function(){hl.current&&hl.current.onClose&&hl.current.onClose()}}),de.useEffect(function(){vn&&!Zl.current&&Mu(vn)},[vn]),de.useEffect(function(){Zl.current=!1},[]);var vu,Hu=Wa({cellRender:nl,monthCellRender:bl,dateRender:Rl}),Ko=(0,xe.Z)((0,xe.Z)({},me),{},{cellRender:Hu,operationRef:hl,prefixCls:Re,viewDate:El,value:ql,onViewDateChange:Yl,sourceMode:fu,onPanelChange:Ku,disabledDate:Jn});switch(delete Ko.onChange,delete Ko.onSelect,Pl){case"decade":vu=de.createElement(Hr,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;case"year":vu=de.createElement(Zo,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;case"month":vu=de.createElement(Oo,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;case"quarter":vu=de.createElement(nr,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;case"week":vu=de.createElement(ia,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;case"time":delete Ko.showTime,vu=de.createElement(jo,(0,ce.Z)({},Ko,(0,Qn.Z)(Ha)==="object"?Ha:null,{onSelect:function(er,So){Yl(er),Al(er,So)}}));break;default:Ha?vu=de.createElement(Dr,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}})):vu=de.createElement(xt,(0,ce.Z)({},Ko,{onSelect:function(er,So){Yl(er),Al(er,So)}}))}var Yu,xu,uu=function(){var er=Kt.getNow(),So=vr(Kt.getHour(er),Kt.getMinute(er),Kt.getSecond(er),Gl?yo:1,gl?Vo:1,Xr?rl:1),fl=cn(Kt,er,So[0],So[1],So[2]);Al(fl,"submit")};gu||(Yu=sl(Re,Pl,Qa),Ha&&Pl!=="date"?xu=null:xu=tl({prefixCls:Re,components:al,needConfirmButton:Ro,okDisabled:!ql||Jn&&Jn(ql),locale:Yt,showNow:Na,onNow:Ro&&uu,onOk:function(){ql&&(Al(ql,"submit",!0),Wo&&Wo(ql))}}));var Ei;if(Ya&&Pl==="date"&&Cn==="date"&&!Ha){var Qu=Kt.getNow(),Pi="".concat(Re,"-today-btn"),Si=Jn&&Jn(Qu);Ei=de.createElement("a",{className:tt()(Pi,Si&&"".concat(Pi,"-disabled")),"aria-disabled":Si,onClick:function(){Si||Al(Qu,"mouse",!0)}},Yt.today)}return de.createElement(Gn.Provider,{value:(0,xe.Z)((0,xe.Z)({},Tl),{},{mode:Pl,hideHeader:"hideHeader"in me?xa:Tl.hideHeader,hidePrevBtn:ol&&ml==="right",hideNextBtn:ol&&ml==="left"})},de.createElement("div",{tabIndex:Va,className:tt()("".concat(Re,"-panel"),Dt,(ve={},(0,Le.Z)(ve,"".concat(Re,"-panel-has-range"),Ll&&Ll[0]&&Ll[1]),(0,Le.Z)(ve,"".concat(Re,"-panel-has-range-hover"),Ul&&Ul[0]&&Ul[1]),(0,Le.Z)(ve,"".concat(Re,"-panel-rtl"),No==="rtl"),ve)),style:ft,onKeyDown:ei,onBlur:Qo,onMouseDown:Fo},vu,Yu||xu||Ei?de.createElement("div",{className:"".concat(Re,"-footer")},Yu,xu,Ei):null))}var Kl=Su,Au=ue(35593),cl={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Zu(me){var ve,he=me.prefixCls,Ie=me.popupElement,Re=me.popupStyle,Dt=me.visible,ft=me.dropdownClassName,Yt=me.dropdownAlign,Kt=me.transitionName,vn=me.getPopupContainer,sa=me.children,yn=me.range,Dn=me.popupPlacement,Jn=me.direction,Xn="".concat(he,"-dropdown"),jt=function(){return Dn!==void 0?Dn:Jn==="rtl"?"bottomRight":"bottomLeft"};return de.createElement(Au.Z,{showAction:[],hideAction:[],popupPlacement:jt(),builtinPlacements:cl,prefixCls:Xn,popupTransitionName:Kt,popup:Ie,popupAlign:Yt,popupVisible:Dt,popupClassName:tt()(ft,(ve={},(0,Le.Z)(ve,"".concat(Xn,"-range"),yn),(0,Le.Z)(ve,"".concat(Xn,"-rtl"),Jn==="rtl"),ve)),popupStyle:Re,getPopupContainer:vn},sa)}var Il=Zu;function ru(me){var ve=me.prefixCls,he=me.presets,Ie=me.onClick,Re=me.onHover;return he.length?de.createElement("div",{className:"".concat(ve,"-presets")},de.createElement("ul",null,he.map(function(Dt,ft){var Yt=Dt.label,Kt=Dt.value;return de.createElement("li",{key:ft,onClick:function(){return Ie==null?void 0:Ie(Ba(Kt))},onMouseEnter:function(){return Re==null?void 0:Re(Ba(Kt))},onMouseLeave:function(){return Re==null?void 0:Re(null)}},Yt)}))):null}function Wu(me){var ve=me.picker,he=me.disabledHours,Ie=me.disabledMinutes,Re=me.disabledSeconds;ve==="time"&&(he||Ie||Re)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ou(me,ve,he){var Ie=(0,Qn.Z)(ve)==="object"?ve.clearIcon:he;return Ie||de.createElement("span",{className:"".concat(me,"-clear-btn")})}function Nl(me){var ve,he=me,Ie=he.prefixCls,Re=Ie===void 0?"rc-picker":Ie,Dt=he.id,ft=he.name,Yt=he.tabIndex,Kt=he.style,vn=he.className,sa=he.dropdownClassName,yn=he.dropdownAlign,Dn=he.popupStyle,Jn=he.transitionName,Xn=he.generateConfig,jt=he.locale,Cn=he.inputReadOnly,$n=he.allowClear,Va=he.autoFocus,Na=he.showTime,Ha=he.picker,Ya=Ha===void 0?"date":Ha,Qa=he.format,xa=he.use12Hours,pr=he.value,Sr=he.defaultValue,$r=he.presets,Fo=he.open,xo=he.defaultOpen,Wo=he.defaultOpenValue,al=he.suffixIcon,No=he.clearIcon,Po=he.disabled,yo=he.disabledDate,bo=he.placeholder,Vo=he.getPopupContainer,Mo=he.pickerRef,rl=he.panelRender,Rl=he.onChange,bl=he.onOpenChange,nl=he.onFocus,Ro=he.onBlur,Gl=he.onMouseDown,gl=he.onMouseUp,Xr=he.onMouseEnter,Tl=he.onMouseLeave,Hl=he.onContextMenu,kl=he.onClick,gu=he.onKeyDown,Fu=he.onSelect,so=he.direction,ol=he.autoComplete,ml=ol===void 0?"off":ol,Ll=he.inputRender,Ul=he.changeOnBlur,hl=de.useRef(null),Zl=Ya==="date"&&!!Na||Ya==="time",Uu=Qe($r),mu=Ma(rr(Qa,Ya,Na,xa)),ql=de.useRef(null),oi=de.useRef(null),Oi=de.useRef(null),ou=(0,Pt.Z)(null,{value:pr,defaultValue:Sr}),El=(0,Ve.Z)(ou,2),Mu=El[0],Yl=El[1],Gi=de.useState(Mu),li=(0,Ve.Z)(Gi,2),yu=li[0],Pl=li[1],lu=de.useRef(null),Cu=(0,Pt.Z)(!1,{value:Fo,defaultValue:xo,postState:function(Or){return Po?!1:Or},onChange:function(Or){bl&&bl(Or),!Or&&lu.current&&lu.current.onClose&&lu.current.onClose()}}),ju=(0,Ve.Z)(Cu,2),fu=ju[0],bu=ju[1],Ku=Mt(yu,{formatList:mu,generateConfig:Xn,locale:jt}),Al=(0,Ve.Z)(Ku,2),$l=Al[0],ei=Al[1],Qo=it({valueTexts:$l,onTextChange:function(Or){var eu=sn(Or,{locale:jt,formatList:mu,generateConfig:Xn});eu&&(!yo||!yo(eu))&&Pl(eu)}}),vu=(0,Ve.Z)(Qo,3),Hu=vu[0],Ko=vu[1],Yu=vu[2],xu=function(Or){Pl(Or),Yl(Or),Rl&&!Bt(Xn,Mu,Or)&&Rl(Or,Or?Nt(Or,{generateConfig:Xn,locale:jt,format:mu[0]}):"")},uu=function(Or){Po&&Or||bu(Or)},Ei=function(Or){return fu&&lu.current&&lu.current.onKeyDown?lu.current.onKeyDown(Or):((0,Oe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Qu=function(){for(var Or=arguments.length,eu=new Array(Or),ul=0;ulDn(vn);case"month":return yn(jt)>yn(vn);case"week":return sa(jt)>sa(vn);default:return!Ht(Yt,jt,vn)&&Yt.isAfter(jt,vn)}return!1},[Dt,ft[1],vn,ve]),Xn=de.useCallback(function(jt){if(ft[1]||Dt&&Dt(jt))return!0;if(ft[0]&&Kt)return!Ht(Yt,jt,vn)&&Yt.isAfter(Kt,jt);if(!ve&&Kt)switch(he){case"quarter":return Dn(jt)0&&arguments[0]!==void 0?arguments[0]:!1,ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zr=null;jl&&Yi&&Yi[0]&&Yi[1]&&jt.isAfter(Yi[1],Yi[0])&&(Zr=Yi);var fo=xa;if(xa&&(0,Qn.Z)(xa)==="object"&&xa.defaultValue){var Fl=xa.defaultValue;fo=(0,xe.Z)((0,xe.Z)({},xa),{},{defaultValue:Fa(Fl,no)||void 0})}return de.createElement(Kn.Provider,{value:{inRange:!0,panelPosition:wo,rangedValue:Mc||eo,hoverRangedValue:Zr}},de.createElement(Kl,(0,ce.Z)({},me,ur,{cellRender:Id,showTime:fo,mode:iu[no],generateConfig:jt,style:void 0,direction:El,disabledDate:no===0?wu:ys,disabledTime:function(ni){return yo?yo(ni,no===0?"start":"end"):!1},className:tt()((0,Le.Z)({},"".concat(ft,"-panel-focused"),no===0?!Od:!rc)),value:Fa(eo,no),locale:Cn,tabIndex:-1,onPanelChange:function(ni,Ju){no===0&&qs(!0),no===1&&Qi(!0),Ui(Sn(iu,Ju,no),Sn(eo,ni,no));var Xu=ni;wo==="right"&&iu[no]===Ju&&(Xu=Ft(Xu,Ju,jt,-1)),Qu(Xu,no)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:no===0?Fa(eo,1):Fa(eo,0)})))}var ti=0,uc=0;if(no&&Cu.current&&fu.current&&lu.current&&Al.current){ti=Cu.current.offsetWidth+fu.current.offsetWidth;var Gc=Al.current.offsetLeft>ti?Al.current.offsetLeft-ti:Al.current.offsetLeft,Uc=lu.current.offsetWidth,jc=Al.current.offsetWidth;Uc&&jc&&ti>Uc-jc-(El==="rtl"?0:Gc)&&(uc=ti)}var Kc=El==="rtl"?{right:ti}:{left:ti};function xs(){var wo,ur=sl(ft,iu[no],kl),Zr=tl({prefixCls:ft,components:Oi,needConfirmButton:yu,okDisabled:!Fa(eo,no)||Po&&Po(eo[no]),locale:Cn,onOk:function(){var Nu=Fa(eo,no);Nu&&(ul(eo,no),ql==null||ql(eo),Iu(!1,no,"confirm"))}});if(Qa!=="time"&&!xa){var fo=Ei(no),Fl=Ft(fo,Qa,jt),$i=iu[no],ni=$i===Qa,Ju=Xi(ni?"left":!1,{pickerValue:fo,onPickerValueChange:function(Nu){Qu(Nu,no)}}),Xu=Xi("right",{pickerValue:Fl,onPickerValueChange:function(Nu){Qu(Ft(Nu,Qa,jt,-1),no)}});El==="rtl"?wo=de.createElement(de.Fragment,null,Xu,ni&&Ju):wo=de.createElement(de.Fragment,null,Ju,ni&&Xu)}else wo=Xi();var es=de.createElement("div",{className:"".concat(ft,"-panel-layout")},de.createElement(ru,{prefixCls:ft,presets:Nd,onClick:function(Nu){ul(Nu,null),Iu(!1,no,"preset")},onHover:function(Nu){Bd(Nu)}}),de.createElement("div",null,de.createElement("div",{className:"".concat(ft,"-panels")},wo),(ur||Zr)&&de.createElement("div",{className:"".concat(ft,"-footer")},ur,Zr)));return rl&&(es=rl(es)),de.createElement("div",{className:"".concat(ft,"-panel-container"),style:{marginLeft:uc},ref:lu,onMouseDown:function(Nu){Nu.preventDefault()}},es)}var Rd=de.createElement("div",{className:tt()("".concat(ft,"-range-wrapper"),"".concat(ft,"-").concat(Qa,"-range-wrapper")),style:{minWidth:ll}},de.createElement("div",{ref:Al,className:"".concat(ft,"-range-arrow"),style:Kc}),xs()),Hc;Gl&&(Hc=de.createElement("span",{className:"".concat(ft,"-suffix"),onMouseDown:function(ur){ur.preventDefault()}},Gl));var ic=Ou(ft,Ro,gl),Ql=de.createElement("span",{onMouseDown:function(ur){ur.preventDefault(),ur.stopPropagation()},onMouseUp:function(ur){ur.preventDefault(),ur.stopPropagation();var Zr=Ko;Qo[0]||(Zr=Sn(Zr,null,0)),Qo[1]||(Zr=Sn(Zr,null,1)),ul(Zr,null),Iu(!1,no,"clear")},className:"".concat(ft,"-clear"),role:"button"},ic),Td=Ro&&(Fa(Ko,0)&&!Qo[0]||Fa(Ko,1)&&!Qo[1]),qi={size:fr(Qa,$l[0],jt)},ws=0,sc=0;Cu.current&&ju.current&&fu.current&&(no===0?sc=Cu.current.offsetWidth:(ws=ti,sc=ju.current.offsetWidth));var Yc=El==="rtl"?{right:ws}:{left:ws},Qc=function(ur,Zr){var fo=Sn(eo,ur,no);if(Zr==="submit"||Zr!=="key"&&!yu){ul(fo,no),no===0?qs():Qi();var Fl=no===0?1:0;Qo[Fl]?Iu(!1,!1,"confirm"):Iu(!1,no,"confirm")}else er(fo)};return de.createElement(Gn.Provider,{value:{operationRef:ei,hideHeader:Qa==="time",onDateMouseEnter:Rc,onDateMouseLeave:Tc,hideRanges:!0,onSelect:Qc,open:jl}},de.createElement(Il,{visible:jl,popupElement:Rd,popupStyle:sa,prefixCls:ft,dropdownClassName:yn,dropdownAlign:Jn,getPopupContainer:Xn,transitionName:Dn,range:!0,direction:El},de.createElement("div",(0,ce.Z)({ref:Pl,className:tt()(ft,"".concat(ft,"-range"),vn,(ve={},(0,Le.Z)(ve,"".concat(ft,"-disabled"),Qo[0]&&Qo[1]),(0,Le.Z)(ve,"".concat(ft,"-focused"),no===0?ac:zc),(0,Le.Z)(ve,"".concat(ft,"-rtl"),El==="rtl"),ve)),style:Kt,onClick:oc,onMouseEnter:Zl,onMouseLeave:Uu,onMouseDown:ng,onMouseUp:hl},(0,Lt.Z)(me,{aria:!0,data:!0})),de.createElement("div",{className:tt()("".concat(ft,"-input"),(he={},(0,Le.Z)(he,"".concat(ft,"-input-active"),no===0),(0,Le.Z)(he,"".concat(ft,"-input-placeholder"),!!Ni),he)),ref:Cu},de.createElement("input",(0,ce.Z)({id:Yt,disabled:Qo[0],readOnly:Tl||typeof $l[0]=="function"||!Od,value:Ni||As,onChange:function(ur){Ys(ur.target.value)},autoFocus:Va,placeholder:Fa($n,0)||"",ref:bu},Zc,qi,{autoComplete:Gi}))),de.createElement("div",{className:"".concat(ft,"-range-separator"),ref:fu},$r),de.createElement("div",{className:tt()("".concat(ft,"-input"),(Ie={},(0,Le.Z)(Ie,"".concat(ft,"-input-active"),no===1),(0,Le.Z)(Ie,"".concat(ft,"-input-placeholder"),!!$s),Ie)),ref:ju},de.createElement("input",(0,ce.Z)({disabled:Qo[1],readOnly:Tl||typeof $l[0]=="function"||!rc,value:$s||Js,onChange:function(ur){Lc(ur.target.value)},placeholder:Fa($n,1)||"",ref:Ku},Wc,qi,{autoComplete:Gi}))),de.createElement("div",{className:"".concat(ft,"-active-bar"),style:(0,xe.Z)((0,xe.Z)({},Yc),{},{width:sc,position:"absolute"})}),Hc,Td&&Ql)))}var dl=function(me){(0,un.Z)(he,me);var ve=(0,Un.Z)(he);function he(){var Ie;(0,st.Z)(this,he);for(var Re=arguments.length,Dt=new Array(Re),ft=0;ft{const{lineHeight:Re}=me,Dt=Math.floor(he*Re)+2,ft=Math.max((ve-Dt)/2,0),Yt=Math.max(ve-Dt-ft,0);return{padding:`${ft}px ${Ie}px ${Yt}px`}},pd=me=>{const{componentCls:ve,pickerCellCls:he,pickerCellInnerCls:Ie,cellHeight:Re,motionDurationSlow:Dt,borderRadiusSM:ft,motionDurationMid:Yt,cellHoverBg:Kt,lineWidth:vn,lineType:sa,colorPrimary:yn,cellActiveWithRangeBg:Dn,colorTextLightSolid:Jn,controlHeightSM:Xn,cellRangeBorderColor:jt,pickerCellBorderGap:Cn,cellHoverWithRangeBg:$n,cellWidth:Va,colorTextDisabled:Na,cellBgDisabled:Ha}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Re,transform:"translateY(-50%)",transition:`all ${Dt}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Re,height:Re,lineHeight:`${Re}px`,borderRadius:ft,transition:`background ${Yt}, border ${Yt}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${he}-in-view), - &:hover:not(${he}-selected):not(${he}-range-start):not(${he}-range-end):not(${he}-range-hover-start):not(${he}-range-hover-end)`]:{[Ie]:{background:Kt}},[`&-in-view${he}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${vn}px ${sa} ${yn}`,borderRadius:ft,content:'""'}},[`&-in-view${he}-in-range`]:{position:"relative","&::before":{background:Dn}},[`&-in-view${he}-selected ${Ie}, - &-in-view${he}-range-start ${Ie}, - &-in-view${he}-range-end ${Ie}`]:{color:Jn,background:yn},[`&-in-view${he}-range-start:not(${he}-range-start-single), - &-in-view${he}-range-end:not(${he}-range-end-single)`]:{"&::before":{background:Dn}},[`&-in-view${he}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${he}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${he}-range-hover-start:not(${he}-in-range):not(${he}-range-start):not(${he}-range-end), - &-in-view${he}-range-hover-end:not(${he}-in-range):not(${he}-range-start):not(${he}-range-end), - &-in-view${he}-range-hover-start${he}-range-start-single, - &-in-view${he}-range-hover-start${he}-range-start${he}-range-end${he}-range-end-near-hover, - &-in-view${he}-range-hover-end${he}-range-start${he}-range-end${he}-range-start-near-hover, - &-in-view${he}-range-hover-end${he}-range-end-single, - &-in-view${he}-range-hover:not(${he}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Xn,borderTop:`${vn}px dashed ${jt}`,borderBottom:`${vn}px dashed ${jt}`,transform:"translateY(-50%)",transition:`all ${Dt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Cn},[`&-in-view${he}-in-range${he}-range-hover::before, - &-in-view${he}-in-range${he}-range-hover-start::before, - &-in-view${he}-in-range${he}-range-hover-end::before, - &-in-view${he}-range-start${he}-range-hover::before, - &-in-view${he}-range-end${he}-range-hover::before, - &-in-view${he}-range-start:not(${he}-range-start-single)${he}-range-hover-start::before, - &-in-view${he}-range-end:not(${he}-range-end-single)${he}-range-hover-end::before, - ${ve}-panel - > :not(${ve}-date-panel) - &-in-view${he}-in-range${he}-range-hover-start::before, - ${ve}-panel - > :not(${ve}-date-panel) - &-in-view${he}-in-range${he}-range-hover-end::before`]:{background:$n},[`&-in-view${he}-range-start:not(${he}-range-start-single):not(${he}-range-end) ${Ie}`]:{borderStartStartRadius:ft,borderEndStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${he}-range-end:not(${he}-range-end-single):not(${he}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft},[`&-range-hover${he}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${he}-range-hover:first-child::after, - tr > &-in-view${he}-range-hover-end:first-child::after, - &-in-view${he}-start${he}-range-hover-edge-start${he}-range-hover-edge-start-near-range::after, - &-in-view${he}-range-hover-edge-start:not(${he}-range-hover-edge-start-near-range)::after, - &-in-view${he}-range-hover-start::after`]:{insetInlineStart:(Va-Re)/2,borderInlineStart:`${vn}px dashed ${jt}`,borderStartStartRadius:ft,borderEndStartRadius:ft},[`tr > &-in-view${he}-range-hover:last-child::after, - tr > &-in-view${he}-range-hover-start:last-child::after, - &-in-view${he}-end${he}-range-hover-edge-end${he}-range-hover-edge-end-near-range::after, - &-in-view${he}-range-hover-edge-end:not(${he}-range-hover-edge-end-near-range)::after, - &-in-view${he}-range-hover-end::after`]:{insetInlineEnd:(Va-Re)/2,borderInlineEnd:`${vn}px dashed ${jt}`,borderStartEndRadius:ft,borderEndEndRadius:ft},"&-disabled":{color:Na,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Ha}},[`&-disabled${he}-today ${Ie}::before`]:{borderColor:Na}}},Vs=me=>{const{componentCls:ve,pickerCellCls:he,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Re,pickerControlIconSize:Dt,cellWidth:ft,paddingSM:Yt,paddingXS:Kt,paddingXXS:vn,colorBgContainer:sa,lineWidth:yn,lineType:Dn,borderRadiusLG:Jn,colorPrimary:Xn,colorTextHeading:jt,colorSplit:Cn,pickerControlIconBorderWidth:$n,colorIcon:Va,textHeight:Na,motionDurationMid:Ha,colorIconHover:Ya,fontWeightStrong:Qa,cellHeight:xa,pickerCellPaddingVertical:pr,colorTextDisabled:Sr,colorText:$r,fontSize:Fo,cellHoverWithRangeBg:xo,motionDurationSlow:Wo,withoutTimeCellHeight:al,pickerQuarterPanelContentHeight:No,colorLink:Po,colorLinkActive:yo,colorLinkHover:bo,cellRangeBorderColor:Vo,borderRadiusSM:Mo,colorTextLightSolid:rl,cellHoverBg:Rl,timeColumnHeight:bl,timeColumnWidth:nl,timeCellHeight:Ro,controlItemBgActive:Gl,marginXXS:gl,pickerDatePanelPaddingHorizontal:Xr}=me,Tl=ft*7+Xr*2,Hl=(Tl-Kt*2)/3-Re-Yt,kl=(Tl-Kt*2)/4-Re;return{[ve]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:sa,border:`${yn}px ${Dn} ${Cn}`,borderRadius:Jn,outline:"none","&-focused":{borderColor:Xn},"&-rtl":{direction:"rtl",[`${ve}-prev-icon, - ${ve}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ve}-next-icon, - ${ve}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Tl},"&-header":{display:"flex",padding:`0 ${Kt}px`,color:jt,borderBottom:`${yn}px ${Dn} ${Cn}`,"> *":{flex:"none"},button:{padding:0,color:Va,lineHeight:`${Na}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ha}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Fo,"&:hover":{color:Ya}},"&-view":{flex:"auto",fontWeight:Qa,lineHeight:`${Na}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Kt},"&:hover":{color:Xn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Dt,height:Dt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Dt,height:Dt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Dt/2),insetInlineStart:Math.ceil(Dt/2),display:"inline-block",width:Dt,height:Dt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:xa,fontWeight:"normal"},th:{height:xa+pr*2,color:$r,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${pr}px 0`,color:Sr,cursor:"pointer","&-in-view":{color:$r}},pd(me)),[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start ${Ie}, - &-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:xo,transition:`all ${Wo}`,content:'""'}},[`&-date-panel - ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start - ${Ie}::after`]:{insetInlineEnd:-(ft-xa)/2,insetInlineStart:0},[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(ft-xa)/2},[`&-range-hover${ve}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-content`]:{height:al*4},[Ie]:{padding:`0 ${Kt}px`}},"&-quarter-panel":{[`${ve}-content`]:{height:No},[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:kl,borderInlineStart:`${yn}px dashed ${Vo}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:kl,borderInlineEnd:`${yn}px dashed ${Vo}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:kl,borderInlineEnd:`${yn}px dashed ${Vo}`,[`${ve}-panel-rtl &`]:{insetInlineStart:kl,borderInlineStart:`${yn}px dashed ${Vo}`}}},[`&-panel ${ve}-footer`]:{borderTop:`${yn}px ${Dn} ${Cn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Na-2*yn}px`,textAlign:"center","&-extra":{padding:`0 ${Yt}px`,lineHeight:`${Na-2*yn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${yn}px ${Dn} ${Cn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Po,"&:hover":{color:bo},"&:active":{color:yo},[`&${ve}-today-btn-disabled`]:{color:Sr,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${Kt/2}px`},[`${ve}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-body`]:{padding:`0 ${Kt}px`},[Ie]:{width:Re},[`${ve}-cell-range-hover-start::after`]:{borderStartStartRadius:Mo,borderEndStartRadius:Mo,borderStartEndRadius:0,borderEndEndRadius:0,[`${ve}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Mo,borderEndEndRadius:Mo}},[`${ve}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Mo,borderEndEndRadius:Mo,[`${ve}-panel-rtl &`]:{borderStartStartRadius:Mo,borderEndStartRadius:Mo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:Hl,borderInlineStart:`${yn}px dashed ${Vo}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:Hl,borderInlineEnd:`${yn}px dashed ${Vo}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:Hl,borderInlineEnd:`${yn}px dashed ${Vo}`,[`${ve}-panel-rtl &`]:{insetInlineStart:Hl,borderInlineStart:`${yn}px dashed ${Vo}`}}},"&-week-panel":{[`${ve}-body`]:{padding:`${Kt}px ${Yt}px`},[`${ve}-cell`]:{[`&:hover ${Ie}, - &-selected ${Ie}, - ${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ha}`},"&:first-child:before":{borderStartStartRadius:Mo,borderEndStartRadius:Mo},"&:last-child:before":{borderStartEndRadius:Mo,borderEndEndRadius:Mo}},"&:hover td":{"&:before":{background:Rl}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${he}`]:{"&:before":{background:Xn},[`&${ve}-cell-week`]:{color:new ns.C(rl).setAlpha(.5).toHexString()},[Ie]:{color:rl}}},"&-range-hover td:before":{background:Gl}}},"&-date-panel":{[`${ve}-body`]:{padding:`${Kt}px ${Xr}px`},[`${ve}-content`]:{width:ft*7,th:{width:ft,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ve}-time-panel`]:{borderInlineStart:`${yn}px ${Dn} ${Cn}`},[`${ve}-date-panel, - ${ve}-time-panel`]:{transition:`opacity ${Wo}`},"&-active":{[`${ve}-date-panel, - ${ve}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ve}-content`]:{display:"flex",flex:"auto",height:bl},"&-column":{flex:"1 0 auto",width:nl,margin:`${vn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ha}`,overflowX:"hidden","&::after":{display:"block",height:bl-Ro,content:'""'},"&:not(:first-child)":{borderInlineStart:`${yn}px ${Dn} ${Cn}`},"&-active":{background:new ns.C(Gl).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ve}-time-panel-cell`]:{marginInline:gl,[`${ve}-time-panel-cell-inner`]:{display:"block",width:nl-2*gl,height:Ro,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(nl-Ro)/2,color:$r,lineHeight:`${Ro}px`,borderRadius:Mo,cursor:"pointer",transition:`background ${Ha}`,"&:hover":{background:Rl}},"&-selected":{[`${ve}-time-panel-cell-inner`]:{background:Gl}},"&-disabled":{[`${ve}-time-panel-cell-inner`]:{color:Sr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ve}-time-panel-column:after`]:{height:bl-Ro+vn*2}}}},hd=me=>{const{componentCls:ve,colorBgContainer:he,colorError:Ie,errorActiveShadow:Re,colorWarning:Dt,warningActiveShadow:ft}=me;return{[`${ve}:not(${ve}-disabled)`]:{[`&${ve}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:he,borderColor:Ie},[`&${ve}-focused, &:focus`]:Object.assign({},(0,zl.M1)((0,Ws.TS)(me,{activeBorderColor:Ie,activeShadow:Re}))),[`${ve}-active-bar`]:{background:Ie}},[`&${ve}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:he,borderColor:Dt},[`&${ve}-focused, &:focus`]:Object.assign({},(0,zl.M1)((0,Ws.TS)(me,{activeBorderColor:Dt,activeShadow:ft}))),[`${ve}-active-bar`]:{background:Dt}}}}},Ed=me=>{const{componentCls:ve,antCls:he,controlHeight:Ie,fontSize:Re,paddingInline:Dt,colorBgContainer:ft,lineWidth:Yt,lineType:Kt,colorBorder:vn,borderRadius:sa,motionDurationMid:yn,colorBgContainerDisabled:Dn,colorTextDisabled:Jn,colorTextPlaceholder:Xn,controlHeightLG:jt,fontSizeLG:Cn,controlHeightSM:$n,paddingInlineSM:Va,paddingXS:Na,marginXS:Ha,colorTextDescription:Ya,lineWidthBold:Qa,lineHeight:xa,colorPrimary:pr,motionDurationSlow:Sr,zIndexPopup:$r,paddingXXS:Fo,paddingSM:xo,textHeight:Wo,cellActiveWithRangeBg:al,colorPrimaryBorder:No,sizePopupArrow:Po,borderRadiusXS:yo,borderRadiusOuter:bo,colorBgElevated:Vo,borderRadiusLG:Mo,boxShadowSecondary:rl,borderRadiusSM:Rl,colorSplit:bl,cellHoverBg:nl,presetsWidth:Ro,presetsMaxWidth:Gl,boxShadowPopoverArrow:gl,colorTextQuaternary:Xr}=me;return[{[ve]:Object.assign(Object.assign(Object.assign({},(0,pi.Wf)(me)),vs(me,Ie,Re,Dt)),{position:"relative",display:"inline-flex",alignItems:"center",background:ft,lineHeight:1,border:`${Yt}px ${Kt} ${vn}`,borderRadius:sa,transition:`border ${yn}, box-shadow ${yn}`,"&:hover, &-focused":Object.assign({},(0,zl.pU)(me)),"&-focused":Object.assign({},(0,zl.M1)(me)),[`&${ve}-disabled`]:{background:Dn,borderColor:vn,cursor:"not-allowed",[`${ve}-suffix`]:{color:Xr}},[`&${ve}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ve}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,zl.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ve}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Xn}}},"&-large":Object.assign(Object.assign({},vs(me,jt,Cn,Dt)),{[`${ve}-input > input`]:{fontSize:Cn}}),"&-small":Object.assign({},vs(me,$n,Re,Va)),[`${ve}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Na/2,color:Jn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ha}}},[`${ve}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Jn,lineHeight:1,background:ft,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${yn}, color ${yn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ya}},[`${ve}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Cn,color:Jn,fontSize:Cn,verticalAlign:"top",cursor:"default",[`${ve}-focused &`]:{color:Ya},[`${ve}-range-separator &`]:{[`${ve}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ve}-clear`]:{insetInlineEnd:Dt},"&:hover":{[`${ve}-clear`]:{opacity:1}},[`${ve}-active-bar`]:{bottom:-Yt,height:Qa,marginInlineStart:Dt,background:pr,opacity:0,transition:`all ${Sr} ease-out`,pointerEvents:"none"},[`&${ve}-focused`]:{[`${ve}-active-bar`]:{opacity:1}},[`${ve}-range-separator`]:{alignItems:"center",padding:`0 ${Na}px`,lineHeight:1},[`&${ve}-small`]:{[`${ve}-clear`]:{insetInlineEnd:Va},[`${ve}-active-bar`]:{marginInlineStart:Va}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,pi.Wf)(me)),Vs(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:$r,[`&${ve}-dropdown-hidden`]:{display:"none"},[`&${ve}-dropdown-placement-bottomLeft`]:{[`${ve}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ve}-dropdown-placement-topLeft`]:{[`${ve}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-topLeft, - &${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-topRight, - &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-topLeft, - &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-topRight`]:{animationName:Li.Qt},[`&${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-bottomLeft, - &${he}-slide-up-enter${he}-slide-up-enter-active${ve}-dropdown-placement-bottomRight, - &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-bottomLeft, - &${he}-slide-up-appear${he}-slide-up-appear-active${ve}-dropdown-placement-bottomRight`]:{animationName:Li.fJ},[`&${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-topLeft, - &${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-topRight`]:{animationName:Li.ly},[`&${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-bottomLeft, - &${he}-slide-up-leave${he}-slide-up-leave-active${ve}-dropdown-placement-bottomRight`]:{animationName:Li.Uw},[`${ve}-panel > ${ve}-time-panel`]:{paddingTop:Fo},[`${ve}-ranges`]:{marginBottom:0,padding:`${Fo}px ${xo}px`,overflow:"hidden",lineHeight:`${Wo-2*Yt-Na/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ve}-preset > ${he}-tag-blue`]:{color:pr,background:al,borderColor:No,cursor:"pointer"},[`${ve}-ok`]:{marginInlineStart:"auto"}},[`${ve}-range-wrapper`]:{display:"flex",position:"relative"},[`${ve}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Dt*1.5,transition:`left ${Sr} ease-out`},(0,fd.r)(Po,yo,bo,Vo,gl)),[`${ve}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Vo,borderRadius:Mo,boxShadow:rl,transition:`margin ${Sr}`,[`${ve}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ve}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ro,maxWidth:Gl,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Na,borderInlineEnd:`${Yt}px ${Kt} ${bl}`,li:Object.assign(Object.assign({},pi.vS),{borderRadius:Rl,paddingInline:Na,paddingBlock:($n-Math.round(Re*xa))/2,cursor:"pointer",transition:`all ${Sr}`,"+ li":{marginTop:Ha},"&:hover":{background:nl}})}},[`${ve}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ve}-panel`]:{borderWidth:`0 0 ${Yt}px`},"&:last-child":{[`${ve}-panel`]:{borderWidth:0}}},[`${ve}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ve}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:vn}}}}),"&-dropdown-range":{padding:`${Po*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ve}-separator`]:{transform:"rotate(180deg)"},[`${ve}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Li.oN)(me,"slide-up"),(0,Li.oN)(me,"slide-down"),(0,yc.Fm)(me,"move-up"),(0,yc.Fm)(me,"move-down")]},Cc=me=>{const{componentCls:ve,controlHeightLG:he,paddingXXS:Ie,padding:Re}=me;return{pickerCellCls:`${ve}-cell`,pickerCellInnerCls:`${ve}-cell-inner`,pickerYearMonthCellWidth:he*1.5,pickerQuarterPanelContentHeight:he*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Re+Ie/2}},Vi=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new ns.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ns.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var ps=(0,vd.Z)("DatePicker",me=>{const ve=(0,Ws.TS)((0,zl.e5)(me),Cc(me));return[Ed(ve),hd(ve),(0,wi.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,zl.TM)(me)),Vi(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function hs(me,ve,he){return he!==void 0?he:ve==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:ve==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:ve==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:ve==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:ve==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Pd(me,ve,he){return he!==void 0?he:ve==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:ve==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:ve==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:ve==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:ve==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function zs(me,ve){const he={adjustX:1,adjustY:1};switch(ve){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:he};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:he};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:he};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:he};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:he}}}function Gu(me){return me?Array.isArray(me)?me:[me]:[]}function zi(me){const{format:ve,picker:he,showHour:Ie,showMinute:Re,showSecond:Dt,use12Hours:ft}=me,Yt=Gu(ve)[0],Kt=Object.assign({},me);return ve&&Array.isArray(ve)&&(Kt.format=Yt),Yt&&typeof Yt=="string"&&(!Yt.includes("s")&&Dt===void 0&&(Kt.showSecond=!1),!Yt.includes("m")&&Re===void 0&&(Kt.showMinute=!1),!Yt.includes("H")&&!Yt.includes("h")&&!Yt.includes("K")&&!Yt.includes("k")&&Ie===void 0&&(Kt.showHour=!1),(Yt.includes("a")||Yt.includes("A"))&&ft===void 0&&(Kt.use12Hours=!0)),he==="time"?Kt:(typeof Yt=="function"&&delete Kt.format,{showTime:Kt})}function Gs(me,ve,he){if(me===!1)return!1;const Ie={clearIcon:ve!=null?ve:he};return typeof me=="object"?Object.assign(Object.assign({},Ie),me):Ie}var bc=ue(3113);function Dc(me){return de.createElement(bc.ZP,Object.assign({size:"small",type:"primary"},me))}var Es={button:Dc},Sd=function(me,ve){var he={};for(var Ie in me)Object.prototype.hasOwnProperty.call(me,Ie)&&ve.indexOf(Ie)<0&&(he[Ie]=me[Ie]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ie=Object.getOwnPropertySymbols(me);Re{const{prefixCls:Re,getPopupContainer:Dt,className:ft,placement:Yt,size:Kt,disabled:vn,bordered:sa=!0,placeholder:yn,popupClassName:Dn,dropdownClassName:Jn,status:Xn,clearIcon:jt,allowClear:Cn,rootClassName:$n}=he,Va=Sd(he,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Na=de.useRef(null),{getPrefixCls:Ha,direction:Ya,getPopupContainer:Qa}=(0,de.useContext)(zu.E_),xa=Ha("picker",Re),{compactSize:pr,compactItemClassnames:Sr}=(0,Sc.ri)(xa,Ya),{format:$r,showTime:Fo,picker:xo}=he,Wo=Ha(),[al,No]=ps(xa),Po=Object.assign(Object.assign({},Fo?zi(Object.assign({format:$r,picker:xo},Fo)):{}),xo==="time"?zi(Object.assign(Object.assign({format:$r},he),{picker:xo})):{}),yo=(0,_u.Z)(gl=>{var Xr;return(Xr=Kt!=null?Kt:pr)!==null&&Xr!==void 0?Xr:gl}),bo=de.useContext(qo.Z),Vo=vn!=null?vn:bo,Mo=(0,de.useContext)(ts.aM),{hasFeedback:rl,status:Rl,feedbackIcon:bl}=Mo,nl=de.createElement(de.Fragment,null,xo==="time"?de.createElement(pn,null):de.createElement(Xe,null),rl&&bl);(0,de.useImperativeHandle)(Ie,()=>({focus:()=>{var gl;return(gl=Na.current)===null||gl===void 0?void 0:gl.focus()},blur:()=>{var gl;return(gl=Na.current)===null||gl===void 0?void 0:gl.blur()}}));const[Ro]=(0,fs.Z)("Calendar",Fc.Z),Gl=Object.assign(Object.assign({},Ro),he.locale);return al(de.createElement(vi,Object.assign({separator:de.createElement("span",{"aria-label":"to",className:`${xa}-separator`},de.createElement(jn,null)),disabled:Vo,ref:Na,dropdownAlign:zs(Ya,Yt),placeholder:Pd(Gl,xo,yn),suffixIcon:nl,prevIcon:de.createElement("span",{className:`${xa}-prev-icon`}),nextIcon:de.createElement("span",{className:`${xa}-next-icon`}),superPrevIcon:de.createElement("span",{className:`${xa}-super-prev-icon`}),superNextIcon:de.createElement("span",{className:`${xa}-super-next-icon`}),transitionName:`${Wo}-slide-up`},Va,Po,{className:tt()({[`${xa}-${yo}`]:yo,[`${xa}-borderless`]:!sa},(0,Xo.Z)(xa,(0,Xo.F)(Rl,Xn),rl),No,Sr,ft,$n),locale:Gl.lang,prefixCls:xa,getPopupContainer:Dt||Qa,generateConfig:me,components:Es,direction:Ya,dropdownClassName:tt()(No,Dn||Jn,$n),allowClear:Gs(Cn,jt,de.createElement(Jt.Z,null))})))})}var rs=function(me,ve){var he={};for(var Ie in me)Object.prototype.hasOwnProperty.call(me,Ie)&&ve.indexOf(Ie)<0&&(he[Ie]=me[Ie]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ie=Object.getOwnPropertySymbols(me);Re{const{prefixCls:Xn,getPopupContainer:jt,style:Cn,className:$n,rootClassName:Va,size:Na,bordered:Ha=!0,placement:Ya,placeholder:Qa,popupClassName:xa,dropdownClassName:pr,disabled:Sr,status:$r,clearIcon:Fo,allowClear:xo}=Dn,Wo=rs(Dn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:al,direction:No,getPopupContainer:Po,[sa]:yo}=(0,de.useContext)(zu.E_),bo=al("picker",Xn),{compactSize:Vo,compactItemClassnames:Mo}=(0,Sc.ri)(bo,No),rl=de.useRef(null),{format:Rl,showTime:bl}=Dn,[nl,Ro]=ps(bo);(0,de.useImperativeHandle)(Jn,()=>({focus:()=>{var Zl;return(Zl=rl.current)===null||Zl===void 0?void 0:Zl.focus()},blur:()=>{var Zl;return(Zl=rl.current)===null||Zl===void 0?void 0:Zl.blur()}}));const Gl={showToday:!0};let gl={};Kt&&(gl.picker=Kt);const Xr=Kt||Dn.picker;gl=Object.assign(Object.assign(Object.assign({},gl),bl?zi(Object.assign({format:Rl,picker:Xr},bl)):{}),Xr==="time"?zi(Object.assign(Object.assign({format:Rl},Dn),{picker:Xr})):{});const Tl=al(),Hl=(0,_u.Z)(Zl=>{var Uu;return(Uu=Na!=null?Na:Vo)!==null&&Uu!==void 0?Uu:Zl}),kl=de.useContext(qo.Z),gu=Sr!=null?Sr:kl,Fu=(0,de.useContext)(ts.aM),{hasFeedback:so,status:ol,feedbackIcon:ml}=Fu,Ll=de.createElement(de.Fragment,null,Xr==="time"?de.createElement(pn,null):de.createElement(Xe,null),so&&ml),[Ul]=(0,fs.Z)("DatePicker",Fc.Z),hl=Object.assign(Object.assign({},Ul),Dn.locale);return nl(de.createElement(ri,Object.assign({ref:rl,placeholder:hs(hl,Xr,Qa),suffixIcon:Ll,dropdownAlign:zs(No,Ya),prevIcon:de.createElement("span",{className:`${bo}-prev-icon`}),nextIcon:de.createElement("span",{className:`${bo}-next-icon`}),superPrevIcon:de.createElement("span",{className:`${bo}-super-prev-icon`}),superNextIcon:de.createElement("span",{className:`${bo}-super-next-icon`}),transitionName:`${Tl}-slide-up`},Gl,Wo,gl,{locale:hl.lang,className:tt()({[`${bo}-${Hl}`]:Hl,[`${bo}-borderless`]:!Ha},(0,Xo.Z)(bo,(0,Xo.F)(ol,$r),so),Ro,Mo,yo==null?void 0:yo.className,$n,Va),style:Object.assign(Object.assign({},yo==null?void 0:yo.style),Cn),prefixCls:bo,getPopupContainer:jt||Po,generateConfig:me,components:Es,direction:No,disabled:gu,dropdownClassName:tt()(Ro,Va,xa||pr),allowClear:Gs(xo,Fo,de.createElement(Jt.Z,null))})))});return vn&&(yn.displayName=vn),yn}const he=ve(),Ie=ve("week","WeekPicker"),Re=ve("month","MonthPicker"),Dt=ve("year","YearPicker"),ft=ve("time","TimePicker"),Yt=ve("quarter","QuarterPicker");return{DatePicker:he,WeekPicker:Ie,MonthPicker:Re,YearPicker:Dt,TimePicker:ft,QuarterPicker:Yt}}const yd=null;function Cd(me){const{DatePicker:ve,WeekPicker:he,MonthPicker:Ie,YearPicker:Re,TimePicker:Dt,QuarterPicker:ft}=Fd(me),Yt=as(me),Kt=ve;return Kt.WeekPicker=he,Kt.MonthPicker=Ie,Kt.YearPicker=Re,Kt.RangePicker=Yt,Kt.TimePicker=Dt,Kt.QuarterPicker=ft,Kt}var Ac=Cd;const hi=Ac(ne);function Ps(me){const ve=zs(me.direction,me.placement);return ve.overflow.adjustY=!1,ve.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:ve})}const el=(0,se.Z)(hi,"picker",null,Ps);hi._InternalPanelDoNotUseOrYouWillBeFired=el;const Bc=(0,se.Z)(hi.RangePicker,"picker",null,Ps);hi._InternalRangePanelDoNotUseOrYouWillBeFired=Bc,hi.generatePicker=Ac;var bd=hi},28103:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return mt}});var ae=ue(92310),x=ue.n(ae),Oe=ue(59301),ke=ue(36355),Te=ue(17313),et=ue(83116),Ce=ue(37613);const ct=$e=>{const{componentCls:fe,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:b,textPaddingInline:y,orientationMargin:ee,verticalMarginInline:ne}=$e;return{[fe]:Object.assign(Object.assign({},(0,Te.Wf)($e)),{borderBlockStart:`${b}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${$e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${fe}-with-text`]:{display:"flex",alignItems:"center",margin:`${$e.dividerHorizontalWithTextGutterMargin}px 0`,color:$e.colorTextHeading,fontWeight:500,fontSize:$e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${fe}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${fe}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${fe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${fe}-with-text${fe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${fe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${fe}-with-text`]:{color:$e.colorText,fontWeight:"normal",fontSize:$e.fontSize},[`&-horizontal${fe}-with-text-left${fe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${fe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${fe}-with-text-right${fe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${fe}-inner-text`]:{paddingInlineEnd:a}}})}};var Ne=(0,et.Z)("Divider",$e=>{const fe=(0,Ce.TS)($e,{dividerHorizontalWithTextGutterMargin:$e.margin,dividerHorizontalGutterMargin:$e.marginLG,sizePaddingEdgeHorizontal:0});return[ct(fe)]},$e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:$e.marginXS})),Me=function($e,fe){var a={};for(var E in $e)Object.prototype.hasOwnProperty.call($e,E)&&fe.indexOf(E)<0&&(a[E]=$e[E]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols($e);b{const{getPrefixCls:fe,direction:a,divider:E}=Oe.useContext(ke.E_),{prefixCls:b,type:y="horizontal",orientation:ee="center",orientationMargin:ne,className:se,rootClassName:ce,children:de,dashed:ye,plain:Ae,style:Ge}=$e,Be=Me($e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),rt=fe("divider",b),[Xe,ut]=Ne(rt),mn=ee.length>0?`-${ee}`:ee,ln=!!de,En=ee==="left"&&ne!=null,pn=ee==="right"&&ne!=null,Jt=x()(rt,E==null?void 0:E.className,ut,`${rt}-${y}`,{[`${rt}-with-text`]:ln,[`${rt}-with-text${mn}`]:ln,[`${rt}-dashed`]:!!ye,[`${rt}-plain`]:!!Ae,[`${rt}-rtl`]:a==="rtl",[`${rt}-no-default-orientation-margin-left`]:En,[`${rt}-no-default-orientation-margin-right`]:pn},se,ce),ha=Oe.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),_t=Object.assign(Object.assign({},En&&{marginLeft:ha}),pn&&{marginRight:ha});return Xe(Oe.createElement("div",Object.assign({className:Jt,style:Object.assign(Object.assign({},E==null?void 0:E.style),Ge)},Be,{role:"separator"}),de&&y!=="vertical"&&Oe.createElement("span",{className:`${rt}-inner-text`,style:_t},de)))}},43428:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Le}});var ae=ue(92310),x=ue.n(ae),Oe=ue(27247),ke=ue(11913),Te=ue(43403),et=ue(34280),Ce=ue(59301),ct=Ce.createContext(null),Ne=Ce.createContext({}),Me=ct,lt=ue(74430),mt=ue(32855),$e=ue(77900),fe=ue(10228),a=ue(26112),E=ue(70425),b=function(Ve){var Pt=Ve.prefixCls,Lt=Ve.className,Tt=Ve.style,Gt=Ve.children,en=Ve.containerRef,Rn=Ve.id,Rt=Ve.onMouseEnter,De=Ve.onMouseOver,We=Ve.onMouseLeave,dt=Ve.onClick,Ot=Ve.onKeyDown,$t=Ve.onKeyUp,Xt={onMouseEnter:Rt,onMouseOver:De,onMouseLeave:We,onClick:dt,onKeyDown:Ot,onKeyUp:$t},Ht=Ce.useContext(Ne),on=Ht.panel,At=(0,E.useComposeRef)(on,en);return Ce.createElement(Ce.Fragment,null,Ce.createElement("div",(0,mt.Z)({id:Rn,className:x()("".concat(Pt,"-content"),Lt),style:(0,Oe.Z)({},Tt),"aria-modal":"true",role:"dialog",ref:At},Xt),Gt))},y=b,ee=ue(48736);function ne(xe){return typeof xe=="string"&&String(Number(xe))===xe?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(xe)):xe}function se(xe){warning(!("wrapperClassName"in xe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!xe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ce={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function de(xe,Ve){var Pt,Lt,Tt,Gt,en=xe.prefixCls,Rn=xe.open,Rt=xe.placement,De=xe.inline,We=xe.push,dt=xe.forceRender,Ot=xe.autoFocus,$t=xe.keyboard,Xt=xe.rootClassName,Ht=xe.rootStyle,on=xe.zIndex,At=xe.className,Bt=xe.id,nn=xe.style,ht=xe.motion,Ft=xe.width,Nt=xe.height,sn=xe.children,yt=xe.contentWrapperStyle,Mt=xe.mask,Tn=xe.maskClosable,zt=xe.maskMotion,na=xe.maskClassName,Xa=xe.maskStyle,gr=xe.afterOpenChange,lr=xe.onClose,za=xe.onMouseEnter,Mr=xe.onMouseOver,br=xe.onMouseLeave,rr=xe.onClick,fr=xe.onKeyDown,or=xe.onKeyUp,Za=Ce.useRef(),Ur=Ce.useRef(),_r=Ce.useRef();Ce.useImperativeHandle(Ve,function(){return Za.current});var bt=function(Ma){var Fa=Ma.keyCode,Sn=Ma.shiftKey;switch(Fa){case fe.Z.TAB:{if(Fa===fe.Z.TAB){if(!Sn&&document.activeElement===_r.current){var Ba;(Ba=Ur.current)===null||Ba===void 0||Ba.focus({preventScroll:!0})}else if(Sn&&document.activeElement===Ur.current){var Br;(Br=_r.current)===null||Br===void 0||Br.focus({preventScroll:!0})}}break}case fe.Z.ESC:{lr&&$t&&(Ma.stopPropagation(),lr(Ma));break}}};Ce.useEffect(function(){if(Rn&&Ot){var va;(va=Za.current)===null||va===void 0||va.focus({preventScroll:!0})}},[Rn]);var bn=Ce.useState(!1),On=(0,ke.Z)(bn,2),Ut=On[0],fn=On[1],Hn=Ce.useContext(Me),ma;We===!1?ma={distance:0}:We===!0?ma={}:ma=We||{};var Qe=(Pt=(Lt=(Tt=ma)===null||Tt===void 0?void 0:Tt.distance)!==null&&Lt!==void 0?Lt:Hn==null?void 0:Hn.pushDistance)!==null&&Pt!==void 0?Pt:180,gt=Ce.useMemo(function(){return{pushDistance:Qe,push:function(){fn(!0)},pull:function(){fn(!1)}}},[Qe]);Ce.useEffect(function(){if(Rn){var va;Hn==null||(va=Hn.push)===null||va===void 0||va.call(Hn)}else{var Ma;Hn==null||(Ma=Hn.pull)===null||Ma===void 0||Ma.call(Hn)}},[Rn]),Ce.useEffect(function(){return function(){var va;Hn==null||(va=Hn.pull)===null||va===void 0||va.call(Hn)}},[]);var it=Mt&&Ce.createElement($e.default,(0,mt.Z)({key:"mask"},zt,{visible:Rn}),function(va,Ma){var Fa=va.className,Sn=va.style;return Ce.createElement("div",{className:x()("".concat(en,"-mask"),Fa,na),style:(0,Oe.Z)((0,Oe.Z)({},Sn),Xa),onClick:Tn&&Rn?lr:void 0,ref:Ma})}),Vn=typeof ht=="function"?ht(Rt):ht,Gn={};if(Ut&&Qe)switch(Rt){case"top":Gn.transform="translateY(".concat(Qe,"px)");break;case"bottom":Gn.transform="translateY(".concat(-Qe,"px)");break;case"left":Gn.transform="translateX(".concat(Qe,"px)");break;default:Gn.transform="translateX(".concat(-Qe,"px)");break}Rt==="left"||Rt==="right"?Gn.width=ne(Ft):Gn.height=ne(Nt);var Qn={onMouseEnter:za,onMouseOver:Mr,onMouseLeave:br,onClick:rr,onKeyDown:fr,onKeyUp:or},Wa=Ce.createElement($e.default,(0,mt.Z)({key:"panel"},Vn,{visible:Rn,forceRender:dt,onVisibleChanged:function(Ma){gr==null||gr(Ma)},removeOnLeave:!1,leavedClassName:"".concat(en,"-content-wrapper-hidden")}),function(va,Ma){var Fa=va.className,Sn=va.style;return Ce.createElement("div",(0,mt.Z)({className:x()("".concat(en,"-content-wrapper"),Fa),style:(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Gn),Sn),yt)},(0,a.Z)(xe,{data:!0})),Ce.createElement(y,(0,mt.Z)({id:Bt,containerRef:Ma,prefixCls:en,className:At,style:nn},Qn),sn))}),wa=(0,Oe.Z)({},Ht);return on&&(wa.zIndex=on),Ce.createElement(Me.Provider,{value:gt},Ce.createElement("div",{className:x()(en,"".concat(en,"-").concat(Rt),Xt,(Gt={},(0,lt.Z)(Gt,"".concat(en,"-open"),Rn),(0,lt.Z)(Gt,"".concat(en,"-inline"),De),Gt)),style:wa,tabIndex:-1,ref:Za,onKeyDown:bt},it,Ce.createElement("div",{tabIndex:0,ref:Ur,style:ce,"aria-hidden":"true","data-sentinel":"start"}),Wa,Ce.createElement("div",{tabIndex:0,ref:_r,style:ce,"aria-hidden":"true","data-sentinel":"end"})))}var ye=Ce.forwardRef(de),Ae=ye,Ge=function(Ve){var Pt=Ve.open,Lt=Pt===void 0?!1:Pt,Tt=Ve.prefixCls,Gt=Tt===void 0?"rc-drawer":Tt,en=Ve.placement,Rn=en===void 0?"right":en,Rt=Ve.autoFocus,De=Rt===void 0?!0:Rt,We=Ve.keyboard,dt=We===void 0?!0:We,Ot=Ve.width,$t=Ot===void 0?378:Ot,Xt=Ve.mask,Ht=Xt===void 0?!0:Xt,on=Ve.maskClosable,At=on===void 0?!0:on,Bt=Ve.getContainer,nn=Ve.forceRender,ht=Ve.afterOpenChange,Ft=Ve.destroyOnClose,Nt=Ve.onMouseEnter,sn=Ve.onMouseOver,yt=Ve.onMouseLeave,Mt=Ve.onClick,Tn=Ve.onKeyDown,zt=Ve.onKeyUp,na=Ve.panelRef,Xa=Ce.useState(!1),gr=(0,ke.Z)(Xa,2),lr=gr[0],za=gr[1],Mr=Ce.useState(!1),br=(0,ke.Z)(Mr,2),rr=br[0],fr=br[1];(0,et.Z)(function(){fr(!0)},[]);var or=rr?Lt:!1,Za=Ce.useRef(),Ur=Ce.useRef();(0,et.Z)(function(){or&&(Ur.current=document.activeElement)},[or]);var _r=function(fn){var Hn;if(za(fn),ht==null||ht(fn),!fn&&Ur.current&&!((Hn=Za.current)!==null&&Hn!==void 0&&Hn.contains(Ur.current))){var ma;(ma=Ur.current)===null||ma===void 0||ma.focus({preventScroll:!0})}},bt=Ce.useMemo(function(){return{panel:na}},[na]);if(!nn&&!lr&&!or&&Ft)return null;var bn={onMouseEnter:Nt,onMouseOver:sn,onMouseLeave:yt,onClick:Mt,onKeyDown:Tn,onKeyUp:zt},On=(0,Oe.Z)((0,Oe.Z)({},Ve),{},{open:or,prefixCls:Gt,placement:Rn,autoFocus:De,keyboard:dt,width:$t,mask:Ht,maskClosable:At,inline:Bt===!1,afterOpenChange:_r,ref:Za},bn);return Ce.createElement(Ne.Provider,{value:bt},Ce.createElement(Te.Z,{open:or||nn||lr,autoDestroy:!1,getContainer:Bt,autoLock:Ht&&(or||lr)},Ce.createElement(Ae,On)))},Be=Ge,rt=Be,Xe=ue(62892),ut=ue(36355),mn=ue(32441),ln=ue(47729),pn=xe=>{const{prefixCls:Ve,title:Pt,footer:Lt,extra:Tt,closeIcon:Gt,closable:en,onClose:Rn,headerStyle:Rt,drawerStyle:De,bodyStyle:We,footerStyle:dt,children:Ot}=xe,$t=Ce.useCallback(Bt=>Ce.createElement("button",{type:"button",onClick:Rn,"aria-label":"Close",className:`${Ve}-close`},Bt),[Rn]),[Xt,Ht]=(0,ln.Z)(en,Gt,$t,void 0,!0),on=Ce.useMemo(()=>!Pt&&!Xt?null:Ce.createElement("div",{style:Rt,className:x()(`${Ve}-header`,{[`${Ve}-header-close-only`]:Xt&&!Pt&&!Tt})},Ce.createElement("div",{className:`${Ve}-header-title`},Ht,Pt&&Ce.createElement("div",{className:`${Ve}-title`},Pt)),Tt&&Ce.createElement("div",{className:`${Ve}-extra`},Tt)),[Xt,Ht,Tt,Rt,Ve,Pt]),At=Ce.useMemo(()=>{if(!Lt)return null;const Bt=`${Ve}-footer`;return Ce.createElement("div",{className:Bt,style:dt},Lt)},[Lt,dt,Ve]);return Ce.createElement("div",{className:`${Ve}-wrapper-body`,style:De},on,Ce.createElement("div",{className:`${Ve}-body`,style:We},Ot),At)},Jt=ue(33234),ha=ue(83116),_t=ue(37613),Nn=xe=>{const{componentCls:Ve,motionDurationSlow:Pt}=xe,Lt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Pt}`}}};return{[Ve]:{[`${Ve}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Pt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ve}-panel-motion`]:{"&-left":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Lt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const jn=xe=>{const{componentCls:Ve,zIndexPopup:Pt,colorBgMask:Lt,colorBgElevated:Tt,motionDurationSlow:Gt,motionDurationMid:en,padding:Rn,paddingLG:Rt,fontSizeLG:De,lineHeightLG:We,lineWidth:dt,lineType:Ot,colorSplit:$t,marginSM:Xt,colorIcon:Ht,colorIconHover:on,colorText:At,fontWeightStrong:Bt,footerPaddingBlock:nn,footerPaddingInline:ht}=xe,Ft=`${Ve}-content-wrapper`;return{[Ve]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none","&-pure":{position:"relative",background:Tt,[`&${Ve}-left`]:{boxShadow:xe.boxShadowDrawerLeft},[`&${Ve}-right`]:{boxShadow:xe.boxShadowDrawerRight},[`&${Ve}-top`]:{boxShadow:xe.boxShadowDrawerUp},[`&${Ve}-bottom`]:{boxShadow:xe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ve}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Lt,pointerEvents:"auto"},[Ft]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${Gt}`,"&-hidden":{display:"none"}},[`&-left > ${Ft}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:xe.boxShadowDrawerLeft},[`&-right > ${Ft}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:xe.boxShadowDrawerRight},[`&-top > ${Ft}`]:{top:0,insetInline:0,boxShadow:xe.boxShadowDrawerUp},[`&-bottom > ${Ft}`]:{bottom:0,insetInline:0,boxShadow:xe.boxShadowDrawerDown},[`${Ve}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Tt,pointerEvents:"auto"},[`${Ve}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ve}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Rn}px ${Rt}px`,fontSize:De,lineHeight:We,borderBottom:`${dt}px ${Ot} ${$t}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ve}-extra`]:{flex:"none"},[`${Ve}-close`]:{display:"inline-block",marginInlineEnd:Xt,color:Ht,fontWeight:Bt,fontSize:De,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${en}`,textRendering:"auto","&:focus, &:hover":{color:on,textDecoration:"none"}},[`${Ve}-title`]:{flex:1,margin:0,color:At,fontWeight:xe.fontWeightStrong,fontSize:De,lineHeight:We},[`${Ve}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Rt,overflow:"auto"},[`${Ve}-footer`]:{flexShrink:0,padding:`${nn}px ${ht}px`,borderTop:`${dt}px ${Ot} ${$t}`},"&-rtl":{direction:"rtl"}}}};var hn=(0,ha.Z)("Drawer",xe=>{const Ve=(0,_t.TS)(xe,{});return[jn(Ve),Nn(Ve)]},xe=>({zIndexPopup:xe.zIndexPopupBase,footerPaddingBlock:xe.paddingXS,footerPaddingInline:xe.padding})),tt=ue(11575),st=function(xe,Ve){var Pt={};for(var Lt in xe)Object.prototype.hasOwnProperty.call(xe,Lt)&&Ve.indexOf(Lt)<0&&(Pt[Lt]=xe[Lt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Lt=Object.getOwnPropertySymbols(xe);Tt{var Ve;const{rootClassName:Pt,width:Lt,height:Tt,size:Gt="default",mask:en=!0,push:Rn=Ln,open:Rt,afterOpenChange:De,onClose:We,prefixCls:dt,getContainer:Ot,style:$t,className:Xt,visible:Ht,afterVisibleChange:on}=xe,At=st(xe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Bt,getPrefixCls:nn,direction:ht,drawer:Ft}=Ce.useContext(ut.E_),Nt=nn("drawer",dt),[sn,yt]=hn(Nt),Mt=Ot===void 0&&Bt?()=>Bt(document.body):Ot,Tn=x()({"no-mask":!en,[`${Nt}-rtl`]:ht==="rtl"},Pt,yt),zt=Ce.useMemo(()=>Lt!=null?Lt:Gt==="large"?736:378,[Lt,Gt]),na=Ce.useMemo(()=>Tt!=null?Tt:Gt==="large"?736:378,[Tt,Gt]),Xa={motionName:(0,Xe.m)(Nt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},gr=za=>({motionName:(0,Xe.m)(Nt,`panel-motion-${za}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),lr=(0,tt.H)();return sn(Ce.createElement(Jt.BR,null,Ce.createElement(mn.Ux,{status:!0,override:!0},Ce.createElement(rt,Object.assign({prefixCls:Nt,onClose:We,maskMotion:Xa,motion:gr},At,{open:Rt!=null?Rt:Ht,mask:en,push:Rn,width:zt,height:na,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),$t),className:x()(Ft==null?void 0:Ft.className,Xt),rootClassName:Tn,getContainer:Mt,afterOpenChange:De!=null?De:on,panelRef:lr}),Ce.createElement(pn,Object.assign({prefixCls:Nt},At,{onClose:We}))))))},Un=xe=>{const{prefixCls:Ve,style:Pt,className:Lt,placement:Tt="right"}=xe,Gt=st(xe,["prefixCls","style","className","placement"]),{getPrefixCls:en}=Ce.useContext(ut.E_),Rn=en("drawer",Ve),[Rt,De]=hn(Rn),We=x()(Rn,`${Rn}-pure`,`${Rn}-${Tt}`,De,Lt);return Rt(Ce.createElement("div",{className:We,style:Pt},Ce.createElement(pn,Object.assign({prefixCls:Rn},Gt))))};un._InternalPanelDoNotUseOrYouWillBeFired=Un;var Le=un},44e3:function(we,St,ue){"use strict";var ae=ue(84966),x=ue(45818);const Oe=ae.ZP;Oe.Header=ae.h4,Oe.Footer=ae.$_,Oe.Content=ae.VY,Oe.Sider=x.Z,St.default=Oe},39722:function(we,St,ue){"use strict";ue.d(St,{t5:function(){return Me}});var ae=ue(92310),x=ue.n(ae),Oe=ue(55477),ke=ue(59301),Te=ue(36355),et=ue(77578),Ce=ue(17356),ct=function(mt,$e){var fe={};for(var a in mt)Object.prototype.hasOwnProperty.call(mt,a)&&$e.indexOf(a)<0&&(fe[a]=mt[a]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(mt);E{if(!(!$e&&!fe))return ke.createElement(ke.Fragment,null,$e&&ke.createElement("div",{className:`${mt}-title`},(0,et.Z)($e)),ke.createElement("div",{className:`${mt}-inner-content`},(0,et.Z)(fe)))},Me=mt=>{const{hashId:$e,prefixCls:fe,className:a,style:E,placement:b="top",title:y,content:ee,children:ne}=mt;return ke.createElement("div",{className:x()($e,fe,`${fe}-pure`,`${fe}-placement-${b}`,a),style:E},ke.createElement("div",{className:`${fe}-arrow`}),ke.createElement(Oe.G,Object.assign({},mt,{className:$e,prefixCls:fe}),ne||Ne(fe,y,ee)))},lt=mt=>{const{prefixCls:$e}=mt,fe=ct(mt,["prefixCls"]),{getPrefixCls:a}=ke.useContext(Te.E_),E=a("popover",$e),[b,y]=(0,Ce.Z)(E);return b(ke.createElement(Me,Object.assign({},fe,{prefixCls:E,hashId:y})))};St.ZP=lt},60324:function(we,St,ue){"use strict";var ae=ue(92310),x=ue.n(ae),Oe=ue(59301),ke=ue(77578),Te=ue(62892),et=ue(36355),Ce=ue(6848),ct=ue(39722),Ne=ue(17356),Me=function($e,fe){var a={};for(var E in $e)Object.prototype.hasOwnProperty.call($e,E)&&fe.indexOf(E)<0&&(a[E]=$e[E]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols($e);b{let{title:fe,content:a,prefixCls:E}=$e;return Oe.createElement(Oe.Fragment,null,fe&&Oe.createElement("div",{className:`${E}-title`},(0,ke.Z)(fe)),Oe.createElement("div",{className:`${E}-inner-content`},(0,ke.Z)(a)))},mt=Oe.forwardRef(($e,fe)=>{const{prefixCls:a,title:E,content:b,overlayClassName:y,placement:ee="top",trigger:ne="hover",mouseEnterDelay:se=.1,mouseLeaveDelay:ce=.1,overlayStyle:de={}}=$e,ye=Me($e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ae}=Oe.useContext(et.E_),Ge=Ae("popover",a),[Be,rt]=(0,Ne.Z)(Ge),Xe=Ae(),ut=x()(y,rt);return Be(Oe.createElement(Ce.Z,Object.assign({placement:ee,trigger:ne,mouseEnterDelay:se,mouseLeaveDelay:ce,overlayStyle:de},ye,{prefixCls:Ge,overlayClassName:ut,ref:fe,overlay:E||b?Oe.createElement(lt,{prefixCls:Ge,title:E,content:b}):null,transitionName:(0,Te.m)(Xe,"zoom-big",ye.transitionName),"data-popover-inject":!0})))});mt._InternalPanelDoNotUseOrYouWillBeFired=ct.ZP,St.Z=mt},17356:function(we,St,ue){"use strict";var ae=ue(17313),x=ue(29878),Oe=ue(19447),ke=ue(33166),Te=ue(83116),et=ue(37613);const Ce=Me=>{const{componentCls:lt,popoverColor:mt,minWidth:$e,fontWeightStrong:fe,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:ee,marginXS:ne,colorBgElevated:se,popoverBg:ce}=Me;return[{[lt]:Object.assign(Object.assign({},(0,ae.Wf)(Me)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":se,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${lt}-content`]:{position:"relative"},[`${lt}-inner`]:{backgroundColor:ce,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${lt}-title`]:{minWidth:$e,marginBottom:ne,color:b,fontWeight:fe},[`${lt}-inner-content`]:{color:mt}})},(0,Oe.ZP)(Me,{colorBg:"var(--antd-arrow-background-color)"}),{[`${lt}-pure`]:{position:"relative",maxWidth:"none",margin:Me.sizePopupArrow,display:"inline-block",[`${lt}-content`]:{display:"inline-block"}}}]},ct=Me=>{const{componentCls:lt}=Me;return{[lt]:ke.i.map(mt=>{const $e=Me[`${mt}6`];return{[`&${lt}-${mt}`]:{"--antd-arrow-background-color":$e,[`${lt}-inner`]:{backgroundColor:$e},[`${lt}-arrow`]:{background:"transparent"}}}})}},Ne=Me=>{const{componentCls:lt,lineWidth:mt,lineType:$e,colorSplit:fe,paddingSM:a,controlHeight:E,fontSize:b,lineHeight:y,padding:ee}=Me,ne=E-Math.round(b*y),se=ne/2,ce=ne/2-mt,de=ee;return{[lt]:{[`${lt}-inner`]:{padding:0},[`${lt}-title`]:{margin:0,padding:`${se}px ${de}px ${ce}px`,borderBottom:`${mt}px ${$e} ${fe}`},[`${lt}-inner-content`]:{padding:`${a}px ${de}px`}}}};St.Z=(0,Te.Z)("Popover",Me=>{const{colorBgElevated:lt,colorText:mt,wireframe:$e}=Me,fe=(0,et.TS)(Me,{popoverPadding:12,popoverBg:lt,popoverColor:mt});return[Ce(fe),ct(fe),$e&&Ne(fe),(0,x._y)(fe,"zoom-big")]},Me=>({width:177,minWidth:177,zIndexPopup:Me.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(we,St,ue){"use strict";ue.d(St,{Z:function(){return Rt}});var ae=ue(92310),x=ue.n(ae),Oe=ue(74430),ke=ue(3300),Te=ue(11913),et=ue(34666),Ce=ue(59301),ct=ue(13697),Ne=ue(18929),Me=ue(32855),lt=ue(43079),mt=ue(27247),$e=ue(10228),fe=Ce.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),a=fe;function E(De,We,dt){return(De-We)/(dt-We)}function b(De,We,dt,Ot){var $t=E(We,dt,Ot),Xt={};switch(De){case"rtl":Xt.right="".concat($t*100,"%"),Xt.transform="translateX(50%)";break;case"btt":Xt.bottom="".concat($t*100,"%"),Xt.transform="translateY(50%)";break;case"ttb":Xt.top="".concat($t*100,"%"),Xt.transform="translateY(-50%)";break;default:Xt.left="".concat($t*100,"%"),Xt.transform="translateX(-50%)";break}return Xt}function y(De,We){return Array.isArray(De)?De[We]:De}var ee=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],ne=Ce.forwardRef(function(De,We){var dt,Ot,$t=De.prefixCls,Xt=De.value,Ht=De.valueIndex,on=De.onStartMove,At=De.style,Bt=De.render,nn=De.dragging,ht=De.onOffsetChange,Ft=(0,lt.Z)(De,ee),Nt=Ce.useContext(a),sn=Nt.min,yt=Nt.max,Mt=Nt.direction,Tn=Nt.disabled,zt=Nt.keyboard,na=Nt.range,Xa=Nt.tabIndex,gr=Nt.ariaLabelForHandle,lr=Nt.ariaLabelledByForHandle,za=Nt.ariaValueTextFormatterForHandle,Mr="".concat($t,"-handle"),br=function(Ur){Tn||on(Ur,Ht)},rr=function(Ur){if(!Tn&&zt){var _r=null;switch(Ur.which||Ur.keyCode){case $e.Z.LEFT:_r=Mt==="ltr"||Mt==="btt"?-1:1;break;case $e.Z.RIGHT:_r=Mt==="ltr"||Mt==="btt"?1:-1;break;case $e.Z.UP:_r=Mt!=="ttb"?1:-1;break;case $e.Z.DOWN:_r=Mt!=="ttb"?-1:1;break;case $e.Z.HOME:_r="min";break;case $e.Z.END:_r="max";break;case $e.Z.PAGE_UP:_r=2;break;case $e.Z.PAGE_DOWN:_r=-2;break}_r!==null&&(Ur.preventDefault(),ht(_r,Ht))}},fr=b(Mt,Xt,sn,yt),or=Ce.createElement("div",(0,Me.Z)({ref:We,className:x()(Mr,(dt={},(0,Oe.Z)(dt,"".concat(Mr,"-").concat(Ht+1),na),(0,Oe.Z)(dt,"".concat(Mr,"-dragging"),nn),dt)),style:(0,mt.Z)((0,mt.Z)({},fr),At),onMouseDown:br,onTouchStart:br,onKeyDown:rr,tabIndex:Tn?null:y(Xa,Ht),role:"slider","aria-valuemin":sn,"aria-valuemax":yt,"aria-valuenow":Xt,"aria-disabled":Tn,"aria-label":y(gr,Ht),"aria-labelledby":y(lr,Ht),"aria-valuetext":(Ot=y(za,Ht))===null||Ot===void 0?void 0:Ot(Xt),"aria-orientation":Mt==="ltr"||Mt==="rtl"?"horizontal":"vertical"},Ft));return Bt&&(or=Bt(or,{index:Ht,prefixCls:$t,value:Xt,dragging:nn})),or}),se=ne,ce=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],de=Ce.forwardRef(function(De,We){var dt=De.prefixCls,Ot=De.style,$t=De.onStartMove,Xt=De.onOffsetChange,Ht=De.values,on=De.handleRender,At=De.draggingIndex,Bt=(0,lt.Z)(De,ce),nn=Ce.useRef({});return Ce.useImperativeHandle(We,function(){return{focus:function(Ft){var Nt;(Nt=nn.current[Ft])===null||Nt===void 0||Nt.focus()}}}),Ce.createElement(Ce.Fragment,null,Ht.map(function(ht,Ft){return Ce.createElement(se,(0,Me.Z)({ref:function(sn){sn?nn.current[Ft]=sn:delete nn.current[Ft]},dragging:At===Ft,prefixCls:dt,style:y(Ot,Ft),key:Ft,value:ht,valueIndex:Ft,onStartMove:$t,onOffsetChange:Xt,render:on},Bt))}))}),ye=de;function Ae(De){var We="touches"in De?De.touches[0]:De;return{pageX:We.pageX,pageY:We.pageY}}function Ge(De,We,dt,Ot,$t,Xt,Ht,on,At){var Bt=Ce.useState(null),nn=(0,Te.Z)(Bt,2),ht=nn[0],Ft=nn[1],Nt=Ce.useState(-1),sn=(0,Te.Z)(Nt,2),yt=sn[0],Mt=sn[1],Tn=Ce.useState(dt),zt=(0,Te.Z)(Tn,2),na=zt[0],Xa=zt[1],gr=Ce.useState(dt),lr=(0,Te.Z)(gr,2),za=lr[0],Mr=lr[1],br=Ce.useRef(null),rr=Ce.useRef(null);Ce.useEffect(function(){yt===-1&&Xa(dt)},[dt,yt]),Ce.useEffect(function(){return function(){document.removeEventListener("mousemove",br.current),document.removeEventListener("mouseup",rr.current),document.removeEventListener("touchmove",br.current),document.removeEventListener("touchend",rr.current)}},[]);var fr=function(bn,On){na.some(function(Ut,fn){return Ut!==bn[fn]})&&(On!==void 0&&Ft(On),Xa(bn),Ht(bn))},or=function(bn,On){if(bn===-1){var Ut=za[0],fn=za[za.length-1],Hn=Ot-Ut,ma=$t-fn,Qe=On*($t-Ot);Qe=Math.max(Qe,Hn),Qe=Math.min(Qe,ma);var gt=Xt(Ut+Qe);Qe=gt-Ut;var it=za.map(function(Wa){return Wa+Qe});fr(it)}else{var Vn=($t-Ot)*On,Gn=(0,ke.Z)(na);Gn[bn]=za[bn];var Qn=At(Gn,Vn,bn,"dist");fr(Qn.values,Qn.value)}},Za=Ce.useRef(or);Za.current=or;var Ur=function(bn,On){bn.stopPropagation();var Ut=dt[On];Mt(On),Ft(Ut),Mr(dt);var fn=Ae(bn),Hn=fn.pageX,ma=fn.pageY,Qe=function(Vn){Vn.preventDefault();var Gn=Ae(Vn),Qn=Gn.pageX,Wa=Gn.pageY,wa=Qn-Hn,va=Wa-ma,Ma=De.current.getBoundingClientRect(),Fa=Ma.width,Sn=Ma.height,Ba;switch(We){case"btt":Ba=-va/Sn;break;case"ttb":Ba=va/Sn;break;case"rtl":Ba=-wa/Fa;break;default:Ba=wa/Fa}Za.current(On,Ba)},gt=function it(Vn){Vn.preventDefault(),document.removeEventListener("mouseup",it),document.removeEventListener("mousemove",Qe),document.removeEventListener("touchend",it),document.removeEventListener("touchmove",Qe),br.current=null,rr.current=null,Mt(-1),on()};document.addEventListener("mouseup",gt),document.addEventListener("mousemove",Qe),document.addEventListener("touchend",gt),document.addEventListener("touchmove",Qe),br.current=Qe,rr.current=gt},_r=Ce.useMemo(function(){var bt=(0,ke.Z)(dt).sort(function(On,Ut){return On-Ut}),bn=(0,ke.Z)(na).sort(function(On,Ut){return On-Ut});return bt.every(function(On,Ut){return On===bn[Ut]})?na:dt},[dt,na]);return[yt,ht,_r,Ur]}function Be(De){var We,dt=De.prefixCls,Ot=De.style,$t=De.start,Xt=De.end,Ht=De.index,on=De.onStartMove,At=Ce.useContext(a),Bt=At.direction,nn=At.min,ht=At.max,Ft=At.disabled,Nt=At.range,sn="".concat(dt,"-track"),yt=E($t,nn,ht),Mt=E(Xt,nn,ht),Tn=function(Xa){!Ft&&on&&on(Xa,-1)},zt={};switch(Bt){case"rtl":zt.right="".concat(yt*100,"%"),zt.width="".concat(Mt*100-yt*100,"%");break;case"btt":zt.bottom="".concat(yt*100,"%"),zt.height="".concat(Mt*100-yt*100,"%");break;case"ttb":zt.top="".concat(yt*100,"%"),zt.height="".concat(Mt*100-yt*100,"%");break;default:zt.left="".concat(yt*100,"%"),zt.width="".concat(Mt*100-yt*100,"%")}return Ce.createElement("div",{className:x()(sn,(We={},(0,Oe.Z)(We,"".concat(sn,"-").concat(Ht+1),Nt),(0,Oe.Z)(We,"".concat(dt,"-track-draggable"),on),We)),style:(0,mt.Z)((0,mt.Z)({},zt),Ot),onMouseDown:Tn,onTouchStart:Tn})}function rt(De){var We=De.prefixCls,dt=De.style,Ot=De.values,$t=De.startPoint,Xt=De.onStartMove,Ht=Ce.useContext(a),on=Ht.included,At=Ht.range,Bt=Ht.min,nn=Ce.useMemo(function(){if(!At){if(Ot.length===0)return[];var ht=$t!=null?$t:Bt,Ft=Ot[0];return[{start:Math.min(ht,Ft),end:Math.max(ht,Ft)}]}for(var Nt=[],sn=0;sn3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof yt=="number"){var zt,na=sn[Mt],Xa=na+yt,gr=[];Ot.forEach(function(rr){gr.push(rr.value)}),gr.push(De,We),gr.push(on(na));var lr=yt>0?1:-1;Tn==="unit"?gr.push(on(na+lr*dt)):gr.push(on(Xa)),gr=gr.filter(function(rr){return rr!==null}).filter(function(rr){return yt<0?rr<=na:rr>=na}),Tn==="unit"&&(gr=gr.filter(function(rr){return rr!==na}));var za=Tn==="unit"?na:Xa;zt=gr[0];var Mr=Math.abs(zt-za);if(gr.forEach(function(rr){var fr=Math.abs(rr-za);fr1){var br=(0,ke.Z)(sn);return br[Mt]=zt,Nt(br,yt-lr,Mt,Tn)}return zt}else{if(yt==="min")return De;if(yt==="max")return We}},nn=function(sn,yt,Mt){var Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",zt=sn[Mt],na=Bt(sn,yt,Mt,Tn);return{value:na,changed:na!==zt}},ht=function(sn){return Xt===null&&sn===0||typeof Xt=="number"&&sn3&&arguments[3]!==void 0?arguments[3]:"unit",zt=sn.map(At),na=zt[Mt],Xa=Bt(zt,yt,Mt,Tn);if(zt[Mt]=Xa,$t===!1){var gr=Xt||0;Mt>0&&zt[Mt-1]!==na&&(zt[Mt]=Math.max(zt[Mt],zt[Mt-1]+gr)),Mt0;br-=1)for(var rr=!0;ht(zt[br]-zt[br-1])&&rr;){var fr=nn(zt,-1,br-1);zt[br-1]=fr.value,rr=fr.changed}for(var or=zt.length-1;or>0;or-=1)for(var Za=!0;ht(zt[or]-zt[or-1])&&Za;){var Ur=nn(zt,-1,or-1);zt[or-1]=Ur.value,Za=Ur.changed}for(var _r=0;_r=0?Ur:!1},[Ur,cn]),vr=Ce.useMemo(function(){var hr=Object.keys(Vn||{});return hr.map(function(Ea){var ta=Vn[Ea],Ra={value:Number(Ea)};return ta&&(0,et.Z)(ta)==="object"&&!Ce.isValidElement(ta)&&("label"in ta||"style"in ta)?(Ra.style=ta.style,Ra.label=ta.label):Ra.label=ta,Ra}).filter(function(Ea){var ta=Ea.label;return ta||typeof ta=="number"}).sort(function(Ea,ta){return Ea.value-ta.value})},[Vn]),lo=En(oo,Kn,cn,vr,or,Io),Tr=(0,Te.Z)(lo,2),_o=Tr[0],Co=Tr[1],Uo=(0,Ne.Z)(gr,{value:Xa}),jr=(0,Te.Z)(Uo,2),vo=jr[0],kn=jr[1],Rr=Ce.useMemo(function(){var hr=vo==null?[]:Array.isArray(vo)?vo:[vo],Ea=(0,Te.Z)(hr,1),ta=Ea[0],Ra=ta===void 0?oo:ta,kr=vo===null?[]:[Ra];if(lr){if(kr=(0,ke.Z)(hr),za||vo===void 0){var ho=za>=0?za+1:2;for(kr=kr.slice(0,ho);kr.length=0&&Sn.current.focus(hr)}xn(null)},[pa]);var rn=Ce.useMemo(function(){return _r&&cn===null?!1:_r},[_r,cn]),da=function(){rr==null||rr(io(uo.current))},Gr=Ge(Ba,Br,Rr,oo,Kn,_o,xt,da,Co),po=(0,Te.Z)(Gr,4),jo=po[0],cr=po[1],ka=po[2],Dr=po[3],Lr=function(Ea,ta){Dr(Ea,ta),br==null||br(io(uo.current))},Ir=jo!==-1;Ce.useEffect(function(){if(!Ir){var hr=Rr.lastIndexOf(cr);Sn.current.focus(hr)}},[Ir]);var Kr=Ce.useMemo(function(){return(0,ke.Z)(ka).sort(function(hr,Ea){return hr-Ea})},[ka]),ja=Ce.useMemo(function(){return lr?[Kr[0],Kr[Kr.length-1]]:[oo,Kr[0]]},[Kr,lr,oo]),Ka=(0,Te.Z)(ja,2),mr=Ka[0],xr=Ka[1];Ce.useImperativeHandle(We,function(){return{focus:function(){Sn.current.focus(0)},blur:function(){var Ea=document,ta=Ea.activeElement;Ba.current.contains(ta)&&(ta==null||ta.blur())}}}),Ce.useEffect(function(){ht&&Sn.current.focus(0)},[]);var Hr=Ce.useMemo(function(){return{min:oo,max:Kn,direction:Br,disabled:At,keyboard:nn,step:cn,included:Ut,includedStart:mr,includedEnd:xr,range:lr,tabIndex:wa,ariaLabelForHandle:va,ariaLabelledByForHandle:Ma,ariaValueTextFormatterForHandle:Fa}},[oo,Kn,Br,At,nn,cn,Ut,mr,xr,lr,wa,va,Ma,Fa]);return Ce.createElement(a.Provider,{value:Hr},Ce.createElement("div",{ref:Ba,className:x()($t,Xt,(dt={},(0,Oe.Z)(dt,"".concat($t,"-disabled"),At),(0,Oe.Z)(dt,"".concat($t,"-vertical"),bn),(0,Oe.Z)(dt,"".concat($t,"-horizontal"),!bn),(0,Oe.Z)(dt,"".concat($t,"-with-marks"),vr.length),dt)),style:Ht,onMouseDown:He},Ce.createElement("div",{className:"".concat($t,"-rail"),style:Qe}),Ce.createElement(rt,{prefixCls:$t,style:Hn,values:Kr,startPoint:fn,onStartMove:rn?Lr:null}),Ce.createElement(ln,{prefixCls:$t,marks:vr,dots:Gn,style:gt,activeStyle:it}),Ce.createElement(ye,{ref:Sn,prefixCls:$t,style:ma,values:ka,draggingIndex:jo,onStartMove:Lr,onOffsetChange:ya,onFocus:Ft,onBlur:Nt,handleRender:Qn}),Ce.createElement(ut,{prefixCls:$t,marks:vr,onClick:qe})))}),ha=Jt,_t=ha,an=ue(36355),Nn=ue(1684),jn=ue(16089),hn=ue(8654),tt=ue(6848),wt=Ce.forwardRef((De,We)=>{const{open:dt}=De,Ot=(0,Ce.useRef)(null),$t=(0,Ce.useRef)(null);function Xt(){jn.Z.cancel($t.current),$t.current=null}function Ht(){$t.current=(0,jn.Z)(()=>{var on;(on=Ot.current)===null||on===void 0||on.forceAlign(),$t.current=null})}return Ce.useEffect(()=>(dt?Ht():Xt(),Xt),[dt,De.title]),Ce.createElement(tt.Z,Object.assign({ref:(0,hn.sQ)(Ot,We)},De))}),Ln=ue(64993),un=ue(17313),Un=ue(83116),Le=ue(37613);const xe=De=>{const{componentCls:We,antCls:dt,controlSize:Ot,dotSize:$t,marginFull:Xt,marginPart:Ht,colorFillContentHover:on}=De;return{[We]:Object.assign(Object.assign({},(0,un.Wf)(De)),{position:"relative",height:Ot,margin:`${Ht}px ${Xt}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Xt}px ${Ht}px`},[`${We}-rail`]:{position:"absolute",backgroundColor:De.railBg,borderRadius:De.borderRadiusXS,transition:`background-color ${De.motionDurationMid}`},[`${We}-track`]:{position:"absolute",backgroundColor:De.trackBg,borderRadius:De.borderRadiusXS,transition:`background-color ${De.motionDurationMid}`},[`${We}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${We}-rail`]:{backgroundColor:De.railHoverBg},[`${We}-track`]:{backgroundColor:De.trackHoverBg},[`${We}-dot`]:{borderColor:on},[`${We}-handle::after`]:{boxShadow:`0 0 0 ${De.handleLineWidth}px ${De.colorPrimaryBorderHover}`},[`${We}-dot-active`]:{borderColor:De.dotActiveBorderColor}},[`${We}-handle`]:{position:"absolute",width:De.handleSize,height:De.handleSize,outline:"none",[`${We}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-De.handleLineWidth,insetBlockStart:-De.handleLineWidth,width:De.handleSize+De.handleLineWidth*2,height:De.handleSize+De.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:De.handleSize,height:De.handleSize,backgroundColor:De.colorBgElevated,boxShadow:`0 0 0 ${De.handleLineWidth}px ${De.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${De.motionDurationMid}, - inset-block-start ${De.motionDurationMid}, - width ${De.motionDurationMid}, - height ${De.motionDurationMid}, - box-shadow ${De.motionDurationMid} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((De.handleSizeHover-De.handleSize)/2+De.handleLineWidthHover),insetBlockStart:-((De.handleSizeHover-De.handleSize)/2+De.handleLineWidthHover),width:De.handleSizeHover+De.handleLineWidthHover*2,height:De.handleSizeHover+De.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${De.handleLineWidthHover}px ${De.handleActiveColor}`,width:De.handleSizeHover,height:De.handleSizeHover,insetInlineStart:(De.handleSize-De.handleSizeHover)/2,insetBlockStart:(De.handleSize-De.handleSizeHover)/2}}},[`${We}-mark`]:{position:"absolute",fontSize:De.fontSize},[`${We}-mark-text`]:{position:"absolute",display:"inline-block",color:De.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:De.colorText}},[`${We}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${We}-dot`]:{position:"absolute",width:$t,height:$t,backgroundColor:De.colorBgElevated,border:`${De.handleLineWidth}px solid ${De.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${De.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:De.dotActiveBorderColor}},[`&${We}-disabled`]:{cursor:"not-allowed",[`${We}-rail`]:{backgroundColor:`${De.railBg} !important`},[`${We}-track`]:{backgroundColor:`${De.trackBgDisabled} !important`},[` - ${We}-dot - `]:{backgroundColor:De.colorBgElevated,borderColor:De.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${We}-handle::after`]:{backgroundColor:De.colorBgElevated,cursor:"not-allowed",width:De.handleSize,height:De.handleSize,boxShadow:`0 0 0 ${De.handleLineWidth}px ${new Ln.C(De.colorTextDisabled).onBackground(De.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` - ${We}-mark-text, - ${We}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${dt}-tooltip-inner`]:{minWidth:"unset"}})}},Ve=(De,We)=>{const{componentCls:dt,railSize:Ot,handleSize:$t,dotSize:Xt}=De,Ht=We?"paddingBlock":"paddingInline",on=We?"width":"height",At=We?"height":"width",Bt=We?"insetBlockStart":"insetInlineStart",nn=We?"top":"insetInlineStart",ht=(Ot*3-$t)/2,Ft=($t-Ot)/2,Nt=We?{borderWidth:`${Ft}px 0`,transform:`translateY(-${Ft}px)`}:{borderWidth:`0 ${Ft}px`,transform:`translateX(-${Ft}px)`};return{[Ht]:Ot,[At]:Ot*3,[`${dt}-rail`]:{[on]:"100%",[At]:Ot},[`${dt}-track`]:{[At]:Ot},[`${dt}-track-draggable`]:Object.assign({},Nt),[`${dt}-handle`]:{[Bt]:ht},[`${dt}-mark`]:{insetInlineStart:0,top:0,[nn]:Ot*3+(We?0:De.marginFull),[on]:"100%"},[`${dt}-step`]:{insetInlineStart:0,top:0,[nn]:Ot,[on]:"100%",[At]:Ot},[`${dt}-dot`]:{position:"absolute",[Bt]:(Ot-Xt)/2}}},Pt=De=>{const{componentCls:We,marginPartWithMark:dt}=De;return{[`${We}-horizontal`]:Object.assign(Object.assign({},Ve(De,!0)),{[`&${We}-with-marks`]:{marginBottom:dt}})}},Lt=De=>{const{componentCls:We}=De;return{[`${We}-vertical`]:Object.assign(Object.assign({},Ve(De,!1)),{height:"100%"})}};var Tt=(0,Un.Z)("Slider",De=>{const We=(0,Le.TS)(De,{marginPart:(De.controlHeight-De.controlSize)/2,marginFull:De.controlSize/2,marginPartWithMark:De.controlHeightLG-De.controlSize});return[xe(We),Pt(We),Lt(We)]},De=>{const dt=De.controlHeightLG/4,Ot=De.controlHeightSM/2,$t=De.lineWidth+1,Xt=De.lineWidth+1*3;return{controlSize:dt,railSize:4,handleSize:dt,handleSizeHover:Ot,dotSize:8,handleLineWidth:$t,handleLineWidthHover:Xt,railBg:De.colorFillTertiary,railHoverBg:De.colorFillSecondary,trackBg:De.colorPrimaryBorder,trackHoverBg:De.colorPrimaryBorderHover,handleColor:De.colorPrimaryBorder,handleActiveColor:De.colorPrimary,dotBorderColor:De.colorBorderSecondary,dotActiveBorderColor:De.colorPrimaryBorder,trackBgDisabled:De.colorBgContainerDisabled}}),Gt=function(De,We){var dt={};for(var Ot in De)Object.prototype.hasOwnProperty.call(De,Ot)&&We.indexOf(Ot)<0&&(dt[Ot]=De[Ot]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Ot=Object.getOwnPropertySymbols(De);$ttypeof De=="number"?De.toString():"";var Rt=Ce.forwardRef((De,We)=>{const{prefixCls:dt,range:Ot,className:$t,rootClassName:Xt,style:Ht,disabled:on,tooltipPrefixCls:At,tipFormatter:Bt,tooltipVisible:nn,getTooltipPopupContainer:ht,tooltipPlacement:Ft}=De,Nt=Gt(De,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:sn,slider:yt,getPrefixCls:Mt,getPopupContainer:Tn}=Ce.useContext(an.E_),zt=Ce.useContext(Nn.Z),na=on!=null?on:zt,[Xa,gr]=Ce.useState({}),lr=(bt,bn)=>{gr(On=>Object.assign(Object.assign({},On),{[bt]:bn}))},za=(bt,bn)=>bt||(bn?sn==="rtl"?"left":"right":"top"),Mr=Mt("slider",dt),[br,rr]=Tt(Mr),fr=x()($t,yt==null?void 0:yt.className,Xt,{[`${Mr}-rtl`]:sn==="rtl"},rr);sn==="rtl"&&!Nt.vertical&&(Nt.reverse=!Nt.reverse);const[or,Za]=Ce.useMemo(()=>Ot?typeof Ot=="object"?[!0,Ot.draggableTrack]:[!0,!1]:[!1],[Ot]),Ur=(bt,bn)=>{var On;const{index:Ut,dragging:fn}=bn,{tooltip:Hn={},vertical:ma}=De,Qe=Object.assign({},Hn),{open:gt,placement:it,getPopupContainer:Vn,prefixCls:Gn,formatter:Qn}=Qe;let Wa;Qn||Qn===null?Wa=Qn:Bt||Bt===null?Wa=Bt:Wa=en;const wa=Wa?Xa[Ut]||fn:!1,va=(On=gt!=null?gt:nn)!==null&&On!==void 0?On:gt===void 0&&wa,Ma=Object.assign(Object.assign({},bt.props),{onMouseEnter:()=>lr(Ut,!0),onMouseLeave:()=>lr(Ut,!1)}),Fa=Mt("tooltip",Gn!=null?Gn:At);return Ce.createElement(wt,Object.assign({},Qe,{prefixCls:Fa,title:Wa?Wa(bn.value):"",open:va,placement:za(it!=null?it:Ft,ma),key:Ut,overlayClassName:`${Mr}-tooltip`,getPopupContainer:Vn||ht||Tn}),Ce.cloneElement(bt,Ma))},_r=Object.assign(Object.assign({},yt==null?void 0:yt.style),Ht);return br(Ce.createElement(_t,Object.assign({},Nt,{step:Nt.step,range:or,draggableTrack:Za,className:fr,style:_r,disabled:na,ref:We,prefixCls:Mr,handleRender:Ur})))})},10527:function(we,St,ue){"use strict";var ae,x=ue(12659).default;ae={value:!0},St.Z=void 0;var Oe=x(ue(65835)),ke=x(ue(6432));const Te={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},Oe.default),timePickerLocale:Object.assign({},ke.default)};Te.lang.ok="\u786E\u5B9A";var et=Te;St.Z=et},6432:function(we,St){"use strict";Object.defineProperty(St,"__esModule",{value:!0}),St.default=void 0;var ae={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};St.default=ae},65835:function(we,St){"use strict";Object.defineProperty(St,"__esModule",{value:!0}),St.default=void 0;var ue={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},ae=ue;St.default=ae},19306:function(we,St,ue){"use strict";ue.d(St,{Z5:function(){return Ju},_l:function(){return fg},bK:function(){return Eg}});var ae=ue(59301),x=ue(67489);function Oe(z,te){z.prototype=Object.create(te.prototype),z.prototype.constructor=z,(0,x.Z)(z,te)}var ke=ue(32855),Te=ue(59781),et=ae.createContext(null),Ce=null;function ct(z){z()}var Ne=ct,Me=function(te){return Ne=te},lt=function(){return Ne};function mt(){var z=lt(),te=null,ie=null;return{clear:function(){te=null,ie=null},notify:function(){z(function(){for(var Ee=te;Ee;)Ee.callback(),Ee=Ee.next})},get:function(){for(var Ee=[],Pe=te;Pe;)Ee.push(Pe),Pe=Pe.next;return Ee},subscribe:function(Ee){var Pe=!0,Fe=ie={callback:Ee,next:null,prev:ie};return Fe.prev?Fe.prev.next=Fe:te=Fe,function(){!Pe||te===null||(Pe=!1,Fe.next?Fe.next.prev=Fe.prev:ie=Fe.prev,Fe.prev?Fe.prev.next=Fe.next:te=Fe.next)}}}}var $e={notify:function(){},get:function(){return[]}};function fe(z,te){var ie,ge=$e;function Ee(Ue){return Ke(),ge.subscribe(Ue)}function Pe(){ge.notify()}function Fe(){nt.onStateChange&&nt.onStateChange()}function be(){return!!ie}function Ke(){ie||(ie=te?te.addNestedSub(Fe):z.subscribe(Fe),ge=mt())}function ot(){ie&&(ie(),ie=void 0,ge.clear(),ge=$e)}var nt={addNestedSub:Ee,notifyNestedSubs:Pe,handleChangeWrapper:Fe,isSubscribed:be,trySubscribe:Ke,tryUnsubscribe:ot,getListeners:function(){return ge}};return nt}var a=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ae.useLayoutEffect:ae.useEffect;function E(z){var te=z.store,ie=z.context,ge=z.children,Ee=(0,ae.useMemo)(function(){var be=fe(te);return{store:te,subscription:be}},[te]),Pe=(0,ae.useMemo)(function(){return te.getState()},[te]);a(function(){var be=Ee.subscription;return be.onStateChange=be.notifyNestedSubs,be.trySubscribe(),Pe!==te.getState()&&be.notifyNestedSubs(),function(){be.tryUnsubscribe(),be.onStateChange=null}},[Ee,Pe]);var Fe=ie||et;return ae.createElement(Fe.Provider,{value:Ee},ge)}var b=E,y=ue(12687),ee=ue(94266),ne=ue.n(ee),se=ue(53410),ce=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],de=["reactReduxForwardedRef"],ye=[],Ae=[null,null],Ge=function(te){try{return JSON.stringify(te)}catch(ie){return String(te)}};function Be(z,te){var ie=z[1];return[te.payload,ie+1]}function rt(z,te,ie){a(function(){return z.apply(void 0,te)},ie)}function Xe(z,te,ie,ge,Ee,Pe,Fe){z.current=ge,te.current=Ee,ie.current=!1,Pe.current&&(Pe.current=null,Fe())}function ut(z,te,ie,ge,Ee,Pe,Fe,be,Ke,ot){if(z){var nt=!1,Ue=null,Je=function(){if(!nt){var fa=te.getState(),Sa,Ia;try{Sa=ge(fa,Ee.current)}catch($a){Ia=$a,Ue=$a}Ia||(Ue=null),Sa===Pe.current?Fe.current||Ke():(Pe.current=Sa,be.current=Sa,Fe.current=!0,ot({type:"STORE_UPDATED",payload:{error:Ia}}))}};ie.onStateChange=Je,ie.trySubscribe(),Je();var Et=function(){if(nt=!0,ie.tryUnsubscribe(),ie.onStateChange=null,Ue)throw Ue};return Et}}var mn=function(){return[null,0]};function ln(z,te){te===void 0&&(te={});var ie=te,ge=ie.getDisplayName,Ee=ge===void 0?function(ro){return"ConnectAdvanced("+ro+")"}:ge,Pe=ie.methodName,Fe=Pe===void 0?"connectAdvanced":Pe,be=ie.renderCountProp,Ke=be===void 0?void 0:be,ot=ie.shouldHandleStateChanges,nt=ot===void 0?!0:ot,Ue=ie.storeKey,Je=Ue===void 0?"store":Ue,Et=ie.withRef,tn=Et===void 0?!1:Et,fa=ie.forwardRef,Sa=fa===void 0?!1:fa,Ia=ie.context,$a=Ia===void 0?et:Ia,dr=(0,y.Z)(ie,ce);if(0)var ar;var ao=$a;return function(To){var Wl=To.displayName||To.name||"Component",zo=Ee(Wl),Ol=(0,ke.Z)({},dr,{getDisplayName:Ee,methodName:Fe,renderCountProp:Ke,shouldHandleStateChanges:nt,storeKey:Je,displayName:zo,wrappedComponentName:Wl,WrappedComponent:To}),su=dr.pure;function pu(cu){return z(cu.dispatch,Ol)}var Di=su?ae.useMemo:function(cu){return cu()};function Ru(cu){var hu=(0,ae.useMemo)(function(){var pc=cu.reactReduxForwardedRef,Kd=(0,y.Z)(cu,de);return[cu.context,pc,Kd]},[cu]),du=hu[0],dc=hu[1],ki=hu[2],is=(0,ae.useMemo)(function(){return du&&du.Consumer&&(0,se.isContextConsumer)(ae.createElement(du.Consumer,null))?du:ao},[du,ao]),Zi=(0,ae.useContext)(is),ss=!!cu.store&&!!cu.store.getState&&!!cu.store.dispatch,rd=!!Zi&&!!Zi.store,ku=ss?cu.store:Zi.store,gc=(0,ae.useMemo)(function(){return pu(ku)},[ku]),mc=(0,ae.useMemo)(function(){if(!nt)return Ae;var pc=fe(ku,ss?null:Zi.subscription),Kd=pc.notifyNestedSubs.bind(pc);return[pc,Kd]},[ku,ss,Zi]),Rs=mc[0],od=mc[1],fc=(0,ae.useMemo)(function(){return ss?Zi:(0,ke.Z)({},Zi,{subscription:Rs})},[ss,Zi,Rs]),jd=(0,ae.useReducer)(Be,ye,mn),Pg=jd[0],cs=Pg[0],em=jd[1];if(cs&&cs.error)throw cs.error;var Sg=(0,ae.useRef)(),ld=(0,ae.useRef)(ki),ud=(0,ae.useRef)(),vc=(0,ae.useRef)(!1),id=Di(function(){return ud.current&&ki===ld.current?ud.current:gc(ku.getState(),ki)},[ku,cs,ki]);rt(Xe,[ld,Sg,vc,ki,id,ud,od]),rt(ut,[nt,ku,Rs,gc,ld,Sg,vc,ud,od,em],[ku,Rs,gc]);var sd=(0,ae.useMemo)(function(){return ae.createElement(To,(0,ke.Z)({},id,{ref:dc}))},[dc,To,id]),Fg=(0,ae.useMemo)(function(){return nt?ae.createElement(is.Provider,{value:fc},sd):sd},[is,sd,fc]);return Fg}var Tu=su?ae.memo(Ru):Ru;if(Tu.WrappedComponent=To,Tu.displayName=Ru.displayName=zo,Sa){var gi=ae.forwardRef(function(hu,du){return ae.createElement(Tu,(0,ke.Z)({},hu,{reactReduxForwardedRef:du}))});return gi.displayName=zo,gi.WrappedComponent=To,ne()(gi,To)}return ne()(Tu,To)}}function En(z,te){return z===te?z!==0||te!==0||1/z===1/te:z!==z&&te!==te}function pn(z,te){if(En(z,te))return!0;if(typeof z!="object"||z===null||typeof te!="object"||te===null)return!1;var ie=Object.keys(z),ge=Object.keys(te);if(ie.length!==ge.length)return!1;for(var Ee=0;Ee=0;ge--){var Ee=te[ge](z);if(Ee)return Ee}return function(Pe,Fe){throw new Error("Invalid value of type "+typeof z+" for "+ie+" argument when connecting component "+Fe.wrappedComponentName+".")}}function Rt(z,te){return z===te}function De(z){var te=z===void 0?{}:z,ie=te.connectHOC,ge=ie===void 0?ln:ie,Ee=te.mapStateToPropsFactories,Pe=Ee===void 0?Ln:Ee,Fe=te.mapDispatchToPropsFactories,be=Fe===void 0?tt:Fe,Ke=te.mergePropsFactories,ot=Ke===void 0?Ve:Ke,nt=te.selectorFactory,Ue=nt===void 0?Gt:nt;return function(Et,tn,fa,Sa){Sa===void 0&&(Sa={});var Ia=Sa,$a=Ia.pure,dr=$a===void 0?!0:$a,ar=Ia.areStatesEqual,ao=ar===void 0?Rt:ar,ro=Ia.areOwnPropsEqual,To=ro===void 0?pn:ro,Wl=Ia.areStatePropsEqual,zo=Wl===void 0?pn:Wl,Ol=Ia.areMergedPropsEqual,su=Ol===void 0?pn:Ol,pu=(0,y.Z)(Ia,en),Di=Rn(Et,Pe,"mapStateToProps"),Ru=Rn(tn,be,"mapDispatchToProps"),Tu=Rn(fa,ot,"mergeProps");return ge(Ue,(0,ke.Z)({methodName:"connect",getDisplayName:function(cu){return"Connect("+cu+")"},shouldHandleStateChanges:!!Et,initMapStateToProps:Di,initMapDispatchToProps:Ru,initMergeProps:Tu,pure:dr,areStatesEqual:ao,areOwnPropsEqual:To,areStatePropsEqual:zo,areMergedPropsEqual:su},pu))}}var We=De();function dt(){var z=useContext(ReactReduxContext);return z}function Ot(z){z===void 0&&(z=ReactReduxContext);var te=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(){var ge=te(),Ee=ge.store;return Ee}}var $t=null;function Xt(z){z===void 0&&(z=ReactReduxContext);var te=z===ReactReduxContext?useDefaultStore:createStoreHook(z);return function(){var ge=te();return ge.dispatch}}var Ht=null,on=function(te,ie){return te===ie};function At(z,te,ie,ge){var Ee=useReducer(function(tn){return tn+1},0),Pe=Ee[1],Fe=useMemo(function(){return createSubscription(ie,ge)},[ie,ge]),be=useRef(),Ke=useRef(),ot=useRef(),nt=useRef(),Ue=ie.getState(),Je;try{if(z!==Ke.current||Ue!==ot.current||be.current){var Et=z(Ue);nt.current===void 0||!te(Et,nt.current)?Je=Et:Je=nt.current}else Je=nt.current}catch(tn){throw be.current&&(tn.message+=` -The error may be correlated with this previous error: -`+be.current.stack+` - -`),tn}return useIsomorphicLayoutEffect(function(){Ke.current=z,ot.current=Ue,nt.current=Je,be.current=void 0}),useIsomorphicLayoutEffect(function(){function tn(){try{var fa=ie.getState();if(fa===ot.current)return;var Sa=Ke.current(fa);if(te(Sa,nt.current))return;nt.current=Sa,ot.current=fa}catch(Ia){be.current=Ia}Pe()}return Fe.onStateChange=tn,Fe.trySubscribe(),tn(),function(){return Fe.tryUnsubscribe()}},[ie,Fe]),Je}function Bt(z){z===void 0&&(z=ReactReduxContext);var te=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(ge,Ee){Ee===void 0&&(Ee=on);var Pe=te(),Fe=Pe.store,be=Pe.subscription,Ke=At(ge,Ee,Fe,be);return useDebugValue(Ke),Ke}}var nn=null,ht=ue(4676);Me(ht.unstable_batchedUpdates);function Ft(z,te){if(z.length!==te.length)return!1;for(var ie=0;ie");return ge.callbacks},ge.setCallbacks=function(be){ge.callbacks=be},ge}var ie=te.prototype;return ie.componentDidMount=function(){this.unbind=Ba(window,[{eventName:"error",fn:this.onWindowError}])},ie.componentWillUnmount=function(){this.unbind()},ie.componentDidCatch=function(Ee){if(Ee instanceof Kn){this.setState({});return}throw Ee},ie.render=function(){return this.props.children(this.setCallbacks)},te}(ae.Component),vr=` - Press space bar to start a drag. - When dragging you can use the arrow keys to move the item around and escape to cancel. - Some screen readers may require you to be in focus mode or to use your pass through key -`,lo=function(te){return te+1},Tr=function(te){return` - You have lifted an item in position `+lo(te.source.index)+` -`},_o=function(te,ie){var ge=te.droppableId===ie.droppableId,Ee=lo(te.index),Pe=lo(ie.index);return ge?` - You have moved the item from position `+Ee+` - to position `+Pe+` - `:` - You have moved the item from position `+Ee+` - in list `+te.droppableId+` - to list `+ie.droppableId+` - in position `+Pe+` - `},Co=function(te,ie,ge){var Ee=ie.droppableId===ge.droppableId;return Ee?` - The item `+te+` - has been combined with `+ge.draggableId:` - The item `+te+` - in list `+ie.droppableId+` - has been combined with `+ge.draggableId+` - in list `+ge.droppableId+` - `},Uo=function(te){var ie=te.destination;if(ie)return _o(te.source,ie);var ge=te.combine;return ge?Co(te.draggableId,te.source,ge):"You are over an area that cannot be dropped on"},jr=function(te){return` - The item has returned to its starting position - of `+lo(te.index)+` -`},vo=function(te){if(te.reason==="CANCEL")return` - Movement cancelled. - `+jr(te.source)+` - `;var ie=te.destination,ge=te.combine;return ie?` - You have dropped the item. - `+_o(te.source,ie)+` - `:ge?` - You have dropped the item. - `+Co(te.draggableId,te.source,ge)+` - `:` - The item has been dropped while not over a drop area. - `+jr(te.source)+` - `},kn={dragHandleUsageInstructions:vr,onDragStart:Tr,onDragUpdate:Uo,onDragEnd:vo},Rr={x:0,y:0},uo=function(te,ie){return{x:te.x+ie.x,y:te.y+ie.y}},io=function(te,ie){return{x:te.x-ie.x,y:te.y-ie.y}},xt=function(te,ie){return te.x===ie.x&&te.y===ie.y},qe=function(te){return{x:te.x!==0?-te.x:0,y:te.y!==0?-te.y:0}},He=function(te,ie,ge){var Ee;return ge===void 0&&(ge=0),Ee={},Ee[te]=ie,Ee[te==="x"?"y":"x"]=ge,Ee},Vt=function(te,ie){return Math.sqrt(Math.pow(ie.x-te.x,2)+Math.pow(ie.y-te.y,2))},Mn=function(te,ie){return Math.min.apply(Math,ie.map(function(ge){return Vt(te,ge)}))},pa=function(te){return function(ie){return{x:te(ie.x),y:te(ie.y)}}},xn=function(z,te){var ie=Xa({top:Math.max(te.top,z.top),right:Math.min(te.right,z.right),bottom:Math.min(te.bottom,z.bottom),left:Math.max(te.left,z.left)});return ie.width<=0||ie.height<=0?null:ie},ya=function(te,ie){return{top:te.top+ie.y,left:te.left+ie.x,bottom:te.bottom+ie.y,right:te.right+ie.x}},rn=function(te){return[{x:te.left,y:te.top},{x:te.right,y:te.top},{x:te.left,y:te.bottom},{x:te.right,y:te.bottom}]},da={top:0,right:0,bottom:0,left:0},Gr=function(te,ie){return ie?ya(te,ie.scroll.diff.displacement):te},po=function(te,ie,ge){if(ge&&ge.increasedBy){var Ee;return(0,ke.Z)({},te,(Ee={},Ee[ie.end]=te[ie.end]+ge.increasedBy[ie.line],Ee))}return te},jo=function(te,ie){return ie&&ie.shouldClipSubject?xn(ie.pageMarginBox,te):Xa(te)},cr=function(z){var te=z.page,ie=z.withPlaceholder,ge=z.axis,Ee=z.frame,Pe=Gr(te.marginBox,Ee),Fe=po(Pe,ge,ie),be=jo(Fe,Ee);return{page:te,withPlaceholder:ie,active:be}},ka=function(z,te){z.frame||cn(!1);var ie=z.frame,ge=io(te,ie.scroll.initial),Ee=qe(ge),Pe=(0,ke.Z)({},ie,{scroll:{initial:ie.scroll.initial,current:te,diff:{value:ge,displacement:Ee},max:ie.scroll.max}}),Fe=cr({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:Pe}),be=(0,ke.Z)({},z,{frame:Pe,subject:Fe});return be};function Dr(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function Lr(z){return Object.values?Object.values(z):Object.keys(z).map(function(te){return z[te]})}function Ir(z,te){if(z.findIndex)return z.findIndex(te);for(var ie=0;iez.bottom,ot=ge.leftz.right,nt=Ke&&ot;if(nt)return!0;var Ue=Ke&&Fe||ot&&Pe;return Ue}},Xl=function(z){var te=pl(z.top,z.bottom),ie=pl(z.left,z.right);return function(ge){var Ee=te(ge.top)&&te(ge.bottom)&&ie(ge.left)&&ie(ge.right);return Ee}},nu={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Lu={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},au=function(z){return function(te){var ie=pl(te.top,te.bottom),ge=pl(te.left,te.right);return function(Ee){return z===nu?ie(Ee.top)&&ie(Ee.bottom):ge(Ee.left)&&ge(Ee.right)}}},nr=function(te,ie){var ge=ie.frame?ie.frame.scroll.diff.displacement:Rr;return ya(te,ge)},ga=function(te,ie,ge){return ie.subject.active?ge(ie.subject.active)(te):!1},ia=function(te,ie,ge){return ge(ie)(te)},Pa=function(te){var ie=te.target,ge=te.destination,Ee=te.viewport,Pe=te.withDroppableDisplacement,Fe=te.isVisibleThroughFrameFn,be=Pe?nr(ie,ge):ie;return ga(be,ge,Fe)&&ia(be,Ee,Fe)},to=function(te){return Pa((0,ke.Z)({},te,{isVisibleThroughFrameFn:Da}))},Do=function(te){return Pa((0,ke.Z)({},te,{isVisibleThroughFrameFn:Xl}))},Yo=function(te){return Pa((0,ke.Z)({},te,{isVisibleThroughFrameFn:au(te.destination.axis)}))},Er=function(te,ie,ge){if(typeof ge=="boolean")return ge;if(!ie)return!0;var Ee=ie.invisible,Pe=ie.visible;if(Ee[te])return!1;var Fe=Pe[te];return Fe?Fe.shouldAnimate:!0};function Vr(z,te){var ie=z.page.marginBox,ge={top:te.point.y,right:0,bottom:0,left:te.point.x};return Xa(gr(ie,ge))}function mo(z){var te=z.afterDragging,ie=z.destination,ge=z.displacedBy,Ee=z.viewport,Pe=z.forceShouldAnimate,Fe=z.last;return te.reduce(function(Ke,ot){var nt=Vr(ot,ge),Ue=ot.descriptor.id;Ke.all.push(Ue);var Je=to({target:nt,destination:ie,viewport:Ee,withDroppableDisplacement:!0});if(!Je)return Ke.invisible[ot.descriptor.id]=!0,Ke;var Et=Er(Ue,Fe,Pe),tn={draggableId:Ue,shouldAnimate:Et};return Ke.visible[Ue]=tn,Ke},{all:[],visible:{},invisible:{}})}function Jr(z,te){if(!z.length)return 0;var ie=z[z.length-1].descriptor.index;return te.inHomeList?ie:ie+1}function Zo(z){var te=z.insideDestination,ie=z.inHomeList,ge=z.displacedBy,Ee=z.destination,Pe=Jr(te,{inHomeList:ie});return{displaced:Oo,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:Ee.descriptor.id,index:Pe}}}}function sl(z){var te=z.draggable,ie=z.insideDestination,ge=z.destination,Ee=z.viewport,Pe=z.displacedBy,Fe=z.last,be=z.index,Ke=z.forceShouldAnimate,ot=ho(te,ge);if(be==null)return Zo({insideDestination:ie,inHomeList:ot,displacedBy:Pe,destination:ge});var nt=Kr(ie,function(fa){return fa.descriptor.index===be});if(!nt)return Zo({insideDestination:ie,inHomeList:ot,displacedBy:Pe,destination:ge});var Ue=Ra(te,ie),Je=ie.indexOf(nt),Et=Ue.slice(Je),tn=mo({afterDragging:Et,destination:ge,displacedBy:Pe,last:Fe,viewport:Ee.frame,forceShouldAnimate:Ke});return{displaced:tn,displacedBy:Pe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:be}}}}function tl(z,te){return!!te.effected[z]}var Pu=function(z){var te=z.isMovingForward,ie=z.destination,ge=z.draggables,Ee=z.combine,Pe=z.afterCritical;if(!ie.isCombineEnabled)return null;var Fe=Ee.draggableId,be=ge[Fe],Ke=be.descriptor.index,ot=tl(Fe,Pe);return ot?te?Ke:Ke-1:te?Ke+1:Ke},Su=function(z){var te=z.isMovingForward,ie=z.isInHomeList,ge=z.insideDestination,Ee=z.location;if(!ge.length)return null;var Pe=Ee.index,Fe=te?Pe+1:Pe-1,be=ge[0].descriptor.index,Ke=ge[ge.length-1].descriptor.index,ot=ie?Ke:Ke+1;return Feot?null:Fe},Kl=function(z){var te=z.isMovingForward,ie=z.isInHomeList,ge=z.draggable,Ee=z.draggables,Pe=z.destination,Fe=z.insideDestination,be=z.previousImpact,Ke=z.viewport,ot=z.afterCritical,nt=be.at;if(nt||cn(!1),nt.type==="REORDER"){var Ue=Su({isMovingForward:te,isInHomeList:ie,location:nt.destination,insideDestination:Fe});return Ue==null?null:sl({draggable:ge,insideDestination:Fe,destination:Pe,viewport:Ke,last:be.displaced,displacedBy:be.displacedBy,index:Ue})}var Je=Pu({isMovingForward:te,destination:Pe,displaced:be.displaced,draggables:Ee,combine:nt.combine,afterCritical:ot});return Je==null?null:sl({draggable:ge,insideDestination:Fe,destination:Pe,viewport:Ke,last:be.displaced,displacedBy:be.displacedBy,index:Je})},Au=function(z){var te=z.displaced,ie=z.afterCritical,ge=z.combineWith,Ee=z.displacedBy,Pe=!!(te.visible[ge]||te.invisible[ge]);return tl(ge,ie)?Pe?Rr:qe(Ee.point):Pe?Ee.point:Rr},cl=function(z){var te=z.afterCritical,ie=z.impact,ge=z.draggables,Ee=ta(ie);Ee||cn(!1);var Pe=Ee.draggableId,Fe=ge[Pe].page.borderBox.center,be=Au({displaced:ie.displaced,afterCritical:te,combineWith:Pe,displacedBy:ie.displacedBy});return uo(Fe,be)},Zu=function(te,ie){return ie.margin[te.start]+ie.borderBox[te.size]/2},Il=function(te,ie){return ie.margin[te.end]+ie.borderBox[te.size]/2},ru=function(te,ie,ge){return ie[te.crossAxisStart]+ge.margin[te.crossAxisStart]+ge.borderBox[te.crossAxisSize]/2},Wu=function(te){var ie=te.axis,ge=te.moveRelativeTo,Ee=te.isMoving;return He(ie.line,ge.marginBox[ie.end]+Zu(ie,Ee),ru(ie,ge.marginBox,Ee))},Ou=function(te){var ie=te.axis,ge=te.moveRelativeTo,Ee=te.isMoving;return He(ie.line,ge.marginBox[ie.start]-Il(ie,Ee),ru(ie,ge.marginBox,Ee))},Nl=function(te){var ie=te.axis,ge=te.moveInto,Ee=te.isMoving;return He(ie.line,ge.contentBox[ie.start]+Zu(ie,Ee),ru(ie,ge.contentBox,Ee))},xi=function(z){var te=z.impact,ie=z.draggable,ge=z.draggables,Ee=z.droppable,Pe=z.afterCritical,Fe=hr(Ee.descriptor.id,ge),be=ie.page,Ke=Ee.axis;if(!Fe.length)return Nl({axis:Ke,moveInto:Ee.page,isMoving:be});var ot=te.displaced,nt=te.displacedBy,Ue=ot.all[0];if(Ue){var Je=ge[Ue];if(tl(Ue,Pe))return Ou({axis:Ke,moveRelativeTo:Je.page,isMoving:be});var Et=or(Je.page,nt.point);return Ou({axis:Ke,moveRelativeTo:Et,isMoving:be})}var tn=Fe[Fe.length-1];if(tn.descriptor.id===ie.descriptor.id)return be.borderBox.center;if(tl(tn.descriptor.id,Pe)){var fa=or(tn.page,qe(Pe.displacedBy.point));return Wu({axis:Ke,moveRelativeTo:fa,isMoving:be})}return Wu({axis:Ke,moveRelativeTo:tn.page,isMoving:be})},ai=function(z,te){var ie=z.frame;return ie?uo(te,ie.scroll.diff.displacement):te},Bu=function(te){var ie=te.impact,ge=te.draggable,Ee=te.droppable,Pe=te.draggables,Fe=te.afterCritical,be=ge.page.borderBox.center,Ke=ie.at;return!Ee||!Ke?be:Ke.type==="REORDER"?xi({impact:ie,draggable:ge,draggables:Pe,droppable:Ee,afterCritical:Fe}):cl({impact:ie,draggables:Pe,afterCritical:Fe})},Vu=function(z){var te=Bu(z),ie=z.droppable,ge=ie?ai(ie,te):te;return ge},mi=function(z,te){var ie=io(te,z.scroll.initial),ge=qe(ie),Ee=Xa({top:te.y,bottom:te.y+z.frame.height,left:te.x,right:te.x+z.frame.width}),Pe={frame:Ee,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:te,diff:{value:ie,displacement:ge}}};return Pe};function fi(z,te){return z.map(function(ie){return te[ie]})}function Ca(z,te){for(var ie=0;ie1?nt.sort(function(Ue,Je){return dl(Ue)[be.start]-dl(Je)[be.start]})[0]:ot.sort(function(Ue,Je){var Et=Mn(ie,rn(dl(Ue))),tn=Mn(ie,rn(dl(Je)));return Et!==tn?Et-tn:dl(Ue)[be.start]-dl(Je)[be.start]})[0]},ri=function(te,ie){var ge=te.page.borderBox.center;return tl(te.descriptor.id,ie)?io(ge,ie.displacedBy.point):ge},Xo=function(te,ie){var ge=te.page.borderBox;return tl(te.descriptor.id,ie)?ya(ge,qe(ie.displacedBy.point)):ge},zu=function(z){var te=z.pageBorderBoxCenter,ie=z.viewport,ge=z.destination,Ee=z.insideDestination,Pe=z.afterCritical,Fe=Ee.filter(function(be){return Do({target:Xo(be,Pe),destination:ge,viewport:ie.frame,withDroppableDisplacement:!0})}).sort(function(be,Ke){var ot=Vt(te,ai(ge,ri(be,Pe))),nt=Vt(te,ai(ge,ri(Ke,Pe)));return otte.left&&z.topte.top}function Ws(z){var te=z.pageBorderBox,ie=z.draggable,ge=z.candidates,Ee=ie.page.borderBox.center,Pe=ge.map(function(Fe){var be=Fe.axis,Ke=He(Fe.axis.line,te.center[be.line],Fe.page.borderBox.center[be.crossAxisLine]);return{id:Fe.descriptor.id,distance:Vt(Ee,Ke)}}).sort(function(Fe,be){return be.distance-Fe.distance});return Pe[0]?Pe[0].id:null}function vd(z){var te=z.pageBorderBox,ie=z.draggable,ge=z.droppables,Ee=xr(ge).filter(function(Pe){if(!Pe.isEnabled)return!1;var Fe=Pe.subject.active;if(!Fe||!yc(te,Fe))return!1;if(Li(Fe)(te.center))return!0;var be=Pe.axis,Ke=Fe.center[be.crossAxisLine],ot=te[be.crossAxisStart],nt=te[be.crossAxisEnd],Ue=pl(Fe[be.crossAxisStart],Fe[be.crossAxisEnd]),Je=Ue(ot),Et=Ue(nt);return!Je&&!Et?!0:Je?otKe});return Ee.length?Ee.length===1?Ee[0].descriptor.id:Ws({pageBorderBox:te,draggable:ie,candidates:Ee}):null}var vs=function(te,ie){return Xa(ya(te,ie))},pd=function(z,te){var ie=z.frame;return ie?vs(te,ie.scroll.diff.value):te};function Vs(z){var te=z.displaced,ie=z.id;return!!(te.visible[ie]||te.invisible[ie])}function hd(z){var te=z.draggable,ie=z.closest,ge=z.inHomeList;return ie?ge&&ie.descriptor.index>te.descriptor.index?ie.descriptor.index-1:ie.descriptor.index:null}var Ed=function(z){var te=z.pageBorderBoxWithDroppableScroll,ie=z.draggable,ge=z.destination,Ee=z.insideDestination,Pe=z.last,Fe=z.viewport,be=z.afterCritical,Ke=ge.axis,ot=qo(ge.axis,ie.displaceBy),nt=ot.value,Ue=te[Ke.start],Je=te[Ke.end],Et=Ra(ie,Ee),tn=Kr(Et,function(Sa){var Ia=Sa.descriptor.id,$a=Sa.page.borderBox.center[Ke.line],dr=tl(Ia,be),ar=Vs({displaced:Pe,id:Ia});return dr?ar?Je<=$a:Ue<$a-nt:ar?Je<=$a+nt:Ue<$a}),fa=hd({draggable:ie,closest:tn,inHomeList:ho(ie,ge)});return sl({draggable:ie,insideDestination:Ee,destination:ge,viewport:Fe,last:Pe,displacedBy:ot,index:fa})},Cc=4,Vi=function(z){var te=z.draggable,ie=z.pageBorderBoxWithDroppableScroll,ge=z.previousImpact,Ee=z.destination,Pe=z.insideDestination,Fe=z.afterCritical;if(!Ee.isCombineEnabled)return null;var be=Ee.axis,Ke=qo(Ee.axis,te.displaceBy),ot=Ke.value,nt=ie[be.start],Ue=ie[be.end],Je=Ra(te,Pe),Et=Kr(Je,function(fa){var Sa=fa.descriptor.id,Ia=fa.page.borderBox,$a=Ia[be.size],dr=$a/Cc,ar=tl(Sa,Fe),ao=Vs({displaced:ge.displaced,id:Sa});return ar?ao?Ue>Ia[be.start]+dr&&UeIa[be.start]-ot+dr&&ntIa[be.start]+ot+dr&&UeIa[be.start]+dr&&nt=Vo)return yo;var Pe=Ee/Vo,Fe=Po+bo*Pe,be=ge==="CANCEL"?Fe*Mo:Fe;return Number(be.toFixed(2))},Rl=function(z){var te=z.impact,ie=z.draggable,ge=z.dimensions,Ee=z.viewport,Pe=z.afterCritical,Fe=ge.draggables,be=ge.droppables,Ke=zl(te),ot=Ke?be[Ke]:null,nt=be[ie.descriptor.droppableId],Ue=bc({impact:te,draggable:ie,draggables:Fe,afterCritical:Pe,droppable:ot||nt,viewport:Ee}),Je=io(Ue,ie.client.borderBox.center);return Je},bl=function(z){var te=z.draggables,ie=z.reason,ge=z.lastImpact,Ee=z.home,Pe=z.viewport,Fe=z.onLiftImpact;if(!ge.at||ie!=="DROP"){var be=Gs({draggables:te,impact:Fe,destination:Ee,viewport:Pe,forceShouldAnimate:!0});return{impact:be,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var Ke=(0,ke.Z)({},ge,{displaced:Oo});return{impact:Ke,didDropInsideDroppable:!0}},nl=function(z){var te=z.getState,ie=z.dispatch;return function(ge){return function(Ee){if(Ee.type!=="DROP"){ge(Ee);return}var Pe=te(),Fe=Ee.payload.reason;if(Pe.phase==="COLLECTING"){ie(Na({reason:Fe}));return}if(Pe.phase!=="IDLE"){var be=Pe.phase==="DROP_PENDING"&&Pe.isWaiting;be&&cn(!1),Pe.phase==="DRAGGING"||Pe.phase==="DROP_PENDING"||cn(!1);var Ke=Pe.critical,ot=Pe.dimensions,nt=ot.draggables[Pe.critical.draggable.id],Ue=bl({reason:Fe,lastImpact:Pe.impact,afterCritical:Pe.afterCritical,onLiftImpact:Pe.onLiftImpact,home:Pe.dimensions.droppables[Pe.critical.droppable.id],viewport:Pe.viewport,draggables:Pe.dimensions.draggables}),Je=Ue.impact,Et=Ue.didDropInsideDroppable,tn=Et?Ea(Je):null,fa=Et?ta(Je):null,Sa={index:Ke.draggable.index,droppableId:Ke.droppable.id},Ia={draggableId:nt.descriptor.id,type:nt.descriptor.type,source:Sa,reason:Fe,mode:Pe.movementMode,destination:tn,combine:fa},$a=Rl({impact:Je,draggable:nt,dimensions:ot,viewport:Pe.viewport,afterCritical:Pe.afterCritical}),dr={critical:Pe.critical,afterCritical:Pe.afterCritical,result:Ia,impact:Je},ar=!xt(Pe.current.client.offset,$a)||!!Ia.combine;if(!ar){ie($n({completed:dr}));return}var ao=rl({current:Pe.current.client.offset,destination:$a,reason:Fe}),ro={newHomeClientOffset:$a,dropDuration:ao,completed:dr};ie(Cn(ro))}}}},Ro=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Gl(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ie){ie.target!==window&&ie.target!==window.document||z()}}}function gl(z){var te=z.onWindowScroll;function ie(){te(Ro())}var ge=ma(ie),Ee=Gl(ge),Pe=Fa;function Fe(){return Pe!==Fa}function be(){Fe()&&cn(!1),Pe=Ba(window,[Ee])}function Ke(){Fe()||cn(!1),ge.cancel(),Pe(),Pe=Fa}return{start:be,stop:Ke,isActive:Fe}}var Xr=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Tl=function(z){var te=gl({onWindowScroll:function(ge){z.dispatch(vn({newScroll:ge}))}});return function(ie){return function(ge){!te.isActive()&&ge.type==="INITIAL_PUBLISH"&&te.start(),te.isActive()&&Xr(ge)&&te.stop(),ie(ge)}}},Hl=function(z){var te=!1,ie=!1,ge=setTimeout(function(){ie=!0}),Ee=function(Fe){te||ie||(te=!0,z(Fe),clearTimeout(ge))};return Ee.wasCalled=function(){return te},Ee},kl=function(){var z=[],te=function(Pe){var Fe=Ir(z,function(ot){return ot.timerId===Pe});Fe===-1&&cn(!1);var be=z.splice(Fe,1),Ke=be[0];Ke.callback()},ie=function(Pe){var Fe=setTimeout(function(){return te(Fe)}),be={timerId:Fe,callback:Pe};z.push(be)},ge=function(){if(z.length){var Pe=[].concat(z);z.length=0,Pe.forEach(function(Fe){clearTimeout(Fe.timerId),Fe.callback()})}};return{add:ie,flush:ge}},gu=function(te,ie){return te==null&&ie==null?!0:te==null||ie==null?!1:te.droppableId===ie.droppableId&&te.index===ie.index},Fu=function(te,ie){return te==null&&ie==null?!0:te==null||ie==null?!1:te.draggableId===ie.draggableId&&te.droppableId===ie.droppableId},so=function(te,ie){if(te===ie)return!0;var ge=te.draggable.id===ie.draggable.id&&te.draggable.droppableId===ie.draggable.droppableId&&te.draggable.type===ie.draggable.type&&te.draggable.index===ie.draggable.index,Ee=te.droppable.id===ie.droppable.id&&te.droppable.type===ie.droppable.type;return ge&&Ee},ol=function(te,ie){as(),ie(),rs()},ml=function(te,ie){return{draggableId:te.draggable.id,type:te.droppable.type,source:{droppableId:te.droppable.id,index:te.draggable.index},mode:ie}},Ll=function(te,ie,ge,Ee){if(!te){ge(Ee(ie));return}var Pe=Hl(ge),Fe={announce:Pe};te(ie,Fe),Pe.wasCalled()||ge(Ee(ie))},Ul=function(z,te){var ie=kl(),ge=null,Ee=function(Je,Et){ge&&cn(!1),ol("onBeforeCapture",function(){var tn=z().onBeforeCapture;if(tn){var fa={draggableId:Je,mode:Et};tn(fa)}})},Pe=function(Je,Et){ge&&cn(!1),ol("onBeforeDragStart",function(){var tn=z().onBeforeDragStart;tn&&tn(ml(Je,Et))})},Fe=function(Je,Et){ge&&cn(!1);var tn=ml(Je,Et);ge={mode:Et,lastCritical:Je,lastLocation:tn.source,lastCombine:null},ie.add(function(){ol("onDragStart",function(){return Ll(z().onDragStart,tn,te,kn.onDragStart)})})},be=function(Je,Et){var tn=Ea(Et),fa=ta(Et);ge||cn(!1);var Sa=!so(Je,ge.lastCritical);Sa&&(ge.lastCritical=Je);var Ia=!gu(ge.lastLocation,tn);Ia&&(ge.lastLocation=tn);var $a=!Fu(ge.lastCombine,fa);if($a&&(ge.lastCombine=fa),!(!Sa&&!Ia&&!$a)){var dr=(0,ke.Z)({},ml(Je,ge.mode),{combine:fa,destination:tn});ie.add(function(){ol("onDragUpdate",function(){return Ll(z().onDragUpdate,dr,te,kn.onDragUpdate)})})}},Ke=function(){ge||cn(!1),ie.flush()},ot=function(Je){ge||cn(!1),ge=null,ol("onDragEnd",function(){return Ll(z().onDragEnd,Je,te,kn.onDragEnd)})},nt=function(){if(ge){var Je=(0,ke.Z)({},ml(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});ot(Je)}};return{beforeCapture:Ee,beforeStart:Pe,start:Fe,update:be,flush:Ke,drop:ot,abort:nt}},hl=function(z,te){var ie=Ul(z,te);return function(ge){return function(Ee){return function(Pe){if(Pe.type==="BEFORE_INITIAL_CAPTURE"){ie.beforeCapture(Pe.payload.draggableId,Pe.payload.movementMode);return}if(Pe.type==="INITIAL_PUBLISH"){var Fe=Pe.payload.critical;ie.beforeStart(Fe,Pe.payload.movementMode),Ee(Pe),ie.start(Fe,Pe.payload.movementMode);return}if(Pe.type==="DROP_COMPLETE"){var be=Pe.payload.completed.result;ie.flush(),Ee(Pe),ie.drop(be);return}if(Ee(Pe),Pe.type==="FLUSH"){ie.abort();return}var Ke=ge.getState();Ke.phase==="DRAGGING"&&ie.update(Ke.critical,Ke.impact)}}}},Zl=function(z){return function(te){return function(ie){if(ie.type!=="DROP_ANIMATION_FINISHED"){te(ie);return}var ge=z.getState();ge.phase!=="DROP_ANIMATING"&&cn(!1),z.dispatch($n({completed:ge.completed}))}}},Uu=function(z){var te=null,ie=null;function ge(){ie&&(cancelAnimationFrame(ie),ie=null),te&&(te(),te=null)}return function(Ee){return function(Pe){if((Pe.type==="FLUSH"||Pe.type==="DROP_COMPLETE"||Pe.type==="DROP_ANIMATION_FINISHED")&&ge(),Ee(Pe),Pe.type==="DROP_ANIMATE"){var Fe={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ke=z.getState();Ke.phase==="DROP_ANIMATING"&&z.dispatch(Ha())}};ie=requestAnimationFrame(function(){ie=null,te=Ba(window,[Fe])})}}}},mu=function(z){return function(){return function(te){return function(ie){(ie.type==="DROP_COMPLETE"||ie.type==="FLUSH"||ie.type==="DROP_ANIMATE")&&z.stopPublishing(),te(ie)}}}},ql=function(z){var te=!1;return function(){return function(ie){return function(ge){if(ge.type==="INITIAL_PUBLISH"){te=!0,z.tryRecordFocus(ge.payload.critical.draggable.id),ie(ge),z.tryRestoreFocusRecorded();return}if(ie(ge),!!te){if(ge.type==="FLUSH"){te=!1,z.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){te=!1;var Ee=ge.payload.completed.result;Ee.combine&&z.tryShiftRecord(Ee.draggableId,Ee.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},oi=function(te){return te.type==="DROP_COMPLETE"||te.type==="DROP_ANIMATE"||te.type==="FLUSH"},Oi=function(z){return function(te){return function(ie){return function(ge){if(oi(ge)){z.stop(),ie(ge);return}if(ge.type==="INITIAL_PUBLISH"){ie(ge);var Ee=te.getState();Ee.phase!=="DRAGGING"&&cn(!1),z.start(Ee);return}ie(ge),z.scroll(te.getState())}}}},ou=function(z){return function(te){return function(ie){if(te(ie),ie.type==="PUBLISH_WHILE_DRAGGING"){var ge=z.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||z.dispatch(Va({reason:ge.reason})))}}}},El=Te.qC,Mu=function(z){var te=z.dimensionMarshal,ie=z.focusMarshal,ge=z.styleMarshal,Ee=z.getResponders,Pe=z.announce,Fe=z.autoScroller;return(0,Te.MT)(bd,El((0,Te.md)(pr(ge),mu(te),xa(te),nl,Zl,Uu,ou,Oi(Fe),Tl,ql(ie),hl(Ee,Pe))))},Yl=function(){return{additions:{},removals:{},modified:{}}};function Gi(z){var te=z.registry,ie=z.callbacks,ge=Yl(),Ee=null,Pe=function(){Ee||(ie.collectionStarting(),Ee=requestAnimationFrame(function(){Ee=null,as();var nt=ge,Ue=nt.additions,Je=nt.removals,Et=nt.modified,tn=Object.keys(Ue).map(function(Ia){return te.draggable.getById(Ia).getDimension(Rr)}).sort(function(Ia,$a){return Ia.descriptor.index-$a.descriptor.index}),fa=Object.keys(Et).map(function(Ia){var $a=te.droppable.getById(Ia),dr=$a.callbacks.getScrollWhileDragging();return{droppableId:Ia,scroll:dr}}),Sa={additions:tn,removals:Object.keys(Je),modified:fa};ge=Yl(),rs(),ie.publish(Sa)}))},Fe=function(nt){var Ue=nt.descriptor.id;ge.additions[Ue]=nt,ge.modified[nt.descriptor.droppableId]=!0,ge.removals[Ue]&&delete ge.removals[Ue],Pe()},be=function(nt){var Ue=nt.descriptor;ge.removals[Ue.id]=!0,ge.modified[Ue.droppableId]=!0,ge.additions[Ue.id]&&delete ge.additions[Ue.id],Pe()},Ke=function(){Ee&&(cancelAnimationFrame(Ee),Ee=null,ge=Yl())};return{add:Fe,remove:be,stop:Ke}}var li=function(z){var te=z.scrollHeight,ie=z.scrollWidth,ge=z.height,Ee=z.width,Pe=io({x:ie,y:te},{x:Ee,y:ge}),Fe={x:Math.max(0,Pe.x),y:Math.max(0,Pe.y)};return Fe},yu=function(){var z=document.documentElement;return z||cn(!1),z},Pl=function(){var z=yu(),te=li({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return te},lu=function(){var z=Ro(),te=Pl(),ie=z.y,ge=z.x,Ee=yu(),Pe=Ee.clientWidth,Fe=Ee.clientHeight,be=ge+Pe,Ke=ie+Fe,ot=Xa({top:ie,left:ge,right:be,bottom:Ke}),nt={frame:ot,scroll:{initial:z,current:z,max:te,diff:{value:Rr,displacement:Rr}}};return nt},Cu=function(z){var te=z.critical,ie=z.scrollOptions,ge=z.registry;as();var Ee=lu(),Pe=Ee.scroll.current,Fe=te.droppable,be=ge.droppable.getAllByType(Fe.type).map(function(Ue){return Ue.callbacks.getDimensionAndWatchScroll(Pe,ie)}),Ke=ge.draggable.getAllByType(te.draggable.type).map(function(Ue){return Ue.getDimension(Pe)}),ot={draggables:mr(Ke),droppables:Ka(be)};rs();var nt={dimensions:ot,critical:te,viewport:Ee};return nt};function ju(z,te,ie){if(ie.descriptor.id===te.id||ie.descriptor.type!==te.type)return!1;var ge=z.droppable.getById(ie.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var fu=function(z,te){var ie=null,ge=Gi({callbacks:{publish:te.publishWhileDragging,collectionStarting:te.collectionStarting},registry:z}),Ee=function(Et,tn){z.droppable.exists(Et)||cn(!1),ie&&te.updateDroppableIsEnabled({id:Et,isEnabled:tn})},Pe=function(Et,tn){ie&&(z.droppable.exists(Et)||cn(!1),te.updateDroppableIsCombineEnabled({id:Et,isCombineEnabled:tn}))},Fe=function(Et,tn){ie&&(z.droppable.exists(Et)||cn(!1),te.updateDroppableScroll({id:Et,newScroll:tn}))},be=function(Et,tn){ie&&z.droppable.getById(Et).callbacks.scroll(tn)},Ke=function(){if(ie){ge.stop();var Et=ie.critical.droppable;z.droppable.getAllByType(Et.type).forEach(function(tn){return tn.callbacks.dragStopped()}),ie.unsubscribe(),ie=null}},ot=function(Et){ie||cn(!1);var tn=ie.critical.draggable;Et.type==="ADDITION"&&ju(z,tn,Et.value)&&ge.add(Et.value),Et.type==="REMOVAL"&&ju(z,tn,Et.value)&&ge.remove(Et.value)},nt=function(Et){ie&&cn(!1);var tn=z.draggable.getById(Et.draggableId),fa=z.droppable.getById(tn.descriptor.droppableId),Sa={draggable:tn.descriptor,droppable:fa.descriptor},Ia=z.subscribe(ot);return ie={critical:Sa,unsubscribe:Ia},Cu({critical:Sa,registry:z,scrollOptions:Et.scrollOptions})},Ue={updateDroppableIsEnabled:Ee,updateDroppableIsCombineEnabled:Pe,scrollDroppable:be,updateDroppableScroll:Fe,startPublishing:nt,stopPublishing:Ke};return Ue},bu=function(z,te){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===te?!1:z.completed.result.reason==="DROP"},Ku=function(z){window.scrollBy(z.x,z.y)},Al=fn(function(z){return xr(z).filter(function(te){return!(!te.isEnabled||!te.frame)})}),$l=function(te,ie){var ge=Kr(Al(ie),function(Ee){return Ee.frame||cn(!1),Li(Ee.frame.pageMarginBox)(te)});return ge},ei=function(z){var te=z.center,ie=z.destination,ge=z.droppables;if(ie){var Ee=ge[ie];return Ee.frame?Ee:null}var Pe=$l(te,ge);return Pe},Qo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(te){return Math.pow(te,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},vu=function(z,te){var ie=z[te.size]*Qo.startFromPercentage,ge=z[te.size]*Qo.maxScrollAtPercentage,Ee={startScrollingFrom:ie,maxScrollValueAt:ge};return Ee},Hu=function(z){var te=z.startOfRange,ie=z.endOfRange,ge=z.current,Ee=ie-te;if(Ee===0)return 0;var Pe=ge-te,Fe=Pe/Ee;return Fe},Ko=1,Yu=function(z,te){if(z>te.startScrollingFrom)return 0;if(z<=te.maxScrollValueAt)return Qo.maxPixelScroll;if(z===te.startScrollingFrom)return Ko;var ie=Hu({startOfRange:te.maxScrollValueAt,endOfRange:te.startScrollingFrom,current:z}),ge=1-ie,Ee=Qo.maxPixelScroll*Qo.ease(ge);return Math.ceil(Ee)},xu=Qo.durationDampening.accelerateAt,uu=Qo.durationDampening.stopDampeningAt,Ei=function(z,te){var ie=te,ge=uu,Ee=Date.now(),Pe=Ee-ie;if(Pe>=uu)return z;if(Pete.height,Pe=ie.width>te.width;return!Pe&&!Ee?ge:Pe&&Ee?null:{x:Pe?0:ge.x,y:Ee?0:ge.y}},eo=pa(function(z){return z===0?0:z}),er=function(z){var te=z.dragStartTime,ie=z.container,ge=z.subject,Ee=z.center,Pe=z.shouldUseTimeDampening,Fe={top:Ee.y-ie.top,right:ie.right-Ee.x,bottom:ie.bottom-Ee.y,left:Ee.x-ie.left},be=Pi({container:ie,distanceToEdges:Fe,dragStartTime:te,axis:nu,shouldUseTimeDampening:Pe}),Ke=Pi({container:ie,distanceToEdges:Fe,dragStartTime:te,axis:Lu,shouldUseTimeDampening:Pe}),ot=eo({x:Ke,y:be});if(xt(ot,Rr))return null;var nt=Si({container:ie,subject:ge,proposedScroll:ot});return nt?xt(nt,Rr)?null:nt:null},So=pa(function(z){return z===0?0:z>0?1:-1}),fl=function(){var z=function(ie,ge){return ie<0?ie:ie>ge?ie-ge:0};return function(te){var ie=te.current,ge=te.max,Ee=te.change,Pe=uo(ie,Ee),Fe={x:z(Pe.x,ge.x),y:z(Pe.y,ge.y)};return xt(Fe,Rr)?null:Fe}}(),iu=function(te){var ie=te.max,ge=te.current,Ee=te.change,Pe={x:Math.max(ge.x,ie.x),y:Math.max(ge.y,ie.y)},Fe=So(Ee),be=fl({max:Pe,current:ge,change:Fe});return!be||Fe.x!==0&&be.x===0||Fe.y!==0&&be.y===0},Mi=function(te,ie){return iu({current:te.scroll.current,max:te.scroll.max,change:ie})},Ui=function(te,ie){if(!Mi(te,ie))return null;var ge=te.scroll.max,Ee=te.scroll.current;return fl({current:Ee,max:ge,change:ie})},vl=function(te,ie){var ge=te.frame;return ge?iu({current:ge.scroll.current,max:ge.scroll.max,change:ie}):!1},ji=function(te,ie){var ge=te.frame;return!ge||!vl(te,ie)?null:fl({current:ge.scroll.current,max:ge.scroll.max,change:ie})},jl=function(z){var te=z.viewport,ie=z.subject,ge=z.center,Ee=z.dragStartTime,Pe=z.shouldUseTimeDampening,Fe=er({dragStartTime:Ee,container:te.frame,subject:ie,center:ge,shouldUseTimeDampening:Pe});return Fe&&Mi(te,Fe)?Fe:null},no=function(z){var te=z.droppable,ie=z.subject,ge=z.center,Ee=z.dragStartTime,Pe=z.shouldUseTimeDampening,Fe=te.frame;if(!Fe)return null;var be=er({dragStartTime:Ee,container:Fe.pageMarginBox,subject:ie,center:ge,shouldUseTimeDampening:Pe});return be&&vl(te,be)?be:null},Ii=function(z){var te=z.state,ie=z.dragStartTime,ge=z.shouldUseTimeDampening,Ee=z.scrollWindow,Pe=z.scrollDroppable,Fe=te.current.page.borderBoxCenter,be=te.dimensions.draggables[te.critical.draggable.id],Ke=be.page.marginBox;if(te.isWindowScrollAllowed){var ot=te.viewport,nt=jl({dragStartTime:ie,viewport:ot,subject:Ke,center:Fe,shouldUseTimeDampening:ge});if(nt){Ee(nt);return}}var Ue=ei({center:Fe,destination:zl(te.impact),droppables:te.dimensions.droppables});if(Ue){var Je=no({dragStartTime:ie,droppable:Ue,subject:Ke,center:Fe,shouldUseTimeDampening:ge});Je&&Pe(Ue.descriptor.id,Je)}},Iu=function(z){var te=z.scrollWindow,ie=z.scrollDroppable,ge=ma(te),Ee=ma(ie),Pe=null,Fe=function(nt){Pe||cn(!1);var Ue=Pe,Je=Ue.shouldUseTimeDampening,Et=Ue.dragStartTime;Ii({state:nt,scrollWindow:ge,scrollDroppable:Ee,dragStartTime:Et,shouldUseTimeDampening:Je})},be=function(nt){as(),Pe&&cn(!1);var Ue=Date.now(),Je=!1,Et=function(){Je=!0};Ii({state:nt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Et,scrollDroppable:Et}),Pe={dragStartTime:Ue,shouldUseTimeDampening:Je},rs(),Je&&Fe(nt)},Ke=function(){Pe&&(ge.cancel(),Ee.cancel(),Pe=null)};return{start:be,stop:Ke,scroll:Fe}},Ss=function(z){var te=z.move,ie=z.scrollDroppable,ge=z.scrollWindow,Ee=function(ot,nt){var Ue=uo(ot.current.client.selection,nt);te({client:Ue})},Pe=function(ot,nt){if(!vl(ot,nt))return nt;var Ue=ji(ot,nt);if(!Ue)return ie(ot.descriptor.id,nt),null;var Je=io(nt,Ue);ie(ot.descriptor.id,Je);var Et=io(nt,Je);return Et},Fe=function(ot,nt,Ue){if(!ot||!Mi(nt,Ue))return Ue;var Je=Ui(nt,Ue);if(!Je)return ge(Ue),null;var Et=io(Ue,Je);ge(Et);var tn=io(Ue,Et);return tn},be=function(ot){var nt=ot.scrollJumpRequest;if(nt){var Ue=zl(ot.impact);Ue||cn(!1);var Je=Pe(ot.dimensions.droppables[Ue],nt);if(Je){var Et=ot.viewport,tn=Fe(ot.isWindowScrollAllowed,Et,Je);tn&&Ee(ot,tn)}}};return be},Fs=function(z){var te=z.scrollDroppable,ie=z.scrollWindow,ge=z.move,Ee=Iu({scrollWindow:ie,scrollDroppable:te}),Pe=Ss({move:ge,scrollWindow:ie,scrollDroppable:te}),Fe=function(ot){if(ot.phase==="DRAGGING"){if(ot.movementMode==="FLUID"){Ee.scroll(ot);return}ot.scrollJumpRequest&&Pe(ot)}},be={scroll:Fe,start:Ee.start,stop:Ee.stop};return be},ui="data-rbd",ii=function(){var z=ui+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),wu=function(){var z=ui+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),ys=function(){var z=ui+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Cs={contextId:ui+"-scroll-container-context-id"},si=function(te){return function(ie){return"["+ie+'="'+te+'"]'}},ll=function(te,ie){return te.map(function(ge){var Ee=ge.styles[ie];return Ee?ge.selector+" { "+Ee+" }":""}).join(" ")},Or="pointer-events: none;",eu=function(z){var te=si(z),ie=function(){var be=` - cursor: -webkit-grab; - cursor: grab; - `;return{selector:te(ii.contextId),styles:{always:` - -webkit-touch-callout: none; - -webkit-tap-highlight-color: rgba(0,0,0,0); - touch-action: manipulation; - `,resting:be,dragging:Or,dropAnimating:be}}}(),ge=function(){var be=` - transition: `+Wo.outOfTheWay+`; - `;return{selector:te(wu.contextId),styles:{dragging:be,dropAnimating:be,userCancel:be}}}(),Ee={selector:te(ys.contextId),styles:{always:"overflow-anchor: none;"}},Pe={selector:"body",styles:{dragging:` - cursor: grabbing; - cursor: -webkit-grabbing; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - overflow-anchor: none; - `}},Fe=[ge,ie,Ee,Pe];return{always:ll(Fe,"always"),resting:ll(Fe,"resting"),dragging:ll(Fe,"dragging"),dropAnimating:ll(Fe,"dropAnimating"),userCancel:ll(Fe,"userCancel")}},ul=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ae.useLayoutEffect:ae.useEffect,Fi=function(){var te=document.querySelector("head");return te||cn(!1),te},Us=function(te){var ie=document.createElement("style");return te&&ie.setAttribute("nonce",te),ie.type="text/css",ie};function xc(z,te){var ie=yt(function(){return eu(z)},[z]),ge=(0,ae.useRef)(null),Ee=(0,ae.useRef)(null),Pe=Mt(fn(function(Ue){var Je=Ee.current;Je||cn(!1),Je.textContent=Ue}),[]),Fe=Mt(function(Ue){var Je=ge.current;Je||cn(!1),Je.textContent=Ue},[]);ul(function(){!ge.current&&!Ee.current||cn(!1);var Ue=Us(te),Je=Us(te);return ge.current=Ue,Ee.current=Je,Ue.setAttribute(ui+"-always",z),Je.setAttribute(ui+"-dynamic",z),Fi().appendChild(Ue),Fi().appendChild(Je),Fe(ie.always),Pe(ie.resting),function(){var Et=function(fa){var Sa=fa.current;Sa||cn(!1),Fi().removeChild(Sa),fa.current=null};Et(ge),Et(Ee)}},[te,Fe,Pe,ie.always,ie.resting,z]);var be=Mt(function(){return Pe(ie.dragging)},[Pe,ie.dragging]),Ke=Mt(function(Ue){if(Ue==="DROP"){Pe(ie.dropAnimating);return}Pe(ie.userCancel)},[Pe,ie.dropAnimating,ie.userCancel]),ot=Mt(function(){Ee.current&&Pe(ie.resting)},[Pe,ie.resting]),nt=yt(function(){return{dragging:be,dropping:Ke,resting:ot}},[be,Ke,ot]);return nt}var js=function(z){return z&&z.ownerDocument?z.ownerDocument.defaultView:window};function yi(z){return z instanceof js(z).HTMLElement}function Ks(z,te){var ie="["+ii.contextId+'="'+z+'"]',ge=ja(document.querySelectorAll(ie));if(!ge.length)return null;var Ee=Kr(ge,function(Pe){return Pe.getAttribute(ii.draggableId)===te});return!Ee||!yi(Ee)?null:Ee}function Dd(z){var te=(0,ae.useRef)({}),ie=(0,ae.useRef)(null),ge=(0,ae.useRef)(null),Ee=(0,ae.useRef)(!1),Pe=Mt(function(Je,Et){var tn={id:Je,focus:Et};return te.current[Je]=tn,function(){var Sa=te.current,Ia=Sa[Je];Ia!==tn&&delete Sa[Je]}},[]),Fe=Mt(function(Je){var Et=Ks(z,Je);Et&&Et!==document.activeElement&&Et.focus()},[z]),be=Mt(function(Je,Et){ie.current===Je&&(ie.current=Et)},[]),Ke=Mt(function(){ge.current||Ee.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var Je=ie.current;Je&&Fe(Je)}))},[Fe]),ot=Mt(function(Je){ie.current=null;var Et=document.activeElement;Et&&Et.getAttribute(ii.draggableId)===Je&&(ie.current=Je)},[]);ul(function(){return Ee.current=!0,function(){Ee.current=!1;var Je=ge.current;Je&&cancelAnimationFrame(Je)}},[]);var nt=yt(function(){return{register:Pe,tryRecordFocus:ot,tryRestoreFocusRecorded:Ke,tryShiftRecord:be}},[Pe,ot,Ke,be]);return nt}function wc(){var z={draggables:{},droppables:{}},te=[];function ie(Ue){return te.push(Ue),function(){var Et=te.indexOf(Ue);Et!==-1&&te.splice(Et,1)}}function ge(Ue){te.length&&te.forEach(function(Je){return Je(Ue)})}function Ee(Ue){return z.draggables[Ue]||null}function Pe(Ue){var Je=Ee(Ue);return Je||cn(!1),Je}var Fe={register:function(Je){z.draggables[Je.descriptor.id]=Je,ge({type:"ADDITION",value:Je})},update:function(Je,Et){var tn=z.draggables[Et.descriptor.id];tn&&tn.uniqueId===Je.uniqueId&&(delete z.draggables[Et.descriptor.id],z.draggables[Je.descriptor.id]=Je)},unregister:function(Je){var Et=Je.descriptor.id,tn=Ee(Et);tn&&Je.uniqueId===tn.uniqueId&&(delete z.draggables[Et],ge({type:"REMOVAL",value:Je}))},getById:Pe,findById:Ee,exists:function(Je){return!!Ee(Je)},getAllByType:function(Je){return Lr(z.draggables).filter(function(Et){return Et.descriptor.type===Je})}};function be(Ue){return z.droppables[Ue]||null}function Ke(Ue){var Je=be(Ue);return Je||cn(!1),Je}var ot={register:function(Je){z.droppables[Je.descriptor.id]=Je},unregister:function(Je){var Et=be(Je.descriptor.id);Et&&Je.uniqueId===Et.uniqueId&&delete z.droppables[Je.descriptor.id]},getById:Ke,findById:be,exists:function(Je){return!!be(Je)},getAllByType:function(Je){return Lr(z.droppables).filter(function(Et){return Et.descriptor.type===Je})}};function nt(){z.draggables={},z.droppables={},te.length=0}return{draggable:Fe,droppable:ot,subscribe:ie,clean:nt}}function Hs(){var z=yt(wc,[]);return(0,ae.useEffect)(function(){return function(){requestAnimationFrame(z.clean)}},[z]),z}var bs=ae.createContext(null),$o=function(){var z=document.body;return z||cn(!1),z},Ad={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Ds=function(te){return"rbd-announcement-"+te};function As(z){var te=yt(function(){return Ds(z)},[z]),ie=(0,ae.useRef)(null);(0,ae.useEffect)(function(){var Pe=document.createElement("div");return ie.current=Pe,Pe.id=te,Pe.setAttribute("aria-live","assertive"),Pe.setAttribute("aria-atomic","true"),(0,ke.Z)(Pe.style,Ad),$o().appendChild(Pe),function(){setTimeout(function(){var Ke=$o();Ke.contains(Pe)&&Ke.removeChild(Pe),Pe===ie.current&&(ie.current=null)})}},[te]);var ge=Mt(function(Ee){var Pe=ie.current;if(Pe){Pe.textContent=Ee;return}},[]);return ge}var Ys=0,Qs={separator:"::"};function Ki(){Ys=0}function ci(z,te){return te===void 0&&(te=Qs),yt(function(){return""+z+te.separator+Ys++},[te.separator,z])}function Js(z){var te=z.contextId,ie=z.uniqueId;return"rbd-hidden-text-"+te+"-"+ie}function Lc(z){var te=z.contextId,ie=z.text,ge=ci("hidden-text",{separator:"-"}),Ee=yt(function(){return Js({contextId:te,uniqueId:ge})},[ge,te]);return(0,ae.useEffect)(function(){var Fe=document.createElement("div");return Fe.id=Ee,Fe.textContent=ie,Fe.style.display="none",$o().appendChild(Fe),function(){var Ke=$o();Ke.contains(Fe)&&Ke.removeChild(Fe)}},[Ee,ie]),Ee}var Hi=ae.createContext(null),il={react:"^16.8.5","react-dom":"^16.8.5"},Oc=/(\d+)\.(\d+)\.(\d+)/,Mc=function(te){var ie=Oc.exec(te);ie==null&&cn(!1);var ge=Number(ie[1]),Ee=Number(ie[2]),Pe=Number(ie[3]);return{major:ge,minor:Ee,patch:Pe,raw:te}},Bd=function(te,ie){return ie.major>te.major?!0:ie.majorte.minor?!0:ie.minor=te.patch},Ic=function(z,te){var ie=Mc(z),ge=Mc(te);Bd(ie,ge)},xd=` - We expect a html5 doctype: - This is to ensure consistent browser layout and measurement - - More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,Yi=function(z){var te=z.doctype;te&&(te.name.toLowerCase(),te.publicId)};function Nc(z){}function di(z,te){}function Xs(){di(function(){Ic(il.react,ae.version),Yi(document)},[])}function Ni(z){var te=(0,ae.useRef)(z);return(0,ae.useEffect)(function(){te.current=z}),te}function eg(){var z=null;function te(){return!!z}function ie(Fe){return Fe===z}function ge(Fe){z&&cn(!1);var be={abandon:Fe};return z=be,be}function Ee(){z||cn(!1),z=null}function Pe(){z&&(z.abandon(),Ee())}return{isClaimed:te,isActive:ie,claim:ge,release:Ee,tryAbandon:Pe}}var qs=9,Bs=13,os=27,$s=32,wd=33,Qi=34,Rc=35,Tc=36,kc=37,Ji=38,Ld=39,tg=40,_s,Ri=(_s={},_s[Bs]=!0,_s[qs]=!0,_s),ec=function(z){Ri[z.keyCode]&&z.preventDefault()},ls=function(){var z="visibilitychange";if(typeof document=="undefined")return z;var te=[z,"ms"+z,"webkit"+z,"moz"+z,"o"+z],ie=Kr(te,function(ge){return"on"+ge in document});return ie||z}(),tc=0,Zc=5;function nc(z,te){return Math.abs(te.x-z.x)>=Zc||Math.abs(te.y-z.y)>=Zc}var ac={type:"IDLE"};function Od(z){var te=z.cancel,ie=z.completed,ge=z.getPhase,Ee=z.setPhase;return[{eventName:"mousemove",fn:function(Fe){var be=Fe.button,Ke=Fe.clientX,ot=Fe.clientY;if(be===tc){var nt={x:Ke,y:ot},Ue=ge();if(Ue.type==="DRAGGING"){Fe.preventDefault(),Ue.actions.move(nt);return}Ue.type!=="PENDING"&&cn(!1);var Je=Ue.point;if(nc(Je,nt)){Fe.preventDefault();var Et=Ue.actions.fluidLift(nt);Ee({type:"DRAGGING",actions:Et})}}}},{eventName:"mouseup",fn:function(Fe){var be=ge();if(be.type!=="DRAGGING"){te();return}Fe.preventDefault(),be.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"mousedown",fn:function(Fe){ge().type==="DRAGGING"&&Fe.preventDefault(),te()}},{eventName:"keydown",fn:function(Fe){var be=ge();if(be.type==="PENDING"){te();return}if(Fe.keyCode===os){Fe.preventDefault(),te();return}ec(Fe)}},{eventName:"resize",fn:te},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&te()}},{eventName:"webkitmouseforcedown",fn:function(Fe){var be=ge();if(be.type==="IDLE"&&cn(!1),be.actions.shouldRespectForcePress()){te();return}Fe.preventDefault()}},{eventName:ls,fn:te}]}function Ci(z){var te=(0,ae.useRef)(ac),ie=(0,ae.useRef)(Fa),ge=yt(function(){return{eventName:"mousedown",fn:function(Ue){if(!Ue.defaultPrevented&&Ue.button===tc&&!(Ue.ctrlKey||Ue.metaKey||Ue.shiftKey||Ue.altKey)){var Je=z.findClosestDraggableId(Ue);if(Je){var Et=z.tryGetLock(Je,Fe,{sourceEvent:Ue});if(Et){Ue.preventDefault();var tn={x:Ue.clientX,y:Ue.clientY};ie.current(),ot(Et,tn)}}}}}},[z]),Ee=yt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ue){if(!Ue.defaultPrevented){var Je=z.findClosestDraggableId(Ue);if(Je){var Et=z.findOptionsForDraggable(Je);Et&&(Et.shouldRespectForcePress||z.canGetLock(Je)&&Ue.preventDefault())}}}}},[z]),Pe=Mt(function(){var Ue={passive:!1,capture:!0};ie.current=Ba(window,[Ee,ge],Ue)},[Ee,ge]),Fe=Mt(function(){var nt=te.current;nt.type!=="IDLE"&&(te.current=ac,ie.current(),Pe())},[Pe]),be=Mt(function(){var nt=te.current;Fe(),nt.type==="DRAGGING"&&nt.actions.cancel({shouldBlockNextClick:!0}),nt.type==="PENDING"&&nt.actions.abort()},[Fe]),Ke=Mt(function(){var Ue={capture:!0,passive:!1},Je=Od({cancel:be,completed:Fe,getPhase:function(){return te.current},setPhase:function(tn){te.current=tn}});ie.current=Ba(window,Je,Ue)},[be,Fe]),ot=Mt(function(Ue,Je){te.current.type!=="IDLE"&&cn(!1),te.current={type:"PENDING",point:Je,actions:Ue},Ke()},[Ke]);ul(function(){return Pe(),function(){ie.current()}},[Pe])}var Ti;function Wc(){}var Vc=(Ti={},Ti[Qi]=!0,Ti[wd]=!0,Ti[Tc]=!0,Ti[Rc]=!0,Ti);function zc(z,te){function ie(){te(),z.cancel()}function ge(){te(),z.drop()}return[{eventName:"keydown",fn:function(Pe){if(Pe.keyCode===os){Pe.preventDefault(),ie();return}if(Pe.keyCode===$s){Pe.preventDefault(),ge();return}if(Pe.keyCode===tg){Pe.preventDefault(),z.moveDown();return}if(Pe.keyCode===Ji){Pe.preventDefault(),z.moveUp();return}if(Pe.keyCode===Ld){Pe.preventDefault(),z.moveRight();return}if(Pe.keyCode===kc){Pe.preventDefault(),z.moveLeft();return}if(Vc[Pe.keyCode]){Pe.preventDefault();return}ec(Pe)}},{eventName:"mousedown",fn:ie},{eventName:"mouseup",fn:ie},{eventName:"click",fn:ie},{eventName:"touchstart",fn:ie},{eventName:"resize",fn:ie},{eventName:"wheel",fn:ie,options:{passive:!0}},{eventName:ls,fn:ie}]}function rc(z){var te=(0,ae.useRef)(Wc),ie=yt(function(){return{eventName:"keydown",fn:function(Pe){if(Pe.defaultPrevented||Pe.keyCode!==$s)return;var Fe=z.findClosestDraggableId(Pe);if(!Fe)return;var be=z.tryGetLock(Fe,nt,{sourceEvent:Pe});if(!be)return;Pe.preventDefault();var Ke=!0,ot=be.snapLift();te.current();function nt(){Ke||cn(!1),Ke=!1,te.current(),ge()}te.current=Ba(window,zc(ot,nt),{capture:!0,passive:!1})}}},[z]),ge=Mt(function(){var Pe={passive:!1,capture:!0};te.current=Ba(window,[ie],Pe)},[ie]);ul(function(){return ge(),function(){te.current()}},[ge])}var oc={type:"IDLE"},ng=120,Md=.15;function Sl(z){var te=z.cancel,ie=z.getPhase;return[{eventName:"orientationchange",fn:te},{eventName:"resize",fn:te},{eventName:"contextmenu",fn:function(Ee){Ee.preventDefault()}},{eventName:"keydown",fn:function(Ee){if(ie().type!=="DRAGGING"){te();return}Ee.keyCode===os&&Ee.preventDefault(),te()}},{eventName:ls,fn:te}]}function lc(z){var te=z.cancel,ie=z.completed,ge=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Pe){var Fe=ge();if(Fe.type!=="DRAGGING"){te();return}Fe.hasMoved=!0;var be=Pe.touches[0],Ke=be.clientX,ot=be.clientY,nt={x:Ke,y:ot};Pe.preventDefault(),Fe.actions.move(nt)}},{eventName:"touchend",fn:function(Pe){var Fe=ge();if(Fe.type!=="DRAGGING"){te();return}Pe.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"touchcancel",fn:function(Pe){if(ge().type!=="DRAGGING"){te();return}Pe.preventDefault(),te()}},{eventName:"touchforcechange",fn:function(Pe){var Fe=ge();Fe.type==="IDLE"&&cn(!1);var be=Pe.touches[0];if(be){var Ke=be.force>=Md;if(Ke){var ot=Fe.actions.shouldRespectForcePress();if(Fe.type==="PENDING"){ot&&te();return}if(ot){if(Fe.hasMoved){Pe.preventDefault();return}te();return}Pe.preventDefault()}}}},{eventName:ls,fn:te}]}function Id(z){var te=(0,ae.useRef)(oc),ie=(0,ae.useRef)(Fa),ge=Mt(function(){return te.current},[]),Ee=Mt(function(Et){te.current=Et},[]),Pe=yt(function(){return{eventName:"touchstart",fn:function(Et){if(!Et.defaultPrevented){var tn=z.findClosestDraggableId(Et);if(tn){var fa=z.tryGetLock(tn,be,{sourceEvent:Et});if(fa){var Sa=Et.touches[0],Ia=Sa.clientX,$a=Sa.clientY,dr={x:Ia,y:$a};ie.current(),Ue(fa,dr)}}}}}},[z]),Fe=Mt(function(){var Et={capture:!0,passive:!1};ie.current=Ba(window,[Pe],Et)},[Pe]),be=Mt(function(){var Je=te.current;Je.type!=="IDLE"&&(Je.type==="PENDING"&&clearTimeout(Je.longPressTimerId),Ee(oc),ie.current(),Fe())},[Fe,Ee]),Ke=Mt(function(){var Je=te.current;be(),Je.type==="DRAGGING"&&Je.actions.cancel({shouldBlockNextClick:!0}),Je.type==="PENDING"&&Je.actions.abort()},[be]),ot=Mt(function(){var Et={capture:!0,passive:!1},tn={cancel:Ke,completed:be,getPhase:ge},fa=Ba(window,lc(tn),Et),Sa=Ba(window,Sl(tn),Et);ie.current=function(){fa(),Sa()}},[Ke,ge,be]),nt=Mt(function(){var Et=ge();Et.type!=="PENDING"&&cn(!1);var tn=Et.actions.fluidLift(Et.point);Ee({type:"DRAGGING",actions:tn,hasMoved:!1})},[ge,Ee]),Ue=Mt(function(Et,tn){ge().type!=="IDLE"&&cn(!1);var fa=setTimeout(nt,ng);Ee({type:"PENDING",point:tn,actions:Et,longPressTimerId:fa}),ot()},[ot,ge,Ee,nt]);ul(function(){return Fe(),function(){ie.current();var tn=ge();tn.type==="PENDING"&&(clearTimeout(tn.longPressTimerId),Ee(oc))}},[ge,Fe,Ee]),ul(function(){var Et=Ba(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Et},[])}function Nd(z){}var Xi={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ti(z,te){if(te==null)return!1;var ie=!!Xi[te.tagName.toLowerCase()];if(ie)return!0;var ge=te.getAttribute("contenteditable");return ge==="true"||ge===""?!0:te===z?!1:ti(z,te.parentElement)}function uc(z,te){var ie=te.target;return yi(ie)?ti(z,ie):!1}var Gc=function(z){return Xa(z.getBoundingClientRect()).center};function Uc(z){return z instanceof js(z).Element}var jc=function(){var z="matches";if(typeof document=="undefined")return z;var te=[z,"msMatchesSelector","webkitMatchesSelector"],ie=Kr(te,function(ge){return ge in Element.prototype});return ie||z}();function Kc(z,te){return z==null?null:z[jc](te)?z:Kc(z.parentElement,te)}function xs(z,te){return z.closest?z.closest(te):Kc(z,te)}function Rd(z){return"["+ii.contextId+'="'+z+'"]'}function Hc(z,te){var ie=te.target;if(!Uc(ie))return null;var ge=Rd(z),Ee=xs(ie,ge);return!Ee||!yi(Ee)?null:Ee}function ic(z,te){var ie=Hc(z,te);return ie?ie.getAttribute(ii.draggableId):null}function Ql(z,te){var ie="["+wu.contextId+'="'+z+'"]',ge=ja(document.querySelectorAll(ie)),Ee=Kr(ge,function(Pe){return Pe.getAttribute(wu.id)===te});return!Ee||!yi(Ee)?null:Ee}function Td(z){z.preventDefault()}function qi(z){var te=z.expected,ie=z.phase,ge=z.isLockActive,Ee=z.shouldWarn;return!(!ge()||te!==ie)}function ws(z){var te=z.lockAPI,ie=z.store,ge=z.registry,Ee=z.draggableId;if(te.isClaimed())return!1;var Pe=ge.draggable.findById(Ee);return!(!Pe||!Pe.options.isEnabled||!bu(ie.getState(),Ee))}function sc(z){var te=z.lockAPI,ie=z.contextId,ge=z.store,Ee=z.registry,Pe=z.draggableId,Fe=z.forceSensorStop,be=z.sourceEvent,Ke=ws({lockAPI:te,store:ge,registry:Ee,draggableId:Pe});if(!Ke)return null;var ot=Ee.draggable.getById(Pe),nt=Ql(ie,ot.descriptor.id);if(!nt||be&&!ot.options.canDragInteractiveElements&&uc(nt,be))return null;var Ue=te.claim(Fe||Fa),Je="PRE_DRAG";function Et(){return ot.options.shouldRespectForcePress}function tn(){return te.isActive(Ue)}function fa(ro,To){qi({expected:ro,phase:Je,isLockActive:tn,shouldWarn:!0})&&ge.dispatch(To())}var Sa=fa.bind(null,"DRAGGING");function Ia(ro){function To(){te.release(),Je="COMPLETED"}Je!=="PRE_DRAG"&&(To(),Je!=="PRE_DRAG"&&cn(!1)),ge.dispatch(ve(ro.liftActionArgs)),Je="DRAGGING";function Wl(zo,Ol){if(Ol===void 0&&(Ol={shouldBlockNextClick:!1}),ro.cleanup(),Ol.shouldBlockNextClick){var su=Ba(window,[{eventName:"click",fn:Td,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(su)}To(),ge.dispatch(Va({reason:zo}))}return(0,ke.Z)({isActive:function(){return qi({expected:"DRAGGING",phase:Je,isLockActive:tn,shouldWarn:!1})},shouldRespectForcePress:Et,drop:function(Ol){return Wl("DROP",Ol)},cancel:function(Ol){return Wl("CANCEL",Ol)}},ro.actions)}function $a(ro){var To=ma(function(zo){Sa(function(){return Kt({client:zo})})}),Wl=Ia({liftActionArgs:{id:Pe,clientSelection:ro,movementMode:"FLUID"},cleanup:function(){return To.cancel()},actions:{move:To}});return(0,ke.Z)({},Wl,{move:To})}function dr(){var ro={moveUp:function(){return Sa(yn)},moveRight:function(){return Sa(Jn)},moveDown:function(){return Sa(Dn)},moveLeft:function(){return Sa(Xn)}};return Ia({liftActionArgs:{id:Pe,clientSelection:Gc(nt),movementMode:"SNAP"},cleanup:Fa,actions:ro})}function ar(){var ro=qi({expected:"PRE_DRAG",phase:Je,isLockActive:tn,shouldWarn:!0});ro&&te.release()}var ao={isActive:function(){return qi({expected:"PRE_DRAG",phase:Je,isLockActive:tn,shouldWarn:!1})},shouldRespectForcePress:Et,fluidLift:$a,snapLift:dr,abort:ar};return ao}var Yc=[Ci,rc,Id];function Qc(z){var te=z.contextId,ie=z.store,ge=z.registry,Ee=z.customSensors,Pe=z.enableDefaultSensors,Fe=[].concat(Pe?Yc:[],Ee||[]),be=(0,ae.useState)(function(){return eg()})[0],Ke=Mt(function($a,dr){$a.isDragging&&!dr.isDragging&&be.tryAbandon()},[be]);ul(function(){var $a=ie.getState(),dr=ie.subscribe(function(){var ar=ie.getState();Ke($a,ar),$a=ar});return dr},[be,ie,Ke]),ul(function(){return be.tryAbandon},[be.tryAbandon]);var ot=Mt(function(Ia){return ws({lockAPI:be,registry:ge,store:ie,draggableId:Ia})},[be,ge,ie]),nt=Mt(function(Ia,$a,dr){return sc({lockAPI:be,registry:ge,contextId:te,store:ie,draggableId:Ia,forceSensorStop:$a,sourceEvent:dr&&dr.sourceEvent?dr.sourceEvent:null})},[te,be,ge,ie]),Ue=Mt(function(Ia){return ic(te,Ia)},[te]),Je=Mt(function(Ia){var $a=ge.draggable.findById(Ia);return $a?$a.options:null},[ge.draggable]),Et=Mt(function(){be.isClaimed()&&(be.tryAbandon(),ie.getState().phase!=="IDLE"&&ie.dispatch(jt()))},[be,ie]),tn=Mt(be.isClaimed,[be]),fa=yt(function(){return{canGetLock:ot,tryGetLock:nt,findClosestDraggableId:Ue,findOptionsForDraggable:Je,tryReleaseLock:Et,isLockClaimed:tn}},[ot,nt,Ue,Je,Et,tn]);Nd(Fe);for(var Sa=0;Sa=0||Object.prototype.hasOwnProperty.call(mt,a)&&(fe[a]=mt[a]);return fe}function ct(mt,$e){if(!(mt instanceof $e))throw new TypeError("Cannot call a class as a function")}function Ne(mt,$e){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $e&&(typeof $e=="object"||typeof $e=="function")?$e:mt}function Me(mt,$e){if(typeof $e!="function"&&$e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $e);mt.prototype=Object.create($e&&$e.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),$e&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,$e):mt.__proto__=$e)}var lt=function(mt){Me($e,mt);function $e(fe){ct(this,$e);var a=Ne(this,($e.__proto__||Object.getPrototypeOf($e)).call(this,fe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return ae($e,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,E={get passive(){a=!0}};try{document.addEventListener("test",null,E),document.removeEventListener("test",null,E)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var E=this.props.getScrollParent&&this.props.getScrollParent();return E!=null?E:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var E=window;this.props.useWindow===!1&&(E=a),E.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),E.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),E.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,E=window,b=this.getParentElement(a),y=void 0;if(this.props.useWindow){var ee=document.documentElement||document.body.parentNode||document.body,ne=E.pageYOffset!==void 0?E.pageYOffset:ee.scrollTop;this.props.isReverse?y=ne:y=this.calculateOffset(a,ne)}else this.props.isReverse?y=b.scrollTop:y=a.scrollHeight-b.scrollTop-b.clientHeight;ywu(ft))} pos: ${this.timelinePos}`),ue.length&&this.log(`R `).split(` `),K=[],ue=t?Fa(t.baseTime,t.timescale):0;let pe="00:00.000",Ee=0,Re=0,Ne,ft=!0;U.oncue=function(at){const Ut=n[s];let cr=n.ccOffset;const sr=(Ee-ue)/9e4;if(Ut!=null&&Ut.new&&(Re!==void 0?cr=n.ccOffset=Ut.start:lf(n,s,sr)),sr){if(!t){Ne=new Error("Missing initPTS for VTT MPEGTS");return}cr=sr-n.presentationOffset}const Nr=at.endTime-at.startTime,Xr=_o((at.startTime+cr-Re)*9e4,v*9e4)/9e4;at.startTime=Math.max(Xr,0),at.endTime=Math.max(Xr+Nr,0);const vn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(vn)),at.id||(at.id=Af(at.startTime,at.endTime,vn)),at.endTime>0&&K.push(at)},U.onparsingerror=function(at){Ne=at},U.onflush=function(){if(Ne){D(Ne);return}E(K)},Y.forEach(at=>{if(ft)if(Sf(at,"X-TIMESTAMP-MAP=")){ft=!1,at.slice(16).split(",").forEach(Ut=>{Sf(Ut,"LOCAL:")?pe=Ut.slice(6):Sf(Ut,"MPEGTS:")&&(Ee=parseInt(Ut.slice(7)))});try{Re=ac(pe)/1e3}catch(Ut){Ne=Ut}return}else at===""&&(ft=!1);U.parse(at+` `)}),U.flush()}const cf="stpp.ttml.im1t",yl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Wf=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,bl={left:"start",center:"center",right:"end",start:"start",end:"end"};function Zc(k,t,n,s){const v=gt(new Uint8Array(k),["mdat"]);if(v.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=v.map(U=>q(U)),D=Zs(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Lf(U,D)))}catch(U){s(U)}}function Lf(k,t){const v=new DOMParser().parseFromString(k,"text/xml").getElementsByTagName("tt")[0];if(!v)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},D=Object.keys(E).reduce((pe,Ee)=>(pe[Ee]=v.getAttribute(`ttp:${Ee}`)||E[Ee],pe),{}),U=v.getAttribute("xml:space")!=="preserve",Y=ff(au(v,"styling","style")),K=ff(au(v,"layout","region")),ue=au(v,"body","[begin]");return[].map.call(ue,pe=>{const Ee=Tf(pe,U);if(!Ee||!pe.hasAttribute("begin"))return null;const Re=df(pe.getAttribute("begin"),D),Ne=df(pe.getAttribute("dur"),D);let ft=df(pe.getAttribute("end"),D);if(Re===null)throw lu(pe);if(ft===null){if(Ne===null)throw lu(pe);ft=Re+Ne}const at=new da(Re-t,ft-t,Ee);at.id=Af(at.startTime,at.endTime,at.text);const Ut=K[pe.getAttribute("region")],cr=Y[pe.getAttribute("style")],sr=Ll(Ut,cr,Y),{textAlign:Nr}=sr;if(Nr){const Xr=bl[Nr];Xr&&(at.lineAlign=Xr),at.align=Nr}return y(at,sr),at}).filter(pe=>pe!==null)}function au(k,t,n){const s=k.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function ff(k){return k.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Tf(k,t){return[].slice.call(k.childNodes).reduce((n,s,v)=>{var E;return s.nodeName==="br"&&v?n+` -`:(E=s.childNodes)!=null&&E.length?Tf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Ll(k,t,n){const s="http://www.w3.org/ns/ttml#styling";let v=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],D=k!=null&&k.hasAttribute("style")?k.getAttribute("style"):null;return D&&n.hasOwnProperty(D)&&(v=n[D]),E.reduce((U,Y)=>{const K=sc(t,s,Y)||sc(k,s,Y)||sc(v,s,Y);return K&&(U[Y]=K),U},{})}function sc(k,t,n){return k&&k.hasAttributeNS(t,n)?k.getAttributeNS(t,n):null}function lu(k){return new Error(`Could not parse ttml timestamp ${k}`)}function df(k,t){if(!k)return null;let n=vs(k);return n===null&&(yl.test(k)?n=Ff(k,t):Wf.test(k)&&(n=hf(k,t))),n}function Ff(k,t){const n=yl.exec(k),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 hf(k,t){const n=Wf.exec(k),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 oc{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 Mf{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=Pf(),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(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new oc(this,"textTrack1"),n=new oc(this,"textTrack2"),s=new oc(this,"textTrack3"),v=new oc(this,"textTrack4");this.cea608Parser1=new ti(1,t,n),this.cea608Parser2=new ti(3,s,v)}addCues(t,n,s,v,E){let D=!1;for(let U=E.length;U--;){const Y=E[U],K=Qf(Y[0],Y[1],n,s);if(K>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),D=!0,K/(s-n)>.5))return}if(D||E.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(u.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:E,trackId:D}){const{unparsedVttFrags:U}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:E,trackId:D}),U.length&&(this.unparsedVttFrags=[],U.forEach(Y=>{this.initPTS[Y.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,Y):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:Y.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{pu(v[E]),delete v[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Pf(),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;sE.textCodec===cf);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Oc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const D=this.media,U=D?co(D.textTracks):null;if(this.tracks.forEach((Y,K)=>{let ue;if(U){let pe=null;for(let Ee=0;EeK!==null).map(K=>K.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 D=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:D})}}}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 E=`textTrack${v[1]}`,D=this.captionsProperties[E];D&&(D.label=s.name,s.lang&&(D.languageCode=s.lang),D.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===o.MAIN){var s,v;const{cea608Parser1:E,cea608Parser2:D,lastSn:U}=this,{cc:Y,sn:K}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;E&&D&&(K!==U+1||K===U&&ue!==this.lastPartIndex+1||Y!==this.lastCc)&&(E.reset(),D.reset()),this.lastCc=Y,this.lastSn=K,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const E=s.decryptdata,D="stats"in n;if(E==null||!E.encrypted||D){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===cf?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;Zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:E,unparsedVttFrags:D}=this,U=E.length-1;if(!E[s.cc]&&U===-1){D.push(t);return}const Y=this.hls,K=(n=s.initSegment)!=null&&n.data?ht(s.initSegment.data,new Uint8Array(v)).buffer:v;Cf(K,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),Y.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const pe=ue.message==="Missing initPTS for VTT MPEGTS";pe?D.push(t):this._fallbackToIMSC1(s,v),Y.logger.log(`Failed to parse VTT cue: ${ue}`),!(pe&&U>s.cc)&&Y.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||Zc(n,this.initPTS[t.cc],()=>{s.textCodec=cf,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(E=>wf(v,E))}else{const v=this.tracks[n];if(!v)return;const E=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.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===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;EZl(U[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(Y=>Zl(U[Y],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let E=0;E=16?Y--:Y++;const Re=gl(K.trim()),Ne=Af(t,n,Re);k!=null&&(pe=k.cues)!=null&&pe.getCueById(Ne)||(D=new ue(t,n,Re),D.id=Ne,D.line=Ee+1,D.align="left",D.position=10+Math.min(80,Math.floor(Y*8/32)*10),v.push(D))}return k&&v.length&&(v.sort((Ee,Re)=>Ee.line==="auto"||Re.line==="auto"?0:Ee.line>8&&Re.line>8?Re.line-Ee.line:Ee.line-Re.line),v.forEach(Ee=>wf(k,Ee))),v}};function Bf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(k){}return!1}const nd=/(\d+)-(\d+)\/(\d+)/;class Nf{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||ad,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 E=qf(t,this.controller.signal),D=t.responseType==="arraybuffer",U=D?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:K}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:K,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(Hs(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const Re=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=K,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},K-(Re-v.loading.start)),!pe.ok){const{status:ft,statusText:at}=pe;throw new Gf(at||"fetch, bad network response",ft,pe)}v.loading.first=Re,v.total=jf(pe.headers)||v.total;const Ne=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Ne&&r(n.highWaterMark)?this.loadProgressively(pe,v,t,n.highWaterMark,Ne):D?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,Re;const Ne=this.response;if(!Ne)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ft=pe[U];ft&&(v.loaded=v.total=ft);const at={url:Ne.url,data:pe,code:Ne.status},Ut=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Ut&&!r(n.highWaterMark)&&Ut(v,t,pe,Ne),(Re=this.callbacks)==null||Re.onSuccess(at,v,t,Ne)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const Re=pe&&pe.code||0,Ne=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Re,text:Ne},t,pe?pe.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,E){const D=new mo,U=t.body.getReader(),Y=()=>U.read().then(K=>{if(K.done)return D.dataLength&&E(n,s,D.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=K.value,pe=ue.length;return n.loaded+=pe,pe=v&&E(n,s,D.flush().buffer,t)):E(n,s,ue.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function qf(k,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},k.headers))};return k.rangeEnd&&n.headers.set("Range","bytes="+k.rangeStart+"-"+String(k.rangeEnd-1)),n}function id(k){const t=nd.exec(k);if(t)return parseInt(t[2])-parseInt(t[1])+1}function jf(k){const t=k.get("Content-Range");if(t){const s=id(t);if(r(s))return s}const n=k.get("Content-Length");if(n)return parseInt(n)}function ad(k,t){return new self.Request(k.url,t)}class Gf extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const g=/^age:\s*[\d.]+\s*$/im;class T{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 E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(D=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(D=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:D.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:E,maxLoadTimeMs:D}=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=E&&r(E)?E:D,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,E=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const K=n.status,ue=n.responseType==="text"?n.responseText:null;if(K>=200&&K<300){const Ne=ue!=null?ue:n.response;if(Ne!=null){var D,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ft=n.responseType==="arraybuffer"?Ne.byteLength:Ne.length;s.loaded=s.total=ft,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const at=(D=this.callbacks)==null?void 0:D.onProgress;at&&at(s,t,Ne,n);const Ut={url:n.responseURL,data:Ne,code:K};(U=this.callbacks)==null||U.onSuccess(Ut,s,t,n);return}}const pe=E.loadPolicy.errorRetry,Ee=s.retry,Re={url:t.url,data:void 0,code:K};if(rt(pe,Ee,!1,Re))this.retry(pe);else{var Y;W.error(`${K} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:K,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(rt(t,n,!0))this.retry(t);else{var s;W.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=$r(t,s.retry),s.retry++,W.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&&g.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 z={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},_e=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:T,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Zi,bufferController:_f,capLevelController:pl,errorController:Or,fpsController:Sc,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:os,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:z},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},ke()),{},{subtitleStreamController:ze,subtitleTrackController:to,timelineController:Mf,audioStreamController:Vl,audioTrackController:Hu,emeController:sl,cmcdController:nf,contentSteeringController:Rf,interstitialsController:O});function ke(){return{cueHandler:Vf,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 ot(k,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=zt(k),v=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(D=>{const U=`${D==="level"?"playlist":D}LoadPolicy`,Y=t[U]===void 0,K=[];E.forEach(ue=>{const pe=`${D}Loading${ue}`,Ee=t[pe];if(Ee!==void 0&&Y){K.push(pe);const Re=s[U].default;switch(t[U]={default:Re},ue){case"TimeOut":Re.maxLoadTimeMs=Ee,Re.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Re.errorRetry.maxNumRetry=Ee,Re.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Re.errorRetry.retryDelayMs=Ee,Re.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Re.errorRetry.maxRetryDelayMs=Ee,Re.timeoutRetry.maxRetryDelayMs=Ee;break}}}),K.length&&n.warn(`hls.js config: "${K.join('", "')}" setting(s) are deprecated, use "${U}": ${Yn(t[U])}`)}),b(b({},s),t)}function zt(k){return k&&typeof k=="object"?Array.isArray(k)?k.map(zt):Object.keys(k).reduce((t,n)=>(t[n]=zt(k[n]),t),{}):k}function ir(k,t){const n=k.loader;n!==Nf&&n!==T?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),k.progressive=!1):Bf()&&(k.loader=Nf,k.progressive=!0,k.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Pr=2,pn=.1,Fi=.05,za=100;class Qn extends zs{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,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(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.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(za),this.mediaSource=n.mediaSource;const s=this.media=n.media;pi(s,"playing",this.onMediaPlaying),pi(s,"waiting",this.onMediaWaiting),pi(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(hs(s,"playing",this.onMediaPlaying),hs(s,"waiting",this.onMediaWaiting),hs(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 E=(s=this.hls)==null?void 0:s.config;if(!E)return;const D=this.media;if(!D)return;const{seeking:U}=D,Y=this.seeking&&!U,K=!this.seeking&&U,ue=D.paused&&!U||D.ended||D.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(K||Y){Y&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&D.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!Ii.getBuffered(D).length){this.nudgeRetry=0;return}const pe=Ii.bufferInfo(D,t,0),Ee=pe.nextStart||0,Re=this.fragmentTracker;if(U&&Re&&this.hls){const vn=ua(this.hls.inFlightFragments,t),Gr=pe.len>Pr,nn=!Ee||vn||Ee-t>Pr&&!Re.getPartialFragment(t);if(Gr||nn)return;this.moved=!1}const Ne=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(pe.len>0)&&!Ee)return;const Gr=Math.max(Ee,pe.start||0)-t,ln=!!(Ne!=null&&Ne.live)?Ne.targetduration*2:Pr,Kr=Ca(t,Re);if(Gr>0&&(Gr<=ln||Kr)){D.paused||this._trySkipBufferHole(Kr);return}}const ft=E.detectStallWithCurrentTimeMs,at=self.performance.now(),Ut=this.waiting;let cr=this.stalled;if(cr===null)if(Ut>0&&at-Ut=ft||Ut)&&this.hls){var Nr;if(((Nr=this.mediaSource)==null?void 0:Nr.readyState)==="ended"&&!(Ne!=null&&Ne.live)&&Math.abs(t-((Ne==null?void 0:Ne.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Xr=Ii.bufferInfo(D,t,E.maxBufferHole);this._tryFixBufferStall(Xr,sr,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(u.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 E=Ii.bufferedInfo(Ii.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const D=Ii.timeRangesToArray(v),U=Ii.bufferedInfo(D,n,0).bufferedIndex;if(U>-1&&UU)&&ue-K<1&&t-K<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${K} -> ${ue} buffered index: ${Y}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Ca(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Re=Ii.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:Re.len,bufferInfo:Re})}}}}}_tryFixBufferStall(t,n,s){var v,E;const{fragmentTracker:D,media:U}=this,Y=(v=this.hls)==null?void 0:v.config;if(!U||!D||!Y)return;const K=(E=this.hls)==null?void 0:E.latestLevelDetails,ue=Ca(s,D);if((ue||K!=null&&K.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 E=s.getFragAtPos(n,o.MAIN),D=s.getFragAtPos(v,o.MAIN);if(E&&D)return D.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:E}=this;if(!v&&E!==null&&s&&n){this.stallReported=!0;const D=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Yn(t)})`);this.warn(D.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:D,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,E=(n=this.hls)==null?void 0:n.config;if(!v||!s||!E)return 0;const D=v.currentTime,U=Ii.bufferInfo(v,D,0),Y=D0&&U.len<1&&v.readyState<3,Ee=Y-D;if(Ee>0&&(ue||pe)){if(Ee>E.maxBufferHole){let Ne=!1;if(D===0){const ft=s.getAppendedFrag(0,o.MAIN);ft&&Y{const k=jr();try{k&&new k(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Zn{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.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&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.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(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&pu(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;nIn&&(pe=In),pe-ue<=0&&(pe=ue+tn);for(let Re=0;Reue.type===Yr.audioId3&&Y:v==="video"?K=ue=>ue.type===Yr.emsg&&U:K=ue=>ue.type===Yr.audioId3&&Y||ue.type===Yr.emsg&&U,Zl(E,n,s,K)}}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.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:E,interstitialsController:D}=this.hls.config;if(!E)return;const U=jr();if(s&&v&&!D){const{fragmentStart:ft,fragmentEnd:at}=t;let Ut=this.assetCue;Ut?(Ut.startTime=ft,Ut.endTime=at):U&&(Ut=this.assetCue=Qr(U,ft,at,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Ut&&(Ut.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Ut),Ut.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:Y}=this,{dateRanges:K}=t,ue=Object.keys(K);let pe=this.dateRangeCuesAppended;if(Y&&n){var Ee;if((Ee=Y.cues)!=null&&Ee.length){const ft=Object.keys(pe).filter(at=>!ue.includes(at));for(let at=ft.length;at--;){var Re;const Ut=ft[at],cr=(Re=pe[Ut])==null?void 0:Re.cues;delete pe[Ut],cr&&Object.keys(cr).forEach(sr=>{const Nr=cr[sr];if(Nr){Nr.removeEventListener("enter",this.onEventCueEnter);try{Y.removeCue(Nr)}catch(Xr){}}})}}else pe=this.dateRangeCuesAppended={}}const Ne=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Ne==null?void 0:Ne.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ft=0;ft{if(Ci!==Ut.id){const ta=K[Ci];if(ta.class===Ut.class&&ta.startDate>Ut.startDate&&(!Cn||Ut.startDate.01&&(Ci.startTime=cr,Ci.endTime=vn);else if(U){let ta=Ut.attr[Cn];ro(Cn)&&(ta=H(ta));const na=Qr(U,cr,vn,{key:Cn,data:ta},Yr.dateRange);na&&(na.id=at,this.id3Track.addCue(na),Nr[Cn]=na,D&&(Cn==="X-ASSET-LIST"||Cn==="X-ASSET-URL")&&na.addEventListener("enter",this.onEventCueEnter))}}pe[at]={cues:Nr,dateRange:Ut,durationKnown:Xr}}}}}class Ka{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:E,maxLiveSyncPlaybackRate:D}=this.config;if(!E||D===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const Y=v-U,K=Math.min(this.maxLatency,U+s.targetduration);if(Y.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,D)),Ee=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,Re=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Re)}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:E,liveSyncDurationCount:D,lowLatencyMode:U}=this.config,Y=this.hls.userConfig;let K=U&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||K===0)&&(K=E!==void 0?E:D*v);const ue=v;return K+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}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,E=t-n-this.edgeStalled,D=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(D,E),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(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.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 Yi extends jl{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(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.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=[],E={},D={};let U=!1,Y=!1,K=!1;n.levels.forEach(ue=>{const pe=ue.attrs;let{audioCodec:Ee,videoCodec:Re}=ue;Ee&&(ue.audioCodec=Ee=xt(Ee,s)||void 0),Re&&(Re=ue.videoCodec=Ct(Re));const{width:Ne,height:ft,unknownCodecs:at}=ue;let Ut=at?at.length:0;if(at)for(let Kr=Ut;Kr--;){const Cn=at[Kr];this.isAudioSupported(Cn)?(ue.audioCodec=Ee=Ee?`${Ee},${Cn}`:Cn,Ut--,he.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Cn)&&(ue.videoCodec=Re=Re?`${Re},${Cn}`:Cn,Ut--,he.video[Re.substring(0,4)]=2)}if(U||(U=!!(Ne&&ft)),Y||(Y=!!Re),K||(K=!!Ee),Ut||Ee&&!this.isAudioSupported(Ee)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:cr,"FRAME-RATE":sr,"HDCP-LEVEL":Nr,"PATHWAY-ID":Xr,RESOLUTION:vn,"VIDEO-RANGE":Gr}=pe,ln=`${`${Xr||"."}-`}${ue.bitrate}-${vn}-${sr}-${cr}-${Gr}-${Nr}`;if(E[ln])if(E[ln].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const Kr=D[ln]+=1;ue.attrs["PATHWAY-ID"]=new Array(Kr+1).join(".");const Cn=this.createLevel(ue);E[ln]=Cn,v.push(Cn)}else E[ln].addGroupId("audio",pe.AUDIO),E[ln].addGroupId("text",pe.SUBTITLES);else{const Kr=this.createLevel(ue);E[ln]=Kr,D[ln]=1,v.push(Kr)}}),this.filterAndSortMediaOptions(v,n,U,Y,K)}createLevel(t){const n=new Xn(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=an(v,[])}return n}isAudioSupported(t){return Te(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Te(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,E){let D=[],U=[],Y=t;if((s||v)&&E&&(Y=Y.filter(({videoCodec:at,videoRange:Ut,width:cr,height:sr})=>(!!at||!!(cr&&sr))&&wn(Ut))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Ut=at;n.levels.length&&(Ut=`one or more CODECS in variant not supported: ${Yn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,Nr,Xr)=>Xr.indexOf(sr)===Nr))}`,this.warn(Ut),at+=` (${Ut})`);const cr=new Error(at);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:cr,reason:Ut})}});return}n.audioTracks&&(D=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Wa(D)),n.subtitles&&(U=n.subtitles,Wa(U));const K=Y.slice(0);Y.sort((at,Ut)=>{if(at.attrs["HDCP-LEVEL"]!==Ut.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Ut.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&at.height!==Ut.height)return at.height-Ut.height;if(at.frameRate!==Ut.frameRate)return at.frameRate-Ut.frameRate;if(at.videoRange!==Ut.videoRange)return Ur.indexOf(at.videoRange)-Ur.indexOf(Ut.videoRange);if(at.videoCodec!==Ut.videoCodec){const cr=Tt(at.videoCodec),sr=Tt(Ut.videoCodec);if(cr!==sr)return sr-cr}if(at.uri===Ut.uri&&at.codecSet!==Ut.codecSet){const cr=Ie(at.codecSet),sr=Ie(Ut.codecSet);if(cr!==sr)return sr-cr}return at.averageBitrate!==Ut.averageBitrate?at.averageBitrate-Ut.averageBitrate:0});let ue=K[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==K.length)){for(let at=0;atcr&&cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const Ee=E&&!v,Re=this.hls.config,Ne=!!(Re.audioStreamController&&Re.audioTrackController),ft={levels:Y,audioTracks:D,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:v,altAudio:Ne&&!Ee&&D.some(at=>!!at.url)};this.hls.trigger(u.MANIFEST_PARSED,ft)}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 ue=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:ue,reason:ue.message}),pe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,E=v?v.attrs["PATHWAY-ID"]:void 0,D=n[t],U=D.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=D,s===t&&v&&E===U)return;this.log(`Switching to level ${t} (${D.height?D.height+"p ":""}${D.videoRange?D.videoRange+" ":""}${D.codecSet?D.codecSet+" ":""}@${D.bitrate})${U?" with Pathway "+U:""} from level ${s}${E?" with Pathway "+E:""}`);const Y={level:t,attrs:D.attrs,details:D.details,bitrate:D.bitrate,averageBitrate:D.averageBitrate,maxBitrate:D.maxBitrate,realBitrate:D.realBitrate,width:D.width,height:D.height,codecSet:D.codecSet,audioCodec:D.audioCodec,videoCodec:D.videoCodec,audioGroups:D.audioGroups,subtitleGroups:D.subtitleGroups,loaded:D.loaded,loadError:D.loadError,fragmentError:D.fragmentError,name:D.name,id:D.id,uri:D.uri,url:D.url,urlId:0,audioGroupIds:D.audioGroupIds,textGroupIds:D.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,Y);const K=D.details;if(!K||K.live){const ue=this.switchParams(D.uri,v==null?void 0:v.details,K);this.loadPlaylist(ue)}}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===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))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:E}=n,D=n.levelInfo;if(!D){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(D===this.currentLevel||n.withoutMultiVariant){D.fragmentError===0&&(D.loadError=0);let Y=D.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(v,n,Y)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.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,E=t.attrs["PATHWAY-ID"],D=t.details,U=D==null?void 0:D.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&D.live?" age "+U.toFixed(1)+(D.type?" "+D.type||0:""):""} ${s}`),this.hls.trigger(u.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((E,D)=>D!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));zn(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(u.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(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Wa(k){const t={};k.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function fs(){return self.SourceBuffer||self.WebKitSourceBuffer}function Ya(){if(!ae())return!1;const t=fs();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Wc(){if(!Ya())return!1;const k=ae();return typeof(k==null?void 0:k.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>k.isTypeSupported(Gt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>k.isTypeSupported(Gt(t,"audio"))))}function sd(){var k;const t=fs();return typeof(t==null||(k=t.prototype)==null?void 0:k.changeType)=="function"}const bd=100;class xd extends us{constructor(t,n,s){super(t,n,s,"stream-controller",o.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,E=v?v.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const D=this.getFwdBufferInfoAtPos(v,E,o.MAIN,0);if(D===null||D.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${D?D.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.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(bd),this.level=-1,!this.startFragRequested){let E=v.startLevel;E===-1&&(v.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=v.firstAutoLevel),v.nextLoadLevel=E,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=cn.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=cn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case cn.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=cn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=cn.IDLE;break}break}case cn.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===cn.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 E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const D=s[E],U=this.getMainFwdBufferInfo();if(U===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(U,Y)){const ft={};this.altAudio===2&&(ft.type="video"),this.hls.trigger(u.BUFFER_EOS,ft),this.state=cn.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const K=D.details;if(!K||this.state===cn.WAITING_LEVEL||this.waitForLive(D)){this.level=E,this.state=cn.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=U.len,pe=this.getMaxBufferLength(D.maxBitrate);if(ue>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:U.end;let Re=this.getNextFragment(Ee,K);if(this.couldBacktrack&&!this.fragPrevious&&Re&&Pe(Re)&&this.fragmentTracker.getState(Re)!==kr.OK){var Ne;const at=((Ne=this.backtrackFragment)!=null?Ne:Re).sn-K.startSN,Ut=K.fragments[at-1];Ut&&Re.cc===Ut.cc&&(Re=Ut,this.fragmentTracker.removeFragment(Ut))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Re&&this.isLoopLoading(Re,Ee)){if(!Re.gap){const at=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Ut=(at===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ut&&this.afterBufferFlushed(Ut,at,o.MAIN)}Re=this.getNextFragmentLoopLoading(Re,K,U,o.MAIN,pe)}Re&&(Re.initSegment&&!Re.initSegment.data&&!this.bitrateTest&&(Re=Re.initSegment),this.loadFragment(Re,D,Ee))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===kr.NOT_LOADED||v===kr.PARTIAL?Pe(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,o.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 E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=D-n.maxFragLookUpTolerance&&E<=U;if(v!==null&&s.duration>v&&(E{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Si(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,E,D=!1;for(const U in s){const Y=s[U];if(Y.id==="main"){if(E=U,v=Y,U==="video"){const K=s[U];K&&(this.videoBuffer=K.buffer)}}else D=!0}D&&v?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,E=s.type===o.MAIN;if(E){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===cn.PARSED&&(this.state=cn.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const D=this.media;D&&(!this._hasEnoughToStart&&Ii.getBuffered(D).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=cn.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(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===cn.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=cn.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.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=cn.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.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,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=cn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const D=E.stats;D.parsing.start=D.parsing.end=D.buffering.start=D.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),E.bitrateTest=!1}).catch(s=>{this.state===cn.STOPPED||this.state===cn.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:E}=t,D=this.getCurrentContext(E);if(!D){this.resetWhenMissingContext(E);return}const{frag:U,part:Y,level:K}=D,{video:ue,text:pe,id3:Ee,initSegment:Re}=v,{details:Ne}=K,ft=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=cn.PARSING,Re){const at=Re.tracks;if(at){const Nr=U.initSegment||U;if(this.unhandledEncryptionError(Re,U))return;this._bufferInitSegment(K,at,Nr,E),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Nr,id:n,tracks:at})}const Ut=Re.initPTS,cr=Re.timescale,sr=this.initPTS[U.cc];if(r(Ut)&&(!sr||sr.baseTime!==Ut||sr.timescale!==cr)){const Nr=Re.trackId;this.initPTS[U.cc]={baseTime:Ut,timescale:cr,trackId:Nr},s.trigger(u.INIT_PTS_FOUND,{frag:U,id:n,initPTS:Ut,timescale:cr,trackId:Nr})}}if(ue&&Ne){ft&&ue.type==="audiovideo"&&this.logMuxedErr(U);const at=Ne.fragments[U.sn-1-Ne.startSN],Ut=U.sn===Ne.startSN,cr=!at||U.cc>at.cc;if(v.independent!==!1){const{startPTS:sr,endPTS:Nr,startDTS:Xr,endDTS:vn}=ue;if(Y)Y.elementaryStreams[ue.type]={startPTS:sr,endPTS:Nr,startDTS:Xr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&E.id===1&&!cr&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Gr=this.getMainFwdBufferInfo(),nn=(Gr?Gr.end:this.getLoadPosition())+this.config.maxBufferHole,ln=ue.firstKeyFramePTS?ue.firstKeyFramePTS:sr;if(!Ut&&nnPr&&(U.gap=!0);U.setElementaryStreamInfo(ue.type,sr,Nr,Xr,vn),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(ue,U,Y,E,Ut||cr)}else if(Ut||cr)U.gap=!0;else{this.backtrack(U);return}}if(ft){const{startPTS:at,endPTS:Ut,startDTS:cr,endDTS:sr}=ft;Y&&(Y.elementaryStreams[ie.AUDIO]={startPTS:at,endPTS:Ut,startDTS:cr,endDTS:sr}),U.setElementaryStreamInfo(ie.AUDIO,at,Ut,cr,sr),this.bufferFragmentData(ft,U,Y,E)}if(Ne&&Ee!=null&&Ee.samples.length){const at={id:n,frag:U,details:Ne,samples:Ee.samples};s.trigger(u.FRAG_PARSING_METADATA,at)}if(Ne&&pe){const at={id:n,frag:U,details:Ne,samples:pe.samples};s.trigger(u.FRAG_PARSING_USERDATA,at)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==cn.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:D,audiovideo:U}=n;if(E){const K=t.audioCodec;let ue=Me(E.codec,K);ue==="mp4a"&&(ue="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),K&&K!==ue&&this.log(`Swapping manifest audio codec "${K}" for "${ue}"`),E.levelCodec=ue,E.id=o.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${ue||""}/${K||""}/${E.codec}]`),delete n.audiovideo}if(D){D.levelCodec=t.videoCodec,D.id=o.MAIN;const K=D.codec;if((K==null?void 0:K.length)===4)switch(K){case"hvc1":case"hev1":D.codec="hvc1.1.6.L120.90";break;case"av01":D.codec="av01.0.04M.08";break;case"avc1":D.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${D.container}, codecs[level/parsed]=[${t.videoCodec||""}/${K}]${D.codec!==K?" parsed-corrected="+D.codec:""}${D.supplemental?" supplemental="+D.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(u.BUFFER_CODECS,n),!this.hls)return;Y.forEach(K=>{const pe=n[K].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:K,data:pe,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,o.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=cn.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Ii.isBuffered(t,s)?n=this.getAppendedFrag(s):Ii.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,E=n.level;(!v||n.sn!==v.sn||v.level!==E)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==E)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:E}))}}}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?nt(null,s.fragments,n):null);if(v){const E=v.programDateTime;if(E!==null){const D=E+(n-v.start)*1e3;return new Date(D)}}}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 Ed extends L{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[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.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,E){return new ja({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,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,E=n.length;v{if(!this.emeController)return;D.setKeyFormat(U);const Y=ci(U);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const v=ns(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 E=t.decryptdata;if(!E){const ue=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,ue))}const D=E.uri;if(!D)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${D}"`)));const U=od(E);let Y=this.keyIdToKeyInfo[U];if((s=Y)!=null&&s.decryptdata.key)return E.key=Y.decryptdata.key,Promise.resolve({frag:t,keyInfo:Y});if((v=Y)!=null&&v.keyLoadPromise){var K;switch((K=Y.mediaKeySessionContext)==null?void 0:K.keyStatus){case"usable":case"usable-in-future":return Y.keyLoadPromise.then(pe=>{const{keyInfo:Ee}=pe;return E.key=Ee.decryptdata.key,{frag:t,keyInfo:Ee}})}}switch(this.log(`Loading key ${Q(E.keyId||[])} from ${t.type} ${t.level}`),Y=this.keyIdToKeyInfo[U]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(Y,t):this.loadKeyEME(Y,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(Y,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const v=this.emeController.loadKey(s);return(t.keyLoadPromise=v.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E.data&&(E.data.frag=n),E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,E=new v(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((D,U)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},K=s.keyLoadPolicy.default,ue={loadPolicy:K,timeout:K.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Re,Ne,ft)=>{const{frag:at,keyInfo:Ut,url:cr}=Ne,sr=od(Ut.decryptdata)||cr;if(!at.decryptdata||Ut!==this.keyIdToKeyInfo[sr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ft));Ut.decryptdata.key=at.decryptdata.key=new Uint8Array(Ee.data),at.keyLoader=null,Ut.loader=null,D({frag:at,keyInfo:Ut})},onError:(Ee,Re,Ne,ft)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Ne,b({url:Y.url,data:void 0},Ee)))},onTimeout:(Ee,Re,Ne)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ne))},onAbort:(Ee,Re,Ne)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ne))}};E.load(Y,ue,pe)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null);const D=od(s.decryptdata)||v;delete this.keyIdToKeyInfo[D],E&&E.destroy()}}function od(k){const t=k.keyId;return t?Q(t):k.uri}function dd(k){const{type:t}=k;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function ud(k,t){let n=k.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class wd{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(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,E=s||v,D=new E(n);return this.loaders[t.type]=D,D}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:E,url:D,deliveryDirectives:U,levelInfo:Y}=n;this.load({id:s,level:v,pathwayId:E,responseType:"text",type:h.LEVEL,url:D,deliveryDirectives:U,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:E,deliveryDirectives:D,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:D,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:E,deliveryDirectives:D,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:D,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(E=>E===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 K=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?K.log(`[playlist-loader]: ignore ${t.url} ongoing request`):K.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}K.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let K;if(t.type===h.LEVEL&&t.level!==null?K=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?K=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(K=this.hls.subtitleTracks[t.id].details),K){const ue=K.partTarget,pe=K.targetduration;if(ue&&pe){const Ee=Math.max(ue*3,pe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const D=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:D.maxNumRetry||0,retryDelay:D.retryDelayMs||0,maxRetryDelay:D.maxRetryDelayMs||0},Y={onSuccess:(K,ue,pe,Ee)=>{const Re=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Ne=K.data;if(Ne.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(K,pe,new Error("no EXTM3U delimiter"),Ee||null,ue);return}ue.parsing.start=performance.now(),jo.isMediaPlaylist(Ne)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(K,ue,pe,Ee||null,Re):this.handleMasterPlaylist(K,ue,pe,Ee)},onError:(K,ue,pe,Ee)=>{this.handleNetworkError(ue,pe,!1,K,Ee)},onTimeout:(K,ue,pe)=>{this.handleNetworkError(ue,pe,!0,void 0,K)}};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 E=this.hls,D=t.data,U=ud(t,s),Y=jo.parseMasterPlaylist(D,U);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,v,n);return}const{contentSteering:K,levels:ue,sessionData:pe,sessionKeys:Ee,startTimeOffset:Re,variableList:Ne}=Y;this.variableList=Ne;const{AUDIO:ft=[],SUBTITLES:at,"CLOSED-CAPTIONS":Ut}=jo.parseMasterPlaylistMedia(D,U,Y);ft.length&&!ft.some(sr=>!sr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ft.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new bn({}),bitrate:0,url:""})),E.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:ft,subtitles:at,captions:Ut,contentSteering:K,url:U,stats:n,networkDetails:v,sessionData:pe,sessionKeys:Ee,startTimeOffset:Re,variableList:Ne})}handleTrackOrLevelPlaylist(t,n,s,v,E){const D=this.hls,{id:U,level:Y,type:K}=s,ue=ud(t,s),pe=r(Y)?Y:r(U)?U:0,Ee=dd(s),Re=jo.parseLevelPlaylist(t.data,ue,pe,Ee,0,this.variableList);if(K===h.MANIFEST){const Ne={attrs:new bn({}),bitrate:0,details:Re,name:"",url:ue};Re.requestScheduled=n.loading.start+Mr(Re,0),D.trigger(u.MANIFEST_LOADED,{levels:[Ne],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Re,this.handlePlaylistLoaded(Re,t,n,s,v,E)}handleManifestParsingError(t,n,s,v,E){this.hls.trigger(u.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:E})}handleNetworkError(t,n,s=!1,v,E){let D=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?D+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(D+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(D);this.hls.logger.warn(`[playlist-loader]: ${D}`);let Y=f.UNKNOWN,K=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,K=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,K=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,K=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,K=!1;break}ue&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:Y,fatal:K,url:t.url,loader:ue,context:t,error:U,networkDetails:n,stats:E};if(v){const Ee=(n==null?void 0:n.url)||t.url;pe.response=b({url:Ee,data:void 0},v)}this.hls.trigger(u.ERROR,pe)}handlePlaylistLoaded(t,n,s,v,E,D){const U=this.hls,{type:Y,level:K,id:ue,groupId:pe,deliveryDirectives:Ee}=v,Re=ud(n,v),Ne=dd(v),ft=typeof v.level=="number"&&Ne===o.MAIN?K:void 0;if(!t.fragments.length){const Ut=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:Ut,reason:Ut.message,response:n,context:v,level:ft,parent:Ne,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(`${at} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:at,reason:at.message,response:n,context:v,level:ft,parent:Ne,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&D&&(D.getCacheAge&&(t.ageHeader=D.getCacheAge()||0),(!D.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:U.trigger(u.LEVEL_LOADED,{details:t,levelInfo:v.levelOrTrack||U.levels[0],level:ft||0,id:ue||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ue||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:U.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ue||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class If{static get version(){return Vt}static isMSESupported(){return Ya()}static isSupported(){return Wc()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return Yr}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:_e}static set DefaultConfig(t){If.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 jt,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=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ot(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&ir(s,n);const{abrController:v,bufferController:E,capLevelController:D,errorController:U,fpsController:Y}=s,K=new U(this),ue=this.abrController=new v(this),pe=new An(this),Ee=s.interstitialsController,Re=Ee?this.interstitialsController=new Ee(this,If):null,Ne=this.bufferController=new E(this,pe),ft=this.capLevelController=new D(this),at=new Y(this),Ut=new wd(this),cr=s.contentSteeringController,sr=cr?new cr(this):null,Nr=this.levelController=new Yi(this,sr),Xr=new Zn(this),vn=new Ed(this.config,this.logger),Gr=this.streamController=new xd(this,pe,vn),nn=this.gapController=new Qn(this,pe);ft.setStreamController(Gr),at.setStreamController(Gr);const ln=[Ut,Nr,Gr];Re&&ln.splice(1,0,Re),sr&&ln.splice(1,0,sr),this.networkControllers=ln;const Kr=[ue,Ne,nn,ft,at,Xr,pe];this.audioTrackController=this.createController(s.audioTrackController,ln);const Cn=s.audioStreamController;Cn&&ln.push(this.audioStreamController=new Cn(this,pe,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,ln);const Ci=s.subtitleStreamController;Ci&&ln.push(this.subtititleStreamController=new Ci(this,pe,vn)),this.createController(s.timelineController,Kr),vn.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(Ka,Kr),this.coreComponents=Kr,ln.push(K);const ta=K.onErrorOut;typeof ta=="function"&&this.on(u.ERROR,ta,K),this.on(u.MANIFEST_LOADED,Ut.onManifestLoaded,Ut)}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===u.ERROR;this.trigger(u.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(u.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 E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});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(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=$.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(u.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={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.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=vi()),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){en(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 E=v;E--;){const D=t[E].attrs["HDCP-LEVEL"];if(D&&D<=s)return E}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=Xi(n);return Yt(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function R(){m&&clearTimeout(m)}function L(I){var F=I||{},B=F.upcomingOnly,N=B===void 0?!1:B;R(),b=!N}function C(){for(var I=arguments.length,F=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?W:V,l))):V():o!==!0&&(m=setTimeout(y?W:V,y===void 0?l-G:l))}return C.cancel=L,C}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!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",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",2582:"p__Competitions__SpecialSubject__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",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",5261:"p__Forums__User__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",5616:"p__Competitions__Group__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",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7949:"p__Course__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",8746:"p__Forums__Subject__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",9441:"p__Forums__Detail__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:"fec24418",67:"34748187",109:"d7c98196",119:"0a43cacb",173:"aa1aa952",195:"932e1bfb",201:"3ad25648",264:"695accfb",292:"551fa57c",316:"1f60ada6",337:"fbdd9ec9",354:"d4d139cf",479:"b30cb0ab",485:"a5288dd6",518:"d6147f6b",532:"725911b5",533:"33954719",547:"0be9bc68",556:"71ee681b",559:"ba13752c",570:"5343c3b9",576:"3af44599",629:"44a1d9a5",643:"c232637d",671:"4a609b8d",680:"b07e9af0",700:"9e289467",737:"d45e5dde",741:"ac5fd360",799:"4ecd08fb",879:"1020e591",895:"333c61cd",900:"5931c09e",906:"a8e85a3d",921:"06a84e27",928:"e3aeb36d",981:"2191a42e",1006:"2f03eceb",1043:"9b5fb491",1045:"c4efc940",1048:"759875f4",1070:"aec84e4e",1077:"7f449685",1144:"c90eccaf",1154:"8cb80842",1211:"2dcc4752",1253:"c20cf7cb",1257:"989a7a0c",1274:"5f6ea65a",1276:"88dabcba",1343:"aa36fb07",1423:"28533195",1427:"636162f5",1450:"21e814bf",1461:"ce06d2b5",1462:"fcf08abc",1470:"8cd2bcbe",1475:"0e78692a",1477:"bd014396",1482:"e96926ab",1512:"c7a62f6e",1520:"f18eebf2",1545:"4a837c8a",1578:"be96a492",1581:"82d940b3",1582:"274794c4",1646:"e6e27b60",1651:"e8d14b67",1657:"197ae3bc",1660:"fa2638e0",1674:"1ef24cb1",1678:"0e0a5640",1713:"416a39f6",1717:"29154519",1727:"c62ccf3b",1754:"d4e59c6b",1783:"71e6e8f5",1798:"442fa5bf",1799:"b8dc44a8",1831:"d109c2d4",1836:"195eb428",1855:"94a447bd",1880:"a4554181",1881:"d8d1279a",1897:"0341372d",1939:"9489f558",1953:"c7553aea",1962:"9ca5c390",1993:"df7bf722",2011:"59d51f98",2045:"dd099896",2099:"0bba753e",2102:"8a518205",2130:"8dc06a17",2141:"dc012c95",2203:"f2d262fe",2216:"346c8318",2240:"9c4ae39d",2249:"f4830452",2281:"3c979a97",2300:"f77c7faa",2303:"2795ed3e",2307:"dd7e5170",2338:"9752df3f",2339:"9b6100a0",2364:"f89faf70",2386:"192e235c",2396:"16cc7960",2404:"a50289c3",2412:"e82443c2",2425:"6a4d7878",2443:"cdccb017",2476:"0ab49c48",2494:"68080a87",2501:"edee90b6",2538:"de4a3723",2539:"7df5e309",2548:"68aff200",2570:"933e997f",2582:"942fe698",2594:"e87d3761",2603:"f3ba23d6",2659:"012cf41a",2707:"f0ba7ee7",2806:"c7dc417e",2819:"f1248b2c",2823:"73e1de0d",2829:"11b00090",2837:"54a82605",2862:"9108311d",2865:"7dd0c2ea",2884:"096eb5c9",2969:"ab3357d7",3006:"83cae2ef",3086:"779bf947",3133:"9bf3f89c",3141:"6b5a1788",3157:"8b587f5c",3183:"02e8c713",3198:"8e655451",3212:"a540ff6d",3220:"d1e5ef72",3247:"02531857",3260:"d2779f93",3276:"034be4cf",3317:"81405dff",3391:"eb886047",3433:"5f95513c",3442:"abfc9d77",3447:"1490927d",3451:"fe16d09d",3509:"3a4647d0",3550:"3dc83156",3581:"2cf82be1",3585:"a59a3480",3668:"3d0a23aa",3697:"481a10d9",3747:"c6b4f5b3",3754:"6ead93af",3777:"d5b0f2f1",3784:"c2d013cb",3805:"9dbcb95e",3831:"315bdaf8",3862:"8be7610c",3873:"0e5b4633",3885:"f87f7f15",3910:"cc0552e5",3951:"8e20e867",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"4514dfb6",4048:"46f47b46",4056:"7425b2e1",4058:"53d5c932",4078:"14f605fa",4088:"236723f3",4093:"ce85c1e0",4105:"eaf4f75f",4144:"491feb7f",4164:"1b2a99bf",4216:"4102a5bf",4217:"82b22f35",4227:"2f64220c",4259:"eac46ae5",4264:"3cb7ed18",4297:"94bbf240",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f04cfdae",4492:"ce3114fa",4496:"1380671f",4498:"1fa98d0b",4504:"b4b9c03a",4514:"250d7385",4520:"d45548f2",4546:"5fb3858d",4565:"e97181f6",4572:"8959d84f",4599:"61def4cb",4610:"d5712af7",4621:"aa06deb8",4628:"ece2c60c",4662:"2c61e6db",4685:"c33f1528",4715:"f5319227",4736:"92c7bcf7",4741:"8bd7e4c1",4757:"6c22fc89",4766:"6aefd62d",4770:"830dc319",4790:"619413e4",4795:"1d37a933",4797:"a24e92db",4800:"14d03f11",4850:"1edda4b7",4889:"1e943fb8",4928:"9368c8ac",4973:"e4abd017",4994:"9cd1d0ee",5022:"402a0d6d",5028:"3a4174e9",5043:"052d034d",5048:"822d1f40",5060:"85dafcc6",5096:"3fcded7e",5111:"597cf7ac",5117:"897ad640",5125:"9a413648",5148:"42f5f5bd",5165:"c9ffb1d8",5176:"a81de50f",5177:"4673aa41",5179:"a746df9a",5186:"b9b6c8e7",5230:"5aa07e72",5238:"483c00b2",5261:"38c8b0b7",5290:"5dabcdc2",5297:"5bdaf53b",5307:"0b96c02b",5319:"a95a6eac",5321:"1163c84e",5330:"82f0c453",5335:"5e753449",5354:"7ae70604",5357:"bbb0c6a4",5359:"5ba36c7b",5382:"8408e530",5402:"8eaaf6e1",5416:"454536b7",5434:"38b302a6",5466:"e9462d7b",5494:"d89549c4",5518:"1fc78545",5549:"9901e1b6",5572:"dd6d437f",5573:"874cbbba",5616:"ce303d49",5624:"e8f8517b",5631:"e00d3d36",5650:"625da689",5679:"4a090bef",5694:"412c9f19",5705:"af671053",5729:"30bcc394",5764:"e0d7e586",5775:"7cdce5d4",5776:"72fadd6a",5786:"985dcf32",5798:"b868a4d7",5800:"ba187d7e",5816:"aa1bf3bd",5876:"5eded409",5888:"fef8bae3",5891:"13d39978",5894:"77eae38e",5902:"4185d5ef",5915:"756ffdb7",5972:"998f3bcc",5992:"24e947e9",6029:"d767edcc",6034:"243a459d",6045:"d268f87f",6047:"3ce45acd",6063:"517b825f",6069:"04e3b825",6080:"3a8c3274",6126:"99519171",6127:"804bba20",6170:"bcf3b504",6185:"3e4328a2",6186:"d5daa918",6265:"860ebf90",6270:"2b447541",6282:"b20f3006",6328:"9707658a",6366:"e513254c",6378:"7f3a946a",6411:"48c95ca1",6434:"35d4646a",6444:"a281bb22",6451:"3b676581",6452:"8109f9af",6531:"9c174eba",6583:"69d5e04a",6587:"3b670c86",6634:"1a533fa9",6637:"507e087d",6651:"cb04a016",6682:"09f6ceeb",6685:"6a2d5a14",6729:"49db42b5",6741:"795ce159",6774:"59d4d618",6776:"a6c1b245",6784:"ee9772e6",6788:"c0f90e46",6789:"74bb8fdf",6796:"25ef5d40",6820:"8d673c54",6882:"5887977f",6904:"0ebca206",6913:"6336d6f8",6963:"869a9eae",7043:"ebf865b0",7045:"1978b6e5",7058:"17bcc065",7062:"d8fe944b",7084:"46ccce72",7099:"019e3886",7121:"902ecbe9",7156:"e7466006",7178:"af212410",7182:"072c621b",7224:"7dfe39ed",7242:"25aa6e52",7260:"0016e4fe",7289:"c589a646",7322:"7231c264",7323:"3f57b68f",7329:"9499da6c",7333:"37a6c3ac",7365:"1005464f",7395:"565496d7",7402:"6b7a7c9c",7460:"74b599f0",7477:"63eaeae9",7482:"84f03d50",7527:"b8599fb4",7545:"29dc6204",7560:"69df653e",7589:"2c4bb2ff",7591:"c8233ce9",7614:"7de1810c",7622:"0f71d086",7686:"4fcec9f9",7706:"c2a79e40",7806:"9b322031",7835:"157f5cb9",7855:"7276010a",7857:"56a325f4",7883:"053bdc31",7884:"f2e2d28f",7901:"4db5f004",7922:"fe1df903",7949:"d3986db1",7964:"29aed9a1",7999:"3306d5cf",8003:"fd05ffc6",8062:"dfa7001c",8066:"bfc46e1b",8072:"6efc8725",8085:"6cbce4c9",8089:"d536b13a",8115:"608105e7",8143:"29919a2c",8145:"b150e061",8155:"48caf27c",8161:"83c5fa9a",8217:"57e39b22",8237:"d6465992",8241:"38a073c8",8286:"148975a8",8302:"55794970",8332:"11e92bab",8340:"a7586453",8350:"07df8a75",8365:"a7b716df",8398:"82f5d95c",8431:"0d7a2b75",8435:"29ffda57",8447:"13298487",8458:"5f183d5e",8479:"ae036d60",8517:"44d48d16",8552:"0a715e83",8561:"4339de84",8563:"80ca84de",8579:"70924a14",8639:"374b258d",8660:"75a372ba",8661:"2784072e",8665:"e04ffb1c",8688:"0dfa6a90",8689:"37531f2e",8723:"03933a24",8737:"ce7dad23",8746:"f0469092",8776:"0ad26240",8787:"60764e85",8800:"8c49f8e1",8823:"1cc54707",8827:"686a8a6f",8842:"9f25a3e2",8866:"cb57ab3c",8871:"690fa8cb",8882:"d0a5343d",8885:"3ec4b6ea",8898:"d002bcd8",8909:"466f7924",8920:"7f82440c",8963:"790aecdd",8965:"7c7b4cdc",8999:"8ad65f83",9039:"f5501202",9076:"dc3da45e",9104:"bbcb2345",9205:"c10e70a3",9252:"0d791a59",9260:"cf5f8140",9366:"4a3525d2",9391:"3037cecb",9404:"9fcc3d3e",9406:"d524e434",9416:"2bb4e771",9417:"cf4c500d",9441:"c53f9e3f",9449:"6bddb907",9487:"60518647",9489:"b8020f5a",9507:"f2291975",9511:"f160e1a9",9512:"2ba409d3",9554:"ed358e7b",9559:"f794af19",9647:"080f93f1",9649:"8759ffc1",9674:"e7a3ba89",9677:"d87531d8",9695:"ca4090f6",9715:"8fb041fe",9716:"76cfada7",9785:"3bee4d72",9788:"f0410727",9814:"1b93b961",9891:"7752b7b3",9895:"b8e31ff2",9906:"def29196",9921:"bee8529f",9922:"810a57ca",9928:"5989f5e0",9944:"2967c72a",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",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",2582:"p__Competitions__SpecialSubject__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",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",5261:"p__Forums__User__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",5616:"p__Competitions__Group__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",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7949:"p__Course__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",8746:"p__Forums__Subject__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",9441:"p__Forums__Detail__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:"de58cef9",109:"1a7fc455",119:"25b26a6d",195:"8653772c",201:"7872e384",264:"5fd9b3fc",292:"9702f825",337:"45f063ed",479:"bba9e475",485:"d63578fe",518:"c6774a1c",532:"c1a3e627",533:"7c6a1361",547:"5581debc",556:"c9ce9a90",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"573b339d",737:"98eb2f74",799:"08103cd8",879:"8ef20790",895:"ad846737",900:"228aca9a",906:"a29ef4e5",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"8e5fbfd7",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"619593a3",1257:"156e8f74",1276:"bbc6eeec",1343:"f50c7fcf",1423:"5c4a76fc",1427:"c24d69b3",1450:"1edcc2ed",1461:"e71bb36a",1470:"183c9793",1475:"5bfcb58b",1477:"970fcf81",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"0c4169ac",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"54cf8e15",1657:"c0cb4a08",1674:"fdbc1e05",1678:"484ca996",1713:"e5cf33ee",1717:"d926ec2f",1727:"522640e5",1754:"118c994b",1783:"0d3d06a0",1798:"3157272a",1831:"cb1c37ee",1836:"5f0d3f7f",1855:"b92cccb4",1880:"750743ca",1897:"62544c06",1939:"ce7e2b5a",1953:"20ce3901",1962:"84e145fa",1993:"c47eb47a",2045:"dcfad42d",2099:"6154820d",2102:"ec61f9f0",2130:"fa9a5d94",2141:"5eb2f330",2203:"bd175c79",2216:"33467293",2240:"e7cce869",2281:"108a20a4",2303:"1ed5567d",2307:"b2c54321",2338:"dea1928a",2339:"1336108e",2396:"2fd22400",2404:"08d36549",2412:"84cd3fdc",2425:"47b23ee4",2443:"637429ad",2476:"cf85a190",2501:"2441982c",2539:"082dd38b",2548:"75182034",2570:"9d4ec1c9",2582:"843c8d01",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"505dc6f7",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"dff7c42d",2865:"6ef3cf6b",2884:"ebfe0ea4",3006:"7fce4e74",3086:"d0ebac07",3141:"0dd46a21",3157:"f5d985ab",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"05740106",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"2018f6c1",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"2595a35d",3585:"5f288e7b",3668:"fd3ea050",3747:"1af43845",3784:"c81d4a51",3831:"2711fd44",3873:"7cbe1ba5",3910:"658d457f",3951:"9b11b034",4030:"af04fe52",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"775588f4",4105:"7f9d4513",4144:"f10aa199",4164:"1ef1f5b4",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"1b9a62ea",4297:"cb8a8129",4449:"f5460b15",4492:"12cb2835",4496:"77babddd",4498:"3e85d92c",4504:"9074cfde",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aa988bc4",4610:"687005a6",4621:"807fbac2",4662:"37625a1c",4715:"1230954d",4736:"5b6f4e2f",4741:"92525927",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"43974304",5022:"81b1b86b",5028:"03cdfb68",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"ab408bd4",5125:"57501e4a",5148:"572faeac",5165:"48afbcf3",5176:"9c49e7fa",5177:"ec157db5",5179:"21f01751",5186:"e766ffd9",5230:"8ecdafbb",5238:"865509db",5261:"ab222cfe",5297:"5426028f",5307:"4d2f0cc2",5319:"34217c3f",5330:"d6eee700",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"d75b7acd",5402:"e8092123",5466:"12cfd33a",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5616:"c8ff2e95",5624:"75c5add6",5650:"f8f63f4b",5694:"c3e4a8be",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"9d910e47",5786:"37a81eaa",5798:"ce1cf7da",5800:"ace57161",5816:"4adf0529",5888:"193a7f8f",5891:"cbb6f851",5894:"4c5225a9",5915:"bc9c3e69",5972:"2da178a4",5992:"419f5d2f",6029:"7f981b9d",6063:"3b503608",6069:"a9aeea2e",6080:"16a2fdee",6127:"f31505a8",6185:"bd124dd8",6265:"8aa3f229",6270:"5496b206",6282:"f0151247",6328:"de2b9d62",6366:"079fc2d8",6434:"48c2a3cc",6444:"fd46d237",6451:"4db8623e",6452:"50a6d310",6583:"7599cb91",6587:"9c49e7fa",6634:"f3e22881",6637:"4348c475",6651:"b07fe216",6682:"0b183f46",6685:"50d3c702",6729:"aea3b7f5",6741:"b838eb14",6776:"461a4e93",6784:"1affe817",6789:"f85c816f",6796:"b24f73ad",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"70169de5",7062:"59808703",7099:"f992d16a",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"516cb5de",7322:"5a42a3df",7323:"b7b1c92b",7329:"e5af7e18",7395:"ff574c5d",7402:"c2ab8a41",7460:"dedd2038",7477:"7903c644",7482:"c37a3f01",7527:"a4765b7e",7545:"6e229fc1",7560:"d82e43ca",7589:"2517c75a",7614:"de9ee12f",7622:"5e2922e8",7806:"80b7b1d6",7835:"8803c843",7855:"8698f084",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"fb78c85b",7922:"0e7ce87a",7949:"18650a04",8062:"8e384b9f",8072:"540f746b",8085:"e6b0e037",8115:"4168d1d3",8143:"1021d119",8145:"aa6ec833",8155:"d345abd7",8217:"3f5e9ac7",8237:"faafb9cc",8241:"5bd955ca",8286:"69a76d39",8332:"3f056328",8398:"b128b7d6",8431:"289b326c",8435:"0980085d",8447:"5dded7c0",8458:"9d938150",8479:"b4705507",8517:"cccfddad",8552:"a656ad91",8563:"20b25782",8579:"95e9e38b",8665:"c52575bc",8688:"c044db56",8689:"c7b937bf",8723:"3eab1580",8746:"48d920d9",8787:"ad38f507",8823:"e5c765d5",8827:"7c77dcba",8866:"43335aa4",8882:"f3e42f72",8885:"de905169",8965:"bd9f71c8",8999:"448aa22f",9039:"e5b0c473",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"b142636c",9416:"483ff19d",9441:"acfdd6a0",9449:"36a730d5",9487:"a73f5679",9489:"ee2bb5b7",9507:"d52efba5",9511:"8f722869",9647:"9df3db4c",9649:"00fb4211",9674:"bb2d1c58",9677:"af7d4c8f",9695:"e6d547d3",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"bbe362ca",9891:"512a9301",9906:"bb12ef11",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"),u=0;u{const K=sc(t,s,Y)||sc(k,s,Y)||sc(v,s,Y);return K&&(U[Y]=K),U},{})}function sc(k,t,n){return k&&k.hasAttributeNS(t,n)?k.getAttributeNS(t,n):null}function lu(k){return new Error(`Could not parse ttml timestamp ${k}`)}function df(k,t){if(!k)return null;let n=vs(k);return n===null&&(yl.test(k)?n=Ff(k,t):Wf.test(k)&&(n=hf(k,t))),n}function Ff(k,t){const n=yl.exec(k),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 hf(k,t){const n=Wf.exec(k),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 oc{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 Mf{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=Pf(),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(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new oc(this,"textTrack1"),n=new oc(this,"textTrack2"),s=new oc(this,"textTrack3"),v=new oc(this,"textTrack4");this.cea608Parser1=new ti(1,t,n),this.cea608Parser2=new ti(3,s,v)}addCues(t,n,s,v,E){let D=!1;for(let U=E.length;U--;){const Y=E[U],K=Qf(Y[0],Y[1],n,s);if(K>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),D=!0,K/(s-n)>.5))return}if(D||E.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(u.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:E,trackId:D}){const{unparsedVttFrags:U}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:E,trackId:D}),U.length&&(this.unparsedVttFrags=[],U.forEach(Y=>{this.initPTS[Y.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,Y):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:Y.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{pu(v[E]),delete v[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Pf(),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;sE.textCodec===cf);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Oc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const D=this.media,U=D?co(D.textTracks):null;if(this.tracks.forEach((Y,K)=>{let ue;if(U){let pe=null;for(let Ee=0;EeK!==null).map(K=>K.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 D=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:D})}}}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 E=`textTrack${v[1]}`,D=this.captionsProperties[E];D&&(D.label=s.name,s.lang&&(D.languageCode=s.lang),D.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===o.MAIN){var s,v;const{cea608Parser1:E,cea608Parser2:D,lastSn:U}=this,{cc:Y,sn:K}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;E&&D&&(K!==U+1||K===U&&ue!==this.lastPartIndex+1||Y!==this.lastCc)&&(E.reset(),D.reset()),this.lastCc=Y,this.lastSn=K,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const E=s.decryptdata,D="stats"in n;if(E==null||!E.encrypted||D){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===cf?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;Zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:E,unparsedVttFrags:D}=this,U=E.length-1;if(!E[s.cc]&&U===-1){D.push(t);return}const Y=this.hls,K=(n=s.initSegment)!=null&&n.data?ht(s.initSegment.data,new Uint8Array(v)).buffer:v;Cf(K,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),Y.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const pe=ue.message==="Missing initPTS for VTT MPEGTS";pe?D.push(t):this._fallbackToIMSC1(s,v),Y.logger.log(`Failed to parse VTT cue: ${ue}`),!(pe&&U>s.cc)&&Y.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||Zc(n,this.initPTS[t.cc],()=>{s.textCodec=cf,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(E=>wf(v,E))}else{const v=this.tracks[n];if(!v)return;const E=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.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===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;EZl(U[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(Y=>Zl(U[Y],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let E=0;E=16?Y--:Y++;const Re=gl(K.trim()),Ne=Af(t,n,Re);k!=null&&(pe=k.cues)!=null&&pe.getCueById(Ne)||(D=new ue(t,n,Re),D.id=Ne,D.line=Ee+1,D.align="left",D.position=10+Math.min(80,Math.floor(Y*8/32)*10),v.push(D))}return k&&v.length&&(v.sort((Ee,Re)=>Ee.line==="auto"||Re.line==="auto"?0:Ee.line>8&&Re.line>8?Re.line-Ee.line:Ee.line-Re.line),v.forEach(Ee=>wf(k,Ee))),v}};function Bf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(k){}return!1}const nd=/(\d+)-(\d+)\/(\d+)/;class Nf{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||ad,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 E=qf(t,this.controller.signal),D=t.responseType==="arraybuffer",U=D?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:K}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:K,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(Hs(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const Re=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=K,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},K-(Re-v.loading.start)),!pe.ok){const{status:ft,statusText:at}=pe;throw new Gf(at||"fetch, bad network response",ft,pe)}v.loading.first=Re,v.total=jf(pe.headers)||v.total;const Ne=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Ne&&r(n.highWaterMark)?this.loadProgressively(pe,v,t,n.highWaterMark,Ne):D?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,Re;const Ne=this.response;if(!Ne)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ft=pe[U];ft&&(v.loaded=v.total=ft);const at={url:Ne.url,data:pe,code:Ne.status},Ut=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Ut&&!r(n.highWaterMark)&&Ut(v,t,pe,Ne),(Re=this.callbacks)==null||Re.onSuccess(at,v,t,Ne)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const Re=pe&&pe.code||0,Ne=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Re,text:Ne},t,pe?pe.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,E){const D=new mo,U=t.body.getReader(),Y=()=>U.read().then(K=>{if(K.done)return D.dataLength&&E(n,s,D.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=K.value,pe=ue.length;return n.loaded+=pe,pe=v&&E(n,s,D.flush().buffer,t)):E(n,s,ue.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function qf(k,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},k.headers))};return k.rangeEnd&&n.headers.set("Range","bytes="+k.rangeStart+"-"+String(k.rangeEnd-1)),n}function id(k){const t=nd.exec(k);if(t)return parseInt(t[2])-parseInt(t[1])+1}function jf(k){const t=k.get("Content-Range");if(t){const s=id(t);if(r(s))return s}const n=k.get("Content-Length");if(n)return parseInt(n)}function ad(k,t){return new self.Request(k.url,t)}class Gf extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const g=/^age:\s*[\d.]+\s*$/im;class T{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 E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(D=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(D=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:D.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:E,maxLoadTimeMs:D}=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=E&&r(E)?E:D,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,E=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const K=n.status,ue=n.responseType==="text"?n.responseText:null;if(K>=200&&K<300){const Ne=ue!=null?ue:n.response;if(Ne!=null){var D,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ft=n.responseType==="arraybuffer"?Ne.byteLength:Ne.length;s.loaded=s.total=ft,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const at=(D=this.callbacks)==null?void 0:D.onProgress;at&&at(s,t,Ne,n);const Ut={url:n.responseURL,data:Ne,code:K};(U=this.callbacks)==null||U.onSuccess(Ut,s,t,n);return}}const pe=E.loadPolicy.errorRetry,Ee=s.retry,Re={url:t.url,data:void 0,code:K};if(rt(pe,Ee,!1,Re))this.retry(pe);else{var Y;W.error(`${K} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:K,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(rt(t,n,!0))this.retry(t);else{var s;W.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=$r(t,s.retry),s.retry++,W.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&&g.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 z={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},_e=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:T,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Zi,bufferController:_f,capLevelController:pl,errorController:Or,fpsController:Sc,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:os,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:z},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},ke()),{},{subtitleStreamController:ze,subtitleTrackController:to,timelineController:Mf,audioStreamController:Vl,audioTrackController:Hu,emeController:sl,cmcdController:nf,contentSteeringController:Rf,interstitialsController:O});function ke(){return{cueHandler:Vf,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 ot(k,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=zt(k),v=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(D=>{const U=`${D==="level"?"playlist":D}LoadPolicy`,Y=t[U]===void 0,K=[];E.forEach(ue=>{const pe=`${D}Loading${ue}`,Ee=t[pe];if(Ee!==void 0&&Y){K.push(pe);const Re=s[U].default;switch(t[U]={default:Re},ue){case"TimeOut":Re.maxLoadTimeMs=Ee,Re.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Re.errorRetry.maxNumRetry=Ee,Re.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Re.errorRetry.retryDelayMs=Ee,Re.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Re.errorRetry.maxRetryDelayMs=Ee,Re.timeoutRetry.maxRetryDelayMs=Ee;break}}}),K.length&&n.warn(`hls.js config: "${K.join('", "')}" setting(s) are deprecated, use "${U}": ${Yn(t[U])}`)}),b(b({},s),t)}function zt(k){return k&&typeof k=="object"?Array.isArray(k)?k.map(zt):Object.keys(k).reduce((t,n)=>(t[n]=zt(k[n]),t),{}):k}function ir(k,t){const n=k.loader;n!==Nf&&n!==T?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),k.progressive=!1):Bf()&&(k.loader=Nf,k.progressive=!0,k.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Pr=2,pn=.1,Fi=.05,za=100;class Qn extends zs{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,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(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.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(za),this.mediaSource=n.mediaSource;const s=this.media=n.media;pi(s,"playing",this.onMediaPlaying),pi(s,"waiting",this.onMediaWaiting),pi(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(hs(s,"playing",this.onMediaPlaying),hs(s,"waiting",this.onMediaWaiting),hs(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 E=(s=this.hls)==null?void 0:s.config;if(!E)return;const D=this.media;if(!D)return;const{seeking:U}=D,Y=this.seeking&&!U,K=!this.seeking&&U,ue=D.paused&&!U||D.ended||D.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(K||Y){Y&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&D.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!Ii.getBuffered(D).length){this.nudgeRetry=0;return}const pe=Ii.bufferInfo(D,t,0),Ee=pe.nextStart||0,Re=this.fragmentTracker;if(U&&Re&&this.hls){const vn=ua(this.hls.inFlightFragments,t),Gr=pe.len>Pr,nn=!Ee||vn||Ee-t>Pr&&!Re.getPartialFragment(t);if(Gr||nn)return;this.moved=!1}const Ne=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(pe.len>0)&&!Ee)return;const Gr=Math.max(Ee,pe.start||0)-t,ln=!!(Ne!=null&&Ne.live)?Ne.targetduration*2:Pr,Kr=Ca(t,Re);if(Gr>0&&(Gr<=ln||Kr)){D.paused||this._trySkipBufferHole(Kr);return}}const ft=E.detectStallWithCurrentTimeMs,at=self.performance.now(),Ut=this.waiting;let cr=this.stalled;if(cr===null)if(Ut>0&&at-Ut=ft||Ut)&&this.hls){var Nr;if(((Nr=this.mediaSource)==null?void 0:Nr.readyState)==="ended"&&!(Ne!=null&&Ne.live)&&Math.abs(t-((Ne==null?void 0:Ne.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Xr=Ii.bufferInfo(D,t,E.maxBufferHole);this._tryFixBufferStall(Xr,sr,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(u.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 E=Ii.bufferedInfo(Ii.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const D=Ii.timeRangesToArray(v),U=Ii.bufferedInfo(D,n,0).bufferedIndex;if(U>-1&&UU)&&ue-K<1&&t-K<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${K} -> ${ue} buffered index: ${Y}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Ca(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Re=Ii.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:Re.len,bufferInfo:Re})}}}}}_tryFixBufferStall(t,n,s){var v,E;const{fragmentTracker:D,media:U}=this,Y=(v=this.hls)==null?void 0:v.config;if(!U||!D||!Y)return;const K=(E=this.hls)==null?void 0:E.latestLevelDetails,ue=Ca(s,D);if((ue||K!=null&&K.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 E=s.getFragAtPos(n,o.MAIN),D=s.getFragAtPos(v,o.MAIN);if(E&&D)return D.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:E}=this;if(!v&&E!==null&&s&&n){this.stallReported=!0;const D=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Yn(t)})`);this.warn(D.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:D,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,E=(n=this.hls)==null?void 0:n.config;if(!v||!s||!E)return 0;const D=v.currentTime,U=Ii.bufferInfo(v,D,0),Y=D0&&U.len<1&&v.readyState<3,Ee=Y-D;if(Ee>0&&(ue||pe)){if(Ee>E.maxBufferHole){let Ne=!1;if(D===0){const ft=s.getAppendedFrag(0,o.MAIN);ft&&Y{const k=jr();try{k&&new k(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Zn{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.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&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.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(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&pu(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;nIn&&(pe=In),pe-ue<=0&&(pe=ue+tn);for(let Re=0;Reue.type===Yr.audioId3&&Y:v==="video"?K=ue=>ue.type===Yr.emsg&&U:K=ue=>ue.type===Yr.audioId3&&Y||ue.type===Yr.emsg&&U,Zl(E,n,s,K)}}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.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:E,interstitialsController:D}=this.hls.config;if(!E)return;const U=jr();if(s&&v&&!D){const{fragmentStart:ft,fragmentEnd:at}=t;let Ut=this.assetCue;Ut?(Ut.startTime=ft,Ut.endTime=at):U&&(Ut=this.assetCue=Qr(U,ft,at,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Ut&&(Ut.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Ut),Ut.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:Y}=this,{dateRanges:K}=t,ue=Object.keys(K);let pe=this.dateRangeCuesAppended;if(Y&&n){var Ee;if((Ee=Y.cues)!=null&&Ee.length){const ft=Object.keys(pe).filter(at=>!ue.includes(at));for(let at=ft.length;at--;){var Re;const Ut=ft[at],cr=(Re=pe[Ut])==null?void 0:Re.cues;delete pe[Ut],cr&&Object.keys(cr).forEach(sr=>{const Nr=cr[sr];if(Nr){Nr.removeEventListener("enter",this.onEventCueEnter);try{Y.removeCue(Nr)}catch(Xr){}}})}}else pe=this.dateRangeCuesAppended={}}const Ne=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Ne==null?void 0:Ne.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ft=0;ft{if(Ci!==Ut.id){const ta=K[Ci];if(ta.class===Ut.class&&ta.startDate>Ut.startDate&&(!Cn||Ut.startDate.01&&(Ci.startTime=cr,Ci.endTime=vn);else if(U){let ta=Ut.attr[Cn];ro(Cn)&&(ta=H(ta));const na=Qr(U,cr,vn,{key:Cn,data:ta},Yr.dateRange);na&&(na.id=at,this.id3Track.addCue(na),Nr[Cn]=na,D&&(Cn==="X-ASSET-LIST"||Cn==="X-ASSET-URL")&&na.addEventListener("enter",this.onEventCueEnter))}}pe[at]={cues:Nr,dateRange:Ut,durationKnown:Xr}}}}}class Ka{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:E,maxLiveSyncPlaybackRate:D}=this.config;if(!E||D===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const Y=v-U,K=Math.min(this.maxLatency,U+s.targetduration);if(Y.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,D)),Ee=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,Re=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Re)}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:E,liveSyncDurationCount:D,lowLatencyMode:U}=this.config,Y=this.hls.userConfig;let K=U&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||K===0)&&(K=E!==void 0?E:D*v);const ue=v;return K+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}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,E=t-n-this.edgeStalled,D=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(D,E),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(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.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 Yi extends jl{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(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.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=[],E={},D={};let U=!1,Y=!1,K=!1;n.levels.forEach(ue=>{const pe=ue.attrs;let{audioCodec:Ee,videoCodec:Re}=ue;Ee&&(ue.audioCodec=Ee=xt(Ee,s)||void 0),Re&&(Re=ue.videoCodec=Ct(Re));const{width:Ne,height:ft,unknownCodecs:at}=ue;let Ut=at?at.length:0;if(at)for(let Kr=Ut;Kr--;){const Cn=at[Kr];this.isAudioSupported(Cn)?(ue.audioCodec=Ee=Ee?`${Ee},${Cn}`:Cn,Ut--,he.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Cn)&&(ue.videoCodec=Re=Re?`${Re},${Cn}`:Cn,Ut--,he.video[Re.substring(0,4)]=2)}if(U||(U=!!(Ne&&ft)),Y||(Y=!!Re),K||(K=!!Ee),Ut||Ee&&!this.isAudioSupported(Ee)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:cr,"FRAME-RATE":sr,"HDCP-LEVEL":Nr,"PATHWAY-ID":Xr,RESOLUTION:vn,"VIDEO-RANGE":Gr}=pe,ln=`${`${Xr||"."}-`}${ue.bitrate}-${vn}-${sr}-${cr}-${Gr}-${Nr}`;if(E[ln])if(E[ln].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const Kr=D[ln]+=1;ue.attrs["PATHWAY-ID"]=new Array(Kr+1).join(".");const Cn=this.createLevel(ue);E[ln]=Cn,v.push(Cn)}else E[ln].addGroupId("audio",pe.AUDIO),E[ln].addGroupId("text",pe.SUBTITLES);else{const Kr=this.createLevel(ue);E[ln]=Kr,D[ln]=1,v.push(Kr)}}),this.filterAndSortMediaOptions(v,n,U,Y,K)}createLevel(t){const n=new Xn(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=an(v,[])}return n}isAudioSupported(t){return Te(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Te(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,E){let D=[],U=[],Y=t;if((s||v)&&E&&(Y=Y.filter(({videoCodec:at,videoRange:Ut,width:cr,height:sr})=>(!!at||!!(cr&&sr))&&wn(Ut))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Ut=at;n.levels.length&&(Ut=`one or more CODECS in variant not supported: ${Yn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,Nr,Xr)=>Xr.indexOf(sr)===Nr))}`,this.warn(Ut),at+=` (${Ut})`);const cr=new Error(at);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:cr,reason:Ut})}});return}n.audioTracks&&(D=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Wa(D)),n.subtitles&&(U=n.subtitles,Wa(U));const K=Y.slice(0);Y.sort((at,Ut)=>{if(at.attrs["HDCP-LEVEL"]!==Ut.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Ut.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&at.height!==Ut.height)return at.height-Ut.height;if(at.frameRate!==Ut.frameRate)return at.frameRate-Ut.frameRate;if(at.videoRange!==Ut.videoRange)return Ur.indexOf(at.videoRange)-Ur.indexOf(Ut.videoRange);if(at.videoCodec!==Ut.videoCodec){const cr=Tt(at.videoCodec),sr=Tt(Ut.videoCodec);if(cr!==sr)return sr-cr}if(at.uri===Ut.uri&&at.codecSet!==Ut.codecSet){const cr=Ie(at.codecSet),sr=Ie(Ut.codecSet);if(cr!==sr)return sr-cr}return at.averageBitrate!==Ut.averageBitrate?at.averageBitrate-Ut.averageBitrate:0});let ue=K[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==K.length)){for(let at=0;atcr&&cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const Ee=E&&!v,Re=this.hls.config,Ne=!!(Re.audioStreamController&&Re.audioTrackController),ft={levels:Y,audioTracks:D,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:v,altAudio:Ne&&!Ee&&D.some(at=>!!at.url)};this.hls.trigger(u.MANIFEST_PARSED,ft)}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 ue=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:ue,reason:ue.message}),pe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,E=v?v.attrs["PATHWAY-ID"]:void 0,D=n[t],U=D.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=D,s===t&&v&&E===U)return;this.log(`Switching to level ${t} (${D.height?D.height+"p ":""}${D.videoRange?D.videoRange+" ":""}${D.codecSet?D.codecSet+" ":""}@${D.bitrate})${U?" with Pathway "+U:""} from level ${s}${E?" with Pathway "+E:""}`);const Y={level:t,attrs:D.attrs,details:D.details,bitrate:D.bitrate,averageBitrate:D.averageBitrate,maxBitrate:D.maxBitrate,realBitrate:D.realBitrate,width:D.width,height:D.height,codecSet:D.codecSet,audioCodec:D.audioCodec,videoCodec:D.videoCodec,audioGroups:D.audioGroups,subtitleGroups:D.subtitleGroups,loaded:D.loaded,loadError:D.loadError,fragmentError:D.fragmentError,name:D.name,id:D.id,uri:D.uri,url:D.url,urlId:0,audioGroupIds:D.audioGroupIds,textGroupIds:D.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,Y);const K=D.details;if(!K||K.live){const ue=this.switchParams(D.uri,v==null?void 0:v.details,K);this.loadPlaylist(ue)}}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===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))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:E}=n,D=n.levelInfo;if(!D){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(D===this.currentLevel||n.withoutMultiVariant){D.fragmentError===0&&(D.loadError=0);let Y=D.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(v,n,Y)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.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,E=t.attrs["PATHWAY-ID"],D=t.details,U=D==null?void 0:D.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&D.live?" age "+U.toFixed(1)+(D.type?" "+D.type||0:""):""} ${s}`),this.hls.trigger(u.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((E,D)=>D!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));zn(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(u.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(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Wa(k){const t={};k.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function fs(){return self.SourceBuffer||self.WebKitSourceBuffer}function Ya(){if(!ae())return!1;const t=fs();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Wc(){if(!Ya())return!1;const k=ae();return typeof(k==null?void 0:k.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>k.isTypeSupported(Gt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>k.isTypeSupported(Gt(t,"audio"))))}function sd(){var k;const t=fs();return typeof(t==null||(k=t.prototype)==null?void 0:k.changeType)=="function"}const bd=100;class xd extends us{constructor(t,n,s){super(t,n,s,"stream-controller",o.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,E=v?v.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const D=this.getFwdBufferInfoAtPos(v,E,o.MAIN,0);if(D===null||D.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${D?D.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.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(bd),this.level=-1,!this.startFragRequested){let E=v.startLevel;E===-1&&(v.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=v.firstAutoLevel),v.nextLoadLevel=E,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=cn.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=cn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case cn.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=cn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=cn.IDLE;break}break}case cn.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===cn.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 E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const D=s[E],U=this.getMainFwdBufferInfo();if(U===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(U,Y)){const ft={};this.altAudio===2&&(ft.type="video"),this.hls.trigger(u.BUFFER_EOS,ft),this.state=cn.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const K=D.details;if(!K||this.state===cn.WAITING_LEVEL||this.waitForLive(D)){this.level=E,this.state=cn.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=U.len,pe=this.getMaxBufferLength(D.maxBitrate);if(ue>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:U.end;let Re=this.getNextFragment(Ee,K);if(this.couldBacktrack&&!this.fragPrevious&&Re&&Pe(Re)&&this.fragmentTracker.getState(Re)!==kr.OK){var Ne;const at=((Ne=this.backtrackFragment)!=null?Ne:Re).sn-K.startSN,Ut=K.fragments[at-1];Ut&&Re.cc===Ut.cc&&(Re=Ut,this.fragmentTracker.removeFragment(Ut))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Re&&this.isLoopLoading(Re,Ee)){if(!Re.gap){const at=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Ut=(at===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ut&&this.afterBufferFlushed(Ut,at,o.MAIN)}Re=this.getNextFragmentLoopLoading(Re,K,U,o.MAIN,pe)}Re&&(Re.initSegment&&!Re.initSegment.data&&!this.bitrateTest&&(Re=Re.initSegment),this.loadFragment(Re,D,Ee))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===kr.NOT_LOADED||v===kr.PARTIAL?Pe(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,o.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 E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=D-n.maxFragLookUpTolerance&&E<=U;if(v!==null&&s.duration>v&&(E{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Si(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,E,D=!1;for(const U in s){const Y=s[U];if(Y.id==="main"){if(E=U,v=Y,U==="video"){const K=s[U];K&&(this.videoBuffer=K.buffer)}}else D=!0}D&&v?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,E=s.type===o.MAIN;if(E){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===cn.PARSED&&(this.state=cn.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const D=this.media;D&&(!this._hasEnoughToStart&&Ii.getBuffered(D).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=cn.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(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===cn.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=cn.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.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=cn.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.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,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=cn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const D=E.stats;D.parsing.start=D.parsing.end=D.buffering.start=D.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),E.bitrateTest=!1}).catch(s=>{this.state===cn.STOPPED||this.state===cn.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:E}=t,D=this.getCurrentContext(E);if(!D){this.resetWhenMissingContext(E);return}const{frag:U,part:Y,level:K}=D,{video:ue,text:pe,id3:Ee,initSegment:Re}=v,{details:Ne}=K,ft=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=cn.PARSING,Re){const at=Re.tracks;if(at){const Nr=U.initSegment||U;if(this.unhandledEncryptionError(Re,U))return;this._bufferInitSegment(K,at,Nr,E),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Nr,id:n,tracks:at})}const Ut=Re.initPTS,cr=Re.timescale,sr=this.initPTS[U.cc];if(r(Ut)&&(!sr||sr.baseTime!==Ut||sr.timescale!==cr)){const Nr=Re.trackId;this.initPTS[U.cc]={baseTime:Ut,timescale:cr,trackId:Nr},s.trigger(u.INIT_PTS_FOUND,{frag:U,id:n,initPTS:Ut,timescale:cr,trackId:Nr})}}if(ue&&Ne){ft&&ue.type==="audiovideo"&&this.logMuxedErr(U);const at=Ne.fragments[U.sn-1-Ne.startSN],Ut=U.sn===Ne.startSN,cr=!at||U.cc>at.cc;if(v.independent!==!1){const{startPTS:sr,endPTS:Nr,startDTS:Xr,endDTS:vn}=ue;if(Y)Y.elementaryStreams[ue.type]={startPTS:sr,endPTS:Nr,startDTS:Xr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&E.id===1&&!cr&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Gr=this.getMainFwdBufferInfo(),nn=(Gr?Gr.end:this.getLoadPosition())+this.config.maxBufferHole,ln=ue.firstKeyFramePTS?ue.firstKeyFramePTS:sr;if(!Ut&&nnPr&&(U.gap=!0);U.setElementaryStreamInfo(ue.type,sr,Nr,Xr,vn),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(ue,U,Y,E,Ut||cr)}else if(Ut||cr)U.gap=!0;else{this.backtrack(U);return}}if(ft){const{startPTS:at,endPTS:Ut,startDTS:cr,endDTS:sr}=ft;Y&&(Y.elementaryStreams[ie.AUDIO]={startPTS:at,endPTS:Ut,startDTS:cr,endDTS:sr}),U.setElementaryStreamInfo(ie.AUDIO,at,Ut,cr,sr),this.bufferFragmentData(ft,U,Y,E)}if(Ne&&Ee!=null&&Ee.samples.length){const at={id:n,frag:U,details:Ne,samples:Ee.samples};s.trigger(u.FRAG_PARSING_METADATA,at)}if(Ne&&pe){const at={id:n,frag:U,details:Ne,samples:pe.samples};s.trigger(u.FRAG_PARSING_USERDATA,at)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==cn.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:D,audiovideo:U}=n;if(E){const K=t.audioCodec;let ue=Me(E.codec,K);ue==="mp4a"&&(ue="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),K&&K!==ue&&this.log(`Swapping manifest audio codec "${K}" for "${ue}"`),E.levelCodec=ue,E.id=o.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${ue||""}/${K||""}/${E.codec}]`),delete n.audiovideo}if(D){D.levelCodec=t.videoCodec,D.id=o.MAIN;const K=D.codec;if((K==null?void 0:K.length)===4)switch(K){case"hvc1":case"hev1":D.codec="hvc1.1.6.L120.90";break;case"av01":D.codec="av01.0.04M.08";break;case"avc1":D.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${D.container}, codecs[level/parsed]=[${t.videoCodec||""}/${K}]${D.codec!==K?" parsed-corrected="+D.codec:""}${D.supplemental?" supplemental="+D.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(u.BUFFER_CODECS,n),!this.hls)return;Y.forEach(K=>{const pe=n[K].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:K,data:pe,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,o.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=cn.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Ii.isBuffered(t,s)?n=this.getAppendedFrag(s):Ii.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,E=n.level;(!v||n.sn!==v.sn||v.level!==E)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==E)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:E}))}}}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?nt(null,s.fragments,n):null);if(v){const E=v.programDateTime;if(E!==null){const D=E+(n-v.start)*1e3;return new Date(D)}}}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 Ed extends L{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[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.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,E){return new ja({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,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,E=n.length;v{if(!this.emeController)return;D.setKeyFormat(U);const Y=ci(U);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const v=ns(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 E=t.decryptdata;if(!E){const ue=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,ue))}const D=E.uri;if(!D)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${D}"`)));const U=od(E);let Y=this.keyIdToKeyInfo[U];if((s=Y)!=null&&s.decryptdata.key)return E.key=Y.decryptdata.key,Promise.resolve({frag:t,keyInfo:Y});if((v=Y)!=null&&v.keyLoadPromise){var K;switch((K=Y.mediaKeySessionContext)==null?void 0:K.keyStatus){case"usable":case"usable-in-future":return Y.keyLoadPromise.then(pe=>{const{keyInfo:Ee}=pe;return E.key=Ee.decryptdata.key,{frag:t,keyInfo:Ee}})}}switch(this.log(`Loading key ${Q(E.keyId||[])} from ${t.type} ${t.level}`),Y=this.keyIdToKeyInfo[U]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(Y,t):this.loadKeyEME(Y,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(Y,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const v=this.emeController.loadKey(s);return(t.keyLoadPromise=v.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E.data&&(E.data.frag=n),E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,E=new v(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((D,U)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},K=s.keyLoadPolicy.default,ue={loadPolicy:K,timeout:K.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Re,Ne,ft)=>{const{frag:at,keyInfo:Ut,url:cr}=Ne,sr=od(Ut.decryptdata)||cr;if(!at.decryptdata||Ut!==this.keyIdToKeyInfo[sr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ft));Ut.decryptdata.key=at.decryptdata.key=new Uint8Array(Ee.data),at.keyLoader=null,Ut.loader=null,D({frag:at,keyInfo:Ut})},onError:(Ee,Re,Ne,ft)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Ne,b({url:Y.url,data:void 0},Ee)))},onTimeout:(Ee,Re,Ne)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ne))},onAbort:(Ee,Re,Ne)=>{this.resetLoader(Re),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ne))}};E.load(Y,ue,pe)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null);const D=od(s.decryptdata)||v;delete this.keyIdToKeyInfo[D],E&&E.destroy()}}function od(k){const t=k.keyId;return t?Q(t):k.uri}function dd(k){const{type:t}=k;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function ud(k,t){let n=k.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class wd{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(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,E=s||v,D=new E(n);return this.loaders[t.type]=D,D}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:E,url:D,deliveryDirectives:U,levelInfo:Y}=n;this.load({id:s,level:v,pathwayId:E,responseType:"text",type:h.LEVEL,url:D,deliveryDirectives:U,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:E,deliveryDirectives:D,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:D,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:E,deliveryDirectives:D,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:D,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(E=>E===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 K=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?K.log(`[playlist-loader]: ignore ${t.url} ongoing request`):K.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}K.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let K;if(t.type===h.LEVEL&&t.level!==null?K=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?K=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(K=this.hls.subtitleTracks[t.id].details),K){const ue=K.partTarget,pe=K.targetduration;if(ue&&pe){const Ee=Math.max(ue*3,pe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const D=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:D.maxNumRetry||0,retryDelay:D.retryDelayMs||0,maxRetryDelay:D.maxRetryDelayMs||0},Y={onSuccess:(K,ue,pe,Ee)=>{const Re=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Ne=K.data;if(Ne.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(K,pe,new Error("no EXTM3U delimiter"),Ee||null,ue);return}ue.parsing.start=performance.now(),jo.isMediaPlaylist(Ne)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(K,ue,pe,Ee||null,Re):this.handleMasterPlaylist(K,ue,pe,Ee)},onError:(K,ue,pe,Ee)=>{this.handleNetworkError(ue,pe,!1,K,Ee)},onTimeout:(K,ue,pe)=>{this.handleNetworkError(ue,pe,!0,void 0,K)}};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 E=this.hls,D=t.data,U=ud(t,s),Y=jo.parseMasterPlaylist(D,U);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,v,n);return}const{contentSteering:K,levels:ue,sessionData:pe,sessionKeys:Ee,startTimeOffset:Re,variableList:Ne}=Y;this.variableList=Ne;const{AUDIO:ft=[],SUBTITLES:at,"CLOSED-CAPTIONS":Ut}=jo.parseMasterPlaylistMedia(D,U,Y);ft.length&&!ft.some(sr=>!sr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ft.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new bn({}),bitrate:0,url:""})),E.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:ft,subtitles:at,captions:Ut,contentSteering:K,url:U,stats:n,networkDetails:v,sessionData:pe,sessionKeys:Ee,startTimeOffset:Re,variableList:Ne})}handleTrackOrLevelPlaylist(t,n,s,v,E){const D=this.hls,{id:U,level:Y,type:K}=s,ue=ud(t,s),pe=r(Y)?Y:r(U)?U:0,Ee=dd(s),Re=jo.parseLevelPlaylist(t.data,ue,pe,Ee,0,this.variableList);if(K===h.MANIFEST){const Ne={attrs:new bn({}),bitrate:0,details:Re,name:"",url:ue};Re.requestScheduled=n.loading.start+Mr(Re,0),D.trigger(u.MANIFEST_LOADED,{levels:[Ne],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Re,this.handlePlaylistLoaded(Re,t,n,s,v,E)}handleManifestParsingError(t,n,s,v,E){this.hls.trigger(u.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:E})}handleNetworkError(t,n,s=!1,v,E){let D=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?D+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(D+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(D);this.hls.logger.warn(`[playlist-loader]: ${D}`);let Y=f.UNKNOWN,K=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,K=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,K=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,K=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,K=!1;break}ue&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:Y,fatal:K,url:t.url,loader:ue,context:t,error:U,networkDetails:n,stats:E};if(v){const Ee=(n==null?void 0:n.url)||t.url;pe.response=b({url:Ee,data:void 0},v)}this.hls.trigger(u.ERROR,pe)}handlePlaylistLoaded(t,n,s,v,E,D){const U=this.hls,{type:Y,level:K,id:ue,groupId:pe,deliveryDirectives:Ee}=v,Re=ud(n,v),Ne=dd(v),ft=typeof v.level=="number"&&Ne===o.MAIN?K:void 0;if(!t.fragments.length){const Ut=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:Ut,reason:Ut.message,response:n,context:v,level:ft,parent:Ne,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(`${at} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:at,reason:at.message,response:n,context:v,level:ft,parent:Ne,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&D&&(D.getCacheAge&&(t.ageHeader=D.getCacheAge()||0),(!D.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:U.trigger(u.LEVEL_LOADED,{details:t,levelInfo:v.levelOrTrack||U.levels[0],level:ft||0,id:ue||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ue||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:U.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:v.levelOrTrack,id:ue||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class If{static get version(){return Vt}static isMSESupported(){return Ya()}static isSupported(){return Wc()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return Yr}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:_e}static set DefaultConfig(t){If.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 jt,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=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ot(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&ir(s,n);const{abrController:v,bufferController:E,capLevelController:D,errorController:U,fpsController:Y}=s,K=new U(this),ue=this.abrController=new v(this),pe=new An(this),Ee=s.interstitialsController,Re=Ee?this.interstitialsController=new Ee(this,If):null,Ne=this.bufferController=new E(this,pe),ft=this.capLevelController=new D(this),at=new Y(this),Ut=new wd(this),cr=s.contentSteeringController,sr=cr?new cr(this):null,Nr=this.levelController=new Yi(this,sr),Xr=new Zn(this),vn=new Ed(this.config,this.logger),Gr=this.streamController=new xd(this,pe,vn),nn=this.gapController=new Qn(this,pe);ft.setStreamController(Gr),at.setStreamController(Gr);const ln=[Ut,Nr,Gr];Re&&ln.splice(1,0,Re),sr&&ln.splice(1,0,sr),this.networkControllers=ln;const Kr=[ue,Ne,nn,ft,at,Xr,pe];this.audioTrackController=this.createController(s.audioTrackController,ln);const Cn=s.audioStreamController;Cn&&ln.push(this.audioStreamController=new Cn(this,pe,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,ln);const Ci=s.subtitleStreamController;Ci&&ln.push(this.subtititleStreamController=new Ci(this,pe,vn)),this.createController(s.timelineController,Kr),vn.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(Ka,Kr),this.coreComponents=Kr,ln.push(K);const ta=K.onErrorOut;typeof ta=="function"&&this.on(u.ERROR,ta,K),this.on(u.MANIFEST_LOADED,Ut.onManifestLoaded,Ut)}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===u.ERROR;this.trigger(u.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(u.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 E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});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(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=$.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(u.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={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.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=vi()),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){en(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 E=v;E--;){const D=t[E].attrs["HDCP-LEVEL"];if(D&&D<=s)return E}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=Xi(n);return Yt(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function R(){m&&clearTimeout(m)}function L(I){var F=I||{},B=F.upcomingOnly,N=B===void 0?!1:B;R(),b=!N}function C(){for(var I=arguments.length,F=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?W:V,l))):V():o!==!0&&(m=setTimeout(y?W:V,y===void 0?l-G:l))}return C.cancel=L,C}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!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",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",2582:"p__Competitions__SpecialSubject__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",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",5261:"p__Forums__User__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",5616:"p__Competitions__Group__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",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7949:"p__Course__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",8746:"p__Forums__Subject__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",9441:"p__Forums__Detail__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:"fec24418",67:"34748187",109:"d7c98196",119:"0a43cacb",173:"aa1aa952",195:"932e1bfb",201:"3ad25648",264:"695accfb",292:"551fa57c",316:"1f60ada6",337:"fbdd9ec9",354:"d4d139cf",479:"b30cb0ab",485:"a5288dd6",518:"d6147f6b",532:"725911b5",533:"33954719",547:"0be9bc68",556:"71ee681b",559:"ba13752c",570:"5343c3b9",576:"3af44599",629:"44a1d9a5",643:"c232637d",671:"4a609b8d",680:"b07e9af0",700:"9e289467",737:"d45e5dde",741:"ac5fd360",799:"4ecd08fb",879:"1020e591",895:"333c61cd",900:"5931c09e",906:"a8e85a3d",921:"06a84e27",928:"e3aeb36d",981:"2191a42e",1006:"2f03eceb",1043:"9b5fb491",1045:"c4efc940",1048:"759875f4",1070:"aec84e4e",1077:"7f449685",1144:"c90eccaf",1154:"8cb80842",1211:"2dcc4752",1253:"c20cf7cb",1257:"989a7a0c",1274:"5f6ea65a",1276:"88dabcba",1343:"aa36fb07",1423:"28533195",1427:"636162f5",1450:"21e814bf",1461:"ce06d2b5",1462:"fcf08abc",1470:"8cd2bcbe",1475:"0e78692a",1477:"bd014396",1482:"e96926ab",1512:"c7a62f6e",1520:"f18eebf2",1545:"4a837c8a",1578:"be96a492",1581:"82d940b3",1582:"274794c4",1646:"e6e27b60",1651:"e8d14b67",1657:"197ae3bc",1660:"fa2638e0",1674:"1ef24cb1",1678:"0e0a5640",1713:"416a39f6",1717:"29154519",1727:"c62ccf3b",1754:"d4e59c6b",1783:"71e6e8f5",1798:"442fa5bf",1799:"b8dc44a8",1831:"d109c2d4",1836:"195eb428",1855:"94a447bd",1880:"a4554181",1881:"d8d1279a",1897:"0341372d",1939:"9489f558",1953:"c7553aea",1962:"9ca5c390",1993:"df7bf722",2011:"59d51f98",2045:"dd099896",2099:"0bba753e",2102:"8a518205",2130:"8dc06a17",2141:"dc012c95",2203:"f2d262fe",2216:"346c8318",2240:"9c4ae39d",2249:"f4830452",2281:"3c979a97",2300:"f77c7faa",2303:"2795ed3e",2307:"dd7e5170",2338:"9752df3f",2339:"9b6100a0",2364:"f89faf70",2386:"192e235c",2396:"16cc7960",2404:"a50289c3",2412:"e82443c2",2425:"6a4d7878",2443:"cdccb017",2476:"0ab49c48",2494:"68080a87",2501:"edee90b6",2538:"de4a3723",2539:"7df5e309",2548:"68aff200",2570:"933e997f",2582:"942fe698",2594:"e87d3761",2603:"f3ba23d6",2659:"012cf41a",2707:"f0ba7ee7",2806:"c7dc417e",2819:"f1248b2c",2823:"73e1de0d",2829:"11b00090",2837:"54a82605",2862:"9108311d",2865:"7dd0c2ea",2884:"096eb5c9",2969:"ab3357d7",3006:"83cae2ef",3086:"779bf947",3133:"9bf3f89c",3141:"6b5a1788",3157:"8b587f5c",3183:"02e8c713",3198:"8e655451",3212:"a540ff6d",3220:"d1e5ef72",3247:"02531857",3260:"d2779f93",3276:"034be4cf",3317:"81405dff",3391:"eb886047",3433:"5f95513c",3442:"abfc9d77",3447:"1490927d",3451:"fe16d09d",3509:"3a4647d0",3550:"3dc83156",3581:"2cf82be1",3585:"a59a3480",3668:"3d0a23aa",3697:"481a10d9",3747:"c6b4f5b3",3754:"6ead93af",3777:"d5b0f2f1",3784:"c2d013cb",3805:"9dbcb95e",3831:"315bdaf8",3862:"8be7610c",3873:"0e5b4633",3885:"f87f7f15",3910:"cc0552e5",3951:"8e20e867",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"4514dfb6",4048:"46f47b46",4056:"7425b2e1",4058:"53d5c932",4078:"14f605fa",4088:"236723f3",4093:"ce85c1e0",4105:"eaf4f75f",4144:"491feb7f",4164:"1b2a99bf",4216:"4102a5bf",4217:"82b22f35",4227:"2f64220c",4259:"eac46ae5",4264:"3cb7ed18",4297:"94bbf240",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f04cfdae",4492:"ce3114fa",4496:"1380671f",4498:"1fa98d0b",4504:"b4b9c03a",4514:"250d7385",4520:"d45548f2",4546:"5fb3858d",4565:"e97181f6",4572:"8959d84f",4599:"61def4cb",4610:"d5712af7",4621:"aa06deb8",4628:"ece2c60c",4662:"2c61e6db",4685:"c33f1528",4715:"f5319227",4736:"92c7bcf7",4741:"8bd7e4c1",4757:"6c22fc89",4766:"6aefd62d",4770:"830dc319",4790:"619413e4",4795:"1d37a933",4797:"a24e92db",4800:"14d03f11",4850:"1edda4b7",4889:"1e943fb8",4928:"9368c8ac",4973:"e4abd017",4994:"9cd1d0ee",5022:"402a0d6d",5028:"3a4174e9",5043:"052d034d",5048:"822d1f40",5060:"85dafcc6",5096:"3fcded7e",5111:"597cf7ac",5117:"897ad640",5125:"9a413648",5148:"42f5f5bd",5165:"c9ffb1d8",5176:"a81de50f",5177:"4673aa41",5179:"a746df9a",5186:"b9b6c8e7",5230:"5aa07e72",5238:"483c00b2",5261:"38c8b0b7",5290:"5dabcdc2",5297:"5bdaf53b",5307:"0b96c02b",5319:"a95a6eac",5321:"1163c84e",5330:"82f0c453",5335:"5e753449",5354:"7ae70604",5357:"bbb0c6a4",5359:"5ba36c7b",5382:"8408e530",5402:"8eaaf6e1",5416:"454536b7",5434:"38b302a6",5466:"e9462d7b",5494:"d89549c4",5518:"1fc78545",5549:"9901e1b6",5572:"dd6d437f",5573:"874cbbba",5616:"ce303d49",5624:"e8f8517b",5631:"e00d3d36",5650:"625da689",5679:"4a090bef",5694:"412c9f19",5705:"af671053",5729:"30bcc394",5764:"e0d7e586",5775:"7cdce5d4",5776:"72fadd6a",5786:"985dcf32",5798:"b868a4d7",5800:"ba187d7e",5816:"aa1bf3bd",5876:"5eded409",5888:"fef8bae3",5891:"13d39978",5894:"77eae38e",5902:"4185d5ef",5915:"756ffdb7",5972:"998f3bcc",5992:"24e947e9",6029:"d767edcc",6034:"243a459d",6045:"d268f87f",6047:"3ce45acd",6063:"517b825f",6069:"04e3b825",6080:"3a8c3274",6126:"99519171",6127:"804bba20",6170:"bcf3b504",6185:"3e4328a2",6186:"d5daa918",6265:"860ebf90",6270:"2b447541",6282:"b20f3006",6328:"9707658a",6366:"e513254c",6378:"7f3a946a",6411:"48c95ca1",6434:"35d4646a",6444:"a281bb22",6451:"3b676581",6452:"8109f9af",6531:"9c174eba",6583:"69d5e04a",6587:"3b670c86",6634:"1a533fa9",6637:"507e087d",6651:"cb04a016",6682:"09f6ceeb",6685:"6a2d5a14",6729:"49db42b5",6741:"795ce159",6774:"59d4d618",6776:"a6c1b245",6784:"ee9772e6",6788:"c0f90e46",6789:"74bb8fdf",6796:"25ef5d40",6820:"8d673c54",6882:"5887977f",6904:"0ebca206",6913:"6336d6f8",6963:"869a9eae",7043:"ebf865b0",7045:"1978b6e5",7058:"17bcc065",7062:"d8fe944b",7084:"46ccce72",7099:"019e3886",7121:"902ecbe9",7156:"e7466006",7178:"af212410",7182:"072c621b",7224:"7dfe39ed",7242:"25aa6e52",7260:"0016e4fe",7289:"c589a646",7322:"7231c264",7323:"3f57b68f",7329:"9499da6c",7333:"37a6c3ac",7365:"1005464f",7395:"565496d7",7402:"6b7a7c9c",7460:"74b599f0",7477:"63eaeae9",7482:"84f03d50",7527:"b8599fb4",7545:"29dc6204",7560:"69df653e",7589:"2c4bb2ff",7591:"c8233ce9",7614:"7de1810c",7622:"0f71d086",7686:"4fcec9f9",7706:"c2a79e40",7806:"9b322031",7835:"157f5cb9",7855:"7276010a",7857:"56a325f4",7883:"053bdc31",7884:"f2e2d28f",7901:"4db5f004",7922:"fe1df903",7949:"d3986db1",7964:"29aed9a1",7999:"3306d5cf",8003:"fd05ffc6",8062:"dfa7001c",8066:"bfc46e1b",8072:"6efc8725",8085:"6cbce4c9",8089:"d536b13a",8115:"608105e7",8143:"29919a2c",8145:"b150e061",8155:"48caf27c",8161:"83c5fa9a",8217:"57e39b22",8237:"d6465992",8241:"38a073c8",8286:"148975a8",8302:"55794970",8332:"11e92bab",8340:"a7586453",8350:"07df8a75",8365:"a7b716df",8398:"82f5d95c",8431:"0d7a2b75",8435:"29ffda57",8447:"13298487",8458:"5f183d5e",8479:"ae036d60",8517:"44d48d16",8552:"0a715e83",8561:"4339de84",8563:"80ca84de",8579:"70924a14",8639:"374b258d",8660:"75a372ba",8661:"2784072e",8665:"e04ffb1c",8688:"0dfa6a90",8689:"37531f2e",8723:"03933a24",8737:"ce7dad23",8746:"f0469092",8776:"0ad26240",8787:"60764e85",8800:"8c49f8e1",8823:"1cc54707",8827:"686a8a6f",8842:"9f25a3e2",8866:"cb57ab3c",8871:"690fa8cb",8882:"d0a5343d",8885:"3ec4b6ea",8898:"d002bcd8",8909:"466f7924",8920:"7f82440c",8963:"790aecdd",8965:"7c7b4cdc",8999:"8ad65f83",9039:"f5501202",9076:"dc3da45e",9104:"bbcb2345",9205:"c10e70a3",9252:"0d791a59",9260:"cf5f8140",9366:"4a3525d2",9391:"3037cecb",9404:"9fcc3d3e",9406:"d524e434",9416:"2bb4e771",9417:"cf4c500d",9441:"c53f9e3f",9449:"6bddb907",9487:"60518647",9489:"b8020f5a",9507:"f2291975",9511:"a44a9d9d",9512:"2ba409d3",9554:"ed358e7b",9559:"f794af19",9647:"080f93f1",9649:"8759ffc1",9674:"e7a3ba89",9677:"d87531d8",9695:"ca4090f6",9715:"8fb041fe",9716:"76cfada7",9785:"3bee4d72",9788:"f0410727",9814:"1b93b961",9891:"7752b7b3",9895:"b8e31ff2",9906:"def29196",9921:"bee8529f",9922:"810a57ca",9928:"5989f5e0",9944:"2967c72a",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",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",2582:"p__Competitions__SpecialSubject__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",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",5261:"p__Forums__User__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",5616:"p__Competitions__Group__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",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7949:"p__Course__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",8746:"p__Forums__Subject__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",9441:"p__Forums__Detail__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:"de58cef9",109:"1a7fc455",119:"25b26a6d",195:"8653772c",201:"7872e384",264:"5fd9b3fc",292:"9702f825",337:"45f063ed",479:"bba9e475",485:"d63578fe",518:"c6774a1c",532:"c1a3e627",533:"7c6a1361",547:"5581debc",556:"c9ce9a90",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"573b339d",737:"98eb2f74",799:"08103cd8",879:"8ef20790",895:"ad846737",900:"228aca9a",906:"a29ef4e5",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"8e5fbfd7",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"619593a3",1257:"156e8f74",1276:"bbc6eeec",1343:"f50c7fcf",1423:"5c4a76fc",1427:"c24d69b3",1450:"1edcc2ed",1461:"e71bb36a",1470:"183c9793",1475:"5bfcb58b",1477:"970fcf81",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"0c4169ac",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"54cf8e15",1657:"c0cb4a08",1674:"fdbc1e05",1678:"484ca996",1713:"e5cf33ee",1717:"d926ec2f",1727:"522640e5",1754:"118c994b",1783:"0d3d06a0",1798:"3157272a",1831:"cb1c37ee",1836:"5f0d3f7f",1855:"b92cccb4",1880:"750743ca",1897:"62544c06",1939:"ce7e2b5a",1953:"20ce3901",1962:"84e145fa",1993:"c47eb47a",2045:"dcfad42d",2099:"6154820d",2102:"ec61f9f0",2130:"fa9a5d94",2141:"5eb2f330",2203:"bd175c79",2216:"33467293",2240:"e7cce869",2281:"108a20a4",2303:"1ed5567d",2307:"b2c54321",2338:"dea1928a",2339:"1336108e",2396:"2fd22400",2404:"08d36549",2412:"84cd3fdc",2425:"47b23ee4",2443:"637429ad",2476:"cf85a190",2501:"2441982c",2539:"082dd38b",2548:"75182034",2570:"9d4ec1c9",2582:"843c8d01",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"505dc6f7",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"dff7c42d",2865:"6ef3cf6b",2884:"ebfe0ea4",3006:"7fce4e74",3086:"d0ebac07",3141:"0dd46a21",3157:"f5d985ab",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"05740106",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"2018f6c1",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"2595a35d",3585:"5f288e7b",3668:"fd3ea050",3747:"1af43845",3784:"c81d4a51",3831:"2711fd44",3873:"7cbe1ba5",3910:"658d457f",3951:"9b11b034",4030:"af04fe52",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"775588f4",4105:"7f9d4513",4144:"f10aa199",4164:"1ef1f5b4",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"1b9a62ea",4297:"cb8a8129",4449:"f5460b15",4492:"12cb2835",4496:"77babddd",4498:"3e85d92c",4504:"9074cfde",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aa988bc4",4610:"687005a6",4621:"807fbac2",4662:"37625a1c",4715:"1230954d",4736:"5b6f4e2f",4741:"92525927",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"43974304",5022:"81b1b86b",5028:"03cdfb68",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"ab408bd4",5125:"57501e4a",5148:"572faeac",5165:"48afbcf3",5176:"9c49e7fa",5177:"ec157db5",5179:"21f01751",5186:"e766ffd9",5230:"8ecdafbb",5238:"865509db",5261:"ab222cfe",5297:"5426028f",5307:"4d2f0cc2",5319:"34217c3f",5330:"d6eee700",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"d75b7acd",5402:"e8092123",5466:"12cfd33a",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5616:"c8ff2e95",5624:"75c5add6",5650:"f8f63f4b",5694:"c3e4a8be",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"9d910e47",5786:"37a81eaa",5798:"ce1cf7da",5800:"ace57161",5816:"4adf0529",5888:"193a7f8f",5891:"cbb6f851",5894:"4c5225a9",5915:"bc9c3e69",5972:"2da178a4",5992:"419f5d2f",6029:"7f981b9d",6063:"3b503608",6069:"a9aeea2e",6080:"16a2fdee",6127:"f31505a8",6185:"bd124dd8",6265:"8aa3f229",6270:"5496b206",6282:"f0151247",6328:"de2b9d62",6366:"079fc2d8",6434:"48c2a3cc",6444:"fd46d237",6451:"4db8623e",6452:"50a6d310",6583:"7599cb91",6587:"9c49e7fa",6634:"f3e22881",6637:"4348c475",6651:"b07fe216",6682:"0b183f46",6685:"50d3c702",6729:"aea3b7f5",6741:"b838eb14",6776:"461a4e93",6784:"1affe817",6789:"f85c816f",6796:"b24f73ad",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"70169de5",7062:"59808703",7099:"f992d16a",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"516cb5de",7322:"5a42a3df",7323:"b7b1c92b",7329:"e5af7e18",7395:"ff574c5d",7402:"c2ab8a41",7460:"dedd2038",7477:"7903c644",7482:"c37a3f01",7527:"a4765b7e",7545:"6e229fc1",7560:"d82e43ca",7589:"2517c75a",7614:"de9ee12f",7622:"5e2922e8",7806:"80b7b1d6",7835:"8803c843",7855:"8698f084",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"fb78c85b",7922:"0e7ce87a",7949:"18650a04",8062:"8e384b9f",8072:"540f746b",8085:"e6b0e037",8115:"4168d1d3",8143:"1021d119",8145:"aa6ec833",8155:"d345abd7",8217:"3f5e9ac7",8237:"faafb9cc",8241:"5bd955ca",8286:"69a76d39",8332:"3f056328",8398:"b128b7d6",8431:"289b326c",8435:"0980085d",8447:"5dded7c0",8458:"9d938150",8479:"b4705507",8517:"cccfddad",8552:"a656ad91",8563:"20b25782",8579:"95e9e38b",8665:"c52575bc",8688:"c044db56",8689:"c7b937bf",8723:"3eab1580",8746:"48d920d9",8787:"ad38f507",8823:"e5c765d5",8827:"7c77dcba",8866:"43335aa4",8882:"f3e42f72",8885:"de905169",8965:"bd9f71c8",8999:"448aa22f",9039:"e5b0c473",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"b142636c",9416:"483ff19d",9441:"acfdd6a0",9449:"36a730d5",9487:"a73f5679",9489:"ee2bb5b7",9507:"d52efba5",9511:"8f722869",9647:"9df3db4c",9649:"00fb4211",9674:"bb2d1c58",9677:"af7d4c8f",9695:"e6d547d3",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"bbe362ca",9891:"512a9301",9906:"bb12ef11",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"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return kn.endsWith("/")?kn:"".concat(kn,"/")}var Ou=__webpack_require__(38127),yc=__webpack_require__(38329),ql=__webpack_require__(8616),al=["content"],Ls=["content"],jc=/^(http:|https:)?\/\//;function bc(kn){return jc.test(kn)||kn.startsWith("/")&&!kn.startsWith("/*")||kn.startsWith("./")||kn.startsWith("../")}var Uc=function(){return $e.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},Dl=function(ti){var Wi,Ra=ti.loaderData,ui=ti.htmlPageOpts,da=ti.manifest,Sa=(da==null||(Wi=da.assets)===null||Wi===void 0?void 0:Wi["umi.css"])||"";return $e.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ra||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(ui||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Sa,"'")}})};function Gu(kn){var ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof kn=="string")return bc(kn)?(0,uu.Z)({src:kn},ti):{content:kn};if((0,ql.Z)(kn)==="object")return(0,uu.Z)((0,uu.Z)({},kn),ti);throw new Error("Invalid script type: ".concat((0,ql.Z)(kn)))}function Jl(kn){return bc(kn)?{type:"link",href:kn}:{type:"style",content:kn}}var kf=function(ti){var Wi,Ra,ui,da,Sa,vs,oa=ti.htmlPageOpts;return $e.createElement($e.Fragment,null,(oa==null?void 0:oa.title)&&$e.createElement("title",null,oa.title),oa==null||(Wi=oa.favicons)===null||Wi===void 0?void 0:Wi.map(function(Is,Yu){return $e.createElement("link",{key:Yu,rel:"shortcut icon",href:Is})}),(oa==null?void 0:oa.description)&&$e.createElement("meta",{name:"description",content:oa.description}),(oa==null||(Ra=oa.keywords)===null||Ra===void 0?void 0:Ra.length)&&$e.createElement("meta",{name:"keywords",content:oa.keywords.join(",")}),oa==null||(ui=oa.metas)===null||ui===void 0?void 0:ui.map(function(Is){return $e.createElement("meta",{key:Is.name,name:Is.name,content:Is.content})}),oa==null||(da=oa.links)===null||da===void 0?void 0:da.map(function(Is,Yu){return $e.createElement("link",(0,yc.Z)({key:Yu},Is))}),oa==null||(Sa=oa.styles)===null||Sa===void 0?void 0:Sa.map(function(Is,Yu){var zu=Jl(Is),Rl=zu.type,gl=zu.href,Hl=zu.content;if(Rl==="link")return $e.createElement("link",{key:Yu,rel:"stylesheet",href:gl});if(Rl==="style")return $e.createElement("style",{key:Yu},Hl)}),oa==null||(vs=oa.headScripts)===null||vs===void 0?void 0:vs.map(function(Is,Yu){var zu=Gu(Is),Rl=zu.content,gl=(0,Ou.Z)(zu,al);return $e.createElement("script",(0,yc.Z)({dangerouslySetInnerHTML:{__html:Rl},key:Yu},gl))}))};function xc(kn){var ti,Wi=kn.children,Ra=kn.loaderData,ui=kn.manifest,da=kn.htmlPageOpts,Sa=kn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=kn.mountElementId;if(Sa!=null&&Sa.pureHtml)return $e.createElement("html",null,$e.createElement("head",null),$e.createElement("body",null,$e.createElement(Uc,null),$e.createElement("div",{id:vs},Wi),$e.createElement(Dl,{manifest:ui,loaderData:Ra,htmlPageOpts:da})));if(Sa!=null&&Sa.pureApp)return $e.createElement($e.Fragment,null,Wi);var oa=typeof window=="undefined"?ui==null?void 0:ui.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return $e.createElement("html",{suppressHydrationWarning:!0,lang:(da==null?void 0:da.lang)||"en"},$e.createElement("head",null,$e.createElement("meta",{charSet:"utf-8"}),$e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),oa&&$e.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:oa}),$e.createElement(kf,{htmlPageOpts:da})),$e.createElement("body",null,$e.createElement(Uc,null),$e.createElement("div",{id:vs},Wi),$e.createElement(Dl,{manifest:ui,loaderData:Ra,htmlPageOpts:da}),da==null||(ti=da.scripts)===null||ti===void 0?void 0:ti.map(function(Is,Yu){var zu=Gu(Is),Rl=zu.content,gl=(0,Ou.Z)(zu,Ls);return $e.createElement("script",(0,yc.Z)({dangerouslySetInnerHTML:{__html:Rl},key:Yu},gl))})))}var $l=$e.createContext(void 0);function Ec(){return $e.useContext($l)}var ec=["redirect"];function tc(kn){var ti=kn.routesById,Wi=kn.parentId,Ra=kn.routeComponents,ui=kn.useStream,da=ui===void 0?!0:ui;return Object.keys(ti).filter(function(Sa){return ti[Sa].parentId===Wi}).map(function(Sa){var vs=Ol((0,uu.Z)((0,uu.Z)({route:ti[Sa],routeComponent:Ra[Sa],loadingComponent:kn.loadingComponent,reactRouter5Compat:kn.reactRouter5Compat},kn.reactRouter5Compat&&{hasChildren:Object.keys(ti).filter(function(Is){return ti[Is].parentId===Sa}).length>0}),{},{useStream:da})),oa=tc({routesById:ti,routeComponents:Ra,parentId:vs.id,loadingComponent:kn.loadingComponent,reactRouter5Compat:kn.reactRouter5Compat,useStream:da});return oa.length>0&&(vs.children=oa,vs.routes=oa),vs})}function wc(kn){var ti=(0,bu.UO)(),Wi=(0,bu.Gn)(kn.to,ti),Ra=(0,Ql.T$)(),ui=(0,bu.TH)();if(Ra!=null&&Ra.keepQuery){var da=ui.search+ui.hash;Wi+=da}var Sa=(0,uu.Z)((0,uu.Z)({},kn),{},{to:Wi});return $e.createElement(bu.Fg,(0,yc.Z)({replace:!0},Sa))}function Ol(kn){var ti=kn.route,Wi=kn.useStream,Ra=Wi===void 0?!0:Wi,ui=ti.redirect,da=(0,Ou.Z)(ti,ec),Sa=kn.reactRouter5Compat?rf:nf;return(0,uu.Z)({element:ui?$e.createElement(wc,{to:ui}):$e.createElement($l.Provider,{value:{route:kn.route}},$e.createElement(Sa,{loader:$e.memo(kn.routeComponent),loadingComponent:kn.loadingComponent||tf,hasChildren:kn.hasChildren,useStream:Ra}))},da)}function tf(){return $e.createElement("div",null)}function rf(kn){var ti=Ec(),Wi=ti.route,Ra=(0,Ql.Ov)(),ui=Ra.history,da=Ra.clientRoutes,Sa=(0,bu.UO)(),vs={params:Sa,isExact:!0,path:Wi.path,url:ui.location.pathname},oa=kn.loader,Is={location:ui.location,match:vs,history:ui,params:Sa,route:Wi,routes:da};return kn.useStream?$e.createElement($e.Suspense,{fallback:$e.createElement(kn.loadingComponent,null)},$e.createElement(oa,Is,kn.hasChildren&&$e.createElement(bu.j3,null))):$e.createElement(oa,Is,kn.hasChildren&&$e.createElement(bu.j3,null))}function nf(kn){var ti=kn.loader;return kn.useStream?$e.createElement($e.Suspense,{fallback:$e.createElement(kn.loadingComponent,null)},$e.createElement(ti,null)):$e.createElement(ti,null)}var rc=null;function Rf(){return rc}function zc(kn){var ti=kn.history,Wi=$e.useState({action:ti.action,location:ti.location}),Ra=(0,Pl.Z)(Wi,2),ui=Ra[0],da=Ra[1];return(0,$e.useLayoutEffect)(function(){return ti.listen(da)},[ti]),(0,$e.useLayoutEffect)(function(){function Sa(vs){kn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:kn.routes,clientRoutes:kn.clientRoutes,location:vs.location,action:vs.action,basename:kn.basename,isFirst:!!vs.isFirst}})}return Sa({location:ui.location,action:ui.action,isFirst:!0}),ti.listen(Sa)},[ti,kn.routes,kn.clientRoutes]),$e.createElement(bu.F0,{navigator:ti,location:ui.location,basename:kn.basename},kn.children)}function Ku(){var kn=(0,Ql.Ov)(),ti=kn.clientRoutes;return(0,bu.V$)(ti)}var sl=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],xu=function(ti,Wi){var Ra=ti.basename||"/",ui=tc({routesById:ti.routes,routeComponents:ti.routeComponents,loadingComponent:ti.loadingComponent,reactRouter5Compat:ti.reactRouter5Compat,useStream:ti.useStream});ti.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ui}});for(var da=$e.createElement(zc,{basename:Ra,pluginManager:ti.pluginManager,routes:ti.routes,clientRoutes:ui,history:ti.history},Wi),Sa=0,vs=sl;Sanew Promise((Ra,ui)=>{var da=oa=>{try{vs(Wi.next(oa))}catch(Is){ui(Is)}},Sa=oa=>{try{vs(Wi.throw(oa))}catch(Is){ui(Is)}},vs=oa=>oa.done?Ra(oa.value):Promise.resolve(oa.value).then(da,Sa);vs((Wi=Wi.apply(kn,ti)).next())});function Uu(){return Sc(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/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier/enroll",parentId:"159",id:"165"},166:{path:"/competitions/index/:identifier/UpdateTeanname/:Teannameid",parentId:"159",id:"166"},167:{path:"/competitions/index/:identifier/teamDetail/:Teamid",parentId:"159",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"159",id:"168"},169:{path:"/competitions/specialSubject",parentId:"159",id:"169"},170:{path:"/competitions/specialSubject/:identifier",parentId:"159",id:"170"},171:{path:"/competitions/group/:identifier",parentId:"159",id:"171"},172:{path:"/forums",parentId:"1",id:"172"},173:{path:"/forums",parentId:"172",id:"173"},174:{path:"/forums/categories/:memoType",parentId:"172",id:"174"},175:{path:"/forums/new",parentId:"172",id:"175"},176:{path:"/forums/:memoId/edit",parentId:"172",id:"176"},177:{path:"/forums/:memoId",parentId:"172",id:"177"},178:{path:"/forums/subject/:plateMainId",parentId:"172",id:"178"},179:{path:"/forums/accounts/:login/:key",parentId:"172",id:"179"},180:{path:"/problemset",parentId:"1",id:"180"},181:{path:"/problemset",parentId:"180",id:"181"},182:{path:"/problemset/newitem",parentId:"180",id:"182"},183:{path:"/problemset/:type/:id",parentId:"180",id:"183"},184:{path:"/problemset/preview",parentId:"180",id:"184"},185:{path:"/problemset/preview_new",parentId:"180",id:"185"},186:{path:"/problemset/preview_select",parentId:"180",id:"186"},187:{path:"/shixuns",parentId:"1",id:"187"},188:{path:"/shixuns",parentId:"187",id:"188"},189:{path:"/shixuns/exports",parentId:"187",id:"189"},190:{path:"/shixuns/new",parentId:"187",id:"190"},191:{path:"/shixuns/new/CreateImg",parentId:"187",id:"191"},192:{path:"/shixuns/new/:id/imagepreview",parentId:"187",id:"192"},193:{path:"/shixuns/:id/Merge",parentId:"187",id:"193"},194:{path:"/shixuns/:id/Split",parentId:"187",id:"194"},195:{path:"/shixuns/:id/edit",parentId:"187",id:"195"},196:{path:"shixuns/:id/edit/warehouse",parentId:"195",id:"196"},197:{path:"/shixuns/:id/edit/newquestion",parentId:"195",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"195",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"195",id:"199"},200:{path:"/shixuns/:id/edit/new",parentId:"195",id:"200"},201:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"195",id:"201"},202:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"195",id:"202"},203:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"195",id:"203"},204:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"195",id:"204"},205:{path:"/shixuns/:id",parentId:"187",id:"205"},206:{path:"/shixuns/:id/challenges",parentId:"205",id:"206"},207:{path:"/shixuns/:id/repository",parentId:"205",id:"207"},208:{path:"/shixuns/:id/secret_repository",parentId:"205",id:"208"},209:{path:"/shixuns/:id/collaborators",parentId:"205",id:"209"},210:{path:"/shixuns/:id/dataset",parentId:"205",id:"210"},211:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"205",id:"211"},212:{path:"/shixuns/:id/shixun_discuss",parentId:"205",id:"212"},213:{path:"/shixuns/:id/ranking_list",parentId:"205",id:"213"},214:{path:"/shixuns/:id/settings",parentId:"205",id:"214"},215:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"205",id:"215"},216:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"205",id:"216"},217:{path:"/shixuns/:id/repository/upload_file",parentId:"205",id:"217"},218:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"205",id:"218"},219:{path:"/shixuns/:id/repository/add_file",parentId:"205",id:"219"},220:{path:"/shixuns/:id/secret_repository/add_file",parentId:"205",id:"220"},221:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"205",id:"221"},222:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"205",id:"222"},223:{path:"/shixuns/:id/audit_situation",parentId:"205",id:"223"},224:{path:"/shixuns/:id/fork_list",parentId:"205",id:"224"},225:{path:"/shixuns/:id/skill_tags",parentId:"205",id:"225"},226:{path:"/users",parentId:"1",id:"226"},227:{path:"/users/:username/videos/protocol",parentId:"226",id:"227"},228:{path:"/users/:username/videos/resourceProtocol",parentId:"226",id:"228"},229:{path:"/users/:username/videos/success",parentId:"226",id:"229"},230:{path:"/users/:username/topicbank/:topicstype",parentId:"226",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"226",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"226",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"226",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"226",id:"234"},235:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"226",id:"235"},236:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"226",id:"236"},237:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"226",id:"237"},238:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"226",id:"238"},239:{path:"/users/:username/experiment-img/add",parentId:"226",id:"239"},240:{path:"/users/:username",parentId:"226",id:"240"},241:{path:"/users/:username",parentId:"240",id:"241"},242:{path:"/users/:username/baseInfo/edit",parentId:"240",id:"242"},243:{path:"/users/:username/baseInfo",parentId:"240",id:"243"},244:{path:"/users/:username/realNameCertification",parentId:"240",id:"244"},245:{path:"/users/:username/careerCertification",parentId:"240",id:"245"},246:{path:"/users/:username/classrooms",parentId:"240",id:"246"},247:{path:"/users/:username/shixuns",parentId:"240",id:"247"},248:{path:"/users/:username/dataSet",parentId:"240",id:"248"},249:{path:"/users/:username/userPortrait",parentId:"240",id:"249"},250:{path:"/users/:username/learningPath",parentId:"240",id:"250"},251:{path:"/users/:username/teach-group",parentId:"240",id:"251"},252:{path:"/users/:username/competitions",parentId:"240",id:"252"},253:{path:"/users/:username/experiment-img",parentId:"240",id:"253"},254:{path:"/users/:username/experiment-img/:experid/detail",parentId:"240",id:"254"},255:{path:"/users/:username/certificate",parentId:"240",id:"255"},256:{path:"/users/:username/otherResources",parentId:"240",id:"256"},257:{path:"/users/:username/classmanagement",parentId:"240",id:"257"},258:{path:"/users/:username/classmanagement/:couserid",parentId:"240",id:"258"},259:{path:"/users/:username/paths",parentId:"240",id:"259"},260:{path:"/users/:username/projects",parentId:"240",id:"260"},261:{path:"/users/:username/videos",parentId:"240",id:"261"},262:{path:"/users/:username/videos/upload",parentId:"240",id:"262"},263:{path:"/users/:username/topics/:topicstype",parentId:"240",id:"263"},264:{path:"/users/:username/vspaces",parentId:"240",id:"264"},265:{path:"/users/:username/resourcesCenter",parentId:"240",id:"265"},266:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"240",id:"266"},267:{path:"/users/:username/resourceGuarantee",parentId:"240",id:"267"},268:{path:"/users/:username/resourceAllocation",parentId:"240",id:"268"},269:{parentId:"1",id:"269"},270:{path:"/problems",parentId:"269",id:"270"},271:{path:"/problems",parentId:"270",id:"271"},272:{path:"/problems/batchAdd",parentId:"270",id:"272"},273:{path:"/problems/newcreate",parentId:"269",id:"273"},274:{path:"/problems/newedit/:id",exact:!0,parentId:"269",id:"274"},275:{path:"/problems/:id/edit",exact:!0,parentId:"269",id:"275"},276:{path:"/problems/new",exact:!0,parentId:"269",id:"276"},277:{path:"/problems/:id/oj/:save_identifier",parentId:"269",id:"277"},278:{path:"/problems/:id/record-detail/:submitId",parentId:"269",id:"278"},279:{path:"/problems/add",parentId:"269",id:"279"},280:{path:"/problems/:id/ojedit",parentId:"269",id:"280"},281:{path:"/engineering",parentId:"1",id:"281"},282:{path:"/engineering",parentId:"281",id:"282"},283:{path:"/engineering/teacherList",parentId:"282",id:"283"},284:{path:"/engineering/studentList",parentId:"282",id:"284"},285:{path:"/engineering/training/program",parentId:"282",id:"285"},286:{path:"/engineering/training/program/add",parentId:"282",id:"286"},287:{path:"/engineering/training/program/edit",parentId:"282",id:"287"},288:{path:"/engineering/training/objectives",parentId:"282",id:"288"},289:{path:"/engineering/graduated/index",parentId:"282",id:"289"},290:{path:"/engineering/graduated/matrix",parentId:"282",id:"290"},291:{path:"/engineering/course/list",parentId:"282",id:"291"},292:{path:"/engineering/course/setting",parentId:"282",id:"292"},293:{path:"/engineering/course/matrix",parentId:"282",id:"293"},294:{path:"/engineering/navigation",parentId:"282",id:"294"},295:{path:"/engineering/evaluate/course",parentId:"282",id:"295"},296:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"282",id:"296"},297:{path:"/engineering/evaluate/norm",parentId:"282",id:"297"},298:{path:"/engineering/evaluate/document",parentId:"282",id:"298"},299:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"282",id:"299"},300:{path:"/engineering/*",redirect:"/404",parentId:"282",id:"300"},301:{path:"/innovation",parentId:"1",id:"301"},302:{path:"/innovation/tasks/:taskId",parentId:"301",id:"302"},303:{path:"/innovation",parentId:"301",id:"303"},304:{path:"/innovation/project",parentId:"303",id:"304"},305:{path:"/innovation/dataset",parentId:"303",id:"305"},306:{path:"/innovation/mirror",parentId:"303",id:"306"},307:{path:"/innovation/my-project",parentId:"303",id:"307"},308:{path:"/innovation/my-dataset",parentId:"303",id:"308"},309:{path:"/innovation/my-mirror",parentId:"303",id:"309"},310:{path:"/innovation/project/create",parentId:"303",id:"310"},311:{path:"/innovation/project/edit/:id",parentId:"303",id:"311"},312:{path:"/innovation/project/detail/:taskId",parentId:"303",id:"312"},313:{path:"/tasks",parentId:"1",id:"313"},314:{path:"/tasks/:taskId",exact:!0,parentId:"313",id:"314"},315:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"313",id:"315"},316:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"313",id:"316"},317:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"313",id:"317"},318:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"313",id:"318"},319:{path:"/myproblems",parentId:"1",id:"319"},320:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"319",id:"320"},321:{path:"/myproblems/:id",exact:!0,parentId:"319",id:"321"},322:{path:"/account",parentId:"1",id:"322"},323:{path:"/account",parentId:"322",id:"323"},324:{path:"/account/profile",parentId:"323",id:"324"},325:{path:"/account/profile/edit",parentId:"323",id:"325"},326:{path:"/account/certification",parentId:"323",id:"326"},327:{path:"/account/secure",parentId:"323",id:"327"},328:{path:"/account/binding",parentId:"323",id:"328"},329:{path:"/account/Results",parentId:"323",id:"329"},330:{path:"/ch",parentId:"1",id:"330"},331:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"330",id:"331"},332:{path:"/ch/rest/",exact:!0,parentId:"330",id:"332"},333:{path:"/ch/rest/:id",exact:!0,parentId:"330",id:"333"},334:{path:"/order",parentId:"1",id:"334"},335:{path:"/order",parentId:"334",id:"335"},336:{path:"/order/invoice",parentId:"334",id:"336"},337:{path:"/order/records",parentId:"334",id:"337"},338:{path:"/order/apply",parentId:"334",id:"338"},339:{path:"/order/view",parentId:"334",id:"339"},340:{path:"/order/:courseId/information",parentId:"334",id:"340"},341:{path:"/order/:courseId/pay",parentId:"334",id:"341"},342:{path:"/order/:orderNum/result",parentId:"334",id:"342"},343:{path:"/messages",parentId:"1",id:"343"},344:{path:"/messages/:userId/user_tidings",parentId:"343",id:"344"},345:{path:"/messages/:userId/private_messages",parentId:"343",id:"345"},346:{path:"/messages/:userId/message_detail",parentId:"343",id:"346"},347:{path:"/vtrs",parentId:"1",id:"347"},348:{path:"/vtrs/:virtual_spacesId",parentId:"347",id:"348"},349:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"348",id:"349"},350:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"348",id:"350"},351:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"348",id:"351"},352:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"348",id:"352"},353:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"348",id:"353"},354:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"348",id:"354"},355:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"348",id:"355"},356:{path:"/vtrs/:virtual_spacesId/survey",parentId:"348",id:"356"},357:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"348",id:"357"},358:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"348",id:"358"},359:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"348",id:"359"},360:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"348",id:"360"},361:{path:"/vtrs/:virtual_spacesId/material",parentId:"348",id:"361"},362:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"348",id:"362"},363:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"348",id:"363"},364:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"348",id:"364"},365:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"348",id:"365"},366:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"348",id:"366"},367:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"348",id:"367"},368:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"348",id:"368"},369:{path:"/vtrs/:virtual_spacesId/settings",parentId:"348",id:"369"},370:{path:"/vtrs/:virtual_spacesId/resources",parentId:"348",id:"370"},371:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"348",id:"371"},372:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"348",id:"372"},373:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"348",id:"373"},374:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"348",id:"374"},375:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"348",id:"375"},376:{path:"/vtrs/:virtual_spacesId/*",parentId:"348",id:"376"},377:{path:"/101",parentId:"1",id:"377"},378:{path:"/101/:virtual_spacesId",parentId:"377",id:"378"},379:{path:"/101/:virtual_spacesId",exact:!0,parentId:"378",id:"379"},380:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"378",id:"380"},381:{path:"/101/:virtual_spacesId/experiment",parentId:"378",id:"381"},382:{path:"/101/:virtual_spacesId/announcement",parentId:"378",id:"382"},383:{path:"/101/:virtual_spacesId/announcement/add",parentId:"378",id:"383"},384:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"378",id:"384"},385:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"378",id:"385"},386:{path:"/101/:virtual_spacesId/survey",parentId:"378",id:"386"},387:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"378",id:"387"},388:{path:"/101/:virtual_spacesId/knowledge",parentId:"378",id:"388"},389:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"378",id:"389"},390:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"378",id:"390"},391:{path:"/101/:virtual_spacesId/material",parentId:"378",id:"391"},392:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"378",id:"392"},393:{path:"/101/:virtual_spacesId/lesson",parentId:"378",id:"393"},394:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"378",id:"394"},395:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"378",id:"395"},396:{path:"/101/:virtual_spacesId/discussion",parentId:"378",id:"396"},397:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"378",id:"397"},398:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"378",id:"398"},399:{path:"/101/:virtual_spacesId/settings",parentId:"378",id:"399"},400:{path:"/101/:virtual_spacesId/resources",parentId:"378",id:"400"},401:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"378",id:"401"},402:{path:"/101/:virtual_spacesId/Plan",parentId:"378",id:"402"},403:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"378",id:"403"},404:{path:"/101/:virtual_spacesId/digtal",parentId:"378",id:"404"},405:{path:"/101/:virtual_spacesId/homepage",parentId:"378",id:"405"},406:{path:"/101/:virtual_spacesId/*",parentId:"378",id:"406"},407:{path:"/administration",parentId:"1",id:"407"},408:{path:"/administration",parentId:"407",id:"408"},409:{path:"/administration/college",parentId:"408",id:"409"},410:{path:"/administration/student",parentId:"408",id:"410"},411:{path:"/administration/student/:studentId/edit",parentId:"408",id:"411"},412:{path:"/administration/profession",parentId:"408",id:"412"},413:{path:"/graduations",parentId:"1",id:"413"},414:{path:"/graduations",exact:!0,parentId:"413",id:"414"},415:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"413",id:"415"},416:{path:"/graduations/:id",parentId:"413",id:"416"},417:{path:"/graduations/:id/index",parentId:"416",id:"417"},418:{path:"/graduations/:id/topics",parentId:"416",id:"418"},419:{path:"/graduations/:id/student_selection",parentId:"416",id:"419"},420:{path:"/graduations/:id/tasks",parentId:"416",id:"420"},421:{path:"/graduations/:id/opening_report",parentId:"416",id:"421"},422:{path:"/graduations/:id/midterm_report",parentId:"416",id:"422"},423:{path:"/graduations/:id/thesis",parentId:"416",id:"423"},424:{path:"/graduations/:id/final_defense",parentId:"416",id:"424"},425:{path:"/graduations/:id/final_thesis",parentId:"416",id:"425"},426:{path:"/graduations/:id/settings",parentId:"416",id:"426"},427:{path:"/graduations/:id/teachers",parentId:"416",id:"427"},428:{path:"/graduations/:id/students",parentId:"416",id:"428"},429:{path:"/graduations/:id/archives",parentId:"416",id:"429"},430:{path:"/graduations/:id/grading_summary",parentId:"416",id:"430"},431:{path:"/dataset",parentId:"1",id:"431"},432:{path:"/dataset",exact:!0,parentId:"431",id:"432"},433:{path:"/dataset/:id/detail",exact:!0,parentId:"431",id:"433"},434:{path:"/knowledgegraph",parentId:"1",id:"434"},435:{path:"/knowledgegraph/:pathId",parentId:"434",id:"435"},436:{path:"/knowledgegraph/:pathId/statistics",parentId:"434",id:"436"},437:{path:"/newlogin",parentId:"1",id:"437"},438:{path:"/onlinenum",parentId:"1",id:"438"},439:{path:"/onlinenum",parentId:"438",id:"439"},440:{path:"/shixuncontext",parentId:"1",id:"440"},441:{path:"/shixuncontext",parentId:"440",id:"441"},442:{path:"/shixuncontext/:Id/detail",parentId:"440",id:"442"},443:{path:"/course",exact:!0,parentId:"1",id:"443"},444:{path:"/course",parentId:"443",id:"444"},445:{path:"/educoder-demo",exact:!0,parentId:"1",id:"445"},446:{path:"/training",parentId:"1",id:"446"},447:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"446",id:"447"},448:{path:"/largeScreen",exact:!0,parentId:"1",id:"448"},449:{path:"/quality",parentId:"1",id:"449"},450:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"449",id:"450"},451:{path:"/otherlogin",exact:!0,parentId:"1",id:"451"},452:{path:"/otherloginqq",exact:!0,parentId:"1",id:"452"},453:{path:"/otherloginstart",exact:!0,parentId:"1",id:"453"},454:{path:"/pathsoverview",exact:!0,parentId:"1",id:"454"},455:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"455"},456:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"456"},457:{path:"/login",parentId:"1",id:"457"},458:{path:"/login",parentId:"457",id:"458"},459:{path:"/user",parentId:"1",id:"459"},460:{path:"/user/login",parentId:"459",id:"460"},461:{path:"/user/register",parentId:"459",id:"461"},462:{path:"/user/reset-password",parentId:"459",id:"462"},463:{path:"/colleges",parentId:"1",id:"463"},464:{path:"/colleges/:id/statistics",parentId:"463",id:"464"},465:{path:"/help",parentId:"1",id:"465"},466:{path:"/help/:id",parentId:"465",id:"466"},467:{path:"/video",parentId:"1",id:"467"},468:{path:"/video/:videoId",parentId:"467",id:"468"},469:{path:"/terminal",parentId:"1",id:"469"},470:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"470"},471:{path:"/statsDashboard",parentId:"1",id:"471"},472:{path:"/",parentId:"1",id:"472"},473:{path:"/",exact:!0,parentId:"472",id:"473"},474:{path:"/api/*",exact:!0,parentId:"472",id:"474"},475:{path:"/search",exact:!0,parentId:"472",id:"475"},476:{path:"/moop_cases",exact:!0,parentId:"472",id:"476"},477:{path:"/moop_cases/new",exact:!0,parentId:"472",id:"477"},478:{path:"/moop_cases/:caseId",exact:!0,parentId:"472",id:"478"},479:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"472",id:"479"},480:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"472",id:"480"},481:{path:"/randompaper",exact:!0,parentId:"472",id:"481"},482:{path:"/randompaper/edit/:id",exact:!0,parentId:"472",id:"482"},483:{path:"/randompaper/detail/:id",exact:!0,parentId:"472",id:"483"},484:{path:"/403",parentId:"472",id:"484"},485:{path:"/500",parentId:"472",id:"485"},486:{path:"/404",parentId:"472",id:"486"},487:{path:"/download",parentId:"472",id:"487"},488:{path:"/iwce",parentId:"472",id:"488"},489:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"472",id:"489"},490:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"472",id:"490"},491:{path:"/Activities",parentId:"472",id:"491"},492:{path:"/iwce/:itemname",parentId:"472",id:"492"},493:{path:"/hpc-course",parentId:"472",id:"493"},494:{path:"/user_agents",parentId:"472",id:"494"},495:{path:"/three",parentId:"472",id:"495"},496:{path:"/introduction",parentId:"472",id:"496"},497:{path:"/chatgpt",parentId:"472",id:"497"},498:{path:"/*",parentId:"472",id:"498"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),2:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),3:$e.lazy(()=>Promise.all([__webpack_require__.e(8660),__webpack_require__.e(2099)]).then(__webpack_require__.bind(__webpack_require__,22632))),4:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),5:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),6:$e.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,80291))),7:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,27017))),8:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,93114))),9:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),10:$e.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,83440))),11:$e.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,51221))),12:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,25049))),13:$e.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,21403))),14:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,46135))),15:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,7021))),16:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,25049))),17:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,27017))),18:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,27017))),19:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),20:$e.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,95694))),21:$e.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,99603))),22:$e.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,85412))),23:$e.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),24:$e.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,21227))),25:$e.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,21227))),26:$e.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),27:$e.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),28:$e.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,42978))),29:$e.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,20408))),30:$e.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,39539))),31:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,21547))),32:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,69083))),33:$e.lazy(()=>Promise.all([__webpack_require__.e(8660),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,53281))),34:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,11749))),35:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,96930))),36:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,17849))),37:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,53612))),38:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,52786))),39:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68698))),40:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,12459))),41:$e.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,57806))),42:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,56410))),43:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,27017))),44:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8800),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,83624))),45:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8800),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,58232))),46:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,5781))),47:$e.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,92235))),48:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),49:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,98580))),50:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),51:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),52:$e.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,92974))),53:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),54:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),55:$e.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,89607))),56:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,34887))),57:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,36755))),58:$e.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),59:$e.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),60:$e.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),61:$e.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),62:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,78348))),63:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,57383))),64:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,86608))),65:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,23279))),66:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,17747))),67:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,25585))),68:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,18647))),69:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,96377))),70:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,83537))),71:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,50475))),72:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,13511))),73:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,25981))),74:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,74410))),75:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,70829))),76:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,23396))),77:$e.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,97862))),78:$e.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,60038))),79:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,77678))),80:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94544))),81:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,31345))),82:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,37165))),83:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,47590))),84:$e.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,21403))),85:$e.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,79991))),86:$e.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,7351))),87:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,25062))),88:$e.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,11956))),89:$e.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,25421))),90:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),91:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),92:$e.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,73947))),93:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,93931))),94:$e.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,8361))),95:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,21524))),96:$e.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,3237))),97:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,13269))),98:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,46738))),99:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,9064))),100:$e.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,71973))),101:$e.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,39852))),102:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,48246))),103:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,48246))),104:$e.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,92518))),105:$e.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),106:$e.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),107:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,13444))),108:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,13444))),109:$e.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,64580))),110:$e.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,64580))),111:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,64243))),112:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,64243))),113:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,26734))),114:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,26734))),115:$e.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,34396))),116:$e.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,56824))),117:$e.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,23300))),118:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,21063))),119:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9512),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,21063))),120:$e.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,96221))),121:$e.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,35207))),122:$e.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,8467))),123:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8066),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,15705))),124:$e.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,16974))),125:$e.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,83330))),126:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,10682))),127:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,10682))),128:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),129:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),130:$e.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,39391))),131:$e.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,39391))),132:$e.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,14078))),133:$e.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,14078))),134:$e.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,94094))),135:$e.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,88644))),136:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,89459))),137:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,74818))),138:$e.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,50388))),139:$e.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,50388))),140:$e.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,58660))),141:$e.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,19407))),142:$e.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,19407))),143:$e.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,22132))),144:$e.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,22132))),145:$e.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,15182))),146:$e.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),147:$e.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),148:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),149:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),150:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,30927))),151:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,67718))),152:$e.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,24309))),153:$e.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,23571))),154:$e.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,6011))),155:$e.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,50376))),156:$e.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,25156))),157:$e.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,1505))),158:$e.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,13595))),159:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),160:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(173),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,23385))),161:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(173),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,23385))),162:$e.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,62172))),163:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(173),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,23385))),164:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6186),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,89752))),165:$e.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,83644))),166:$e.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,37509))),167:$e.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,50072))),168:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6186),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,87079))),169:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2582)]).then(__webpack_require__.bind(__webpack_require__,53229))),170:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2582)]).then(__webpack_require__.bind(__webpack_require__,53229))),171:$e.lazy(()=>__webpack_require__.e(5616).then(__webpack_require__.bind(__webpack_require__,86641))),172:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),173:$e.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,84108))),174:$e.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,31855))),175:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),176:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),177:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9441)]).then(__webpack_require__.bind(__webpack_require__,54999))),178:$e.lazy(()=>__webpack_require__.e(8746).then(__webpack_require__.bind(__webpack_require__,98684))),179:$e.lazy(()=>__webpack_require__.e(5261).then(__webpack_require__.bind(__webpack_require__,16615))),180:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),181:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,8577))),182:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),183:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),184:$e.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,70768))),185:$e.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,83839))),186:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(8003),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,27017))),187:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),188:$e.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,63878))),189:$e.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,86754))),190:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,8087))),191:$e.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,57587))),192:$e.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,20097))),193:$e.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,92169))),194:$e.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,8655))),195:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8661),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,77165))),196:$e.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,26595))),197:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,38498))),198:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),199:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),200:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),201:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8660),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),202:$e.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,15392))),203:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,64425))),204:$e.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,21646))),205:$e.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,81697))),206:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,96387))),207:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,48323))),208:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,48323))),209:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,8996))),210:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,5347))),211:$e.lazy(()=>Promise.all([__webpack_require__.e(8661),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,33336))),212:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,14914))),213:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,24039))),214:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,9284))),215:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,68150))),216:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,68150))),217:$e.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,18579))),218:$e.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,18579))),219:$e.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,36741))),220:$e.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,36741))),221:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),222:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),223:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84348))),224:$e.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,53049))),225:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,83040))),226:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),227:$e.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,85271))),228:$e.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,27239))),229:$e.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,44680))),230:$e.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,25682))),231:$e.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),232:$e.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),233:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8450))),234:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,15612))),235:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,99667))),236:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,81279))),237:$e.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,67391))),238:$e.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,61121))),239:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,98216))),240:$e.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,70933))),241:$e.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,84709))),242:$e.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,40188))),243:$e.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,1640))),244:$e.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,1890))),245:$e.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,43513))),246:$e.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,77211))),247:$e.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,54357))),248:$e.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,75574))),249:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,79838))),250:$e.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,76584))),251:$e.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,70294))),252:$e.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,8719))),253:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,86449))),254:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,370))),255:$e.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,7762))),256:$e.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,68982))),257:$e.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,59254))),258:$e.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,21852))),259:$e.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,88125))),260:$e.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,23e3))),261:$e.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,42496))),262:$e.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,98410))),263:$e.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,96020))),264:$e.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,15706))),265:$e.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,88126))),266:$e.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,30139))),267:$e.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,25656))),268:$e.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,87030))),269:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),270:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),271:$e.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,22691))),272:$e.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,19428))),273:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),274:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),275:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),276:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),277:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,63342))),278:$e.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,12889))),279:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),280:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),281:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),282:$e.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,28960))),283:$e.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,41826))),284:$e.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,7355))),285:$e.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,93477))),286:$e.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,82739))),287:$e.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,77325))),288:$e.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,84547))),289:$e.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,37010))),290:$e.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,65831))),291:$e.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,17025))),292:$e.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,18186))),293:$e.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,40548))),294:$e.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,96906))),295:$e.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,66395))),296:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,4186))),297:$e.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,55527))),298:$e.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,3238))),299:$e.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,11955))),300:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),301:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),302:$e.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,40825))),303:$e.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,98874))),304:$e.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,39434))),305:$e.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,1189))),306:$e.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,48910))),307:$e.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,16075))),308:$e.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,56890))),309:$e.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,94574))),310:$e.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),311:$e.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),312:$e.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,54573))),313:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),314:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,94440))),315:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),316:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,94440))),317:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),318:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8660),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,94440))),319:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),320:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,58193))),321:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,76193))),322:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),323:$e.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,15534))),324:$e.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,80222))),325:$e.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,45929))),326:$e.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,30112))),327:$e.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,14620))),328:$e.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,8182))),329:$e.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,42910))),330:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),331:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,31160))),332:$e.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),333:$e.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),334:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),335:$e.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,49142))),336:$e.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,56316))),337:$e.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61244))),338:$e.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,7076))),339:$e.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,55642))),340:$e.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,38587))),341:$e.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,1131))),342:$e.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,63793))),343:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),344:$e.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,29192))),345:$e.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,30750))),346:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,15331))),347:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),348:$e.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),349:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),350:$e.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),351:$e.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),352:$e.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),353:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),354:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),355:$e.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),356:$e.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),357:$e.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),358:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,20985))),359:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),360:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),361:$e.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),362:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),363:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),364:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),365:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),366:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),367:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),368:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),369:$e.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),370:$e.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),371:$e.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),372:$e.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),373:$e.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),374:$e.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),375:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),376:$e.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),377:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),378:$e.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),379:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),380:$e.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),381:$e.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),382:$e.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),383:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),384:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),385:$e.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),386:$e.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),387:$e.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),388:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,20985))),389:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),390:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),391:$e.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),392:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),393:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),394:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),395:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),396:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),397:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),398:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),399:$e.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),400:$e.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),401:$e.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),402:$e.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),403:$e.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),404:$e.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),405:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),406:$e.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),407:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),408:$e.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,1182))),409:$e.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44094))),410:$e.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,64695))),411:$e.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,66218))),412:$e.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,56162))),413:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),414:$e.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,27732))),415:$e.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,97450))),416:$e.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,7772))),417:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,21401))),418:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,95200))),419:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,59463))),420:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,89898))),421:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),422:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),423:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),424:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),425:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),426:$e.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,55879))),427:$e.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),428:$e.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),429:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,68232))),430:$e.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,7220))),431:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),432:$e.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,36981))),433:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,25469))),434:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),435:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,57649))),436:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,15843))),437:$e.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,10125))),438:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),439:$e.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,29625))),440:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),441:$e.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,72812))),442:$e.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,42198))),443:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),444:$e.lazy(()=>__webpack_require__.e(7949).then(__webpack_require__.bind(__webpack_require__,29619))),445:$e.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,75779))),446:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),447:$e.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,73188))),448:$e.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3184))),449:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),450:$e.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,91437))),451:$e.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,23437))),452:$e.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,51106))),453:$e.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,80947))),454:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,85338))),455:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,91307))),456:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,43725))),457:$e.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,49426))),458:$e.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),459:$e.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,55782))),460:$e.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),461:$e.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,35430))),462:$e.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48333))),463:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),464:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,26891))),465:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),466:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,16949))),467:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),468:$e.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,45233))),469:$e.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,49254))),470:$e.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,56737))),471:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,28506))),472:$e.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,7698))),473:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(173),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,24854))),474:$e.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,94371))),475:$e.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,88975))),476:$e.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,66062))),477:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),478:$e.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,62422))),479:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),480:$e.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,65433))),481:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),482:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),483:$e.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,81867))),484:$e.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,95545))),485:$e.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,18133))),486:$e.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),487:$e.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,84891))),488:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),489:$e.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,42797))),490:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8066),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,38207))),491:$e.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,88650))),492:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),493:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),494:$e.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,76665))),495:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,66427))),496:$e.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,8390))),497:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,57892))),498:$e.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),"@@/global-layout":$e.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,84218)))}}})}var wf=__webpack_require__(11410),pu=__webpack_require__(59098),Zl=__webpack_require__(71418),Ac=__webpack_require__(24957),ra=()=>$e.createElement(Zl.Z,{size:"middle",className:Ac.Z.loading}),co=__webpack_require__(76560),to=__webpack_require__(56656),vi=__webpack_require__.n(to),Eu=__webpack_require__(91392),Vu=__webpack_require__.n(Eu),Bs=__webpack_require__(29256),sf=__webpack_require__.n(Bs),kl=__webpack_require__(81626),ol=__webpack_require__.n(kl),Ao=__webpack_require__(71912),nc=__webpack_require__.n(Ao),of=__webpack_require__(48228),vl=__webpack_require__.n(of),$c=__webpack_require__(27112),_l=__webpack_require__.n($c),zi=__webpack_require__(36867),wu=__webpack_require__.n(zi),uf=__webpack_require__(53501),A=__webpack_require__.n(uf),P=__webpack_require__(22982),O=__webpack_require__.n(P),me=__webpack_require__(54449),ze=__webpack_require__.n(me),mn=__webpack_require__(10564),Tn=__webpack_require__.n(mn),Mi=__webpack_require__(92468),di=__webpack_require__.n(Mi),wa=__webpack_require__(27082),Ps=__webpack_require__.n(wa);vi().extend(sf()),vi().extend(ol()),vi().extend(nc()),vi().extend(vl()),vi().extend(_l()),vi().extend(wu()),vi().extend(A()),vi().extend(O()),vi().extend(ze()),vi().extend(Tn()),vi().extend(di()),vi().extend(Ps()),vi().extend(Vu());var Ho=Object.defineProperty,As=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable,ul=(kn,ti,Wi)=>ti in kn?Ho(kn,ti,{enumerable:!0,configurable:!0,writable:!0,value:Wi}):kn[ti]=Wi,Su=(kn,ti)=>{for(var Wi in ti||(ti={}))Lo.call(ti,Wi)&&ul(kn,Wi,ti[Wi]);if(As)for(var Wi of As(ti))Co.call(ti,Wi)&&ul(kn,Wi,ti[Wi]);return kn},Wl=(kn,ti,Wi)=>new Promise((Ra,ui)=>{var da=oa=>{try{vs(Wi.next(oa))}catch(Is){ui(Is)}},Sa=oa=>{try{vs(Wi.throw(oa))}catch(Is){ui(Is)}},vs=oa=>oa.done?Ra(oa.value):Promise.resolve(oa.value).then(da,Sa);vs((Wi=Wi.apply(kn,ti)).next())});const ku="/react/build/",ic=!1;function ll(){return Wl(this,null,function*(){const kn=(0,wf.gD)(),{routes:ti,routeComponents:Wi}=yield Uu(kn);yield kn.applyPlugins({key:"patchRoutes",type:co.ApplyPluginsType.event,args:{routes:ti,routeComponents:Wi}});const Ra=kn.applyPlugins({key:"modifyContextOpts",type:co.ApplyPluginsType.modify,initialValue:{}}),ui=Ra.basename||"/",da=Ra.historyType||"browser",Sa=(0,pu.fi)(Su({type:da,basename:ui},Ra.historyOpts));return kn.applyPlugins({key:"render",type:co.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:ti,routeComponents:Wi,pluginManager:kn,mountElementId:"root",rootElement:Ra.rootElement||document.getElementById("root"),loadingComponent:ra,publicPath:ku,runtimePublicPath:ic,history:Sa,historyType:da,basename:ui,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ra.callback},oa=kn.applyPlugins({key:"modifyClientRenderOpts",type:co.ApplyPluginsType.modify,initialValue:vs});return af(oa)}})()})}ll(),typeof window!="undefined"&&(window.g_umi={version:"4.4.12"})})()})();